Exemple #1
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct('header.tpl.php');
     $this->_htmlXtraHeaders = array();
     $this->_httpXtraHeaders = array();
     $this->_toolName = '';
     if (claro_debug_mode()) {
         $this->addInlineJavascript("var claro_debug_mode = true;");
     }
     require dirname(__FILE__) . '/../../installedVersion.inc.php';
     if ($stable) {
         if (file_exists(dirname(__FILE__) . '/../../../../platform/currentVersion.inc.php')) {
             require dirname(__FILE__) . '/../../../../platform/currentVersion.inc.php';
         } else {
             $clarolineVersion = $new_version;
         }
         if ($clarolineVersion != $new_version) {
             $claroVersion = "{$clarolineVersion}-{$new_version}";
         } else {
             $claroVersion = $new_version;
         }
     } else {
         $claroVersion = $new_version;
     }
     $this->assign('version', $claroVersion);
 }
Exemple #2
0
 public function __construct()
 {
     $this->breadcrumbs = ClaroBreadCrumbs::getInstance();
     $this->viewmode = ClaroViewMode::getInstance();
     parent::__construct('banner.tpl.php');
     $this->breadcrumbLine = true;
 }
Exemple #3
0
 public function __construct()
 {
     parent::__construct('body.tpl.php');
 }
Exemple #4
0
 public function __construct()
 {
     parent::__construct('footer.tpl.php');
 }