Changeset 10 for trunk/Application
- Timestamp:
- Jun 1, 2023, 1:31:28 AM (18 months ago)
- Location:
- trunk/Application
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/BaseView.php
r8 r10 12 12 global $ReleaseTime, $Revision; 13 13 14 $Output = '<?xml version="1.0" encoding="'. $this->System->Config['Web']['Charset'].'"?>'."\n".14 $Output = '<?xml version="1.0" encoding="'.Core::Cast($this->System)->Config['Web']['Charset'].'"?>'."\n". 15 15 '<!DOCTYPE html>'. 16 16 '<html>'. 17 17 '<head>'. 18 18 '<meta http-equiv="Content-Language" content="cs"/>'. 19 '<meta http-equiv="content-type" content="text/html; charset='. $this->System->Config['Web']['Charset'].'" />'.19 '<meta http-equiv="content-type" content="text/html; charset='.Core::Cast($this->System)->Config['Web']['Charset'].'" />'. 20 20 '<meta name="robots" content="all" />'. 21 '<title>'. $this->System->Config['Web']['Title'].'</title>'.21 '<title>'.Core::Cast($this->System)->Config['Web']['Title'].'</title>'. 22 22 '<link rel="StyleSheet" href="'.$this->System->Link('/style/basic/style.css').'" type="text/css" media="all"/>'. 23 implode("\n", $this->System->HeadItems).23 implode("\n", Core::Cast($this->System)->HeadItems). 24 24 '</head><body>'; 25 25 $Output .= $this->ShowHeader(); 26 26 $Output .= $Content; 27 27 $Output .= '<br/><div style="text-align: center; font-size: small;">Verze: '.$Revision.' ('.HumanDate($ReleaseTime).')'. 28 ' <a href="https:// svn.zdechov.net/trac/open2ride/browser/trunk">Zdrojový kód</a> '.29 '<a href="https:// svn.zdechov.net/trac/open2ride/log/trunk?verbose=on">Historie změn</a></div>';28 ' <a href="https://app.zdechov.net/open2ride/browser/trunk">Zdrojový kód</a> '. 29 '<a href="https://app.zdechov.net/open2ride/log/trunk?verbose=on">Historie změn</a></div>'; 30 30 $Output .= '</body></html>'; 31 31 echo($Output); … … 37 37 $Output .= '<div class="MenuItem">'; 38 38 $Bar = ''; 39 foreach ( $this->System->Bars['TopLeft'] as $BarItem)39 foreach (Core::Cast($this->System)->Bars['TopLeft'] as $BarItem) 40 40 $Bar .= call_user_func($BarItem); 41 41 if (trim($Bar) != '') $Output .= $Bar; 42 42 else $Output .= ' '; 43 43 $Output .= '</div><div class="MenuItem2">'; 44 44 $Bar = ''; 45 foreach ( $this->System->Bars['Top'] as $BarItem)45 foreach (Core::Cast($this->System)->Bars['Top'] as $BarItem) 46 46 $Bar .= call_user_func($BarItem); 47 47 if (trim($Bar) != '') $Output .= $Bar; 48 48 else $Output .= ' '; 49 49 $Output .= '</div></div>'; … … 53 53 function GetOutput($Page) 54 54 { 55 $Page->OnSystemMessage = array( $this->System->BaseView, 'SystemMessage');55 $Page->OnSystemMessage = array(Core::Cast($this->System)->BaseView, 'SystemMessage'); 56 56 $Output = $this->ShowPage($Page->Show()); 57 57 return $Output; -
trunk/Application/Core.php
r8 r10 23 23 public FormManager $FormManager; 24 24 public BaseView $BaseView; 25 public User $User; 25 26 26 27 function __construct() -
trunk/Application/Version.php
r9 r10 6 6 // and system will need database update. 7 7 8 $Revision = 9;8 $Revision = 10; 9 9 $DatabaseRevision = 7; 10 10 $ReleaseTime = strtotime('2023-06-01');
Note:
See TracChangeset
for help on using the changeset viewer.