Changeset 634 for trunk/Common
- Timestamp:
- Jan 19, 2014, 2:28:30 PM (11 years ago)
- Location:
- trunk/Common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Database.php
r590 r634 174 174 return(addslashes($Text)); 175 175 } 176 177 public function __sleep() 178 { 179 return array('LastQuery'); 180 } 181 182 public function __wakeup() 183 { 184 } 176 185 } 177 186 -
trunk/Common/Page.php
r627 r634 87 87 $Output .= '<div class="MainTitle">'.$Title.'</div> 88 88 <div class="Navigation"><span class="MenuItem"><strong>Navigace :: </strong> '.$Navigation.'</span><div class="MenuItem2">'; 89 if(isset($this->System->User) and ($this->System->Config['Web']['UserSupport'] == 1)) 90 { 91 if($this->System->User->User['Id'] == null) 92 $Output .= '<a href="'.$this->System->Link('/?Action=LoginForm').'">Přihlášení</a> '. 93 '<a href="'.$this->System->Link('/?Action=UserRegister').'">Registrace</a>'; 94 else $Output .= $this->System->User->User['Name']. 95 ' <a href="'.$this->System->Link('/?Action=UserMenu').'">Nabídka</a>'. 96 ' <a href="'.$this->System->Link('/?Action=Logout').'">Odhlásit</a>'; 97 } else $Output .= ' '; 98 // <a href="'.$this->System->Link('/?Action=UserOptions').'">Nastavení</a>'; 89 foreach($this->System->Bars['Top'] as $BarItem) 90 $Output .= call_user_func($BarItem); 99 91 $Output .= '</div></div>'; 100 92 } -
trunk/Common/Setup/DefaultConfig.php
r592 r634 27 27 array('Name' => 'Web/WebcamPassword', 'Type' => 'Password', 'Default' => '', 'Title' => 'Heslo web kamery'), 28 28 array('Name' => 'Web/WebcamRefresh', 'Type' => 'Integer', 'Default' => '5', 'Title' => 'Interval obnovení'), 29 array('Name' => 'Web/UserSupport', 'Type' => 'Boolean', 'Default' => '1', 'Title' => 'Podpora uživatelů'),30 29 array('Name' => 'Web/UploadFileFolder', 'Type' => 'String', 'Default' => 'files', 'Title' => 'Složka načtených souborů'), 31 30 array('Name' => 'Web/News/DaysAgo', 'Type' => 'Integer', 'Default' => '30', 'Title' => 'Stáří zobrazovaných aktualit'),
Note:
See TracChangeset
for help on using the changeset viewer.