Changeset 189 for trunk/export/index.php


Ignore:
Timestamp:
Apr 26, 2009, 11:59:45 AM (15 years ago)
Author:
maron
Message:

Čeština pro clienty 2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/export/index.php

    r184 r189  
    3838
    3939function WriteSetting($ExportSetting) {
    40         echo '<br /><br /><strong>Nastavení exportu:</strong><br />'.
    41         '<textarea rows="10" cols="100">'.serialize($ExportSetting).'</textarea><br />'.
     40        echo    '<textarea rows="10" cols="100">'.serialize($ExportSetting).'</textarea><br />'.
    4241        'Odkaz ke stažení s vlastním nastavením: '.
    4342        '<a href="?action=output&ExportSetting='.htmlspecialchars(serialize($ExportSetting)).'">Odkaz vlastního exportu</a><br />'.
     
    281280          MakeAddon($ExportSetting);
    282281          MakeReadme();
    283          
     282
    284283          $SaveFilename = $Config['Web']['TempFolder'].'Addon/CzWoW_'.$Line['verse'].'.zip';         
    285284          $Zip = new zipfile();
    286285                  CreateZipFromDir($Zip, $TempDir, 'Interface/AddOns/CzWoW/');
    287286          //addon
    288           $Zip->addFile(file_get_contents('CzWoW/OptionsFrame.xml'), 'Interface/AddOns/CzWoW/OptionsFrame.xml');       
    289           $Zip->addFile(file_get_contents('CzWoW/CzWoW.xml'), 'Interface/AddOns/CzWoW/CzWoW.xml');     
    290                   $Zip->addFile(file_get_contents('CzWoW/CzWoW.toc'), 'Interface/AddOns/CzWoW/CzWoW.toc');     
    291           //$Zip->addFile(file_get_contents('addon/CzWoW/CzWoW.lua'), 'Interface/AddOns/CzWoW/CzWoW.lua');     
    292                   $Zip->addFile(file_get_contents('CzWoW/GameMenuFrame.xml'), 'Interface/AddOns/CzWoW/GameMenuFrame.xml');     
    293                   $Zip->addFile(file_get_contents('CzWoW/Localization.lua'), 'Interface/AddOns/CzWoW/Localization.lua');       
    294                   $Zip->addFile(file_get_contents('ProffBot/ProffBot.toc'), 'Interface/AddOns/ProffBot/ProffBot.toc'); 
    295                   $Zip->addFile(file_get_contents('ProffBot/ProffBot.xml'), 'Interface/AddOns/ProffBot/ProffBot.xml'); 
    296                   $Zip->addFile(file_get_contents('ProffBot/ProffBot.lua'), 'Interface/AddOns/ProffBot/ProffBot.lua');
     287          $Zip->addFile(file_get_contents('files/3.0.9/CzWoW/OptionsFrame.xml'), 'Interface/AddOns/CzWoW/OptionsFrame.xml');   
     288          $Zip->addFile(file_get_contents('files/3.0.9/CzWoW/CzWoW.xml'), 'Interface/AddOns/CzWoW/CzWoW.xml'); 
     289                  $Zip->addFile(file_get_contents('files/3.0.9/CzWoW/CzWoW.toc'), 'Interface/AddOns/CzWoW/CzWoW.toc'); 
     290          $Zip->addFile(file_get_contents('files/3.0.9/CzWoW/CzWoW.lua'), 'Interface/AddOns/CzWoW/CzWoW.lua'); 
     291                  $Zip->addFile(file_get_contents('files/3.0.9/CzWoW/GameMenuFrame.xml'), 'Interface/AddOns/CzWoW/GameMenuFrame.xml'); 
     292                  $Zip->addFile(file_get_contents('files/3.0.9/CzWoW/Localization.lua'), 'Interface/AddOns/CzWoW/Localization.lua');   
    297293                  //fonty
    298           $Zip->addFile(file_get_contents('Fonts/FRIZQT__.ttf'), 'Fonts/FRIZQT__.ttf');
    299           $Zip->addFile(file_get_contents('Fonts/MORPHEUS.ttf'), 'Fonts/MORPHEUS.ttf');
    300           $Zip->addFile(file_get_contents('Fonts/SKURRI.ttf'), 'Fonts/SKURRI.ttf');     
     294          $Zip->addFile(file_get_contents('files/Fonts/FRIZQT__.ttf'), 'Fonts/FRIZQT__.ttf');   
     295          $Zip->addFile(file_get_contents('files/Fonts/MORPHEUS.ttf'), 'Fonts/MORPHEUS.ttf');   
     296          $Zip->addFile(file_get_contents('files/Fonts/SKURRI.ttf'), 'Fonts/SKURRI.ttf');       
    301297          //readme
    302298          $Zip->addFile(file_get_contents($Config['Web']['TempFolder'].'Addon/CzWoW/CZWOW-Readme.txt'), 'CZWOW-Readme.txt');   
    303                   //dbc...MPQ
    304           $Zip->addFile(file_get_contents('MPQ/patch-enUS-5.MPQ'), 'Data/enUS/patch-enUS-5.MPQ');       
    305           $Zip->addFile(file_get_contents('MPQ/WoWMe.exe'), 'WoWMe.exe');       
    306299                                         
    307300                  $Buffer = $Zip->file();
     
    393386    echo('</fieldset><br /></td><td class="Description">Zvolte způsob, jakým mají být získána výstupní data. V případě přímého zobrazení může být do vašeho prohlížeče přenášeno vysoké množství dat, což může vést k jeho přetížení.<br />Addon je potřeba nakopírovat do složky klienta Interface/AddOns a ve hře lze zpřístupnit jeho možnosti pomocí příkazu /czwow.</td></tr></table>');
    394387        echo('<br /><input type="submit" value="Dokončit" />');
    395         echo('</div></form>');
     388        echo('</div></form><br />');
     389        echo('<fieldset><legend>Nastavení exportu pro zálohování</legend>');
    396390        WriteSetting($ExportSetting);   
     391        echo ('</fieldset>');
    397392        break;
    398393  case 'parameters':
Note: See TracChangeset for help on using the changeset viewer.