some features for 1.0 added

Serbian localisation finished
This commit is contained in:
sebastian 2005-06-07 15:55:28 +00:00
parent 512f2e811d
commit 2e34430b32
23 changed files with 495 additions and 324 deletions

View file

@ -71,7 +71,7 @@ class uiHandler extends uiBase {
$this->sessid = $sessid;
$this->langid = $formdata['langid'];
$this->redirUrl = UI_BROWSER.'?popup[]=_2SCHEDULER&popup[]=_close';
return TRUE;
}
@ -193,8 +193,11 @@ class uiHandler extends uiBase {
function test4audioType($filename)
{
if (array_key_exists(strrchr($filename, "."), $this->config['audiofiles']))
return TRUE;
foreach ($this->config['file_types'] as $t) {
if (preg_match('/'.str_replace('/', '\/', $t).'$/i', $filename))
return TRUE;
}
return FALSE;
}