Changeset 791 for trunk/Application
- Timestamp:
- Jan 22, 2016, 5:31:05 PM (9 years ago)
- Location:
- trunk/Application
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/System.php
r790 r791 10 10 include_once(dirname(__FILE__).'/UpdateTrace.php'); 11 11 include_once(dirname(__FILE__).'/View.php'); 12 include_once(dirname(__FILE__).'/DefaultConfig.php'); 12 13 13 14 class Core extends Application … … 26 27 var $Setup; 27 28 var $CommandLine; 29 var $PageHeaders; 28 30 29 31 function __construct() … … 40 42 $this->RootURLFolder = substr($this->RootURLFolder, 0, -10); 41 43 $this->CommandLine = array(); 44 $this->PageHeaders = array(); 42 45 } 43 46 … … 228 231 $this->Bars[$BarName][$ItemName] = $Callback; 229 232 } 233 234 function RegisterPageHeader($Name, $Callback) 235 { 236 $this->PageHeaders[$Name] = $Callback; 237 } 230 238 } 231 239 -
trunk/Application/Version.php
r789 r791 1 1 <?php 2 2 3 $Revision = 7 89; // Subversion revision3 $Revision = 790; // Subversion revision 4 4 $DatabaseRevision = 785; // SQL structure revision 5 $ReleaseTime = strtotime('2016-01- 15');5 $ReleaseTime = strtotime('2016-01-22'); -
trunk/Application/View.php
r783 r791 88 88 '<script type="text/javascript" src="'.$this->System->Link('/style/').$this->Style.'/global.js"></script>'. 89 89 '<title>'.$this->System->Config['Web']['Title'].' - '.$Path.'</title>'; 90 $Output .= $this->System->ModuleManager->Modules['RSS']->ShowRSSHeader(); 90 91 // Show page headers 92 $Bar = ''; 93 foreach($this->System->PageHeaders as $Item) 94 $Output .= call_user_func($Item); 95 91 96 $Output .= '</head><body'.$BodyParam.'>'; 92 97 if($this->BasicHTML == false)
Note:
See TracChangeset
for help on using the changeset viewer.