Changeset 150 for trunk/export/index.php
- Timestamp:
- Mar 10, 2009, 2:27:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/index.php
r147 r150 189 189 $Zip = new zipfile(); 190 190 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 197 192 $Zip->addFile(file_get_contents('CzWoW/OptionsFrame.xml'), 'Interface/AddOns/CzWoW/OptionsFrame.xml'); 198 193 $Zip->addFile(file_get_contents('CzWoW/CzWoW.xml'), 'Interface/AddOns/CzWoW/CzWoW.xml'); … … 204 199 $Zip->addFile(file_get_contents('ProffBot/ProffBot.xml'), 'Interface/AddOns/ProffBot/ProffBot.xml'); 205 200 $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 207 211 $Buffer = $Zip->file(); 208 212 file_put_contents($SaveFilename, $Buffer); … … 276 280 RadioButton('Export', 'XMLDirect', $ExportSetting['Export'] == 'XMLDirect').'XML - přímo zobrazit<br />'. 277 281 RadioButton('Export', 'XMLCompressed', $ExportSetting['Export'] == 'XMLCompressed').'XML - komprimovaný soubor<br />'. 278 //RadioButton('Export', 'DBC', $ExportSetting['Export'] == 'DBC').'DBC - komprimovaný soubor<br />'.279 282 RadioButton('Export', 'Addon', $ExportSetting['Export'] == 'Addon').'Addon - komprimovaný soubor<br />'. 280 283 RadioButton('Export', 'Lua', $ExportSetting['Export'] == 'Lua').'Lua skripty - komprimovaný soubor<br />'); 281 284 if(Licence(LICENCE_ADMIN)) { 285 echo (RadioButton('Export', 'DBC', $ExportSetting['Export'] == 'DBC').'DBC - komprimovaný soubor<br />'); 282 286 //echo(RadioButton('Export', 'Server', $ExportSetting['Export'] == 'Server').'Poslat přímo na server (pouze admin)<br />'); 283 287 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.