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

View file

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

View file

@ -43,6 +43,14 @@ form { font-size: 12px;
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;
font-weight: bold;
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][value]' type='text' size='50' value=\"$insval\">";
$html .= "<input name='data[$nr][value]' type='text' size='100' value=\"$insval\">";
$html .= "</td><td>\n";
if ($target[Id] == _DEFAULT_LANG_) { // default language => can change keys

View file

@ -10,9 +10,9 @@
<h1>##Playlist Editor##</h1>
<p>&nbsp;</p>
{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}
<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}
</div>
{/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=week')">##Week##</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&today=1')">##Today##</a></li>
<li><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day&today=1')">##Today##</a></li>
</ul>
</div>
<!-- end calendar tabs -->
@ -22,25 +21,22 @@
<table class="calender_overview_table">
<tr>
<td><a href="#" onCLick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&month=--')"><<</a></td>
<td colspan=4>
<form name="calendar_month" 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)">
<td colspan=6>
<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.value)">
{foreach from=$SCHEDULER->Year item="_Month"}
<option value="{$_Month.month}">{$_Month.label.full}</option>
{/foreach}
</select>
</form>
</td>
<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)">
&nbsp;&nbsp;&nbsp;
<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)">
{foreach from=$SCHEDULER->Decade item="_Year"}
<option value="{$_Year.year}" {if $_Year.isSelected}selected{/if}>{$_Year.year}</option>
{/foreach}
</select>
<script type="text/javascript">
document.forms['calendar_month'].month.value = '{$SCHEDULER->curr.month}';
document.forms['calendar_year'].year.value = '{$SCHEDULER->curr.year}';
document.forms['calendar'].month.value = '{$SCHEDULER->curr.month}';
document.forms['calendar'].year.value = '{$SCHEDULER->curr.year}';
</script>
</form>
</td>
@ -71,9 +67,9 @@
<td class="nothing">
{/if}
{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}
<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}
</td>
@ -86,68 +82,3 @@
</div>
</div>
<!-- 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}
<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_in" style="width: {$percentage}px;"></div> <!-- fullsize 96px, multiple of 24 -->
</div>
</a>
</td>
{if $_Day.isLast}

View file

@ -14,7 +14,7 @@
*}
<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">
<tr>