*** empty log message ***
This commit is contained in:
parent
9d3ff15b65
commit
8b56186766
8 changed files with 910 additions and 899 deletions
|
@ -79,7 +79,8 @@ $ui_fmask = array(
|
|||
5 => 5,
|
||||
10 => 10,
|
||||
25 => 25
|
||||
)
|
||||
),
|
||||
'required' => TRUE
|
||||
),
|
||||
array(
|
||||
'element' => 'stationMaxfilesize',
|
||||
|
|
|
@ -26,6 +26,11 @@ if (is_array($_REQUEST['popup'])){
|
|||
$Smarty->display('popup/_redirector.tpl');
|
||||
break;
|
||||
|
||||
case "_2changeStationPrefs":
|
||||
$Smarty->assign('target', 'changeStationPrefs');
|
||||
$Smarty->display('popup/_redirector.tpl');
|
||||
break;
|
||||
|
||||
case "login":
|
||||
$Smarty->assign('dynform', $uiBrowser->login($ui_fmask));
|
||||
$Smarty->display('popup/login.tpl');
|
||||
|
|
|
@ -22,16 +22,16 @@ class Display {
|
|||
|
||||
if ($file[Id] != _DEFAULT_LANG_) {
|
||||
|
||||
/*
|
||||
if ($onlyUntranslated=='on') {
|
||||
$checker = ' checked';
|
||||
/*
|
||||
if ($onlyUntranslated=='on') {
|
||||
$checker = ' checked';
|
||||
}
|
||||
*/
|
||||
if (!$file['sourceId']) {
|
||||
$file['sourceId'] = _DEFAULT_LANG_;
|
||||
}
|
||||
*/
|
||||
if (!$file['sourceId']) {
|
||||
$file['sourceId'] = _DEFAULT_LANG_;
|
||||
}
|
||||
|
||||
|
||||
$s = Data::convArr2GS($source);
|
||||
$t = Data::convArr2GS($target);
|
||||
$nr = 0;
|
||||
|
@ -118,7 +118,6 @@ class Display {
|
|||
<input type="submit" name="onlyUntranslated" Value="'.getGS('show only untranslated').'">
|
||||
</td>
|
||||
</tr>';
|
||||
}
|
||||
|
||||
$html .= '<tr><td colspan="2"><hr></td></tr>
|
||||
<tr>
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -18,13 +18,13 @@
|
|||
<li><a href="{$UI_BROWSER}?act=SCHEDULER">##Scheduler##</a></li>
|
||||
<!-- <li><a href="{$UI_BROWSER}?act=MetaDataValues&Main=1">Metadata</a></li> -->
|
||||
<li><a href="{$UI_BROWSER}?act=changeStationPrefs">##Station Settings##</a>
|
||||
{*
|
||||
|
||||
<ul>
|
||||
<li><a href="{$UI_BROWSER}?act=changeStationPrefs">##Station Settings##</a></li>
|
||||
<li><a href="{$UI_BROWSER}?id={$START.id}&act=subjects">##User/Groups##</a></li>
|
||||
<li><a href="{$UI_BROWSER}?act=fileList&id={$START.fid}">##File List##</a></li>
|
||||
</ul>
|
||||
*}
|
||||
|
||||
</li>
|
||||
<li><a href="#" onClick="window.open('help.html','','scrollbars=yes,resizable=yes,width=500,height=400')">##Help##</a></li>
|
||||
</ul>
|
||||
|
|
|
@ -148,7 +148,8 @@ class uiBase
|
|||
$this->STATIONPREFS['stationMaxfilesize'] = strtr(ini_get('upload_max_filesize'), array('M'=>'000000', 'k'=>'000'));
|
||||
|
||||
if ($miss && $this->gb->getSessLogin($this->sessid)) {
|
||||
$this->_retMsg('Note: Station Preferences not setup proberly.');
|
||||
if (UI_WARNING) $this->_retMsg('Note: Station Preferences not setup proberly.');
|
||||
$this->redirUrl = UI_BROWSER.'?popup[]=_2changeStationPrefs&popup[]=_close';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -146,7 +146,7 @@ class uiHandler extends uiBase {
|
|||
function uploadFile(&$formdata, &$mask, $replace=NULL)
|
||||
{
|
||||
if ($this->test4audioType($formdata['mediafile']['name']) === FALSE) {
|
||||
if (UI_ERROR) $this->_retMsg('$1 is unsupportet file type.', $formdata['mediafile']['name']);
|
||||
if (UI_ERROR) $this->_retMsg('$1 uses an unsupported file type.', $formdata['mediafile']['name']);
|
||||
$this->redirUrl = UI_BROWSER."?act=editFile&folderId=".$formdata['folderId'];
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -292,7 +292,7 @@ class uiHandler extends uiBase {
|
|||
foreach ($mData as $key=>$val) {
|
||||
$r = $this->_setMDataValue($id, $key, $val, $curr_langid);
|
||||
if (PEAR::isError($r)) {
|
||||
$this->_retMsg('Unable to set "$1" to "$2" langue "$3"', $key, $val, $curr_langid);
|
||||
$this->_retMsg('Unable to set "$1" to value "$2".', $key, $val);
|
||||
}
|
||||
}
|
||||
if (UI_VERBOSE) $this->_retMsg('Metadata saved');
|
||||
|
|
|
@ -422,7 +422,7 @@ class uiPlaylist
|
|||
$r = $this->Base->gb->setMDataValue($id, $key, $this->Base->sessid, $val, $curr_langid);
|
||||
if (PEAR::isError($r)) {
|
||||
#print_r($r);
|
||||
$this->Base->_retMsg('Unable to set "$1" to "$2" langue "$3"', $key, $val);
|
||||
$this->Base->_retMsg('Unable to set "$1" to value "$2".', $key, $val);
|
||||
}
|
||||
}
|
||||
if (UI_VERBOSE) $this->Base->_retMsg('Metadata saved');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue