Changeset 622 for trunk/Modules/News
- Timestamp:
- Dec 4, 2013, 9:20:56 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/News/News.php
r608 r622 22 22 $this->System->RegisterPage('news', 'PageNews'); 23 23 $this->System->RegisterPage('rss', 'PageRSS'); 24 $this->RegisterRSS(array('Title' => 'Změny systému', 'Channel' => 'news',24 $this->RegisterRSS(array('Title' => T('System changes'), 'Channel' => 'news', 25 25 'Callback' => array('PageNews', 'ShowRSS'), 'Permission' => LICENCE_ANONYMOUS)); 26 26 } … … 28 28 function ShowBox() 29 29 { 30 $Output = '<strong> Změny systému:</strong><div class="NewsBox">';30 $Output = '<strong>'.T('System changes').':</strong><div class="NewsBox">'; 31 31 $DbResult = $this->Database->query('SELECT `News`.`Time`, `User`.`Name`, `News`.`Text`,`News`.`Title`'. 32 32 ' FROM `News` JOIN `User` ON `User`.`ID` = `News`.`User` ORDER BY `Time` DESC LIMIT 10'); … … 80 80 $PageList = GetPageList($DbRow[0]); 81 81 82 $Output = '<h3> Novinky</h3>'.$PageList['Output'];82 $Output = '<h3>'.T('News').'</h3>'.$PageList['Output']; 83 83 if($this->System->User->Licence(LICENCE_ADMIN)) 84 84 $Output .= ' <a href="?a=add">'.T('Add').'</a>'; … … 141 141 $Output = GenerateRSS(array 142 142 ( 143 'Title' => 'WoW překlad - Změny systému',143 'Title' => 'WoW překlad - '.T('System changes'), 144 144 'Link' => 'http://'.$this->System->Config['Web']['Host'].$this->System->Link('/'), 145 145 'Description' => 'Překlad textů WoW',
Note:
See TracChangeset
for help on using the changeset viewer.