Hide the Preferences: schedulerStartupScript configuration value, add in a hint about logo size
This commit is contained in:
parent
cce3b59857
commit
4dd0246a16
livesupport/src/modules/htmlUI/var/formmask
|
@ -1,4 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
//
|
||||||
|
// This file contains a list of all the HTML forms in the system,
|
||||||
|
// encoded as arrays.
|
||||||
|
//
|
||||||
|
$tmpAct = isset($_REQUEST['act']) ? $_REQUEST['act'] : '';
|
||||||
|
|
||||||
$ui_fmask = array(
|
$ui_fmask = array(
|
||||||
/* ===================== list of system preferences which can be adjusted */
|
/* ===================== list of system preferences which can be adjusted */
|
||||||
'stationPrefs' => array(
|
'stationPrefs' => array(
|
||||||
|
@ -53,15 +59,15 @@ $ui_fmask = array(
|
||||||
array(
|
array(
|
||||||
'element' => 'stationlogo',
|
'element' => 'stationlogo',
|
||||||
'type' => 'file',
|
'type' => 'file',
|
||||||
'label' => 'Station logo',
|
'label' => 'Station logo (maximum 128x128)',
|
||||||
'requiredmsg'=> 'please select logo file'
|
'requiredmsg'=> 'please select logo file'
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'element' => 'schedulerStartupScript',
|
'element' => 'schedulerStartupScript',
|
||||||
'isPref' => TRUE,
|
'isPref' => TRUE,
|
||||||
'type' => 'text',
|
'type' => 'hidden',
|
||||||
'label' => 'Scheduler startup script',
|
'label' => 'Scheduler startup script',
|
||||||
'required' => true,
|
'required' => false,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'element' => UI_SCRATCHPAD_MAXLENGTH_KEY,
|
'element' => UI_SCRATCHPAD_MAXLENGTH_KEY,
|
||||||
|
@ -82,7 +88,7 @@ $ui_fmask = array(
|
||||||
'type' =>'button',
|
'type' =>'button',
|
||||||
'label' =>'Cancel',
|
'label' =>'Cancel',
|
||||||
'attributes'=>array('onclick' => 'location.href="'.UI_BROWSER.'"'),
|
'attributes'=>array('onclick' => 'location.href="'.UI_BROWSER.'"'),
|
||||||
'groupit' => TRUE
|
'groupit' => TRUE
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'element' =>'Submit',
|
'element' =>'Submit',
|
||||||
|
@ -313,7 +319,7 @@ $ui_fmask = array(
|
||||||
array(
|
array(
|
||||||
'element' => 'act',
|
'element' => 'act',
|
||||||
'type' => 'hidden',
|
'type' => 'hidden',
|
||||||
'constant' => $_REQUEST['act'].'.newSearch'
|
'constant' => "$tmpAct.newSearch"
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'element' => 'id',
|
'element' => 'id',
|
||||||
|
@ -432,7 +438,7 @@ $ui_fmask = array(
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'label' => 'Category',
|
'label' => 'Category',
|
||||||
'attributes'=> array(
|
'attributes'=> array(
|
||||||
'onChange' => 'this.form.act.value="'.$_REQUEST['act'].'.setCategory"; this.form.submit()',
|
'onChange' => 'this.form.act.value="'.$tmpAct.'.setCategory"; this.form.submit()',
|
||||||
'style' => 'width: 180px;',
|
'style' => 'width: 180px;',
|
||||||
'id' => 'category_1'
|
'id' => 'category_1'
|
||||||
)
|
)
|
||||||
|
@ -444,7 +450,7 @@ $ui_fmask = array(
|
||||||
'attributes'=> array(
|
'attributes'=> array(
|
||||||
'size' => 10,
|
'size' => 10,
|
||||||
'class' => 'area_browse',
|
'class' => 'area_browse',
|
||||||
'onChange' => 'this.form.act.value="'.$_REQUEST['act'].'.setValue"; this.form.submit()'
|
'onChange' => 'this.form.act.value="'.$tmpAct.'.setValue"; this.form.submit()'
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
@ -464,7 +470,7 @@ $ui_fmask = array(
|
||||||
#UI_FILETYPE_WEBSTREAM => '##Webstream##',
|
#UI_FILETYPE_WEBSTREAM => '##Webstream##',
|
||||||
UI_FILETYPE_PLAYLIST => '##Playlist##'
|
UI_FILETYPE_PLAYLIST => '##Playlist##'
|
||||||
),
|
),
|
||||||
'attributes'=> array('onChange' => 'hpopup("'.UI_HANDLER.'?act='.$_REQUEST['act'].'.setFiletype&filetype=" + this.form.filetype.value)')
|
'attributes'=> array('onChange' => 'hpopup("'.UI_HANDLER.'?act='.$tmpAct.'.setFiletype&filetype=" + this.form.filetype.value)')
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'element' => 'limit',
|
'element' => 'limit',
|
||||||
|
@ -476,7 +482,7 @@ $ui_fmask = array(
|
||||||
50 => 50,
|
50 => 50,
|
||||||
100 => 100
|
100 => 100
|
||||||
),
|
),
|
||||||
'attributes'=> array('onChange' => 'hpopup("'.UI_HANDLER.'?act='.$_REQUEST['act'].'.setLimit&limit=" + this.form.limit.value)')
|
'attributes'=> array('onChange' => 'hpopup("'.UI_HANDLER.'?act='.$tmpAct.'.setLimit&limit=" + this.form.limit.value)')
|
||||||
),
|
),
|
||||||
/* do we need reset?
|
/* do we need reset?
|
||||||
array(
|
array(
|
||||||
|
@ -790,8 +796,8 @@ $ui_fmask = array(
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'label' => 'File Format',
|
'label' => 'File Format',
|
||||||
'options' => array(
|
'options' => array(
|
||||||
'smil' => 'SMIL',
|
'smil' => 'SMIL',
|
||||||
// 'xspf' => 'XSPF',
|
// 'xspf' => 'XSPF',
|
||||||
'm3u' => 'M3U'
|
'm3u' => 'M3U'
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue