Changeset 131 for devel/www/page.php
- Timestamp:
- Jan 5, 2009, 7:40:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/www/page.php
r107 r131 92 92 'jidelna' => array('', 93 93 'index.php' => 'Jídelníček', 94 'menuedit.php' => 'Editace jídelníčku', 94 'menuedit.php' => 'Editace jídelníčku', 95 95 ), 96 96 'backup' => array('', 97 'index.php' => 'Nastavení zálohování', 97 'index.php' => 'Nastavení zálohování', 98 98 ), 99 99 'mapa.php' => 'Mapa webu', … … 138 138 } 139 139 $Navigation = substr($Navigation, 0, -6); 140 140 141 141 $Output = '<?xml version="1.0" encoding="'.$this->System->Config['Web']['Charset'].'"?>'."\n". 142 142 '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'. … … 148 148 <div id="Title">'.$Title.'</div> 149 149 <div class="Navigation"><span class="MenuItem"><strong>Navigace >></strong> '.$Navigation.'</span><div class="MenuItem2">'; 150 if($this->System->Modules['User']->User['Id'] == $this->System->Modules['User']->AnonymousUserId) 151 $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=LoginForm">Přihlášení</a> <a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=UserRegister">Registrace</a>'; 152 else $Output .= $this->System->Modules['User']->User['Name'].' <a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=Logout">Odhlásit</a>'; 150 if($this->System->Config['Web']['UserSupport'] == 1) 151 { 152 if($this->System->Modules['User']->User['Id'] == $this->System->Modules['User']->AnonymousUserId) 153 $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=LoginForm">Přihlášení</a> <a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=UserRegister">Registrace</a>'; 154 else $Output .= $this->System->Modules['User']->User['Name'].' <a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=Logout">Odhlásit</a>'; 155 } else $Output .= ' '; 153 156 // <a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=UserOptions">Nastavení</a>'; 154 157 $Output .= '</div></div>'; … … 160 163 $Time = floor((GetMicrotime() - $this->Time_Start) * 100) / 100; 161 164 $Output = '<div id="Footer"> 162 <i>| Správa webu: '.$this->System->Config['Web']['Admin'].' | e-mail: '.$this->System->Config['Web']['AdminEmail'].' | Vygenerováno za '.$Time.' s | Verze: 1.1 | Úprava skriptu: '.date('j.n.Y',filemtime($_SERVER['SCRIPT_FILENAME'])).' |</i></div></body></html>';165 <i>| Správa webu: '.$this->System->Config['Web']['Admin'].' | e-mail: '.$this->System->Config['Web']['AdminEmail'].' | Vygenerováno za '.$Time.' s | Použitá paměť: '.HumanSize(memory_get_peak_usage(FALSE)).' |</i></div></body></html>'; 163 166 return($Output); 164 167 }
Note:
See TracChangeset
for help on using the changeset viewer.