*** empty log message ***

This commit is contained in:
sebastian 2005-07-29 13:43:27 +00:00
parent 9d13994d07
commit a264b42824
10 changed files with 107 additions and 106 deletions

View file

@ -1,6 +1,6 @@
<div class="content">
{if $_REQUEST.act == addFileMData || $_REQUEST.act == addWebstreamMData || $_REQUEST.act == editItem}
{include file="file/tabswitch.tpl"}
{include file="file/tabswitch.js.tpl"}
{/if}
<div class="container_elements" style="width: 607px;">
<h1>
@ -15,7 +15,6 @@
{if $editItem.type == 'audioclip' || $editItem.type == 'file'}
<div id="div_Data">
{if $_REQUEST.act == 'addFileData'}
{UIBROWSER->fileForm id=$editItem.id folderId=$editItem.folderId assign="dynform"}
{include file="sub/dynForm_plain.tpl}
{assign var="_uploadform" value=null}

View file

@ -1,9 +1,9 @@
<script>
<script language="javascript">
{literal}
function showMain()
{
document.getElementById('div_Data').style.display = 'none';
document.getElementById('div_MData').style.display = 'inherit';
document.getElementById('div_MData').style.display = 'block';
document.getElementById('div_Main').style.display = 'inline';
document.getElementById('div_Music').style.display = 'none';
document.getElementById('div_Talk').style.display = 'none';
@ -15,7 +15,7 @@ function showMain()
function showMusic()
{
document.getElementById('div_Data').style.display = 'none';
document.getElementById('div_MData').style.display = 'inherit';
document.getElementById('div_MData').style.display = 'block';
document.getElementById('div_Main').style.display = 'none';
document.getElementById('div_Music').style.display = 'inline';
document.getElementById('div_Talk').style.display = 'none';
@ -27,7 +27,7 @@ function showMusic()
function showTalk()
{
document.getElementById('div_Data').style.display = 'none';
document.getElementById('div_MData').style.display = 'inherit';
document.getElementById('div_MData').style.display = 'block';
document.getElementById('div_Main').style.display = 'none';
document.getElementById('div_Music').style.display = 'none';
document.getElementById('div_Talk').style.display = 'inline';
@ -40,7 +40,7 @@ function showTalk()
function showData()
{
document.getElementById('div_Data').style.display = 'inherit';
document.getElementById('div_Data').style.display = 'block';
document.getElementById('div_MData').style.display = 'none';
document.getElementById('switch_Main').className = '';
document.getElementById('switch_Music').className = '';
@ -50,7 +50,7 @@ function showData()
function showMData()
{
document.getElementById('div_MData').style.display = 'inherit';
document.getElementById('div_MData').style.display = 'block';
document.getElementById('div_Data').style.display = 'none';
}
{/literal}

View file

@ -5,22 +5,7 @@
<head>
<title>LIVESUPPORT</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
{literal}
<script type='text/javascript'><!--//--><![CDATA[//><!--
sfHover = function() {
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
//--><!]]></script>
{/literal}
<link rel="stylesheet" href="styles.css">
<link href="styles_livesupport.css" rel="stylesheet" type="text/css" />

View file

@ -7,13 +7,8 @@
{if $USER.userid} {* somebody logged in? *}
{*
{if $structure}
{include file="file/path.tpl"}
{/if}
*}
{if $showScheduler}
<table style="margin:0px;padding:0px;" border="0">
<tr>
<td valign="top" style="margin:0px;padding:0px;border:0">
@ -31,6 +26,7 @@
</tr>
</table>
{else}
{if $fileList}

View file

@ -1,4 +1,20 @@
<!-- start nav -->
{literal}
<script type='text/javascript'><!--//--><![CDATA[//><!--
sfHover = function() {
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
//--><!]]></script>
{/literal}
<div class="container_nav">
<ul id="nav">
<li><a>##Add Audio##</a>
@ -48,4 +64,4 @@
<li><a href="" onclick="window.open('{$UI_BROWSER}?popup[]=help', 'help', 'scrollbars=yes,resizable=yes,width=500,height=800')">##Help##</a></li>
</ul>
</div>
<!-- end nav -->

View file

@ -68,13 +68,14 @@
{
var width = 160;
var height = 120;
var name = Math.random();
var name = Math.round(Math.random()*100000);
var screenX;
var screenY;
var Xpos;
var Ypos;
var Pwidth;
var Pheight;
var popupwin;
if (ie5) {
Xpos = window.screenLeft;

View file

@ -3,12 +3,14 @@
{literal}
// play-progress-bar object
function plPrBar(tit, eh, ei, es, dh, di, ds, next, ntit, ndur){
function plPrBar(tit, eh, ei, es, dh, di, ds, next, ntit, nh, ni, ns){
this.tit = tit;
this.next = next;
this.interval = 333;
this.ntit = ntit;
this.ndur = ndur;
this.nh = nh;
this.ni = ni;
this.ns = ns;
// inits:
this.elapsed = new Date();
@ -16,7 +18,7 @@ function plPrBar(tit, eh, ei, es, dh, di, ds, next, ntit, ndur){
this.remaining = new Date();
this.elapsed.setTime (Date.UTC(1970, 0, 1, eh, ei, es));
this.duration.setTime(Date.UTC(1970, 0, 1, dh, di, ds));
//alert("elapsed:" + this.elapsed.getUTCSeconds() + " duration:" + this.duration.getUTCSeconds());
// methods:
this.init = plPrBar_init;
this.tick = plPrBar_tick;
@ -35,7 +37,7 @@ function plPrBar_init() {
document.getElementById("next_clip").innerHTML = '';
} else {
document.getElementById("next_title").innerHTML = this.ntit;
document.getElementById("next_duration").innerHTML = this.ndur;
document.getElementById("next_duration").innerHTML = '(' + twoDigit(this.nh) + ':' + twoDigit(this.ni) + ':' + twoDigit(this.ns) + ')';
}
this.show();
@ -78,7 +80,7 @@ function plPrBar_create(jscomRes) {
ppb = new plPrBar(parms[0],
parms[1], parms[2], parms[3],
parms[4], parms[5], parms[6],
parms[7], parms[8], parms[9]
parms[7], parms[8], parms[9], parms[10], parms[11]
);
ppb.init();
} else {
@ -102,9 +104,9 @@ function plPrBar_hide() {
{$_nowplaying.elapsed.h|string_format:"%d"}, {$_nowplaying.elapsed.m|string_format:"%d"}, {$_nowplaying.elapsed.s|string_format:"%d"},
{$_nowplaying.duration.h|string_format:"%d"}, {$_nowplaying.duration.m|string_format:"%d"}, {$_nowplaying.duration.s|string_format:"%d"},
{if is_array($_nextplaying)}
1, "{$_nextplaying.title|truncate:22}", "{$_nextplaying.duration.h}:{$_nextplaying.duration.m}:{$_nextplaying.duration.s|truncate:2:""}"
1, "{$_nextplaying.title|truncate:22}", {$_nextplaying.duration.h|string_format:'%d'}, {$_nextplaying.duration.m|string_format:'%2d'}, {$_nextplaying.duration.s|string_format:'%2d'}
{else}
0, "", ""
0, "", 0, 0, 0
{/if}
);
ppb.init();

View file

@ -50,7 +50,7 @@
<div class="clearer"></div>
<div id="next_clip">
{if $_nextplaying}
<p>##Playing Next##: <span id="next_title"></span> <span id="next_duration"></span></p>
<p>##Playing Next##: <span id="next_title"></span> &nbsp;<span id="next_duration"></span></p>
{/if}
</div>
</div>

View file

@ -27,7 +27,7 @@ class uiScheduler extends uiCalendar
$this->uiCalendar();
$this->initXmlRpc();
$this->startDaemon();
//$this->startDaemon();
}
@ -412,8 +412,10 @@ class uiScheduler extends uiCalendar
'duration.m' => $curr['duration']['m'],
'duration.s' => $curr['duration']['s'],
'next' => $next ? 1 : 0,
'nexttitle' => $next ? $next['title'] : "",
'nextduration' => $next ? $next['duration']['h'].':'.$next['duration']['m'].':'.sprintf('%d', $next['duration']['s']) : "",
'next.title' => $next ? $next['title'] : "",
'next.dur.h' => $next ? $next['duration']['h'] : 0,
'next.dur.m' => $next ? $next['duration']['m'] : 0,
'next.dur.s' => $next ? $next['duration']['s'] : 0,
);
} else {
return FALSE;