*** empty log message ***
This commit is contained in:
parent
9126d82bd2
commit
212f97ea93
37 changed files with 391 additions and 199 deletions
|
@ -212,7 +212,8 @@ $ui_fmask = array(
|
||||||
'element' => 'pass',
|
'element' => 'pass',
|
||||||
'type' => 'password',
|
'type' => 'password',
|
||||||
'label' => 'Password',
|
'label' => 'Password',
|
||||||
'required' => TRUE
|
'required' => TRUE,
|
||||||
|
'requiredmsg' => ""
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'element' => 'cancel',
|
'element' => 'cancel',
|
||||||
|
@ -411,15 +412,15 @@ $ui_fmask = array(
|
||||||
array(
|
array(
|
||||||
'element' => 'clear',
|
'element' => 'clear',
|
||||||
'type' => 'button',
|
'type' => 'button',
|
||||||
'label' => 'Reset',
|
'label' => 'Reset Criteria',
|
||||||
'attributes' => array('onClick' => "this.form.reset(); hpopup('".UI_HANDLER."?act=SEARCH.clear', 'SF')"),
|
'attributes' => array('class' => 'button_wide', 'onClick' => "this.form.reset(); hpopup('".UI_HANDLER."?act=SEARCH.clear', 'SF')"),
|
||||||
'groupit' => TRUE,
|
'groupit' => TRUE,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'element' => 'addrow',
|
'element' => 'addrow',
|
||||||
'type' => 'button',
|
'type' => 'button',
|
||||||
'label' => 'Add Criteria',
|
'label' => 'Add Criteria',
|
||||||
'attributes' => array('onClick' => 'SearchForm_addRow()'),
|
'attributes' => array('class' => 'button_wide', 'onClick' => 'SearchForm_addRow()'),
|
||||||
'groupit' => TRUE,
|
'groupit' => TRUE,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
@ -427,6 +428,7 @@ $ui_fmask = array(
|
||||||
'type' => 'submit',
|
'type' => 'submit',
|
||||||
'label' => 'Submit',
|
'label' => 'Submit',
|
||||||
'groupit' => TRUE,
|
'groupit' => TRUE,
|
||||||
|
'attributes' => array('class' => 'button_wide')
|
||||||
),
|
),
|
||||||
array('group' => array('clear', 'addrow', 'submit')
|
array('group' => array('clear', 'addrow', 'submit')
|
||||||
),
|
),
|
||||||
|
@ -532,7 +534,25 @@ $ui_fmask = array(
|
||||||
100 => 100
|
100 => 100
|
||||||
),
|
),
|
||||||
'attributes'=> array('onChange' => 'hpopup("'.UI_HANDLER.'?act=BROWSE.setLimit&limit=" + this.form.limit.value)')
|
'attributes'=> array('onChange' => 'hpopup("'.UI_HANDLER.'?act=BROWSE.setLimit&limit=" + this.form.limit.value)')
|
||||||
|
),
|
||||||
|
/* do we need reset?
|
||||||
|
array(
|
||||||
|
'element' => 'spacer',
|
||||||
|
'type' => 'static',
|
||||||
|
'constant' => '',
|
||||||
|
'groupit' => TRUE
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'element' => 'reset',
|
||||||
|
'type' => 'button',
|
||||||
|
'label' => 'Reset Criteria',
|
||||||
|
'attributes'=> array('class' => 'button_wide', 'onClick' => 'hpopup("'.UI_HANDLER.'?act=BROWSE.setDefaults")'),
|
||||||
|
'groupit' => TRUE
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'group' => array('spacer', 'reset')
|
||||||
)
|
)
|
||||||
|
*/
|
||||||
),
|
),
|
||||||
|
|
||||||
'simplesearch' => array(
|
'simplesearch' => array(
|
||||||
|
@ -646,14 +666,14 @@ $ui_fmask = array(
|
||||||
'element' => 'switchdown',
|
'element' => 'switchdown',
|
||||||
'type' => 'button',
|
'type' => 'button',
|
||||||
'label' => '-',
|
'label' => '-',
|
||||||
'attributes'=> array('onClick' => 'pl_switchDown()', 'onMousedown' => 'pl_start("Down")', 'onMouseUp' => "pl_stop()", 'onMouseOut' => "pl_stop()"),
|
'attributes'=> array('class' => 'button_small', 'onClick' => 'pl_switchDown()', 'onMousedown' => 'pl_start("Down")', 'onMouseUp' => "pl_stop()", 'onMouseOut' => "pl_stop()"),
|
||||||
'groupit' => TRUE
|
'groupit' => TRUE
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'element' => 'switchup',
|
'element' => 'switchup',
|
||||||
'type' => 'button',
|
'type' => 'button',
|
||||||
'label' => '+',
|
'label' => '+',
|
||||||
'attributes'=> array('onClick' => 'pl_switchUp()', 'onMousedown' => 'pl_start("Up")', 'onMouseUp' => "pl_stop()", 'onMouseOut' => "pl_stop()"),
|
'attributes'=> array('class' => 'button_small', 'onClick' => 'pl_switchUp()', 'onMousedown' => 'pl_start("Up")', 'onMouseUp' => "pl_stop()", 'onMouseOut' => "pl_stop()"),
|
||||||
'groupit' => TRUE
|
'groupit' => TRUE
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -61,8 +61,16 @@ if (is_array($_REQUEST['popup'])){
|
||||||
$Smarty->display('popup/PLAYLIST.changeTransition.tpl');
|
$Smarty->display('popup/PLAYLIST.changeTransition.tpl');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "PL.deleteActive":
|
case "PL.confirmDelete":
|
||||||
$Smarty->display('popup/PLAYLIST.deleteActive.tpl');
|
$Smarty->display('popup/PLAYLIST.confirmDelete.tpl');
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "PL.confirmRevert":
|
||||||
|
$Smarty->display('popup/PLAYLIST.confirmRevert.tpl');
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "PL.confirmRelease":
|
||||||
|
$Smarty->display('popup/PLAYLIST.confirmRelease.tpl');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "SCHEDULER.addItem":
|
case "SCHEDULER.addItem":
|
||||||
|
|
|
@ -161,8 +161,8 @@ switch($_REQUEST['act']){
|
||||||
$uiHandler->BROWSE->reOrder($_REQUEST['by']);
|
$uiHandler->BROWSE->reOrder($_REQUEST['by']);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "BROWSE.clear":
|
case "BROWSE.setDefaults":
|
||||||
$uiHandler->BROWSE->clear();
|
$uiHandler->BROWSE->setDefaults(TRUE);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "BROWSE.setOffset":
|
case "BROWSE.setOffset":
|
||||||
|
@ -219,6 +219,12 @@ switch($_REQUEST['act']){
|
||||||
$uiHandler->PLAYLIST->setReload();
|
$uiHandler->PLAYLIST->setReload();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case "PL.revertANDclose":
|
||||||
|
$uiHandler->PLAYLIST->revert();
|
||||||
|
$uiHandler->PLAYLIST->release();
|
||||||
|
$uiHandler->PLAYLIST->setReload();
|
||||||
|
break;
|
||||||
|
|
||||||
case"PL.unlook":
|
case"PL.unlook":
|
||||||
$uiHandler->PLAYLIST->loadLookedFromPref();
|
$uiHandler->PLAYLIST->loadLookedFromPref();
|
||||||
$uiHandler->PLAYLIST->setReload();
|
$uiHandler->PLAYLIST->setReload();
|
||||||
|
@ -261,7 +267,7 @@ switch($_REQUEST['act']){
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
$uiHandler->_retMsg("Unknown method: $1", $_REQUEST["act"]);
|
if ($uiHandler->userid) $uiHandler->_retMsg("Unknown method: $1", $_REQUEST["act"]);
|
||||||
$uiHandler->redirUrl = UI_BROWSER;
|
$uiHandler->redirUrl = UI_BROWSER;
|
||||||
if ($_REQUEST['is_popup'])
|
if ($_REQUEST['is_popup'])
|
||||||
$uiHandler->redirUrl .= '?popup[]=_reload_parent&popup[]=_close';
|
$uiHandler->redirUrl .= '?popup[]=_reload_parent&popup[]=_close';
|
||||||
|
|
|
@ -2,6 +2,22 @@
|
||||||
<language>
|
<language>
|
||||||
<status />
|
<status />
|
||||||
<Id>cz_CZ</Id>
|
<Id>cz_CZ</Id>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to delete file "$1"?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to remove playlist "$1"?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to delete active Playlist?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to logout $1?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Unable to set "$1" to value "$2".</key>
|
<key>Unable to set "$1" to value "$2".</key>
|
||||||
<value />
|
<value />
|
||||||
|
@ -386,14 +402,14 @@
|
||||||
<key>Edit</key>
|
<key>Edit</key>
|
||||||
<value>Editovat</value>
|
<value>Editovat</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Edit File</key>
|
|
||||||
<value>Editovat soubor</value>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Edit Metadata</key>
|
<key>Edit Metadata</key>
|
||||||
<value>Editovat metadata</value>
|
<value>Editovat metadata</value>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Edit Playlist</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Encoded by</key>
|
<key>Encoded by</key>
|
||||||
<value>Kódoval</value>
|
<value>Kódoval</value>
|
||||||
|
@ -702,6 +718,10 @@
|
||||||
<key>Retype Password</key>
|
<key>Retype Password</key>
|
||||||
<value>Zopakujte heslo</value>
|
<value>Zopakujte heslo</value>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Reset Criteria</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Revert to Saved</key>
|
<key>Revert to Saved</key>
|
||||||
<value>Vrátit do uloženého stavu</value>
|
<value>Vrátit do uloženého stavu</value>
|
||||||
|
@ -710,10 +730,6 @@
|
||||||
<key>Rows Per Page</key>
|
<key>Rows Per Page</key>
|
||||||
<value>Počet řádek na stránku</value>
|
<value>Počet řádek na stránku</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Rows per Page</key>
|
|
||||||
<value>Počet řádek na stránku</value>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Sample rate</key>
|
<key>Sample rate</key>
|
||||||
<value>Vzorkovací frekvence</value>
|
<value>Vzorkovací frekvence</value>
|
||||||
|
@ -730,10 +746,6 @@
|
||||||
<key>Save and Close this Playlist</key>
|
<key>Save and Close this Playlist</key>
|
||||||
<value>Uložit a zavřít playlist</value>
|
<value>Uložit a zavřít playlist</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Scheduler</key>
|
|
||||||
<value>Plánovač</value>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Scheduler Navigation</key>
|
<key>Scheduler Navigation</key>
|
||||||
<value>Navigace v plánovači</value>
|
<value>Navigace v plánovači</value>
|
||||||
|
|
|
@ -2,6 +2,22 @@
|
||||||
<language>
|
<language>
|
||||||
<status />
|
<status />
|
||||||
<Id>de_DE</Id>
|
<Id>de_DE</Id>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to delete file "$1"?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to remove playlist "$1"?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to delete active Playlist?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to logout $1?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Unable to set "$1" to value "$2".</key>
|
<key>Unable to set "$1" to value "$2".</key>
|
||||||
<value />
|
<value />
|
||||||
|
@ -386,14 +402,14 @@
|
||||||
<key>Edit</key>
|
<key>Edit</key>
|
||||||
<value>Bearbeiten</value>
|
<value>Bearbeiten</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Edit File</key>
|
|
||||||
<value>Datei bearbeiten</value>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Edit Metadata</key>
|
<key>Edit Metadata</key>
|
||||||
<value>Metadaten bearbeiten</value>
|
<value>Metadaten bearbeiten</value>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Edit Playlist</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Encoded by</key>
|
<key>Encoded by</key>
|
||||||
<value />
|
<value />
|
||||||
|
@ -702,6 +718,10 @@
|
||||||
<key>Retype Password</key>
|
<key>Retype Password</key>
|
||||||
<value />
|
<value />
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Reset Criteria</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Revert to Saved</key>
|
<key>Revert to Saved</key>
|
||||||
<value />
|
<value />
|
||||||
|
@ -710,10 +730,6 @@
|
||||||
<key>Rows Per Page</key>
|
<key>Rows Per Page</key>
|
||||||
<value />
|
<value />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Rows per Page</key>
|
|
||||||
<value />
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Sample rate</key>
|
<key>Sample rate</key>
|
||||||
<value />
|
<value />
|
||||||
|
@ -730,10 +746,6 @@
|
||||||
<key>Save and Close this Playlist</key>
|
<key>Save and Close this Playlist</key>
|
||||||
<value />
|
<value />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Scheduler</key>
|
|
||||||
<value />
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Scheduler Navigation</key>
|
<key>Scheduler Navigation</key>
|
||||||
<value />
|
<value />
|
||||||
|
|
|
@ -1,7 +1,22 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<language>
|
<language>
|
||||||
<status />
|
|
||||||
<Id>en_GB</Id>
|
<Id>en_GB</Id>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to delete file "$1"?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to remove playlist "$1"?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to delete active Playlist?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to logout $1?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Unable to set "$1" to value "$2".</key>
|
<key>Unable to set "$1" to value "$2".</key>
|
||||||
<value />
|
<value />
|
||||||
|
@ -386,14 +401,14 @@
|
||||||
<key>Duration</key>
|
<key>Duration</key>
|
||||||
<value>Duration</value>
|
<value>Duration</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Edit</key>
|
|
||||||
<value>Edit</value>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Edit File</key>
|
<key>Edit File</key>
|
||||||
<value>Edit file</value>
|
<value>Edit file</value>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Edit Playlist</key>
|
||||||
|
<value>Edit playlist</value>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Edit Metadata</key>
|
<key>Edit Metadata</key>
|
||||||
<value>Edit metadata</value>
|
<value>Edit metadata</value>
|
||||||
|
@ -532,7 +547,7 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Media Library</key>
|
<key>Media Library</key>
|
||||||
<value>Media library</value>
|
<value>Media Library</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Metadata</key>
|
<key>Metadata</key>
|
||||||
|
@ -576,7 +591,7 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>New Playlist using this File</key>
|
<key>New Playlist using this File</key>
|
||||||
<value>New playlist using this File</value>
|
<value>New playlist using this file</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>New Playlist using this file(s)</key>
|
<key>New Playlist using this file(s)</key>
|
||||||
|
@ -636,7 +651,7 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Playlist Editor</key>
|
<key>Playlist Editor</key>
|
||||||
<value>Playlist editor</value>
|
<value>Playlist Editor</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Playlist Metadata</key>
|
<key>Playlist Metadata</key>
|
||||||
|
@ -702,6 +717,10 @@
|
||||||
<key>Reset</key>
|
<key>Reset</key>
|
||||||
<value>Reset</value>
|
<value>Reset</value>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Reset Criteria</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Retype Password</key>
|
<key>Retype Password</key>
|
||||||
<value>Retype password</value>
|
<value>Retype password</value>
|
||||||
|
@ -710,10 +729,6 @@
|
||||||
<key>Revert to Saved</key>
|
<key>Revert to Saved</key>
|
||||||
<value>Revert to saved</value>
|
<value>Revert to saved</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Rows Per Page</key>
|
|
||||||
<value />
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Rows per Page</key>
|
<key>Rows per Page</key>
|
||||||
<value>Rows per page</value>
|
<value>Rows per page</value>
|
||||||
|
@ -730,10 +745,6 @@
|
||||||
<key>Save and Close</key>
|
<key>Save and Close</key>
|
||||||
<value>Save and close</value>
|
<value>Save and close</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Save and Close this Playlist</key>
|
|
||||||
<value>Save and close this Playlist</value>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Scheduler</key>
|
<key>Scheduler</key>
|
||||||
<value>Scheduler</value>
|
<value>Scheduler</value>
|
||||||
|
|
|
@ -2,6 +2,22 @@
|
||||||
<language>
|
<language>
|
||||||
<status />
|
<status />
|
||||||
<Id>es_CO</Id>
|
<Id>es_CO</Id>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to delete file "$1"?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to remove playlist "$1"?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to delete active Playlist?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to logout $1?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Unable to set "$1" to value "$2".</key>
|
<key>Unable to set "$1" to value "$2".</key>
|
||||||
<value />
|
<value />
|
||||||
|
@ -386,14 +402,14 @@
|
||||||
<key>Edit</key>
|
<key>Edit</key>
|
||||||
<value>Editar</value>
|
<value>Editar</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Edit File</key>
|
|
||||||
<value>Editar archivo</value>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Edit Metadata</key>
|
<key>Edit Metadata</key>
|
||||||
<value>Editar metadatos</value>
|
<value>Editar metadatos</value>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Edit Playlist</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Encoded by</key>
|
<key>Encoded by</key>
|
||||||
<value>Codificado por</value>
|
<value>Codificado por</value>
|
||||||
|
@ -702,6 +718,10 @@
|
||||||
<key>Retype Password</key>
|
<key>Retype Password</key>
|
||||||
<value>Reescribir la clave</value>
|
<value>Reescribir la clave</value>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Reset Criteria</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Revert to Saved</key>
|
<key>Revert to Saved</key>
|
||||||
<value>Revertir a lo guardado</value>
|
<value>Revertir a lo guardado</value>
|
||||||
|
@ -710,10 +730,6 @@
|
||||||
<key>Rows Per Page</key>
|
<key>Rows Per Page</key>
|
||||||
<value>Filas por página</value>
|
<value>Filas por página</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Rows per Page</key>
|
|
||||||
<value>Filas por página</value>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Sample rate</key>
|
<key>Sample rate</key>
|
||||||
<value>Tasa de muestreo</value>
|
<value>Tasa de muestreo</value>
|
||||||
|
@ -730,10 +746,6 @@
|
||||||
<key>Save and Close this Playlist</key>
|
<key>Save and Close this Playlist</key>
|
||||||
<value>Guardar y cerrar esta lista de reproducción</value>
|
<value>Guardar y cerrar esta lista de reproducción</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Scheduler</key>
|
|
||||||
<value>Programador</value>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Scheduler Navigation</key>
|
<key>Scheduler Navigation</key>
|
||||||
<value>Navegación del programador</value>
|
<value>Navegación del programador</value>
|
||||||
|
|
|
@ -2,6 +2,22 @@
|
||||||
<language>
|
<language>
|
||||||
<status />
|
<status />
|
||||||
<Id>hu_HU</Id>
|
<Id>hu_HU</Id>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to delete file "$1"?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to remove playlist "$1"?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to delete active Playlist?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to logout $1?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Unable to set "$1" to value "$2".</key>
|
<key>Unable to set "$1" to value "$2".</key>
|
||||||
<value />
|
<value />
|
||||||
|
@ -387,11 +403,11 @@
|
||||||
<value />
|
<value />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Edit File</key>
|
<key>Edit Metadata</key>
|
||||||
<value />
|
<value />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Edit Metadata</key>
|
<key>Edit Playlist</key>
|
||||||
<value />
|
<value />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -702,6 +718,10 @@
|
||||||
<key>Retype Password</key>
|
<key>Retype Password</key>
|
||||||
<value />
|
<value />
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Reset Criteria</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Revert to Saved</key>
|
<key>Revert to Saved</key>
|
||||||
<value />
|
<value />
|
||||||
|
@ -710,10 +730,6 @@
|
||||||
<key>Rows Per Page</key>
|
<key>Rows Per Page</key>
|
||||||
<value />
|
<value />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Rows per Page</key>
|
|
||||||
<value />
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Sample rate</key>
|
<key>Sample rate</key>
|
||||||
<value />
|
<value />
|
||||||
|
@ -730,10 +746,6 @@
|
||||||
<key>Save and Close this Playlist</key>
|
<key>Save and Close this Playlist</key>
|
||||||
<value />
|
<value />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Scheduler</key>
|
|
||||||
<value />
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Scheduler Navigation</key>
|
<key>Scheduler Navigation</key>
|
||||||
<value />
|
<value />
|
||||||
|
|
|
@ -2,6 +2,22 @@
|
||||||
<language>
|
<language>
|
||||||
<status />
|
<status />
|
||||||
<Id>nl_NL</Id>
|
<Id>nl_NL</Id>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to delete file "$1"?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to remove playlist "$1"?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to delete active Playlist?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to logout $1?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Unable to set "$1" to value "$2".</key>
|
<key>Unable to set "$1" to value "$2".</key>
|
||||||
<value />
|
<value />
|
||||||
|
@ -386,14 +402,14 @@
|
||||||
<key>Edit</key>
|
<key>Edit</key>
|
||||||
<value>Bewerken</value>
|
<value>Bewerken</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Edit File</key>
|
|
||||||
<value>Bestand bewerken</value>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Edit Metadata</key>
|
<key>Edit Metadata</key>
|
||||||
<value>Meta-gegevens aanpassen</value>
|
<value>Meta-gegevens aanpassen</value>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Edit Playlist</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Encoded by</key>
|
<key>Encoded by</key>
|
||||||
<value>Geencodeerd door</value>
|
<value>Geencodeerd door</value>
|
||||||
|
@ -702,6 +718,10 @@
|
||||||
<key>Retype Password</key>
|
<key>Retype Password</key>
|
||||||
<value>Wachtwoord opnieuw invoeren</value>
|
<value>Wachtwoord opnieuw invoeren</value>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Reset Criteria</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Revert to Saved</key>
|
<key>Revert to Saved</key>
|
||||||
<value>Ongedaan maken</value>
|
<value>Ongedaan maken</value>
|
||||||
|
@ -710,10 +730,6 @@
|
||||||
<key>Rows Per Page</key>
|
<key>Rows Per Page</key>
|
||||||
<value>Aantal rijen per pagina</value>
|
<value>Aantal rijen per pagina</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Rows per Page</key>
|
|
||||||
<value>Aantal rijen per pagina</value>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Sample rate</key>
|
<key>Sample rate</key>
|
||||||
<value>Sample rate</value>
|
<value>Sample rate</value>
|
||||||
|
@ -730,10 +746,6 @@
|
||||||
<key>Save and Close this Playlist</key>
|
<key>Save and Close this Playlist</key>
|
||||||
<value>Playlist opslaan en afsluiten</value>
|
<value>Playlist opslaan en afsluiten</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Scheduler</key>
|
|
||||||
<value>Scheduler</value>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Scheduler Navigation</key>
|
<key>Scheduler Navigation</key>
|
||||||
<value>Scheduler verkenner</value>
|
<value>Scheduler verkenner</value>
|
||||||
|
|
|
@ -2,6 +2,22 @@
|
||||||
<language>
|
<language>
|
||||||
<status />
|
<status />
|
||||||
<Id>sr_CS</Id>
|
<Id>sr_CS</Id>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to delete file "$1"?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to remove playlist "$1"?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to delete active Playlist?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Are you sure to logout $1?</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Unable to set "$1" to value "$2".</key>
|
<key>Unable to set "$1" to value "$2".</key>
|
||||||
<value />
|
<value />
|
||||||
|
@ -386,14 +402,14 @@
|
||||||
<key>Edit</key>
|
<key>Edit</key>
|
||||||
<value>Promeni</value>
|
<value>Promeni</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Edit File</key>
|
|
||||||
<value>Uredi fajl</value>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Edit Metadata</key>
|
<key>Edit Metadata</key>
|
||||||
<value>Promeni metapodatke</value>
|
<value>Promeni metapodatke</value>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Edit Playlist</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Encoded by</key>
|
<key>Encoded by</key>
|
||||||
<value />
|
<value />
|
||||||
|
@ -702,6 +718,10 @@
|
||||||
<key>Retype Password</key>
|
<key>Retype Password</key>
|
||||||
<value />
|
<value />
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<key>Reset Criteria</key>
|
||||||
|
<value />
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<key>Revert to Saved</key>
|
<key>Revert to Saved</key>
|
||||||
<value>Vrati se na snimljenu verziju</value>
|
<value>Vrati se na snimljenu verziju</value>
|
||||||
|
@ -710,10 +730,6 @@
|
||||||
<key>Rows Per Page</key>
|
<key>Rows Per Page</key>
|
||||||
<value />
|
<value />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Rows per Page</key>
|
|
||||||
<value />
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Sample rate</key>
|
<key>Sample rate</key>
|
||||||
<value />
|
<value />
|
||||||
|
@ -730,10 +746,6 @@
|
||||||
<key>Save and Close this Playlist</key>
|
<key>Save and Close this Playlist</key>
|
||||||
<value>Snimi i zatvoriti play-listu</value>
|
<value>Snimi i zatvoriti play-listu</value>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<key>Scheduler</key>
|
|
||||||
<value>Raspored</value>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<key>Scheduler Navigation</key>
|
<key>Scheduler Navigation</key>
|
||||||
<value>Navigacija rasporeda</value>
|
<value>Navigacija rasporeda</value>
|
||||||
|
|
|
@ -20,13 +20,19 @@
|
||||||
{literal}
|
{literal}
|
||||||
|
|
||||||
var MData_confirmChangeVisited = false;
|
var MData_confirmChangeVisited = false;
|
||||||
|
|
||||||
function MData_confirmChange(element)
|
function MData_confirmChange(element)
|
||||||
{
|
{
|
||||||
//if (MData_confirmChangeVisited) return true;
|
if (MData_confirmChangeVisited) return true;
|
||||||
MData_confirmChangeVisited = true;
|
|
||||||
if (confirm("Are you sure you want to change this information?") == false) element.blur();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
if (confirm("##Are you sure you want to change existing metadata?##")) {
|
||||||
|
MData_confirmChangeVisited = true;
|
||||||
|
return true;
|
||||||
|
} else {
|
||||||
|
document.forms['langswitch'].elements['target_langid'].focus();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function MData_loadLang()
|
function MData_loadLang()
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
{if count($structure.listdata)}
|
{if count($structure.listdata)}
|
||||||
{foreach from=$structure.listdata item=i}
|
{foreach from=$structure.listdata item=i}
|
||||||
{assign var="_listen_gunid" value=$i.gunid}
|
{assign var="_listen_gunid" value=$i.gunid}
|
||||||
<tr class="{cycle values='blue1, blue2'}" {assign var="moreContextBefore" value=", 'SP.addItem'"}{include file="sub/contextmenu.tpl"}>
|
<tr class="{cycle values='blue1, blue2'}" {assign var="moreContextBefore" value=", 'SP.addItem'"}>
|
||||||
<td>
|
<td {include file="sub/contextmenu.tpl"}>
|
||||||
<span id="ID{$i.id}">
|
<span id="ID{$i.id}">
|
||||||
{if $i.type|lower eq 'folder'}
|
{if $i.type|lower eq 'folder'}
|
||||||
<a href="{$UI_BROWSER}?act=fileList&id={$i.id}" >[{$i.title|truncate:30}]</b>
|
<a href="{$UI_BROWSER}?act=fileList&id={$i.id}" >[{$i.title|truncate:30}]</b>
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
{/if}
|
{/if}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td>{$i.type|lower|capitalize}</td>
|
<td {include file="sub/contextmenu.tpl"}>{$i.type|lower|capitalize}</td>
|
||||||
<td style="border: 0">
|
<td style="border: 0">
|
||||||
<!-- <a href="javascript:frename('{$i.name}', '{$i.id}')">[rename]</a> -->
|
<!-- <a href="javascript:frename('{$i.name}', '{$i.id}')">[rename]</a> -->
|
||||||
<a href="javascript:fmove('{$i.id}', '.')">##move##</a>
|
<a href="javascript:fmove('{$i.id}', '.')">##move##</a>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{include file="sub/mouseover.tpl"}
|
{include file="sub/mouseover.tpl"}
|
||||||
onClick="return contextmenu('{$i.id}'
|
onClick="hidealttextnow(); return contextmenu('{$i.id}'
|
||||||
, 'SP.addItem'
|
, 'SP.addItem'
|
||||||
|
|
||||||
{if $i.type|lower == 'audioclip'}
|
{if $i.type|lower == 'audioclip'}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
{*Smarty template*}
|
|
||||||
|
|
||||||
{include file="header.tpl"}
|
{include file="header.tpl"}
|
||||||
{include file="masterpanel.tpl"}
|
{include file="masterpanel.tpl"}
|
||||||
<!--div class="copyright">LiveSupport 0.9 "Fritz" ©2005 <a href="http://www.mdlf.org" target="_blank">MDLF</a> - maintained and distributed under GNU/GPL by <a href="http://www.campware.org" target="_blank">CAMPWARE</a></div-->
|
<!--div class="copyright">LiveSupport 0.9 "Fritz" ©2005 <a href="http://www.mdlf.org" target="_blank">MDLF</a> - maintained and distributed under GNU/GPL by <a href="http://www.campware.org" target="_blank">CAMPWARE</a></div-->
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
{*Smarty template*}
|
|
||||||
|
|
||||||
|
|
||||||
{include file="statusbar.tpl"}
|
{include file="statusbar.tpl"}
|
||||||
|
|
||||||
{if $showMenuTop}
|
{if $showMenuTop}
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
{include file="sub/mouseover.tpl"}
|
{include file="sub/mouseover.tpl"}
|
||||||
onClick="return contextmenu('{$i.attrs.id}', {if $i.type|lower == "audioclip"}'listen', '{$i.gunid}', {/if} 'PL.removeItem')"
|
onClick="hidealttextnow(); return contextmenu('{$i.attrs.id}', {if $i.type|lower == "audioclip"}'listen', '{$i.gunid}', {/if} 'PL.removeItem')"
|
||||||
|
|
|
@ -63,13 +63,13 @@
|
||||||
<input type="button" class="button_large" onClick="collector_clearAll('PL', 'PL.removeItem')" value="##Clear Playlist##" />
|
<input type="button" class="button_large" onClick="collector_clearAll('PL', 'PL.removeItem')" value="##Clear Playlist##" />
|
||||||
</div>
|
</div>
|
||||||
<div class="container_button">
|
<div class="container_button">
|
||||||
<input type="button" class="button_large" value="##Save Playlist##" onClick="hpopup('{$UI_HANDLER}?act=PL.save')">
|
<input type="button" class="button_large" value="##Save Playlist##" onClick="hpopup('{$UI_HANDLER}?act=PL.save')">
|
||||||
<input type="button" class="button_large" value="##Revert to Saved##" onClick="hpopup('{$UI_HANDLER}?act=PL.revert')">
|
<input type="button" class="button_large" value="##Revert to Saved##" onClick="popup('{$UI_BROWSER}?popup[]=PL.confirmRevert', 'PL.revertChanges', 400, 50)">
|
||||||
<input type="button" class="button_large" value="##Delete Playlist##" onClick="popup('{$UI_BROWSER}?popup[]=PL.deleteActive', 'PL.deleteActive', 400, 200)">
|
<input type="button" class="button_large" value="##Delete Playlist##" onClick="popup('{$UI_BROWSER}?popup[]=PL.confirmDelete', 'PL.deleteActive', 400, 50)">
|
||||||
</div>
|
</div>
|
||||||
<div class="container_button">
|
<div class="container_button">
|
||||||
<input type="button" class="button_large" value="##Save and Close##" onClick="hpopup('{$UI_HANDLER}?act=PL.release')">
|
<input type="button" class="button_large" value="##Close Playlist##" onClick="popup('{$UI_BROWSER}?popup[]=PL.confirmRelease', 'PL.confirmRelease', 400, 50)">
|
||||||
<input type="button" class="button_large" value="##Metadata##" onClick="location.href='{$UI_BROWSER}?act=PL.editMetaData'">
|
<input type="button" class="button_large" value="##Metadata##" onClick="location.href='{$UI_BROWSER}?act=PL.editMetaData'">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -14,11 +14,18 @@
|
||||||
{literal}
|
{literal}
|
||||||
|
|
||||||
var MData_confirmChangeVisited = false;
|
var MData_confirmChangeVisited = false;
|
||||||
|
|
||||||
function MData_confirmChange(element)
|
function MData_confirmChange(element)
|
||||||
{
|
{
|
||||||
if (MData_confirmChangeVisited) return true;
|
if (MData_confirmChangeVisited) return true;
|
||||||
MData_confirmChangeVisited = true;
|
|
||||||
if (confirm("##Are you sure you want to change existing metadata?##") == false) element.blur();
|
if (confirm("##Are you sure you want to change existing metadata?##")) {
|
||||||
|
MData_confirmChangeVisited = true;
|
||||||
|
return true;
|
||||||
|
} else {
|
||||||
|
document.forms['langswitch'].elements['target_langid'].focus();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function MData_submit()
|
function MData_submit()
|
||||||
|
|
|
@ -1,6 +1,18 @@
|
||||||
{include file="popup/header.tpl"}
|
{include file="popup/header.tpl"}
|
||||||
|
|
||||||
{include file="sub/dynForm_plain.tpl"}
|
<table height="100%" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td style="border: 0">
|
||||||
|
<center>
|
||||||
|
<table width="100%" height="100%">
|
||||||
|
<tr><td style="border: 0">
|
||||||
|
{include file="sub/dynForm_plain.tpl}
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</center>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
{literal}
|
{literal}
|
||||||
|
|
|
@ -1,13 +1,26 @@
|
||||||
{include file="popup/header.tpl"}
|
{include file="popup/header.tpl"}
|
||||||
|
|
||||||
<center>
|
|
||||||
{if $SCHEDULER->_copyPlFromSP()}
|
{if $SCHEDULER->_copyPlFromSP()}
|
||||||
{assign var="dynform" value=$SCHEDULER->getScheduleForm()}
|
{assign var="dynform" value=$SCHEDULER->getScheduleForm()}
|
||||||
{include file="sub/dynForm_plain.tpl}
|
<table height="100%" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td style="border: 0">
|
||||||
|
<center>
|
||||||
|
<table width="100%" height="100%">
|
||||||
|
<tr><td style="border: 0">
|
||||||
|
{include file="sub/dynForm_plain.tpl}
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</center>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
{else}
|
{else}
|
||||||
|
<center>
|
||||||
##You need to have at least one inactive playlist on ScratchPad to schedule it.##
|
##You need to have at least one inactive playlist on ScratchPad to schedule it.##
|
||||||
|
</center>
|
||||||
{/if}
|
{/if}
|
||||||
</center>
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{include file="popup/header.tpl"}
|
{include file="popup/header.tpl"}
|
||||||
|
|
||||||
<center>
|
<center>
|
||||||
<b>Are you sure to remove this entry?</b>
|
<b>{tra 0='Are you sure to remove playlist "$1"?' 1=$plname}</b>
|
||||||
<br>
|
<br><br>
|
||||||
<input type="button" onClick="window.close()" value="Cancel">
|
<input type="button" class="button" onClick="window.close()" value="Cancel">
|
||||||
<input type="button" onClick="location.href='{$UI_HANDLER}?act=SCHEDULER.removeItem&scheduleId={$scheduleId}'" value="OK">
|
<input type="button" class="button" onClick="location.href='{$UI_HANDLER}?act=SCHEDULER.removeItem&scheduleId={$scheduleId}'" value="OK">
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{include file="popup/header.tpl"}
|
{include file="popup/header.tpl"}
|
||||||
|
|
||||||
<center>
|
<center>
|
||||||
<b>Are you sure to delete this Item?</b>
|
<b>{tra 0='Are you sure to delete file "$1"?' 1=$filename}</b>
|
||||||
<br>
|
<br><br>
|
||||||
<input type="button" onClick="window.close()" value="Cancel">
|
<input type="button" class="button" onClick="window.close()" value="Cancel">
|
||||||
<input type="button" onClick="location.href='{$UI_HANDLER}?act=delete&id={$id}'" value="OK">
|
<input type="button" class="button" onClick="location.href='{$UI_HANDLER}?act=delete&id={$id}'" value="OK">
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -6,6 +6,13 @@
|
||||||
<title>LIVESUPPORT</title>
|
<title>LIVESUPPORT</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<link href="styles_popup.css" rel="stylesheet" type="text/css" />
|
<link href="styles_popup.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
{UIBROWSER->getAlertMsg assign='alertMsg'}
|
||||||
|
{if $alertMsg}
|
||||||
|
alert('{$alertMsg}');
|
||||||
|
{/if}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -1,6 +1,19 @@
|
||||||
{include file="popup/header.tpl"}
|
{include file="popup/header.tpl"}
|
||||||
|
|
||||||
{include file="sub/dynForm_plain.tpl}
|
<table height="100%" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td style="border: 0">
|
||||||
|
<center>
|
||||||
|
<table width="100%" height="100%">
|
||||||
|
<tr><td style="border: 0">
|
||||||
|
{include file="sub/dynForm_plain.tpl}
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</center>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
@ -1,22 +1,12 @@
|
||||||
{include file="popup/header.tpl"}
|
{include file="popup/header.tpl"}
|
||||||
|
|
||||||
<table height="100%" width="100%">
|
<center>
|
||||||
<tr>
|
<b>{tra 0='Are you sure to logout $1?' 1=$USER.login}</b>
|
||||||
<td style="border: 0">
|
<br><br>
|
||||||
<center>
|
<input type="button" class="button" value="{tra 0=Cancel}" onclick="javascript: window.close()">
|
||||||
<form>
|
<input type="button" class="button" value="{tra 0=OK}" onclick="javascript: location.href='{$UI_HANDLER}?act={$logouttype}'">
|
||||||
<table width="100%" height="100%">
|
</center>
|
||||||
<tr><td style="border: 0">{tra 0='Are you sure to logout $1' 1=$USER.login}</td></tr>
|
|
||||||
<tr><td align="right" style="border: 0">
|
|
||||||
<input type="button" value="{tra 0=OK}" onclick="javascript: location.href='{$UI_HANDLER}?act={$logouttype}'">
|
|
||||||
<input type="button" value="{tra 0=Cancel}" onclick="javascript: window.close()">
|
|
||||||
</td></tr>
|
|
||||||
</table>
|
|
||||||
</form>
|
|
||||||
</center>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
{include file="sub/mouseover.tpl"}
|
{include file="sub/mouseover.tpl"}
|
||||||
onClick="return contextmenu('scheduleId={$i.scheduleid}', 'SCHEDULER.removeItem')"
|
onClick="hidealttextnow(); return contextmenu('scheduleId={$i.scheduleid}', 'SCHEDULER.removeItem')"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
alttextHeight = 0;
|
alttextHeight = 0;
|
||||||
|
|
||||||
function showalttext(param) {
|
function showalttext(param) {
|
||||||
var alttextHeader = "<div class='alttext' id='alttext' style='position: absolute; top: -250; left: 0; z-index: 99'>";
|
var alttextHeader = "<div class='alttext' id='alttext' style='position: absolute; top: -1000; left: 0; z-index: 99'>";
|
||||||
var alttextFooter = "</div>";
|
var alttextFooter = "</div>";
|
||||||
var alttextHtml = '';
|
var alttextHtml = '';
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function hidealttextnow() {
|
function hidealttextnow() {
|
||||||
document.getElementById('alttext').style.top = -250;
|
document.getElementById('alttext').style.top = -1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
var nn=prompt('New folder name:');
|
var nn=prompt('New folder name:');
|
||||||
if(nn==null) return;
|
if(nn==null) return;
|
||||||
location.href='{$UI_HANDLER}?id={$START.id}&act=newFolder&newname='+nn;
|
location.href='{$UI_HANDLER}?id={$START.id}&act=newFolder&newname='+nn;
|
||||||
{literal}}{/literal}
|
{literal}}
|
||||||
|
|
||||||
|
|
||||||
{literal}
|
|
||||||
function popup(url, name, width, height) // popup in center of perent window
|
function popup(url, name, width, height) // popup in center of perent window
|
||||||
{
|
{
|
||||||
var screenX;
|
var screenX;
|
||||||
|
@ -49,6 +49,7 @@
|
||||||
Pwidth = window.innerWidth;
|
Pwidth = window.innerWidth;
|
||||||
Pheight = window.innerHeight;
|
Pheight = window.innerHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
url = url + '&is_popup=1';
|
url = url + '&is_popup=1';
|
||||||
screenX = (Xpos + Pwidth/2 - width/2);
|
screenX = (Xpos + Pwidth/2 - width/2);
|
||||||
screenY = (Ypos + Pheight/2 - height/2);
|
screenY = (Ypos + Pheight/2 - height/2);
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
|
|
||||||
function contextmenu(param) {
|
function contextmenu(param) {
|
||||||
var contextmenuHeader = "<div class='contextmenu' id='contextmenu' style='position: absolute; top: -250; left: 0; z-index: 100'>" +
|
var contextmenuHeader = "<div class='contextmenu' id='contextmenu' style='position: absolute; top: -1000; left: 0; z-index: 100'>" +
|
||||||
"<ul>";
|
"<ul>";
|
||||||
var contextmenuFooter = "</ul></div>";
|
var contextmenuFooter = "</ul></div>";
|
||||||
var contextmenuHtml = '';
|
var contextmenuHtml = '';
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "PL.release":
|
case "PL.release":
|
||||||
contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href='#' onClick=\"hpopup('{$UI_HANDLER}?act=PL.release')\" "+oF+"> ##Save and Close this Playlist## </a></li>";
|
contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href='#' onClick=\"popup('{$UI_BROWSER}?popup[]=PL.confirmRelease', 'PL.confirmRelease', 400, 50)\" "+oF+"> ##Close playlist## </a></li>";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "PL.addItem":
|
case "PL.addItem":
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "PL.activate":
|
case "PL.activate":
|
||||||
contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href=\"javascript: hpopup('{$UI_HANDLER}?act=PL.activate&id="+param+"')\" "+oF+"> ##Activate this Playlist## </a></li>";
|
contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href=\"javascript: hpopup('{$UI_HANDLER}?act=PL.activate&id="+param+"')\" "+oF+"> ##Edit Playlist## </a></li>";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "PL.create":
|
case "PL.create":
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "delete":
|
case "delete":
|
||||||
contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href='#' onClick=\"popup('{$UI_BROWSER}?popup[]=deleteItem&id="+param+"', 'deleteItem', 400, 200)\"')"+oF+"> ##Delete File## </a></li>";
|
contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href='#' onClick=\"popup('{$UI_BROWSER}?popup[]=deleteItem&id="+param+"', 'deleteItem', 400, 50)\"')"+oF+"> ##Delete File## </a></li>";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "fileList":
|
case "fileList":
|
||||||
|
@ -94,11 +94,11 @@
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "SCHEDULER.addItem":
|
case "SCHEDULER.addItem":
|
||||||
contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href='#' onClick=\"hpopup('{$UI_HANDLER}?act=SCHEDULER.set&"+param+"'); popup('{$UI_BROWSER}?popup[]=SCHEDULER.addItem', 'Schedule', 400, 200)\"')"+oF+"> ##Insert Playlist here## </a></li>";
|
contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href='#' onClick=\"hpopup('{$UI_HANDLER}?act=SCHEDULER.set&"+param+"'); popup('{$UI_BROWSER}?popup[]=SCHEDULER.addItem', 'Schedule', 420, 200)\"')"+oF+"> ##Insert Playlist here## </a></li>";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "SCHEDULER.removeItem":
|
case "SCHEDULER.removeItem":
|
||||||
contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href='#' onClick=\"popup('{$UI_BROWSER}?popup[]=SCHEDULER.removeItem&"+param+"', 'Schedule', 400, 200)\"')"+oF+"> ##Remove Playlist## </a></li>";
|
contextmenuHtml = contextmenuHtml + "<li><a class='contextmenu' href='#' onClick=\"popup('{$UI_BROWSER}?popup[]=SCHEDULER.removeItem&"+param+"', 'Schedule', 400, 50)\"')"+oF+"> ##Remove Playlist## </a></li>";
|
||||||
break;
|
break;
|
||||||
{literal}
|
{literal}
|
||||||
}
|
}
|
||||||
|
@ -136,7 +136,7 @@
|
||||||
contextmenuStatus = 0;
|
contextmenuStatus = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{UIBROWSER->getMDataArr id=$i.id assign="_metaarr"}
|
{UIBROWSER->getMDataArr id=$i.id assign="_metaarr"}
|
||||||
onMouseover="showalttext('<h3>##{$i.type|lower|capitalize}## {if $_PL_activeId == $i.id}##(activated)##{/if}</h3>{foreach from=$_metaarr.metadata key=_key item=_item}{$_key}: {$_item}<br>{/foreach}')"
|
onMouseover="showalttext('<h3>##{$i.type|lower|capitalize}## {if ($_PL_activeId && $_PL_activeId == $i.id)}##(activated)##{/if}</h3>{foreach from=$_metaarr.metadata key=_key item=_item}{$_key}: {$_item}<br>{/foreach}')"
|
||||||
onMouseout="hidealttext()"
|
onMouseout="hidealttext()"
|
||||||
{assign var="_metaarr" value=NULL}
|
{assign var="_metaarr" value=NULL}
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
{if $USER.userid}
|
{if $USER.userid}
|
||||||
<div class="loginname">##Signed in## : {$USER.login}</div>
|
<div class="loginname">##Signed in## : {$USER.login}</div>
|
||||||
<input type="button" class="button" value="{tra 0=logout}" onClick='javascript: popup("{$UI_BROWSER}?popup[]=logout", "name", "350", "150");'/>
|
<input type="button" class="button" value="{tra 0=logout}" onClick='javascript: popup("{$UI_BROWSER}?popup[]=logout", "name", "400", "50");'/>
|
||||||
{*
|
{*
|
||||||
<input type="button" class="button" value="{tra 0='sign over'}" onClick='javascript: popup("{$UI_BROWSER}?popup[]=signover_1", "name", "350", "150");'/>
|
<input type="button" class="button" value="{tra 0='sign over'}" onClick='javascript: popup("{$UI_BROWSER}?popup[]=signover_1", "name", "400", "150");'/>
|
||||||
*}
|
*}
|
||||||
{else}
|
{else}
|
||||||
<input type="button" class="button" value="{tra 0=login}" onClick='javascript: popup("{$UI_BROWSER}?popup[]=login", "name", "350", "150");'/>
|
<input type="button" class="button" value="{tra 0=login}" onClick='javascript: popup("{$UI_BROWSER}?popup[]=login", "name", "400", "150");'/>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -199,7 +199,7 @@ class uiBase
|
||||||
}
|
}
|
||||||
## add required rule ###################
|
## add required rule ###################
|
||||||
if ($v['required']) {
|
if ($v['required']) {
|
||||||
$form->addRule($v['element'], isset($v['requiredmsg'])?tra($v['requiredmsg']):tra('Missing value for $1', tra($v['label'])), 'required', NULL, $side);
|
$form->addRule($v['element'], isset($v['requiredmsg']) ? tra($v['requiredmsg']) : tra('Missing value for $1', tra($v['label'])), 'required', NULL, $side);
|
||||||
}
|
}
|
||||||
## add constant value ##################
|
## add constant value ##################
|
||||||
if (isset($v['constant'])) {
|
if (isset($v['constant'])) {
|
||||||
|
|
|
@ -6,20 +6,14 @@ class uiBrowse
|
||||||
$this->Base =& $uiBase;
|
$this->Base =& $uiBase;
|
||||||
$this->col =& $_SESSION[UI_BROWSE_SESSNAME]['col'];
|
$this->col =& $_SESSION[UI_BROWSE_SESSNAME]['col'];
|
||||||
$this->criteria =& $_SESSION[UI_BROWSE_SESSNAME]['criteria'];
|
$this->criteria =& $_SESSION[UI_BROWSE_SESSNAME]['criteria'];
|
||||||
$this->results =& $_SESSION[UI_BROWSE_SESSNAME]['results'];
|
#$this->results =& $_SESSION[UI_BROWSE_SESSNAME]['results'];
|
||||||
$this->reloadUrl = UI_BROWSER.'?popup[]=_reload_parent&popup[]=_close';
|
$this->reloadUrl = UI_BROWSER.'?popup[]=_reload_parent&popup[]=_close';
|
||||||
|
|
||||||
$this->criteria['limit'] ? NULL : $this->criteria['limit'] = 5;
|
$this->criteria['limit'] ? NULL : $this->criteria['limit'] = 10;
|
||||||
|
|
||||||
if (!is_array($this->col)) {
|
if (!is_array($this->col)) {
|
||||||
$this->col[1]['category'] = 'dc:type';
|
$this->setDefaults();
|
||||||
$this->col[2]['category'] = 'dc:creator';
|
|
||||||
$this->col[3]['category'] = 'dc:source';
|
|
||||||
for ($col=1; $col<=3; $col++) {
|
|
||||||
$this->setCategory(array('col' => $col, 'category' => $this->col[$col]['category']));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#print_r($this->col);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function setReload()
|
function setReload()
|
||||||
|
@ -28,6 +22,27 @@ class uiBrowse
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function setDefaults($reload=FALSE)
|
||||||
|
{
|
||||||
|
$this->col[1]['category'] = 'dc:type';
|
||||||
|
$this->col[1]['value'][0] = '%%all%%';
|
||||||
|
$this->col[2]['category'] = 'dc:creator';
|
||||||
|
$this->col[2]['value'][0] = '%%all%%';
|
||||||
|
$this->col[3]['category'] = 'dc:source';
|
||||||
|
$this->col[3]['value'][0] = '%%all%%';
|
||||||
|
for ($col=1; $col<=3; $col++) {
|
||||||
|
$this->setCategory(array('col' => $col, 'category' => $this->col[$col]['category'], 'value' => array(0=>'%%all%%')));
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->setValue(array('col' => 1,
|
||||||
|
'category' => 'dc:type',
|
||||||
|
'value' => Array(0 => '%%all%%')
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
if ($reload === TRUE) $this->setReload();
|
||||||
|
}
|
||||||
|
|
||||||
function getCriteria()
|
function getCriteria()
|
||||||
{
|
{
|
||||||
return $this->criteria;
|
return $this->criteria;
|
||||||
|
@ -36,6 +51,7 @@ class uiBrowse
|
||||||
|
|
||||||
function getResult()
|
function getResult()
|
||||||
{
|
{
|
||||||
|
$this->searchDB();
|
||||||
return $this->results;
|
return $this->results;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -116,7 +132,7 @@ class uiBrowse
|
||||||
#echo "\nvalues: "; print_r($this->col[$next]['values']);
|
#echo "\nvalues: "; print_r($this->col[$next]['values']);
|
||||||
|
|
||||||
$this->clearHierarchy($next);
|
$this->clearHierarchy($next);
|
||||||
$this->searchDB();
|
#$this->searchDB();
|
||||||
$this->Base->redirUrl = UI_BROWSER.'?act=BROWSE';
|
$this->Base->redirUrl = UI_BROWSER.'?act=BROWSE';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,7 +233,7 @@ class uiBrowse
|
||||||
|
|
||||||
$this->criteria['orderby'] = $by;
|
$this->criteria['orderby'] = $by;
|
||||||
$this->setReload();
|
$this->setReload();
|
||||||
$this->searchDB();
|
#$this->searchDB();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -234,21 +250,21 @@ class uiBrowse
|
||||||
$o = $l * ($page-1);
|
$o = $l * ($page-1);
|
||||||
}
|
}
|
||||||
$this->setReload();
|
$this->setReload();
|
||||||
$this->searchDB();
|
#$this->searchDB();
|
||||||
}
|
}
|
||||||
|
|
||||||
function setLimit($limit)
|
function setLimit($limit)
|
||||||
{
|
{
|
||||||
$this->criteria['limit'] = $limit;
|
$this->criteria['limit'] = $limit;
|
||||||
$this->setReload();
|
$this->setReload();
|
||||||
$this->searchDB();
|
#$this->searchDB();
|
||||||
}
|
}
|
||||||
|
|
||||||
function setFiletype($filetype)
|
function setFiletype($filetype)
|
||||||
{
|
{
|
||||||
$this->criteria['filetype'] = $filetype;
|
$this->criteria['filetype'] = $filetype;
|
||||||
$this->setReload();
|
$this->setReload();
|
||||||
$this->searchDB();
|
#$this->searchDB();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -371,6 +371,8 @@ class uiBrowser extends uiBase {
|
||||||
$handler =& new XML_Unserializer;
|
$handler =& new XML_Unserializer;
|
||||||
$handler->unserialize($this->getMdata($id));
|
$handler->unserialize($this->getMdata($id));
|
||||||
$arr = $handler->getUnserializedData();
|
$arr = $handler->getUnserializedData();
|
||||||
|
if (!is_array($arr))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
foreach ($arr['metadata'] as $key=>$val) {
|
foreach ($arr['metadata'] as $key=>$val) {
|
||||||
if ($relations[$key]) {
|
if ($relations[$key]) {
|
||||||
|
|
|
@ -58,7 +58,7 @@ class uiHandler extends uiBase {
|
||||||
|
|
||||||
$id = $this->gb->getObjId($formdata['login'], $this->gb->storId);
|
$id = $this->gb->getObjId($formdata['login'], $this->gb->storId);
|
||||||
if(PEAR::isError($id)) {
|
if(PEAR::isError($id)) {
|
||||||
$this->_retMsg('Login failed');
|
$this->_retMsg('Access to home directory failed.');
|
||||||
$_SESSION['retransferFormData']['login']=$formdata['login'];
|
$_SESSION['retransferFormData']['login']=$formdata['login'];
|
||||||
$this->redirUrl = UI_BROWSER.'?popup[]=login';
|
$this->redirUrl = UI_BROWSER.'?popup[]=login';
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -47,7 +47,7 @@ class uiPlaylist
|
||||||
# look PL
|
# look PL
|
||||||
# store access token to ls_pref abd session
|
# store access token to ls_pref abd session
|
||||||
# load PL into session
|
# load PL into session
|
||||||
if($this->token) {
|
if ($this->token) {
|
||||||
if (UI_WARNING) $this->Base->_retMsg('You have an Playlist already activated, first close it');
|
if (UI_WARNING) $this->Base->_retMsg('You have an Playlist already activated, first close it');
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,13 @@ class uiPlaylist
|
||||||
if (UI_WARNING) $this->Base->_retMsg('Playlist has been locked by $1', $this->Base->gb->getSubjName($userid));
|
if (UI_WARNING) $this->Base->_retMsg('Playlist has been locked by $1', $this->Base->gb->getSubjName($userid));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
$this->token = $this->Base->gb->lockPlaylistForEdit($plid, $this->Base->sessid);
|
$token = $this->Base->gb->lockPlaylistForEdit($plid, $this->Base->sessid);
|
||||||
|
if (PEAR::isError($token)) {
|
||||||
|
#print_r($this->token);
|
||||||
|
$this->Base->_retMsg('Unable to activate playlist "$1"'. $this->Base->_getMDataValue($plid, UI_MDATA_KEY_TITLE));
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
$this->token = $token;
|
||||||
$this->Base->gb->savePref($this->Base->sessid, UI_PL_ACCESSTOKEN_KEY, $plid.':'.$this->token);
|
$this->Base->gb->savePref($this->Base->sessid, UI_PL_ACCESSTOKEN_KEY, $plid.':'.$this->token);
|
||||||
$this->activeId = $plid;
|
$this->activeId = $plid;
|
||||||
if ($msg && UI_VERBOSE) $this->Base->_retMsg('Playlist "$1" activated', $this->Base->_getMDataValue($plid, UI_MDATA_KEY_TITLE));
|
if ($msg && UI_VERBOSE) $this->Base->_retMsg('Playlist "$1" activated', $this->Base->_getMDataValue($plid, UI_MDATA_KEY_TITLE));
|
||||||
|
@ -223,20 +229,20 @@ class uiPlaylist
|
||||||
function plwalk($arr, $parent=0, $attrs=0)
|
function plwalk($arr, $parent=0, $attrs=0)
|
||||||
{
|
{
|
||||||
foreach ($arr['children'] as $node=>$sub) {
|
foreach ($arr['children'] as $node=>$sub) {
|
||||||
if ($sub['elementname']==='playlistElement') {
|
if (strtolower($sub['elementname'])==='playlistelement') {
|
||||||
$this->plwalk($sub, $node, $sub['attrs']);
|
$this->plwalk($sub, $node, $sub['attrs']);
|
||||||
}
|
}
|
||||||
if ($sub['elementname']==='audioClip' || $sub['elementname']==='playlist') {
|
if (strtolower($sub['elementname'])==='audioclip' || strtolower($sub['elementname'])==='playlist') {
|
||||||
#$this->flat["$parent.$node"] = $sub['attrs'];
|
#$this->flat["$parent.$node"] = $sub['attrs'];
|
||||||
#$this->flat["$parent.$node"]['type'] = $sub['elementname'];
|
#$this->flat["$parent.$node"]['type'] = $sub['elementname'];
|
||||||
$this->flat[$parent] = $this->Base->_getMetaInfo($this->Base->gb->_idFromGunid($sub['attrs']['id']));
|
$this->flat[$parent] = $this->Base->_getMetaInfo($this->Base->gb->_idFromGunid($sub['attrs']['id']));
|
||||||
$this->flat[$parent]['attrs'] = $attrs;
|
$this->flat[$parent]['attrs'] = $attrs;
|
||||||
}
|
}
|
||||||
if ($sub['elementname']==='fadeInfo') {
|
if (strtolower($sub['elementname'])==='fadeinfo') {
|
||||||
$this->flat[$parent]['fadein'] = GreenBox::_plTimeToSecs($sub['attrs']['fadeIn']);
|
$this->flat[$parent]['fadein'] = GreenBox::_plTimeToSecs($sub['attrs']['fadein']);
|
||||||
$this->flat[$parent]['fadeout'] = GreenBox::_plTimeToSecs($sub['attrs']['fadeOut']);
|
$this->flat[$parent]['fadeout'] = GreenBox::_plTimeToSecs($sub['attrs']['fadeout']);
|
||||||
$this->flat[$parent]['fadein_ms'] = $sub['attrs']['fadeIn'] ? GreenBox::_plTimeToSecs($sub['attrs']['fadeIn']) * 1000 : 0;
|
$this->flat[$parent]['fadein_ms'] = $sub['attrs']['fadein'] ? GreenBox::_plTimeToSecs($sub['attrs']['fadein']) * 1000 : 0;
|
||||||
$this->flat[$parent]['fadeout_ms'] = $sub['attrs']['fadeOut'] ? GreenBox::_plTimeToSecs($sub['attrs']['fadeOut']) * 1000 : 0;
|
$this->flat[$parent]['fadeout_ms'] = $sub['attrs']['fadeout'] ? GreenBox::_plTimeToSecs($sub['attrs']['fadeout']) * 1000 : 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -408,9 +414,15 @@ class uiPlaylist
|
||||||
function editMetaData(&$formdata)
|
function editMetaData(&$formdata)
|
||||||
{
|
{
|
||||||
include dirname(__FILE__).'/formmask/metadata.inc.php';
|
include dirname(__FILE__).'/formmask/metadata.inc.php';
|
||||||
|
|
||||||
$id = $this->activeId;
|
$id = $this->activeId;
|
||||||
$curr_langid = $formdata['curr_langid'];
|
$curr_langid = $formdata['curr_langid'];
|
||||||
$this->Base->redirUrl = UI_BROWSER."?act=PL.editMetaData&id=$id&curr_langid=".$formdata['target_langid'];
|
|
||||||
|
## if language switched stay on metadataform ##
|
||||||
|
if ($curr_langid === $formdata['target_langid'])
|
||||||
|
$this->Base->redirUrl = UI_BROWSER."?act=PL.simpleManagement";
|
||||||
|
else
|
||||||
|
$this->Base->redirUrl = UI_BROWSER."?act=PL.editMetaData&id=$id&curr_langid=".$formdata['target_langid'];
|
||||||
|
|
||||||
foreach ($mask['playlist'] as $k=>$v) {
|
foreach ($mask['playlist'] as $k=>$v) {
|
||||||
$formdata[$this->Base->_formElementEncode($v['element'])] ? $mData[$this->Base->_formElementDecode($v['element'])] = $formdata[$this->Base->_formElementEncode($v['element'])] : NULL;
|
$formdata[$this->Base->_formElementEncode($v['element'])] ? $mData[$this->Base->_formElementDecode($v['element'])] = $formdata[$this->Base->_formElementEncode($v['element'])] : NULL;
|
||||||
|
|
|
@ -4,7 +4,7 @@ class uiSearch
|
||||||
function uiSearch(&$uiBase)
|
function uiSearch(&$uiBase)
|
||||||
{
|
{
|
||||||
$this->Base =& $uiBase;
|
$this->Base =& $uiBase;
|
||||||
$this->results =& $_SESSION[UI_SEARCH_SESSNAME]['results'];
|
#$this->results =& $_SESSION[UI_SEARCH_SESSNAME]['results'];
|
||||||
$this->criteria =& $_SESSION[UI_SEARCH_SESSNAME]['criteria'];
|
$this->criteria =& $_SESSION[UI_SEARCH_SESSNAME]['criteria'];
|
||||||
$this->reloadUrl = UI_BROWSER.'?popup[]=_reload_parent&popup[]=_close';
|
$this->reloadUrl = UI_BROWSER.'?popup[]=_reload_parent&popup[]=_close';
|
||||||
}
|
}
|
||||||
|
@ -14,19 +14,17 @@ class uiSearch
|
||||||
$this->Base->redirUrl = $this->reloadUrl;
|
$this->Base->redirUrl = $this->reloadUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function getResult()
|
function getResult()
|
||||||
{
|
{
|
||||||
|
$this->searchDB();
|
||||||
return $this->results;
|
return $this->results;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function getCriteria()
|
function getCriteria()
|
||||||
{
|
{
|
||||||
return $this->criteria;
|
return $this->criteria;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function searchForm($id, &$mask2)
|
function searchForm($id, &$mask2)
|
||||||
{
|
{
|
||||||
#print_r($this->criteria['form']);
|
#print_r($this->criteria['form']);
|
||||||
|
@ -98,7 +96,7 @@ class uiSearch
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->Base->redirUrl = UI_BROWSER.'?act=SEARCH';
|
$this->Base->redirUrl = UI_BROWSER.'?act=SEARCH';
|
||||||
$this->searchDB();
|
#$this->searchDB();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -140,12 +138,15 @@ class uiSearch
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$this->Base->redirUrl = UI_BROWSER.'?act=SEARCH';
|
$this->Base->redirUrl = UI_BROWSER.'?act=SEARCH';
|
||||||
$this->searchDB();
|
#$this->searchDB();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function searchDB()
|
function searchDB()
|
||||||
{
|
{
|
||||||
|
if (count($this->criteria) === 0)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
$this->results = array('page' => $this->criteria['offset']/$this->criteria['limit']);
|
$this->results = array('page' => $this->criteria['offset']/$this->criteria['limit']);
|
||||||
|
|
||||||
#print_r($this->criteria);
|
#print_r($this->criteria);
|
||||||
|
@ -223,7 +224,7 @@ class uiSearch
|
||||||
|
|
||||||
$this->criteria['orderby'] = $by;
|
$this->criteria['orderby'] = $by;
|
||||||
$this->setReload();
|
$this->setReload();
|
||||||
$this->searchDB();
|
#$this->searchDB();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -248,7 +249,7 @@ class uiSearch
|
||||||
$o = $l * ($page-1);
|
$o = $l * ($page-1);
|
||||||
}
|
}
|
||||||
$this->setReload();
|
$this->setReload();
|
||||||
$this->searchDB();
|
#$this->searchDB();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue