Changeset 861 for trunk/Modules
- Timestamp:
- Jan 21, 2016, 3:20:48 PM (9 years ago)
- Location:
- trunk/Modules
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Dictionary/Dictionary.php
- Property svn:executable deleted
-
trunk/Modules/Log/Log.php
- Property svn:executable deleted
-
trunk/Modules/Redirection/Redirection.php
- Property svn:executable deleted
-
trunk/Modules/Search/Search.php
r846 r861 20 20 { 21 21 $this->System->RegisterPage('search', 'PageSearch'); 22 $this->System->RegisterPageBarItem('Left', 'Search', array($this, 'ShowSearchBox')); 22 23 } 23 24 … … 32 33 { 33 34 unset($this->SearchItems[$Name]); 35 } 36 37 function ShowSearchBox() 38 { 39 $Output = '<strong>'.T('Search').':</strong>'. 40 '<form action="'.$this->System->Link('/search/').'" method="get"><div>'. 41 '<table>'. 42 '<tr>'. 43 '<td><input type="text" name="text" size="13" /></td>'. 44 '</tr>'. 45 '<tr>'. 46 '<th><input type="submit" value="'.T('Do search').'" /></th>'. 47 '</tr>'. 48 '</table></div>'. 49 '</form>'; 50 return($Output); 34 51 } 35 52 } -
trunk/Modules/Translation/Translation.php
r860 r861 66 66 } 67 67 } 68 $this->System->RegisterPageBarItem('Right', 'TranslatedMenu', array($this, 'ShowTranslatedMenu')); 68 69 } 69 70 … … 160 161 } 161 162 } 163 164 function ShowTranslatedMenu() 165 { 166 $TranslationTree = $this->GetTranslationTree(); 167 168 $Output = '<strong>'.T('Translate groups').':</strong><br /><div id="TranslationMenu">'; 169 $DbResult = $this->System->Database->select('Group', '`Id`, `Name`', '1 ORDER BY `Name`'); 170 while($Group = $DbResult->fetch_assoc()) 171 { 172 $Groups[T($Group['Name'])] = $Group; 173 } 174 ksort($Groups); 175 foreach($Groups as $Group) 176 { 177 $Output .= '<div id="menuitem-group'.$Group['Id'].'" onmouseover="show(\'group'.$Group['Id'].'\')" onmouseout="hide(\'group'.$Group['Id'].'\')">'. 178 '<a href="'.$this->System->Link('/TranslationList.php?group='.$Group['Id']. 179 '&action=filter').'">'.str_replace(' ',' ', T($Group['Name'])).'</a></div>'. 180 '<div id="group'.$Group['Id'].'" class="hidden-menu-item" onmouseover="show(\'group'.$Group['Id'].'\')" onmouseout="hide(\'group'.$Group['Id'].'\')">'; 181 $Output .= ' <a title="Zde můžete začít překládat" href="'. 182 $this->System->Link('/TranslationList.php?group='.$Group['Id'].'&state=1&user=0&entry=&text=').'">'.T('Untranslated').'</a><br />'. 183 ' <a title="Přeložené texty, můžete zde hlasovat, nebo opravovat překlady" href="'. 184 $this->System->Link('/TranslationList.php?group='.$Group['Id'].'&state=2&user=0&entry=&text=').'">'.T('Translated').'</a><br />'; 185 if(isset($this->System->User) and $this->System->User->Licence(LICENCE_USER)) 186 { 187 $Output .= ' <a title="'.T('Unfinished translations').'" href="'.$this->System->Link('/TranslationList.php?group='.$Group['Id'].'&state=3').'">'.T('Unfinished').'</a><br />'. 188 ' <a title="Všechny překlady, které jste přeložil" href="'. 189 $this->System->Link('/TranslationList.php?group='.$Group['Id'].'&state=1&user='. 190 $this->System->User->Id).'&entry=&text=">'.T('Own').'</a><br />'; 191 } 192 $Output .= ' <a title="'.T('Compose special filter').'" href="'. 193 $this->System->Link('/TranslationList.php?group='.$Group['Id'].'&action=filter'). 194 '">'.T('Filter').'</a><br />'; 195 $Output .= '</div>'; 196 } 197 $Output .= '</div>'; 198 return($Output); 199 } 162 200 } -
trunk/Modules/User/Options.php
- Property svn:executable deleted
-
trunk/Modules/User/Profile.php
r860 r861 122 122 $parser = new HTML_BBCodeParser2(array('filters' => array('Basic','Extended','Images','Links','Lists','Email'))); 123 123 $Count = 20; 124 $Output = '<strong>'.T('Latest forum posts :').'</strong>';124 $Output = '<strong>'.T('Latest forum posts').':</strong>'; 125 125 126 126 $Output .= '<div class="shoutbox">'; … … 180 180 } 181 181 182 $Output .= '<br /><fieldset><legend>'.T('Profile text :').'</legend>'.htmlspecialchars(str_replace("\n", '<br/>', $UserLine['Info'])).'</fieldset><br/>';182 $Output .= '<br /><fieldset><legend>'.T('Profile text').'</legend>'.htmlspecialchars(str_replace("\n", '<br/>', $UserLine['Info'])).'</fieldset><br/>'; 183 183 184 184 $Output .= '<table class="Home"><tr>'. -
trunk/Modules/User/Registration.php
- Property svn:executable deleted
-
trunk/Modules/User/User.php
r860 r861 38 38 T('Translators'), array('Name'), '`User`', $this->System->Link('/users/?search=')); 39 39 $this->System->RegisterPageBarItem('Top', 'User', array($this, 'TopBarCallback')); 40 $this->System->RegisterPageBarItem('Left', 'User', array($this, 'ShowOnlineList')); 40 41 } 41 42
Note:
See TracChangeset
for help on using the changeset viewer.