Changeset 608 for trunk/Modules
- Timestamp:
- Nov 26, 2013, 10:12:48 PM (11 years ago)
- Location:
- trunk/Modules
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/FrontPage/FrontPage.php
r603 r608 18 18 $this->System->RegisterPage('', 'PageFrontPage'); 19 19 $this->System->RegisterMenuItem(array( 20 'Title' => 'Domů',21 'Hint' => 'Hlavní stránka',20 'Title' => T('Home'), 21 'Hint' => T('Main page'), 22 22 'Link' => $this->System->Link('/'), 23 23 'Permission' => LICENCE_ANONYMOUS, … … 89 89 { 90 90 $Count = 40; 91 $Output = '<strong> Poslední překlady:</strong>';91 $Output = '<strong>'.T('Last translated').':</strong>'; 92 92 93 93 $GroupListQuery = 'SELECT `Group`.* FROM `Group`'; -
trunk/Modules/News/News.php
r581 r608 33 33 while($DbRow = $DbResult->fetch_assoc()) 34 34 $Output .= '<div><strong>'.$DbRow['Title'].' ('.HumanDate($DbRow['Time']).')</strong> <br />'.$DbRow['Text'].' ('.$DbRow['Name'].')</div>'; 35 $Output .= '<a href="'.$this->System->Link('/news/').'"> Všechny zprávy</a>';35 $Output .= '<a href="'.$this->System->Link('/news/').'">'.T('All news').'</a>'; 36 36 $Output .= '</div>'; 37 37 return($Output); … … 82 82 $Output = '<h3>Novinky</h3>'.$PageList['Output']; 83 83 if($this->System->User->Licence(LICENCE_ADMIN)) 84 $Output .= ' <a href="?a=add"> Vložit</a>';84 $Output .= ' <a href="?a=add">'.T('Add').'</a>'; 85 85 $Output .= '<div class="shoutbox">'; 86 86 $DbResult = $this->System->Database->query('SELECT `News`.`Time`, `News`.`Text`, `News`.`Title`, '. … … 103 103 '<input type="submit" value="Uložit"/><br/>'. 104 104 '</form>'; 105 } else $Output = ShowMessage( 'Nemáte oprávnění', MESSAGE_CRITICAL);105 } else $Output = ShowMessage(T('Access denied'), MESSAGE_CRITICAL); 106 106 return($Output); 107 107 } … … 120 120 $Output .= $this->ShowList(); 121 121 } else $Output = ShowMessage('Nezadány údaje', MESSAGE_CRITICAL); 122 } else $Output = ShowMessage( 'Nemáte oprávnění', MESSAGE_CRITICAL);122 } else $Output = ShowMessage(T('Access denied'), MESSAGE_CRITICAL); 123 123 return($Output); 124 124 } -
trunk/Modules/User/Profile.php
r577 r608 18 18 if(@mail($Email, $Subject, $Text, 'From: '.$this->System->Config['Web']['AdminEmail'].'\nReply-To: '.$this->System->Config['Web']['AdminEmail'].'\nX-Mailer: PHP/')) 19 19 { 20 $Output .= ShowMessage( 'Zpráva byla odeslána.');20 $Output .= ShowMessage(T('Message was sent.')); 21 21 } 22 22 else $Output .= ShowMessage('Nepodařilo se odesat E-mail.', MESSAGE_CRITICAL);
Note:
See TracChangeset
for help on using the changeset viewer.