Changeset 791 for trunk/Modules


Ignore:
Timestamp:
Feb 11, 2014, 12:45:27 PM (11 years ago)
Author:
maron
Message:
  • fixed: default Version in translation list
  • added: localization Download.php
Location:
trunk/Modules
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Download/Download.php

    r790 r791  
    6363  '<a href="http://jenicko.savana.cz/wow/forum/viewtopic.php?id=218&amp;action=all">'.T('Czech shouts from W3').'</a> - '.T('sound files taken from Warcraft 3 and used in wow.').'<br />
    6464  <br />'.
    65   '<h3>Doplňky pro server:</h3>'.
     65  '<h3>'.T('Add-ons for server').':</h3>'.
    6666
    67   '<a href="http://mangos.cjb.net/forums/index.php?showforum=15">Čeština do Minimanageru</a><br />
     67  '<a href="http://mangos.cjb.net/forums/index.php?showforum=15">'.T('Czech to Minimanager').'</a><br />
    6868  <a href="http://mangos.cjb.net/forums/index.php?showtopic=359">'.T('Czech for AoWoW').'</a> <a href="'.$fileslink.'/AoWoW.zip">'.T('Czech for AoWoW').' (zip)</a> - '.T('Web viewer database for emulator mangos like wowhead.com').'<br />
    6969  <br />';
  • trunk/Modules/Translation/TranslationList.php

    r786 r791  
    8181                $Output .= '</select></td>';
    8282
    83                 // Version
    84                 $Filter['Version'] = GetParameter('version', 0, true, true);
    85     if (($Filter['Version'] == 0) and ($this->System->User->Licence(LICENCE_USER))) $Filter['Version'] = $this->System->User->PreferredVersion;
     83    if ($this->System->User->Licence(LICENCE_USER))
     84                $Filter['Version'] = GetParameter('version', $this->System->User->PreferredVersion, true, true);
     85    else
     86                $Filter['Version'] = GetParameter('version', 0, true, true);
    8687                if($Filter['Version'] != 0)
    8788                {
  • trunk/Modules/User/User.php

    r789 r791  
    9898  var $Database;
    9999  var $OnlineStateTimeout;
     100  var $PreferredVersion = 0;
    100101 
    101102  function __construct($System)
Note: See TracChangeset for help on using the changeset viewer.