*** empty log message ***

This commit is contained in:
sebastian 2005-04-04 17:11:18 +00:00
parent b47a4ba129
commit be6371aa55
9 changed files with 760 additions and 821 deletions

View file

@ -34,7 +34,7 @@ $ui_fmask = array(
'element' => 'stationLogoPath', 'element' => 'stationLogoPath',
'isPref' => TRUE, 'isPref' => TRUE,
'type' => 'hidden', 'type' => 'hidden',
'label' => 'Station Logo path', 'label' => 'Station Logo Path',
'default' => 'img/stationlogo.image', 'default' => 'img/stationlogo.image',
'required' => TRUE, 'required' => TRUE,
), ),
@ -42,7 +42,7 @@ $ui_fmask = array(
'rule' => 'regex', 'rule' => 'regex',
'element' => 'stationLogoPath', 'element' => 'stationLogoPath',
'format' => '/^img\/[a-z0-9.-_]*$/', 'format' => '/^img\/[a-z0-9.-_]*$/',
'rulemsg' => 'Path seems invalid' 'rulemsg' => 'Path appears invalid'
), ),
array( array(
'element' => 'stationURL', 'element' => 'stationURL',
@ -74,7 +74,7 @@ $ui_fmask = array(
'element' => UI_SCRATCHPAD_MAXLENGTH_KEY, 'element' => UI_SCRATCHPAD_MAXLENGTH_KEY,
'isPref' => TRUE, 'isPref' => TRUE,
'type' => 'select', 'type' => 'select',
'label' => 'Maximun length of ScratchPad', 'label' => 'Maximum length of ScratchPad',
'options' => array( 'options' => array(
5 => 5, 5 => 5,
10 => 10, 10 => 10,
@ -85,12 +85,11 @@ $ui_fmask = array(
'element' => 'stationMaxfilesize', 'element' => 'stationMaxfilesize',
'isPref' => TRUE, 'isPref' => TRUE,
'type' => 'text', 'type' => 'text',
'label' => 'Reduce Upload Filesize<br><small>(must be smaller than ' .ini_get('upload_max_filesize').')</small>', 'label' => 'Reduce Upload Filesize',
'rule' => 'numeric', 'rule' => 'numeric',
'attributes' => array( 'attributes' => array(
'onClick' => 'alert ("Note: System Maximum is set to '. 'onFocus' => 'alert ("'.tra('Note: System Maximum is set to $1 in php.ini. You can just reduce this amount here.',
ini_get('upload_max_filesize') ini_get('upload_max_filesize')).'")'
.' in php.ini\n You can just reduce this amount here.")'
) )
), ),
array( array(
@ -131,7 +130,7 @@ $ui_fmask = array(
array( array(
'rule' => 'compare', 'rule' => 'compare',
'element' => array('pass','pass2'), 'element' => array('pass','pass2'),
'rulemsg' => 'The Passwords do not match' 'rulemsg' => 'The passwords do not match'
), ),
array( array(
'element' =>'Submit', 'element' =>'Submit',
@ -156,7 +155,7 @@ $ui_fmask = array(
array( array(
'element' =>'pass', 'element' =>'pass',
'type' =>'password', 'type' =>'password',
'label' =>'Users Password', 'label' =>'User Password',
'required' =>TRUE 'required' =>TRUE
), ),
array( array(
@ -168,7 +167,7 @@ $ui_fmask = array(
array( array(
'rule' =>'compare', 'rule' =>'compare',
'element' =>array('pass','pass2'), 'element' =>array('pass','pass2'),
'rulemsg' =>'The Passwords do not match' 'rulemsg' =>'The passwords do not match'
), ),
array( array(
'element' =>'Submit', 'element' =>'Submit',
@ -244,16 +243,16 @@ $ui_fmask = array(
array( array(
'element' => 'mediafile', 'element' => 'mediafile',
'type' => 'file', 'type' => 'file',
'label' => 'Mediafile', 'label' => 'Media File',
'required' => TRUE, 'required' => TRUE,
'requiredmsg'=> 'please select Media file' 'requiredmsg'=> 'Please select media file'
), ),
array( array(
'element' => 'mdatafile', 'element' => 'mdatafile',
'type' => 'file', 'type' => 'file',
'label' => 'Metadata', 'label' => 'Metadata',
'required' => TRUE, 'required' => TRUE,
'requiredmsg'=> 'please select Metadata file' 'requiredmsg'=> 'Please select metadata file'
), ),
array( array(
'element' => 'Submit', 'element' => 'Submit',
@ -278,9 +277,9 @@ $ui_fmask = array(
array( array(
'element' => 'mediafile', 'element' => 'mediafile',
'type' => 'file', 'type' => 'file',
'label' => 'Mediafile', 'label' => 'Media File',
'required' => TRUE, 'required' => TRUE,
'requiredmsg'=> 'please select Media file' 'requiredmsg'=> 'please select media file'
), ),
array( array(
'element' => 'cancel', 'element' => 'cancel',
@ -337,7 +336,7 @@ $ui_fmask = array(
array( array(
'element' => 'length', 'element' => 'length',
'type' => 'date', 'type' => 'date',
'label' => 'Length<br><small>Leave zero for Live Stream</small>', 'label' => 'Length<br><small>Enter zero for Live Stream</small>',
'options' => array('format' => 'His'), 'options' => array('format' => 'His'),
), ),
array( array(
@ -389,11 +388,11 @@ $ui_fmask = array(
array( array(
'element' => 'filetype', 'element' => 'filetype',
'type' => 'select', 'type' => 'select',
'label' => 'Filetype', 'label' => 'File type',
'options' => array( 'options' => array(
'File' => '*', 'File' => '*',
'audioclip' => 'Audioclip', 'audioclip' => 'Audio Clip',
'webstream' => 'Webstream', 'webstream' => 'Web Stream',
'playlist' => 'Playlist' 'playlist' => 'Playlist'
) )
), ),
@ -418,7 +417,7 @@ $ui_fmask = array(
array( array(
'element' => 'addrow', 'element' => 'addrow',
'type' => 'button', 'type' => 'button',
'label' => 'One more Row', 'label' => 'Add Criteria',
'attributes' => array('onClick' => 'SearchForm_addRow()'), 'attributes' => array('onClick' => 'SearchForm_addRow()'),
'groupit' => TRUE, 'groupit' => TRUE,
), ),
@ -459,11 +458,11 @@ $ui_fmask = array(
'label' => 'Language', 'label' => 'Language',
'options' => array( 'options' => array(
'en.English' => 'English', 'en.English' => 'English',
'nl.Dutch' => 'Dutch', 'nl.Dutch' => 'Nederlaands',
'cz.Czech' => 'Czech', 'cz.Czech' => 'Cesky',
'de.German' => 'German', 'de.German' => 'Deutsch',
'hu.Hungarian' => 'Hungarian', 'hu.Hungarian' => 'Magyar',
'sr.Serbian' => 'Serbian' 'sr.Serbian' => 'Srpski'
) )
) )
), ),
@ -511,11 +510,11 @@ $ui_fmask = array(
array( array(
'element' => 'filetype', 'element' => 'filetype',
'type' => 'select', 'type' => 'select',
'label' => 'Filetype', 'label' => 'File Type',
'options' => array( 'options' => array(
'File' => '*', 'File' => '*',
'audioclip' => 'Audioclip', 'audioclip' => 'Audio Clip',
'webstream' => 'Webstream', 'webstream' => 'Web Stream',
'playlist' => 'Playlist' 'playlist' => 'Playlist'
), ),
'attributes'=> array('onChange' => 'hpopup("'.UI_HANDLER.'?act=BROWSE.setFiletype&filetype=" + this.form.filetype.value)') 'attributes'=> array('onChange' => 'hpopup("'.UI_HANDLER.'?act=BROWSE.setFiletype&filetype=" + this.form.filetype.value)')
@ -523,7 +522,7 @@ $ui_fmask = array(
array( array(
'element' => 'limit', 'element' => 'limit',
'type' => 'select', 'type' => 'select',
'label' => 'Rows per Page', 'label' => 'Rows Per Page',
'options' => array( 'options' => array(
10 => 10, 10 => 10,
25 => 25, 25 => 25,
@ -543,7 +542,7 @@ $ui_fmask = array(
array( array(
'element' => 'simplesearch', 'element' => 'simplesearch',
'type' => 'header', 'type' => 'header',
'label' => 'Library Search', 'label' => 'Search Library',
), ),
array( array(
'element' => 'criterium', 'element' => 'criterium',

View file

@ -150,7 +150,7 @@ $mask = array(
'element' => 'ls:year', 'element' => 'ls:year',
'type' => 'select', 'type' => 'select',
'label' => 'Year', 'label' => 'Year',
'options' => _getNumArr(1900, date('Y')+5), #'options' => _getNumArr(1900, date('Y')+5),
'id3' => 'Year' 'id3' => 'Year'
), ),
array( array(
@ -208,14 +208,14 @@ $mask = array(
'element' => 'ls:track_num', 'element' => 'ls:track_num',
'type' => 'select', 'type' => 'select',
'label' => 'Track number', 'label' => 'Track number',
'options' => _getNumArr(0, 99), #'options' => _getNumArr(0, 99),
'id3' => 'Track' 'id3' => 'Track'
), ),
array( array(
'element' => 'ls:disc_num', 'element' => 'ls:disc_num',
'type' => 'select', 'type' => 'select',
'label' => 'Disc number', 'label' => 'Disc number',
'options' => _getNumArr(0, 20), #'options' => _getNumArr(0, 20),
'id3' => 'Disk' 'id3' => 'Disk'
), ),
array( array(

View file

@ -43,6 +43,14 @@ form { font-size: 12px;
width: 100px; width: 100px;
} }
.button_wide { font-size: 12px;
font-weight: bold;
color: #666;
background-color: #F7F9FB;
padding: 0 25px 0 25px;
cursor: pointer;
width: 150px;
}
.button_large { font-size: 12px; .button_large { font-size: 12px;
font-weight: bold; font-weight: bold;
color: #666; color: #666;

View file

@ -86,7 +86,7 @@ class Display {
} }
$html .= "<input name='data[$nr][key]' type='hidden' value=\"$displKey\">"; $html .= "<input name='data[$nr][key]' type='hidden' value=\"$displKey\">";
$html .= "<input name='data[$nr][value]' type='text' size='50' value=\"$insval\">"; $html .= "<input name='data[$nr][value]' type='text' size='100' value=\"$insval\">";
$html .= "</td><td>\n"; $html .= "</td><td>\n";
if ($target[Id] == _DEFAULT_LANG_) { // default language => can change keys if ($target[Id] == _DEFAULT_LANG_) { // default language => can change keys

View file

@ -10,9 +10,9 @@
<h1>##Playlist Editor##</h1> <h1>##Playlist Editor##</h1>
<p>&nbsp;</p> <p>&nbsp;</p>
{if $PL->reportLookedPL()} {if $PL->reportLookedPL()}
<input type="button" value="##Open last Playlist##" onClick="hpopup('{$UI_HANDLER}?act=PL.unlook')"> <input type="button" value="##Open last Playlist##" onClick="hpopup('{$UI_HANDLER}?act=PL.unlook')" class="button_wide">
{else} {else}
<input type="button" value="##New empty Playlist##" onClick="hpopup('{$UI_HANDLER}?act=PL.create')"> <input type="button" value="##New empty Playlist##" onClick="hpopup('{$UI_HANDLER}?act=PL.create')" class="button_wide">
{/if} {/if}
</div> </div>
{/if} {/if}

View file

@ -9,8 +9,7 @@
<li><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day')">##Day##</a></li> <li><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day')">##Day##</a></li>
<li><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=week')">##Week##</a></li> <li><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=week')">##Week##</a></li>
<li><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=month')">##Month##</a></li> <li><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=month')">##Month##</a></li>
<!-- <input type="button" onClick="popup('{$UI_BROWSER}?popup[]=SCHEDULER.schedule', 'Schedule', 600, 400)" value="Schedule"> --> <li><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day&today=1')">##Today##</a></li>
<li><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&today=1')">##Today##</a></li>
</ul> </ul>
</div> </div>
<!-- end calendar tabs --> <!-- end calendar tabs -->
@ -22,25 +21,22 @@
<table class="calender_overview_table"> <table class="calender_overview_table">
<tr> <tr>
<td><a href="#" onCLick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&month=--')"><<</a></td> <td><a href="#" onCLick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&month=--')"><<</a></td>
<td colspan=4> <td colspan=6>
<form name="calendar_month" style="margin: 2;"> <form name="calendar" style="margin: 2;">
<select id="month" style="margin-top: 0;font-size:9px;" name="month" onChange="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&month=' + document.forms['calendar_month'].month.value)"> <select id="month" style="margin-top: 0;font-size:9px;" name="month" onChange="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&month=' + document.forms['calendar'].month.value)">
{foreach from=$SCHEDULER->Year item="_Month"} {foreach from=$SCHEDULER->Year item="_Month"}
<option value="{$_Month.month}">{$_Month.label.full}</option> <option value="{$_Month.month}">{$_Month.label.full}</option>
{/foreach} {/foreach}
</select> </select>
</form> &nbsp;&nbsp;&nbsp;
</td> <select id="year" style="margin-top: 0;font-size:9px;" name="year" onChange="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&year=' + document.forms['calendar'].year.value)">
<td colspan=2>
<form name="calendar_year" style="margin: 2;">
<select id="year" style="margin-top: 0;font-size:9px;" name="year" onChange="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&year=' + document.forms['calendar_year'].year.value)">
{foreach from=$SCHEDULER->Decade item="_Year"} {foreach from=$SCHEDULER->Decade item="_Year"}
<option value="{$_Year.year}" {if $_Year.isSelected}selected{/if}>{$_Year.year}</option> <option value="{$_Year.year}" {if $_Year.isSelected}selected{/if}>{$_Year.year}</option>
{/foreach} {/foreach}
</select> </select>
<script type="text/javascript"> <script type="text/javascript">
document.forms['calendar_month'].month.value = '{$SCHEDULER->curr.month}'; document.forms['calendar'].month.value = '{$SCHEDULER->curr.month}';
document.forms['calendar_year'].year.value = '{$SCHEDULER->curr.year}'; document.forms['calendar'].year.value = '{$SCHEDULER->curr.year}';
</script> </script>
</form> </form>
</td> </td>
@ -71,9 +67,9 @@
<td class="nothing"> <td class="nothing">
{/if} {/if}
{if $_Day.isSelected} {if $_Day.isSelected}
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&day={$_Day.day}&month={$_Day.month}&year={$_Day.year}')" class="full">{$_Day.day}</a> <a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day&day={$_Day.day}&month={$_Day.month}&year={$_Day.year}')" class="full">{$_Day.day}</a>
{else} {else}
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&day={$_Day.day}&month={$_Day.month}&year={$_Day.year}')">{$_Day.day}</a> <a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day&day={$_Day.day}&month={$_Day.month}&year={$_Day.year}')">{$_Day.day}</a>
{/if} {/if}
</td> </td>
@ -86,68 +82,3 @@
</div> </div>
</div> </div>
<!-- end calendar navigation --> <!-- end calendar navigation -->
{*
<table border=1>
<tr><th colspan="8">{$SCHEDULER->curr.year}-{$SCHEDULER->curr.month}-{$SCHEDULER->curr.day}</th></tr>
<tr>
<th><a href="#" onCLick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&month=--')"><<</a></th>
<th colspan="4">
<form name="calendar_month">
<select name="month" onChange="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&month=' + document.forms['calendar_month'].month.value)">
{foreach from=$SCHEDULER->Year item="_Month"}
<option value="{$_Month.month}">{$_Month.label.full}</option>
{/foreach}
</select>
</form>
</th>
<th colspan="2">
<form name="calendar_year">
<select name="year" onChange="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&year=' + document.forms['calendar_year'].year.value)">
{foreach from=$SCHEDULER->Decade item="_Year"}
<option value="{$_Year.year}" {if $_Year.isSelected}selected{/if}>{$_Year.year}</option>
{/foreach}
</select>
</form>
<script type="text/javascript">
document.forms['calendar_month'].month.value = '{$SCHEDULER->curr.month}';
document.forms['calendar_year'].year.value = '{$SCHEDULER->curr.year}';
</script>
</th>
<th><a href="#" onCLick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&month=%2B%2B')">>></a></th>
</tr>
{foreach from=$SCHEDULER->Month item="_Day"}
{if $_Day.isFirst}
<tr>
<th><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=week&day={$_Day.day}&month={$_Day.month}')">{$_Day.week}</a></th>
{/if}
<td>
{if $_Day.isEmpty}
<div>
{elseif $_Day.isToday}
<div style="background-color: grey">
{elseif $_Day.isCurrent}
<div style="background-color: lightblue">
{else}
<div style="background-color: white">
{/if}
{if $_Day.isSelected}
<b><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&day={$_Day.day}&month={$_Day.month}&year={$_Day.year}')">{$_Day.day}</a></b>
{else}
<a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&day={$_Day.day}&month={$_Day.month}&year={$_Day.year}')">{$_Day.day}</a>
{/if}
</div>
</td>
{if $_Day.isLast}
</tr>
{/if}
{/foreach}
</table>
*}

View file

@ -1 +0,0 @@
<small><b>{$_title}</b><br>{$_period}<br>{$_creator}</small>

View file

@ -25,10 +25,12 @@
{/if} {/if}
<td {if $_Day.isToday} class="today"{/if}> <td {if $_Day.isToday} class="today"{/if}>
<p><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day&year={$_Day.year}&month={$_Day.month}&day={$_Day.day}')">{$_Day.day}</a></p> <a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day&year={$_Day.year}&month={$_Day.month}&day={$_Day.day}')">
<p>{$_Day.day}</p>
<div class="scala"> <div class="scala">
<div class="scala_in" style="width: {$percentage}px;"></div> <!-- fullsize 96px, multiple of 24 --> <div class="scala_in" style="width: {$percentage}px;"></div> <!-- fullsize 96px, multiple of 24 -->
</div> </div>
</a>
</td> </td>
{if $_Day.isLast} {if $_Day.isLast}

View file

@ -14,7 +14,7 @@
*} *}
<div class="clearer">&nbsp;</div> <div class="clearer">&nbsp;</div>
<p>{$SCHEDULER->curr.week}. ##KW## {$SCHEDULER->curr.year}</p> <p>{$SCHEDULER->curr.week}. ##calendar week## {$SCHEDULER->curr.year}</p>
<table class="scheduler_week"> <table class="scheduler_week">
<tr> <tr>