Changeset 839
- Timestamp:
- Jan 9, 2016, 11:53:58 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/News/News.php
r838 r839 85 85 $PageList = GetPageList($DbRow[0]); 86 86 87 $Output = '<h3>'.T('News').'</h3>' .$PageList['Output'];87 $Output = '<h3>'.T('News').'</h3>'; 88 88 if($this->System->User->Licence(LICENCE_ADMIN)) 89 89 $Output .= ' <a href="?a=add">'.T('Add').'</a>'; 90 $Output .= $PageList['Output']; 90 91 $Output .= '<div class="shoutbox">'; 91 92 $DbResult = $this->System->Database->query('SELECT `News`.`Time`, `News`.`Text`, `News`.`Title`, `News`.`Id`, '. … … 121 122 { 122 123 $Output = '<form action="?" method="POST">'. 124 '<fieldset><legend>'.T('New news').'</legend>'. 123 125 T('User').': '.$this->System->User->Name.'('.$this->System->User->Id.')<br/> '. 124 126 T('Title').': <input type="text" name="title" size="40"/><br/>'. 125 127 T('Content').': <textarea rows="8" cols="40" onkeydown="ResizeTextArea(this)" class="textedit" id="Text" name="text"></textarea><br/>'. 126 128 '<input type="hidden" name="a" value="add2"/>'. 127 '<input type="submit" value="'.T('Save').'"/><br/> '.129 '<input type="submit" value="'.T('Save').'"/><br/></fieldset>'. 128 130 '</form>'; 129 131 } else $Output = ShowMessage(T('Access denied'), MESSAGE_CRITICAL); 132 $Output .= $this->ShowList(); 130 133 return($Output); 131 134 } -
trunk/Modules/ShoutBox/ShoutBox.php
r838 r839 70 70 $PageList = GetPageList($DbRow[0]); 71 71 72 $Output .= '<h3>'.T('Shoutbox').'</h3>' .$PageList['Output'];72 $Output .= '<h3>'.T('Shoutbox').'</h3>'; 73 73 if($this->System->User->Licence(LICENCE_USER)) 74 74 $Output .= ' <a href="'.$this->System->Link('/shoutbox/?a=add').'">'.T('Add').'</a>'; 75 $Output .= $PageList['Output']; 75 76 $Output .= '<div class="shoutbox">'; 76 77 $DbResult = $this->System->Database->query('SELECT * FROM `ShoutBox` WHERE 1'.$SearchQuery.' ORDER BY `ID` DESC '.$PageList['SQLLimit']); -
trunk/admin/index.php
r827 r839 19 19 '<a href="'.$System->Link('/log.php').'">Záznamy událostí</a><br/>'. 20 20 '<small>Procházení všech systémových záznamů akcí a událostí</small><br/><br/>'. 21 '<a href="'.$System->Link('/news/?a=add').'">Přidání aktuality</a><br/>'.22 '<small>Přidá aktualitu na hlavní stranu projektu</small><br/><br/>'.23 21 '<a href="'.$System->Link('/admin/?action=testing').'">Testování</a><br/>'. 24 22 '<small>Testovací funkce</small><br/><br/>'. … … 126 124 } 127 125 128 function StripText($Text) { 126 function StripText($Text) 127 { 129 128 $Text = strtolower($Text); 130 129 $Text = str_replace(' ', '', $Text); … … 134 133 function MergeSameText() 135 134 { 136 global $System,$TranslationTree; 135 global $System, $TranslationTree; 136 137 137 $Output = ''; 138 138 foreach($TranslationTree as $Group) -
trunk/includes/Version.php
r838 r839 6 6 // and system will need database update. 7 7 8 $Revision = 83 8; // Subversion revision8 $Revision = 839; // Subversion revision 9 9 $DatabaseRevision = 811; // Database structure revision 10 10 $ReleaseTime = '2016-01-11';
Note:
See TracChangeset
for help on using the changeset viewer.