some features for 1.0 added
Serbian localisation finished
This commit is contained in:
parent
512f2e811d
commit
2e34430b32
23 changed files with 495 additions and 324 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue