linea21-core
[ class tree: linea21-core ] [ index: linea21-core ] [ all elements ]

Source for file tpl_page.php

Documentation is available at tpl_page.php

  1. <?php
  2. /**
  3.  * @package linea21.core
  4.  * @subpackage public
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  */
  10. ?>
  11.  
  12. <?php
  13.  
  14. ifActiveItemKey($GLOBALS['activeitem']== 'page' && isset($_REQUEST['id'])) {
  15.   
  16.     include_once(override('../page/display.php'));
  17.   $id$_REQUEST['id'];
  18.  
  19.   // set HTML Title
  20.   $result=$GLOBALS['sql_object']->DBSelect(SQL_getPageTitle($id));
  21.   $title formatText($result[0]['page_title']'2HTML');
  22.   SetHTMLTitle($title);
  23.   setBreadcrumb(array($title => false));
  24.   
  25.   display_page($id);
  26.  
  27. else {
  28.     
  29.     ReloadIndex('public');
  30.     
  31. }
  32.  
  33. ?>

Documentation generated on Thu, 20 Mar 2014 16:49:40 +0100 by phpDocumentor 1.4.1