forked from uup-dump/standalone
16 lines
287 B
PHP
16 lines
287 B
PHP
|
<?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";
|
||
|
}
|
||
|
?>
|