Changeset 150 for trunk/export/index.php


Ignore:
Timestamp:
Mar 10, 2009, 2:27:14 PM (15 years ago)
Author:
maron
Message:

MPQ do češtiny pro klienta

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/export/index.php

    r147 r150  
    189189          $Zip = new zipfile();
    190190                  CreateZipFromDir($Zip, $TempDir, 'Interface/AddOns/CzWoW/');
    191           $Zip->addFile(file_get_contents('Fonts/FRIZQT__.ttf'), 'Fonts/FRIZQT__.ttf');
    192           $Zip->addFile(file_get_contents('Fonts/MORPHEUS.ttf'), 'Fonts/MORPHEUS.ttf');
    193           $Zip->addFile(file_get_contents('Fonts/SKURRI.ttf'), 'Fonts/SKURRI.ttf');     
    194          
    195           $Zip->addFile(file_get_contents($Config['Web']['TempFolder'].'Addon/CzWoW/CZWOW-Readme.txt'), 'CZWOW-Readme.txt');   
    196          
     191          //addon
    197192          $Zip->addFile(file_get_contents('CzWoW/OptionsFrame.xml'), 'Interface/AddOns/CzWoW/OptionsFrame.xml');       
    198193          $Zip->addFile(file_get_contents('CzWoW/CzWoW.xml'), 'Interface/AddOns/CzWoW/CzWoW.xml');     
     
    204199                  $Zip->addFile(file_get_contents('ProffBot/ProffBot.xml'), 'Interface/AddOns/ProffBot/ProffBot.xml'); 
    205200                  $Zip->addFile(file_get_contents('ProffBot/ProffBot.lua'), 'Interface/AddOns/ProffBot/ProffBot.lua');
    206                          
     201                  //fonty
     202          $Zip->addFile(file_get_contents('Fonts/FRIZQT__.ttf'), 'Fonts/FRIZQT__.ttf');
     203          $Zip->addFile(file_get_contents('Fonts/MORPHEUS.ttf'), 'Fonts/MORPHEUS.ttf');
     204          $Zip->addFile(file_get_contents('Fonts/SKURRI.ttf'), 'Fonts/SKURRI.ttf');     
     205          //readme
     206          $Zip->addFile(file_get_contents($Config['Web']['TempFolder'].'Addon/CzWoW/CZWOW-Readme.txt'), 'CZWOW-Readme.txt');   
     207                  //dbc...MPQ
     208          $Zip->addFile(file_get_contents('MPQ/patch-enUS-5.MPQ'), 'Data/enUS/patch-enUS-5.MPQ');       
     209          $Zip->addFile(file_get_contents('MPQ/WoWMe.exe'), 'WoWMe.exe');       
     210                                         
    207211                  $Buffer = $Zip->file();
    208212          file_put_contents($SaveFilename, $Buffer);
     
    276280      RadioButton('Export', 'XMLDirect', $ExportSetting['Export'] == 'XMLDirect').'XML - přímo zobrazit<br />'.
    277281          RadioButton('Export', 'XMLCompressed', $ExportSetting['Export'] == 'XMLCompressed').'XML - komprimovaný soubor<br />'.
    278       //RadioButton('Export', 'DBC', $ExportSetting['Export'] == 'DBC').'DBC - komprimovaný soubor<br />'.
    279282          RadioButton('Export', 'Addon', $ExportSetting['Export'] == 'Addon').'Addon - komprimovaný soubor<br />'.
    280283          RadioButton('Export', 'Lua', $ExportSetting['Export'] == 'Lua').'Lua skripty - komprimovaný soubor<br />');
    281284    if(Licence(LICENCE_ADMIN)) {
     285          echo (RadioButton('Export', 'DBC', $ExportSetting['Export'] == 'DBC').'DBC - komprimovaný soubor<br />');
    282286      //echo(RadioButton('Export', 'Server', $ExportSetting['Export'] == 'Server').'Poslat přímo na server (pouze admin)<br />');
    283287          echo(RadioButton('Export', 'VerseCZ', $ExportSetting['Export'] == 'VerseCZ').'Vytvoření verze češtiny <a href="../download.php?createverse" Title="Před konečným exportováním napište popis k verzi" Target="_NEW">Popis k verzi</a> (pouze admin)<br />');
Note: See TracChangeset for help on using the changeset viewer.