Changeset 524 for trunk/Common/Page.php
- Timestamp:
- Apr 20, 2013, 8:51:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Page.php
r521 r524 67 67 if($this->System->Config['Web']['UserSupport'] == 1) 68 68 { 69 if($this->System-> Modules['User']->User['Id'] == null)69 if($this->System->User->User['Id'] == null) 70 70 $Output .= '<a href="'.$this->System->Link('/?Action=LoginForm').'">Přihlášení</a> <a href="'.$this->System->Link('/?Action=UserRegister').'">Registrace</a>'; 71 else $Output .= $this->System-> Modules['User']->User['Name'].' <a href="'.$this->System->Link('/?Action=Logout').'">Odhlásit</a>';71 else $Output .= $this->System->User->User['Name'].' <a href="'.$this->System->Link('/?Action=Logout').'">Odhlásit</a>'; 72 72 } else $Output .= ' '; 73 73 // <a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=UserOptions">Nastavení</a>'; … … 78 78 function ShowFooter() 79 79 { 80 global $ScriptTimeStart;80 global $ScriptTimeStart; 81 81 $Time = round(GetMicrotime() - $ScriptTimeStart, 2); 82 82 $Output = '<div id="Footer"> 83 83 <i>| Správa webu: '.$this->System->Config['Web']['Admin'].' | e-mail: '.$this->System->Config['Web']['AdminEmail'].' |'; 84 84 if($this->ShowRuntimeInfo == true) $Output .= ' Doba generování: '.$Time.' s / '.ini_get('max_execution_time').' s | Použitá paměť: '.HumanSize(memory_get_peak_usage(FALSE)).' / '.ini_get('memory_limit').'B |'; 85 $Output .= '</i></div></body></html>';85 $Output .= '</i></div></body></html>'; 86 86 return($Output); 87 87 }
Note:
See TracChangeset
for help on using the changeset viewer.