includes/pageprocess.php
changeset 16 64e0d3d4cf14
parent 15 ad5986a53197
child 21 663fcf528726
equal deleted inserted replaced
15:ad5986a53197 16:64e0d3d4cf14
     1 <?php
     1 <?php
     2 /*
     2 /*
     3  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
     3  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
     4  * Version 1.0 (Banshee)
     4  * Version 1.0 release candidate 3 (Druid)
     5  * pageprocess.php - intelligent retrieval of pages
     5  * pageprocess.php - intelligent retrieval of pages
     6  * Copyright (C) 2006-2007 Dan Fuhry
     6  * Copyright (C) 2006-2007 Dan Fuhry
     7  *
     7  *
     8  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
     8  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
     9  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
     9  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
   382     
   382     
   383     if ( $send_headers )
   383     if ( $send_headers )
   384     {
   384     {
   385       display_page_headers();
   385       display_page_headers();
   386     }
   386     }
   387     
   387    
       
   388     /*
   388     // Start left sidebar: basic user info, latest comments
   389     // Start left sidebar: basic user info, latest comments
   389     
   390     
   390     echo '<table border="0" cellspacing="4" cellpadding="0" style="width: 100%;">';
   391     echo '<table border="0" cellspacing="4" cellpadding="0" style="width: 100%;">';
   391     echo '<tr><td style="width: 150px;">';
   392     echo '<tr><td style="width: 150px;">';
   392     
   393     
   397             
   398             
   398     echo '  </table>
   399     echo '  </table>
   399           </div>';
   400           </div>';
   400     
   401     
   401     echo '</td><td>';
   402     echo '</td><td>';
       
   403     */
   402     
   404     
   403     // User's own content
   405     // User's own content
   404     
   406     
   405     $send_headers = $this->send_headers;
   407     $send_headers = $this->send_headers;
   406     $this->send_headers = false;
   408     $this->send_headers = false;
   411     }
   413     }
   412     else
   414     else
   413     {
   415     {
   414       $this->err_page_not_existent();
   416       $this->err_page_not_existent();
   415     }
   417     }
       
   418     
       
   419     /*
   416     
   420     
   417     // Right sidebar
   421     // Right sidebar
   418     
   422     
   419     echo '</td><td style="width: 150px;">';
   423     echo '</td><td style="width: 150px;">';
   420     
   424     
   431     if ( $send_headers )
   435     if ( $send_headers )
   432     {
   436     {
   433       display_page_footers();
   437       display_page_footers();
   434     }
   438     }
   435     
   439     
       
   440     */
       
   441     
   436     $this->send_headers = $send_headers;
   442     $this->send_headers = $send_headers;
   437     unset($send_headers);
   443     unset($send_headers);
   438     
   444     
   439     $this->footer();
   445     $this->footer();
   440     
   446