Changeset 608 for trunk/Modules/News/News.php
- Timestamp:
- Nov 26, 2013, 10:12:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 }
Note:
See TracChangeset
for help on using the changeset viewer.