includes/functions.php
changeset 1206 50f6c144ec68
parent 1203 c6587072e4c4
child 1219 2b13cd6b4f95
equal deleted inserted replaced
1205:c922ef08167a 1206:50f6c144ec68
   972 {
   972 {
   973   global $db, $session, $paths, $template, $plugins; // Common objects
   973   global $db, $session, $paths, $template, $plugins; // Common objects
   974 
   974 
   975   if ( @ob_get_status() )
   975   if ( @ob_get_status() )
   976     ob_end_clean();
   976     ob_end_clean();
   977 
   977   
   978   $paths->cpage['name'] = $t;
   978   global $output;
   979   $template->tpl_strings['PAGE_NAME'] = $t;
   979 
       
   980   $output->set_title($t);
   980   $template->header();
   981   $template->header();
   981   echo $p;
   982   echo $p;
   982   $template->footer();
   983   $template->footer();
   983   $db->close();
   984   $db->close();
   984 
   985 
  1399       '1.1.2'  => 'Caoineag alpha 2',
  1400       '1.1.2'  => 'Caoineag alpha 2',
  1400       '1.1.3'  => 'Caoineag alpha 3',
  1401       '1.1.3'  => 'Caoineag alpha 3',
  1401       '1.1.4'  => 'Caoineag alpha 4',
  1402       '1.1.4'  => 'Caoineag alpha 4',
  1402       '1.1.5'  => 'Caoineag alpha 5',
  1403       '1.1.5'  => 'Caoineag alpha 5',
  1403       '1.1.6'  => 'Caoineag beta 1',
  1404       '1.1.6'  => 'Caoineag beta 1',
  1404       '1.1.7'  => 'Caoineag beta 2'
  1405       '1.1.7'  => 'Caoineag beta 2',
       
  1406       '1.1.8'  => 'Caoineag beta 3',
  1405     );
  1407     );
  1406   $version = enano_version();
  1408   $version = enano_version();
  1407   if ( isset($names[$version]) )
  1409   if ( isset($names[$version]) )
  1408   {
  1410   {
  1409     return $names[$version];
  1411     return $names[$version];