Changeset 792 for trunk/Modules/Forum/Forum.php
- Timestamp:
- Feb 11, 2014, 5:18:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Forum/Forum.php
r790 r792 26 26 if(array_key_exists('Search', $this->System->ModuleManager->Modules)) 27 27 $this->System->ModuleManager->Modules['Search']->RegisterSearch('forumthread', 28 'Název vlákna fóra', array('UserName', 'Text'), '`ForumThread`', $this->System->Link('/forum/?search='));28 T('Name of thread forum'), array('UserName', 'Text'), '`ForumThread`', $this->System->Link('/forum/?search=')); 29 29 30 30 $this->System->RegisterMenuItem(array( … … 94 94 $Output .= '<form action="?Edit='.$_GET['Edit'].'" method="post">'. 95 95 '<fieldset><legend>'.T('Edit message').'</legend>'. 96 'Uživatel: ';96 T('User').': '; 97 97 if($this->System->User->Licence(LICENCE_USER)) $Output .= '<b>'.$this->System->User->Name.'</b><br />'; 98 98 else $Output .= '<input type="text" name="user" /><br />'; … … 202 202 if($this->System->User->Licence(LICENCE_USER)) $Output .= '<b>'.$this->System->User->Name.'</b><br />'; 203 203 else $Output .= '<input type="text" name="user" /><br />'; 204 $Output .= 'Text zprávy: (Můžete využít <a href="http://www.bbcode.org/reference.php">BB kód</a>)<br/>'.204 $Output .= T('Message text').': ('.T('You can use').' <a href="http://www.bbcode.org/reference.php">'.T('BB code').'</a>)<br/>'. 205 205 '<textarea onkeydown="ResizeTextArea(this)" name="text" cols="80"></textarea> <br/>'. 206 206 '<input type="hidden" name="a" value="add2"/>'. 207 '<input type="submit" value=" Odeslat" /><br /></fieldset>'.207 '<input type="submit" value="'.T('Send').'" /><br /></fieldset>'. 208 208 '</form>'; 209 209 } else $Output .= ShowMessage(T('You have to be registered for adding message.'), MESSAGE_CRITICAL); … … 221 221 if($this->System->User->Licence(LICENCE_USER)) $Output .= '<b>'.$this->System->User->Name.'</b><br />'; 222 222 else $Output .= '<input type="text" name="user" /><br />'; 223 $Output .= 'Název vlákna: <br />'.223 $Output .= T('Name of thread').': <br />'. 224 224 '<textarea onkeydown="ResizeTextArea(this)" name="text" rows="1" cols="30"></textarea> <br/>'. 225 225 '<input type="hidden" name="a" value="add2"/>'. 226 '<input type="submit" value=" Odeslat" /><br /></fieldset>'.226 '<input type="submit" value="'.T('Send').'" /><br /></fieldset>'. 227 227 '</form>'; 228 228 } else $Output .= ShowMessage(T('You have to be registered for adding message.'), MESSAGE_CRITICAL);
Note:
See TracChangeset
for help on using the changeset viewer.