Initial commit

This commit is contained in:
mkuba50
2019-04-12 15:40:27 +02:00
commit c9a741eaed
14 changed files with 578 additions and 0 deletions

15
listlangs.php Normal file
View File

@ -0,0 +1,15 @@
<?php
$updateId = isset($argv[1]) ? $argv[1] : 0;
require_once dirname(__FILE__).'/api/listlangs.php';
$langs = uupListLangs($updateId);
$langs = $langs['langFancyNames'];
asort($langs);
foreach($langs as $key => $val) {
echo $key;
echo '|';
echo $val;
echo "\n";
}
?>