Changeset 637
- Timestamp:
- Dec 11, 2013, 1:44:54 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.htaccess
r545 r637 8 8 9 9 # Pretty urls on localhost with alias 10 RewriteCond %{HTTP_HOST} localhost10 #RewriteCond %{HTTP_HOST} localhost 11 11 RewriteCond %{REQUEST_FILENAME} !-f 12 12 RewriteCond %{REQUEST_FILENAME} !-d … … 14 14 15 15 # Pretty urls 16 RewriteCond %{HTTP_HOST} wowpreklad.zdechov.net17 RewriteCond %{REQUEST_FILENAME} !-f18 RewriteCond %{REQUEST_FILENAME} !-d19 RewriteRule ^(.*)$ index.php?$116 #RewriteCond %{HTTP_HOST} wowpreklad.zdechov.net 17 #RewriteCond %{REQUEST_FILENAME} !-f 18 #RewriteCond %{REQUEST_FILENAME} !-d 19 #RewriteRule ^(.*)$ index.php?$1 20 20 21 21 -
trunk/Modules/ClientVersion/ClientVersion.php
r636 r637 44 44 array('Name' => 'ReleaseDate', 'Title' => T('Release date')), 45 45 array('Name' => 'Title', 'Title' => T('Title')), 46 array('Name' => 'Imported', 'Title' => T('Imported')), 46 47 ); 47 48 $Order = GetOrderTableHeader($TableColumns, 'BuildNumber', 1); 48 49 $Output .= '<table class="BaseTable">'. 49 50 $Order['Output']; 51 52 $YesNo = array('Ne', 'Ano'); 50 53 51 54 $DbResult = $this->System->Database->query('SELECT * FROM ClientVersion '.$Order['SQL'].$PageList['SQLLimit']); … … 54 57 $Output .= '<tr><td><a href="http://www.wowwiki.com/Patch_'.$Version['Version'].'">'. 55 58 $Version['Version'].'</a></td><td>'.$Version['BuildNumber'].'</td><td>'. 56 HumanDate($Version['ReleaseDate']).'</td><td>'.$Version['Title'].'</td></tr>'; 59 HumanDate($Version['ReleaseDate']).'</td><td>'.$Version['Title'].'</td>'. 60 '<td>'.$YesNo[$Version['Imported']].'</td></tr>'; 57 61 } 58 62 $Output .= '</table>'. -
trunk/Modules/Dictionary/Dictionary.php
r636 r637 176 176 '</fieldset>'. 177 177 '</form>'; 178 } else $Output = ShowMessage( 'Položka nenalezena', MESSAGE_CRITICAL);178 } else $Output = ShowMessage(T('Item not found'), MESSAGE_CRITICAL); 179 179 } else $Output = ShowMessage(T('Access denied'), MESSAGE_CRITICAL); 180 180 return($Output); -
trunk/Modules/News/News.php
r636 r637 98 98 { 99 99 $Output = '<form action="?" method="POST">'. 100 'Uživatel: '.$this->System->User->Name.'('.$this->System->User->Id.')<br/> '.101 'Nadpis: <input type="text" name="title" size="40"/><br/>'.102 'Obsah: <textarea rows="8" cols="40" onkeydown="ResizeTextArea(this)" class="textedit" id="Text" name="text"></textarea><br/>'.100 T('User').': '.$this->System->User->Name.'('.$this->System->User->Id.')<br/> '. 101 T('Title').': <input type="text" name="title" size="40"/><br/>'. 102 T('Content').': <textarea rows="8" cols="40" onkeydown="ResizeTextArea(this)" class="textedit" id="Text" name="text"></textarea><br/>'. 103 103 '<input type="hidden" name="a" value="add2"/>'. 104 '<input type="submit" value=" Uložit"/><br/>'.104 '<input type="submit" value="'.T('Save').'"/><br/>'. 105 105 '</form>'; 106 106 } else $Output = ShowMessage(T('Access denied'), MESSAGE_CRITICAL); … … 117 117 $this->System->User->Id.', "'.$_POST['text'].'")'; 118 118 $this->System->Database->query($querty); 119 $Output = ShowMessage( 'Aktualita uložena.');119 $Output = ShowMessage(T('News added')); 120 120 $this->System->ModuleManager->Modules['Log']->WriteLog('Vložena nová aktualita', LOG_TYPE_ADMINISTRATION); 121 121 $Output .= $this->ShowList(); 122 } else $Output = ShowMessage( 'Nezadány údaje', MESSAGE_CRITICAL);122 } else $Output = ShowMessage(T('Data not specified'), MESSAGE_CRITICAL); 123 123 } else $Output = ShowMessage(T('Access denied'), MESSAGE_CRITICAL); 124 124 return($Output); -
trunk/Modules/Referrer/Referrer.php
r636 r637 67 67 'class="banner" height="31" width="88" /></a>'; 68 68 69 $Output = '<strong> Bannery:</strong><br />';69 $Output = '<strong>'.T('Banners').':</strong><br />'; 70 70 71 71 $Output .= $Banner.' <textarea rows="2" cols="30">'.htmlspecialchars($Banner).'</textarea><br />'; … … 74 74 $MonthAge = 3; 75 75 $YesNo = array('Ne', 'Ano'); 76 $Output .= '<br/><strong> Servery odkazující na nás:</strong> <br />76 $Output .= '<br/><strong>'.T('Servers referring to us').':</strong> <br /> 77 77 <div style="font-size: 10px;">Seznam je automaticky aktualizován a zobrazeny jsou servery, ze kterých přišli uživatelé během posledních třech měsíců řazený sestupně dle nejnovějších.</div><br />'; 78 78 … … 97 97 98 98 $TableColumns = array( 99 array('Name' => 'Web', 'Title' => 'Adresa'),100 array('Name' => 'MaxDateLast', 'Title' => 'Naposledy'),101 array('Name' => 'TotalHits', 'Title' => 'Příchodů'),99 array('Name' => 'Web', 'Title' => T('Address')), 100 array('Name' => 'MaxDateLast', 'Title' => T('Last visit')), 101 array('Name' => 'TotalHits', 'Title' => T('Hits')), 102 102 ); 103 103 if($this->System->User->Licence(LICENCE_ADMIN)) 104 104 { 105 $TableColumns[] = array('Name' => 'Show', 'Title' => 'Viditelné');106 $TableColumns[] = array('Name' => 'Parent', 'Title' => 'Rodič');107 $TableColumns[] = array('Name' => 'Description', 'Title' => 'Komentář');108 $TableColumns[] = array('Name' => 'Action', 'Title' => 'Akce');105 $TableColumns[] = array('Name' => 'Show', 'Title' => T('Visible')); 106 $TableColumns[] = array('Name' => 'Parent', 'Title' => T('Parent')); 107 $TableColumns[] = array('Name' => 'Description', 'Title' => T('Comment')); 108 $TableColumns[] = array('Name' => 'Action', 'Title' => T('Actions')); 109 109 } 110 110 $Order = GetOrderTableHeader($TableColumns, 'MaxDateLast', 1); … … 125 125 '<td>'.$Line['ParentName'].'</td>'. 126 126 '<td>'.$Line['Description'].'</td>'. 127 '<td><a href="?action=edit&id='.$Line['Id'].'"> Upravit</a></td>';127 '<td><a href="?action=edit&id='.$Line['Id'].'">'.T('Modify').'</a></td>'; 128 128 } 129 129 $Output .= '</tr>'; … … 167 167 else $Show = ''; 168 168 $Output = '<form action="?action=editsave&id='.$_GET['id'].'" method="post"><table>'. 169 '<tr><td> Web</td><td>'.$Item['Web'].'</td></tr>'.170 '<tr><td> Viditelné</td><td><input type="checkbox" name="Show" '.$Show.'/></td></tr>'.171 '<tr><td> Popis</td><td><input type="text" name="Description" value="'.$Item['Description'].'"/></td></tr>'.172 '<tr><td> Nadřazená položka</td><td>'.$this->SelectParentItem($Item['Parent'], $Item['Id']).'</td></tr>'.169 '<tr><td>'.T('Web').'</td><td>'.$Item['Web'].'</td></tr>'. 170 '<tr><td>'.T('Visible').'</td><td><input type="checkbox" name="Show" '.$Show.'/></td></tr>'. 171 '<tr><td>'.T('Description').'</td><td><input type="text" name="Description" value="'.$Item['Description'].'"/></td></tr>'. 172 '<tr><td>'.T('Parent item').'</td><td>'.$this->SelectParentItem($Item['Parent'], $Item['Id']).'</td></tr>'. 173 173 '<tr><td colspan="2"><input type="submit" value="Uložit"/></td></tr></table></form>'; 174 } else $Output = ShowMessage( 'Položka nenalezena', MESSAGE_CRITICAL);175 } else $Output = ShowMessage( 'Položka nezadána', MESSAGE_CRITICAL);174 } else $Output = ShowMessage(T('Item not found'), MESSAGE_CRITICAL); 175 } else $Output = ShowMessage(T('Item not specified'), MESSAGE_CRITICAL); 176 176 } else $Output = ShowMessage(T('Access denied'), MESSAGE_CRITICAL); 177 177 return($Output); … … 188 188 'Parent' => $_POST['Parent'], 'Description' => $_POST['Description'])); 189 189 $_SERVER['QUERY_STRING'] = ''; 190 $Output = ShowMessage( 'Nastavení uloženo');190 $Output = ShowMessage(T('Settings saved')); 191 191 $Output .= $this->ShowList(); 192 192 } else $Output = ShowMessage(T('Access denied'), MESSAGE_CRITICAL); -
trunk/Modules/Server/Server.php
r636 r637 33 33 { 34 34 $this->Title = T('Servers'); 35 $Output = '<p>V tomto seznamu jsou uvedeny jen servery, které skutečně hráčům nabízejí počeštěnou hru v praxi. Rozlišuje se, zda češtinu nabízí na straně klienta, serveru nebo obojí. Pojem "český server" zde tedy neznamená, že jej provozují češi, ale že lze hrát česky.</p>'; 36 $Output .= '<h3>Seznam českých serverů</h3>'; 35 $Output = '<p>'.T('There are servers listed which are in fact offering translated game. '. 36 'There is resoluted if translation is offered either on client side, on server side or both. '. 37 'Term "Czech server" doesn\'t mean that server is operated by Czech people but that it is possible to play in Czech.').'.</p>'; 38 $Output .= '<h3>'.T('Translated server list').'</h3>'; 37 39 38 40 $DbResult = $this->System->Database->query('SELECT COUNT(*) FROM `ServerList`'); … … 44 46 45 47 $TableColumns = array( 46 array('Name' => 'Name', 'Title' => 'Název'),47 array('Name' => 'Parts', 'Title' => 'Čeština'),48 array('Name' => 'Name', 'Title' => T('Name')), 49 array('Name' => 'Parts', 'Title' => T('Translated')), 48 50 ); 49 51 $Order = GetOrderTableHeader($TableColumns, 'Name', 1); -
trunk/Modules/ShoutBox/ShoutBox.php
r636 r637 87 87 { 88 88 $Output .= '<form action="?" method="post">'. 89 '<fieldset><legend> Nová zpráva kecátka</legend>'.89 '<fieldset><legend>'.T('New message').'</legend>'. 90 90 'Uživatel: '; 91 91 if($this->System->User->Licence(LICENCE_USER)) $Output .= '<b>'.$this->System->User->Name.'</b><br />'; -
trunk/Modules/User/UserList.php
r636 r637 23 23 if(array_key_exists('team', $_GET)) 24 24 { 25 $DbResult = $this->Database->select('Team', 'Name', 'Id='.$_GET['team']); 25 $TeamId = $_GET['team'] * 1; 26 $DbResult = $this->Database->select('Team', 'Name', 'Id='.$TeamId); 26 27 if($DbResult->num_rows > 0) 27 28 { … … 30 31 $TeamFilter = ' AND (`Team`='.$_GET['team'].')'; 31 32 } else { 32 $Output .= ShowMessage( 'Tým '.$_GET['team'].' nenalezen', MESSAGE_CRITICAL);33 $Output .= ShowMessage(sprintf(T('Team %d not found'), $TeamId), MESSAGE_CRITICAL); 33 34 } 34 35 } else … … 45 46 46 47 $TableColumns = array( 47 array('Name' => 'Name', 'Title' => 'Jméno'),48 array('Name' => 'TranslatedCount', 'Title' => 'Překladů'),49 array('Name' => 'XP', 'Title' => 'Úroveň'),50 array('Name' => 'XP', 'Title' => 'Zkušenost'),51 //array('Name' => 'GM', 'Title' => 'Oprávnění'),52 array('Name' => 'LastLogin', 'Title' => 'Naposledy přítomen'),53 array('Name' => 'RegistrationTime', 'Title' => 'Čas registrace'),48 array('Name' => 'Name', 'Title' => T('Name')), 49 array('Name' => 'TranslatedCount', 'Title' => T('Translated count')), 50 array('Name' => 'XP', 'Title' => T('Level')), 51 array('Name' => 'XP', 'Title' => T('Experience')), 52 //array('Name' => 'GM', 'Title' => T('GM')), 53 array('Name' => 'LastLogin', 'Title' => T('Last logged in')), 54 array('Name' => 'RegistrationTime', 'Title' => T('Registration time')), 54 55 ); 55 56 $Order = GetOrderTableHeader($TableColumns, 'TranslatedCount', 1); -
trunk/includes/Version.php
r636 r637 6 6 // and system will need database update. 7 7 8 $Revision = 63 6; // Subversion revision8 $Revision = 637; // Subversion revision 9 9 $DatabaseRevision = 610; // Database structure revision 10 10 $ReleaseTime = '2013-12-11'; -
trunk/locale/cs.php
r636 r637 108 108 'Page not found' => 'Stránka nenalezena', 109 109 'Information for translators' => 'Informace pro překladatele', 110 'New message' => 'Nová zpráva kecátka', 111 'Item not found' => 'Položka nenalezena', 112 'Team %d not found' => 'Tým %d nenalezen', 113 'Translated count' => 'Počet přeložených', 114 'Level' => 'Úroveň', 115 'Experience' => 'Zkušenost', 116 'GM' => 'GM', 117 'Last logged in' => 'Naposledy přihlášen', 118 'Registration time' => 'Čas registrace', 119 'Translated server list' => 'Seznam přeložených serverů', 120 'User' => 'Uživatel', 121 'Content' => 'Obsah', 122 'Save' => 'Uložit', 123 'News added' => 'Novinka přidána', 124 'Data not specified' => 'Údaje nebyly zadány', 125 'Servers referring to us' => 'Servery odkazující na nás', 126 'Address' => 'Adresa', 127 'Last visit' => 'Poslední návštěva', 128 'Hits' => 'Počet', 129 'Visible' => 'Viditelné', 130 'Parent' => 'Nadřazený', 131 'Comment' => 'Komentář', 132 'Actions' => 'Akce', 133 'Web' => 'Web', 134 'Parent item' => 'Nadřazená položka', 135 'Item not specified' => 'Položka nezadána', 136 'Settings saved' => 'Nastavení uloženo', 137 'There are servers listed which are in fact offering translated game. '. 138 'There is resoluted if translation is offered either on client side, on server side or both. '. 139 'Term "Czech server" doesn\'t mean that server is operated by Czech people but that it is possible to play in Czech.' => '', 110 140 ); 111 141 } -
trunk/locale/en.php
r636 r637 108 108 'Page not found' => '', 109 109 'Information for translators' => '', 110 'New message' => '', 111 'Item not found' => '', 112 'Team %d not found' => '', 113 'Translated count' => '', 114 'Level' => '', 115 'Experience' => '', 116 'GM' => '', 117 'Last logged in' => '', 118 'Registration time' => '', 119 'Translated server list' => '', 120 'User' => '', 121 'Content' => '', 122 'Save' => '', 123 'News added' => '', 124 'Data not specified' => '', 125 'Servers referring to us' => '', 126 'Address' => '', 127 'Last visit' => '', 128 'Hits' => '', 129 'Visible' => '', 130 'Parent' => '', 131 'Comment' => '', 132 'Actions' => '', 133 'Web' => '', 134 'Parent item' => '', 135 'Item not specified' => '', 136 'Settings saved' => '', 137 'There are servers listed which are in fact offering translated game. '. 138 'There is resoluted if translation is offered either on client side, on server side or both. '. 139 'Term "Czech server" doesn\'t mean that server is operated by Czech people but that it is possible to play in Czech.' => '', 110 140 ); 111 141 }
Note:
See TracChangeset
for help on using the changeset viewer.