*** empty log message ***

This commit is contained in:
sebastian 2005-03-21 16:44:37 +00:00
parent 1b44662fc3
commit fa7bee7ac7
16 changed files with 475 additions and 880 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

View file

@ -351,10 +351,53 @@ input, select { font-size: 12px;
float: left;
}
/*############## SMALL Navigation tabs on top of content box ############*/
#tabnavsmall {
position: absolute;
top: 175px;
left: 20px;
z-index: 1;
}
#tabnavsmall ul {
width: auto;
list-style: none;
padding: 0;
display: block;
}
#tabnavsmall a {
background: url("css_img/bt_tabsm_off.gif");
display: block;
color: #666;
font-size: 11px;
font-weight: bold;
text-decoration: none;
width: 50px;
margin-right: 10px;
text-align: center;
}
#tabnavsmall a:hover {
background: url("css_img/bt_tabsm_on.gif");
color: #FFF;
}
#tabnavsmall a.active {
background: url("css_img/bt_tabsm_on.gif");
color: #FFF;
}
#tabnavsmall li {
padding: 0;
float: left;
}
/* #################################### CONTENTAREA ############################### */
.content { font-size: 12px;
.content {
margin: 19px;
margin-top: 0;
float: left;
@ -608,48 +651,55 @@ table.scheduler_day td { font-size: 12px;
padding-top: 2px;
}
table.scheduler_week { font-size: 12px;
table.scheduler_week_time {
width: 20px;
border: 1px solid #7392A6;
}
table.scheduler_week {
width: 790px;
border: 1px solid #7392A6;
}
table.scheduler_week th { font-size: 12px;
table.scheduler_week a {
text-decoration: none;
color: #fff;
}
table.scheduler_week th {
background-color: #8baed1;
color: #FFF;
font-weight: bold;
text-align: left;
}
table.scheduler_week th.firstrow { font-size: 12px;
width: 34px;
}
table.scheduler_week th.date { font-size: 12px;
width: 22px;
table.scheduler_week th.date {
width: 20px;
border-left: 1px solid #7392A6;
}
table.scheduler_week th.day { font-size: 12px;
width: 86px;
table.scheduler_week th.day {
width: 186px;
}
table.scheduler_week td.firstrow_secondcol { font-size: 12px;
table.scheduler_week td.firstrow_secondcol {
background-color: #CFDEE7;
border: none;
border-bottom: 1px solid #757575;
padding: 0;
}
table.scheduler_week td.date_secondcol { font-size: 12px;
table.scheduler_week td.date_secondcol {
width: 20px;
background-color: #CFDEE7;
border: none;
border-left: 1px solid #7392A6;
border-bottom: 1px solid #757575;
padding: 2px;
padding: 0px;
font-weight: bold;
}
table.scheduler_week td.day_secondcol { font-size: 12px;
table.scheduler_week td.day_secondcol {
background-color: #CFDEE7;
border: none;
border-bottom: 1px solid #757575;
@ -657,14 +707,14 @@ table.scheduler_week td.day_secondcol { font-size: 12px;
padding-left: 2px;
}
table.scheduler_week td.firstrow { font-size: 12px;
table.scheduler_week td.firstrow {
border: none;
border-bottom: 1px solid #7392A6;
padding: 2px;
font-weight: bold;
}
table.scheduler_week td.date { font-size: 12px;
table.scheduler_week td.date {
border: none;
border-left: 1px solid #7392A6;
border-bottom: 1px solid #7392A6;
@ -672,7 +722,7 @@ table.scheduler_week td.date { font-size: 12px;
background-color: #D0D0D0;
}
table.scheduler_week td.date_full { font-size: 12px;
table.scheduler_week td.date_full {
border: none;
border-left: 1px solid #7392A6;
border-bottom: 1px solid #7392A6;
@ -680,7 +730,7 @@ table.scheduler_week td.date_full { font-size: 12px;
background-color: #97BACF;
}
table.scheduler_week td.date_locked { font-size: 12px;
table.scheduler_week td.date_locked {
border: none;
border-left: 1px solid #7392A6;
border-bottom: 1px solid #7392A6;
@ -690,14 +740,14 @@ table.scheduler_week td.date_locked { font-size: 12px;
padding-top: 3px;
}
table.scheduler_week td.day { font-size: 12px;
table.scheduler_week td.day {
border: none;
border-bottom: 1px solid #7392A6;
padding: 0;
background-color: #EAEAEA;
}
table.scheduler_week td.day_full { font-size: 12px;
table.scheduler_week td.day_full {
border: none;
border-bottom: 1px solid #7392A6;
padding: 2px;
@ -721,12 +771,11 @@ table.scheduler_week td p { font-size: 12px;
margin: 0;
}
table.scheduler_month{ font-size: 12px;
table.scheduler_month{
width: 790px;
border: 1px solid #7392A6;
}
table.scheduler_month th { font-size: 12px;
table.scheduler_month th {
background-color: #8baed1;
color: #FFF;
font-weight: bold;
@ -734,28 +783,37 @@ table.scheduler_month th { font-size: 12px;
border: 1px solid #7392A6;
}
table.scheduler_month td { font-size: 12px;
table.scheduler_month td {
width: 113px;
border: 1px solid #7392A6;
padding: 2px;
text-align: left;
}
table.scheduler_month p { font-size: 12px;
table.scheduler_month p {
margin: 0 0 10px 0;
font-weight: bold;
font-size: 11px;
}
table.scheduler_month .scala { font-size: 12px;
table.scheduler_month a {
color: #000;
}
table.scheduler_month td.today {
background: #d5e2ee;
}
table.scheduler_month .scala {
margin: 0 0 2px 4px;
width: 96px;
width: 100px;
height: 12px;
background-color: #DADADA;
border: 1px solid #7F95A7;
}
table.scheduler_month .scala .scala_in { font-size: 12px;
table.scheduler_month .scala .scala_in {
background: #DADADA url("css_img/bg_scala_in_scheduler.gif") repeat-x top left;
font-size:1px;
height: 12px;

View file

@ -1,10 +1,15 @@
body { font-size: 12px;
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 12px;
color: #2C2C2C;
margin: 0px;
body {
font-size: 12px;
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 12px;
color: #2C2C2C;
margin: 0px;
vertical-align : middle;
}
img { font-size: 12px;
border: none;
}
form { font-size: 12px;
margin: 15px 0 15px 0;
@ -68,284 +73,6 @@ input, select { font-size: 12px;
height: 15px;
}
/*######################### HEADER ########################### */
.headLeft { font-size: 12px;
margin: 26px 16px 0 10px;
float: left;
width: 169px;
}
.headLeft[class] { font-size: 12px;
margin-left: 22px;
}
.headLeft .container { font-size: 12px;
margin-left: 10px;
}
.loginname { font-size: 12px;
margin: 15px 0 8px 0;
font-weight: bold;
}
.headRight { font-size: 12px;
float: left;
margin-top: 10px;
height: 115px;
}
.station { font-size: 12px;
margin: 30px 30px 0 30px;
float: left;
}
.frequence { font-size: 12px;
margin: 15px 0 8px 0;
}
.onair { font-size: 12px;
float: left;
margin: 24px 30px 0 0;
}
.onair img { font-size: 12px;
display: block;
margin-top: 10px;
}
/* ************* station time **************** */
.stationtime { font-size: 12px;
margin: 34px 30px 0 0;
float: left;
font-weight: bold;
color: #666;
}
.stationtime { font-size: 12px;
text-transform: uppercase;
}
.stationtime h1 { font-size: 12px;
font-size: 12px;
margin: 0;
text-transform: none;
}
.stationtime .clock { font-size: 12px;
font-size: 22px;
float: left;
margin: 0;
}
.stationtime .timezone { font-size: 12px;
float: left;
margin: 9px 0 0 15px;
}
/* *************** what playing ****************** */
.whatplaying { font-size: 12px;
float: left;
border: 1px solid #CCC;
background-color: #F9FAFB;
margin-top: 13px;
padding: 10px 8px;
width: 250px;
}
.whatplaying .nowplaying { font-size: 12px;
font-weight: bold;
font-size: 15px;
}
.whatplaying .scala { font-size: 12px;
width: 250px;
height: 8px;
margin-top: 5px;
background-color: #DADADA;
border-top: 1px solid #B5B5B5;
border-left: 1px solid #B5B5B5;
border-bottom: 1px solid #6F6F6F;
border-right: 1px solid #6F6F6F;
}
.whatplaying .scala .scala_in { font-size: 12px;
background: #DADADA url("css_img/bg_scala_in.gif") repeat-x top left;
font-size:1px;
height: 8px;
}
.whatplaying .time { font-size: 12px;
width: 250px;
font-size: 11px;
}
.whatplaying .time .left { font-size: 12px;
float: left;
width: 125px;
}
.whatplaying .time .right { font-size: 12px;
width: 125px;
float: left;
text-align: right;
}
.whatplaying p { font-size: 12px;
font-size: 11px;
font-weight: bold;
margin: 10px 0 0 0;
}
/* #################################### NAVIGATION ############################### */
.container_nav { font-size: 12px;
height: 26px;
clear: both;
background: url("css_img/bg_navigation.gif") repeat-x top left;
margin-bottom: 38px;
}
.container_nav[class] { font-size: 12px;
padding-left: 10px;
margin-bottom: 50px;
}
#nav, #nav ul { font-size: 12px;
float: left;
width: auto;
list-style: none;
line-height: 24px;
padding: 0;
margin: 2px 0 0 15px;
display: block;
}
#nav a { font-size: 12px;
display: block;
color: #666;
text-decoration: none;
padding-right: 40px;
}
#nav li { font-size: 12px;
float: left;
padding: 0;
}
#nav li ul { font-size: 12px;
display: block;
position: absolute;
left: -999px;
width: 120px;
font-weight: normal;
margin: 0;
z-index: 1;
}
#nav li ul li { font-size: 12px;
clear: both;
margin: 0;
}
#nav li ul a { font-size: 12px;
width: 100px;
line-height: 25px;
background: #eee;
padding-left : 5px;
border-top: 0px solid #ACB3BA;
border-left: 1px solid #ACB3BA;
border-bottom: 1px solid #ACB3BA;
border-right: 1px solid #ACB3BA;
}
#nav a:hover { font-size: 12px;
color: #000;
}
#nav li li a:hover { font-size: 12px;
background: #D6E3EF;
}
#nav li:hover ul , #nav li:hover ul, #nav li.sfhover ul , #nav li.sfhover ul { font-size: 12px;
left: -999em;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { font-size: 12px;
left: auto;
}
/* #################################### contenttabnav ############################### */
.contenttabnav {
height: 26px;
clear: both;
/*background: url("css_img/bg_navigation.gif") repeat-x top left;*/
margin-bottom: 12px;
margin-top: 12px;
}
.contenttabnav[class] {
padding-left: 10px;
margin-top: 12px;
margin-bottom: 12px;
}
.contenttabnav A { font-size: 12px;
/*display: block;*/
color: #5286ba;
text-decoration: none;
}
.contenttabnav a:hover { font-size: 12px;
color: #000;
text-decoration: underline;
}
/*############## Navigation tabs on top of content box ############*/
#tabnav {
position: absolute;
top: 175px;
left: 20px;
z-index: 1;
}
#tabnav ul {
width: auto;
list-style: none;
padding: 0;
display: block;
}
#tabnav a {
background: url("css_img/bt_tab_off.gif");
display: block;
color: #666;
font-size: 11px;
font-weight: bold;
text-decoration: none;
width: 99px;
margin-right: 10px;
text-align: center;
}
#tabnav a:hover {
background: url("css_img/bt_tab_on.gif");
color: #FFF;
}
#tabnav a.active {
background: url("css_img/bt_tab_on.gif");
color: #FFF;
}
#tabnav li {
padding: 0;
float: left;
}
/* #################################### CONTENTAREA ############################### */
@ -399,353 +126,6 @@ table { font-size: 12px;
table td { font-size: 12px;
padding: 0 6px 0 12px;
border-right: 1px solid #333;
height: 19px;
vertical-align: top;
}
table tr.blue_head td { font-size: 12px;
background-color: #8baed1;
color: #FFF;
font-weight: bold;
}
A#blue_head { font-size: 12px;
color:#fff;
}
table tr.blue1 td { font-size: 12px;
color: #000;
background-color: #d5e2ee;
}
table tr.blue2 td { font-size: 12px;
color: #000;
background-color: #f5f5f5;
}
table tr.red td { font-size: 12px;
background-color: #FBAAAA;
}
.footer { font-size: 12px;
padding: 4px 5px 5px 0;
background-color: #8baed1;
text-align: right;
margin-bottom: 8px;
}
.container_button { font-size: 12px;
margin-top: 4px;
}
.container_search {
margin-bottom: 4px;
}
.comment { font-size: 12px;
float: left;
font-size: 10px;
margin: 5px 0 0 10px;
}
.select_width_comment { font-size: 12px;
float:left;
margin-left: 3px;
}
.select_width_comment[class] { font-size: 12px;
margin-left: 0;
}
.tablebottom { font-size: 12px;
float: left;
margin-left: 0px;
background-color: #8baed1;
}
.counter { font-size: 12px;
float: left;
margin-left: 7px;
font-weight: bold;
background-color: #8baed1;
}
.counter[class] { font-size: 12px;
margin-left: 15px;
}
.container_browse {
width: 170px;
float: left;
margin: 0px 0px 10px 0px;
}
.area_browse {
width: 174px;
height: 100px;
}
.area_browse[class] {
width: 180px;
}
.comment_browse {
font-size: 10px;
}
.container_button_upload { font-size: 12px;
margin: 20px 0 0 204px;
}
.container_button_upload[class] { font-size: 12px;
margin-left: 200px;
}
label { font-size: 12px;
display: block;
float: left;
width: 200px;
}
/* ############################################# scheduler ################################# */
.container_calender_overview {
width: 235px;
}
.container_calender_overview p {
font-size: 10px;
margin-top: 0;
float: right;
}
.month_year {
border: 1px solid #cdcdcd;
border-bottom: none;
padding: 5px 20px;
float: right;
}
.calender_overview {
border: 1px solid #cdcdcd;
}
table.calender_overview_table {
width: 100%;
margin-bottom: 5px;
}
table.calender_overview_table th {
background-color: #5286ba;
color: #FFF;
}
table.calender_overview_table td {
border: 0;
text-align: center;
padding: 5px 5px 0 5px;
}
table.calender_overview_table td.full {
font-weight: bold
}
table.calender_overview_table th.week {
border-right: 1px solid #FFF;
}
table.calender_overview_table td.week {
border-right: 1px solid #cdcdcd;
}
table.calender_overview_table a.active {
color: #FFF;
font-weight: bold;
background-color: #5286ba;
padding: 1px 0;
width: 100%;
display: block;
}
table.calender_overview_table a { font-size: 12px;
text-decoration: none;
color: #000;
}
table.calender_overview_table a.not_this_month { font-size: 12px;
color: #999;
}
.head_scheduler { font-size: 12px;
float: left;
width: 50%;
}
.container_button_scheduler { font-size: 12px;
float: left;
width: 50%;
text-align: right;
margin-top: 5px;
}
table.scheduler_day td { font-size: 12px;
border-bottom: 1px solid #ccc;
padding-top: 2px;
}
table.scheduler_week { font-size: 12px;
width: 790px;
border: 1px solid #7392A6;
}
table.scheduler_week th { font-size: 12px;
background-color: #8baed1;
color: #FFF;
font-weight: bold;
text-align: left;
}
table.scheduler_week th.firstrow { font-size: 12px;
width: 34px;
}
table.scheduler_week th.date { font-size: 12px;
width: 22px;
border-left: 1px solid #7392A6;
}
table.scheduler_week th.day { font-size: 12px;
width: 86px;
}
table.scheduler_week td.firstrow_secondcol { font-size: 12px;
background-color: #CFDEE7;
border: none;
border-bottom: 1px solid #757575;
padding: 0;
}
table.scheduler_week td.date_secondcol { font-size: 12px;
background-color: #CFDEE7;
border: none;
border-left: 1px solid #7392A6;
border-bottom: 1px solid #757575;
padding: 2px;
font-weight: bold;
}
table.scheduler_week td.day_secondcol { font-size: 12px;
background-color: #CFDEE7;
border: none;
border-bottom: 1px solid #757575;
padding: 0;
padding-left: 2px;
}
table.scheduler_week td.firstrow { font-size: 12px;
border: none;
border-bottom: 1px solid #7392A6;
padding: 2px;
font-weight: bold;
}
table.scheduler_week td.date { font-size: 12px;
border: none;
border-left: 1px solid #7392A6;
border-bottom: 1px solid #7392A6;
padding: 0;
background-color: #D0D0D0;
}
table.scheduler_week td.date_full { font-size: 12px;
border: none;
border-left: 1px solid #7392A6;
border-bottom: 1px solid #7392A6;
padding: 0;
background-color: #97BACF;
}
table.scheduler_week td.date_locked { font-size: 12px;
border: none;
border-left: 1px solid #7392A6;
border-bottom: 1px solid #7392A6;
background-color: #FFCACB;
text-align: center;
padding: 0;
padding-top: 3px;
}
table.scheduler_week td.day { font-size: 12px;
border: none;
border-bottom: 1px solid #7392A6;
padding: 0;
background-color: #EAEAEA;
}
table.scheduler_week td.day_full { font-size: 12px;
border: none;
border-bottom: 1px solid #7392A6;
padding: 2px;
background-color: #E7ECEF;
}
table.scheduler_week td.day_locked { font-size: 12px;
border: none;
border-bottom: 1px solid #7392A6;
padding: 2px;
background-color: #EAEAEA;
}
table.scheduler_week td h2 { font-size: 12px;
font-size: 11px;
margin: 0;
}
table.scheduler_week td p { font-size: 12px;
font-size: 11px;
margin: 0;
}
table.scheduler_month{ font-size: 12px;
width: 790px;
border: 1px solid #7392A6;
}
table.scheduler_month th { font-size: 12px;
background-color: #8baed1;
color: #FFF;
font-weight: bold;
text-align: center;
border: 1px solid #7392A6;
}
table.scheduler_month td { font-size: 12px;
width: 113px;
border: 1px solid #7392A6;
padding: 2px;
text-align: left;
}
table.scheduler_month p { font-size: 12px;
margin: 0 0 10px 0;
font-weight: bold;
font-size: 11px;
}
table.scheduler_month .scala { font-size: 12px;
margin: 0 0 2px 4px;
width: 96px;
height: 12px;
background-color: #DADADA;
border: 1px solid #7F95A7;
}
table.scheduler_month .scala .scala_in { font-size: 12px;
background: #DADADA url("css_img/bg_scala_in_scheduler.gif") repeat-x top left;
font-size:1px;
height: 12px;
}

View file

@ -3,13 +3,13 @@
</head>
<body>
<center>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="<?php echo $_REQUEST['is_popup']==TRUE ? 60 : 300; ?>" height="<?php echo $_REQUEST['is_popup']==TRUE ? 60 : 300; ?>" id="preloader" align="middle">
<table height="100%"><tr><td>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="<?php echo $_REQUEST['is_popup']==TRUE ? 50 : 50; ?>" height="<?php echo $_REQUEST['is_popup']==TRUE ? 50 : 50; ?>" id="preloader" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="preloader.swf" />
<param name="movie" value="../templates/loader/preloader.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="../templates/loader/preloader.swf" quality="high" bgcolor="#ffffff" width="<?php echo $_REQUEST['is_popup']==TRUE ? 60 : 300; ?>" height="<?php echo $_REQUEST['is_popup']==TRUE ? 60 : 300; ?>" name="preloader" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
<embed src="../templates/loader/preloader.swf" quality="high" bgcolor="#ffffff" width="<?php echo $_REQUEST['is_popup']==TRUE ? 50 : 50; ?>" height="<?php echo $_REQUEST['is_popup']==TRUE ? 50 : 50; ?>" name="preloader" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</center>
</td></tr></table>

View file

@ -1,8 +1,5 @@
{*Smarty template*}
{*
<div id="masterpanel">
*}
{include file="statusbar.tpl"}
@ -16,48 +13,51 @@
{/if}
*}
{if $fileList}
{include file="file/list.tpl"}
{/if}
{if $showLibrary}
{include file="library/main.tpl"}
{/if}
{if $showSubjects}
{include file="subjects.tpl"}
{/if}
{if $showFile}
{include file="filedata.tpl"}
{/if}
{if $editItem}
{include file="file/edit.tpl"}
{/if}
{if $changeStationPrefs}
{include file="stationprefs.tpl"}
{/if}
{if $PL_simpleManagement}
{include file="playlist/simpleManagement.tpl"}
{/if}
<div class="content">
{if $simpleSearchForm}
{include file="library/simpleSearchForm.tpl"}
{/if}
{if $SCRATCHPAD}
{include file="scratchpad.tpl"}
{/if}
</div>
{if $showScheduler}
<div class="content">
{include file="scheduler/calendar.tpl"}
{if $SCRATCHPAD}
{include file="scratchpad.tpl"}
{/if}
</div>
{include file="scheduler/main.tpl"}
{/if}
{else}
{*
</div>
*}
{if $fileList}
{include file="file/list.tpl"}
{/if}
{if $showLibrary}
{include file="library/main.tpl"}
{/if}
{if $showSubjects}
{include file="subjects.tpl"}
{/if}
{if $showFile}
{include file="filedata.tpl"}
{/if}
{if $editItem}
{include file="file/edit.tpl"}
{/if}
{if $changeStationPrefs}
{include file="stationprefs.tpl"}
{/if}
{if $PL_simpleManagement}
{include file="playlist/simpleManagement.tpl"}
{/if}
<div class="content">
{if $simpleSearchForm}
{include file="library/simpleSearchForm.tpl"}
{/if}
{if $SCRATCHPAD}
{include file="scratchpad.tpl"}
{/if}
</div>
{/if}

View file

@ -9,4 +9,4 @@
</head>
<body>
<div class="container">

View file

@ -1,18 +1,23 @@
{include file="popup/header.tpl"}
{$login.javascript}
<center>
<form {$login.attributes}>
{$login.hidden}
<table>
<tr><td align="right">{$login.login.label}</td><td>{$login.login.html}</td></tr>
<tr><td align="right">{$login.pass.label}</td><td>{$login.pass.html}</td></tr>
<tr><td align="right">{$login.langid.label}</td><td>{$login.langid.html}</td></tr>
<tr><td>{$login.requirednote}</td><td>{$login.Submit.html} {$login.cancel.html}</td></tr>
</table>
</form>
</center>
<table height="100%" border="0" width="100%">
<tr>
<td valign="middle">
<center>
<form {$login.attributes}>
{$login.hidden}
<table>
<tr><td align="right">{$login.login.label}</td><td>{$login.login.html}</td></tr>
<tr><td align="right">{$login.pass.label}</td><td>{$login.pass.html}</td></tr>
<tr><td align="right">{$login.langid.label}</td><td>{$login.langid.html}</td></tr>
<tr><td>{$login.requirednote}</td><td>{$login.Submit.html} {$login.cancel.html}</td></tr>
</table>
</form>
</center>
</td>
</tr>
</table>
</body>
</html>

View file

@ -1,18 +1,22 @@
{include file="popup/header.tpl"}
<center>
<div id="logout">
<form>
<table border=0>
<tr><td>{tra 0='Are you sure to logout $1' 1=$USER.login}</td></tr>
<tr><td align="right">
<input type="button" value="{tra 0=OK}" onclick="javascript: location.href='{$UI_HANDLER}?act={$logouttype}'">&nbsp;
<input type="button" value="{tra 0=Cancel}" onclick="javascript: window.close()">
</td></tr>
</table>
</form>
</div>
</center>
<table height="100%" width="100%">
<tr>
<td>
<center>
<form>
<table width="100%" height="100%">
<tr><td>{tra 0='Are you sure to logout $1' 1=$USER.login}</td></tr>
<tr><td align="right">
<input type="button" value="{tra 0=OK}" onclick="javascript: location.href='{$UI_HANDLER}?act={$logouttype}'">&nbsp;
<input type="button" value="{tra 0=Cancel}" onclick="javascript: window.close()">
</td></tr>
</table>
</form>
</center>
</td>
</tr>
</table>
</body>
</html>

View file

@ -3,13 +3,25 @@
{$SCHEDULER->buildMonth()}
{$SCHEDULER->buildWeek()}
<!-- start calendar tabs -->
<div id="tabnavsmall">
<ul>
<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>
</ul>
</div>
<!-- end calendar tabs -->
<!-- start calendar navigation -->
<div class="container_elements">
<h1>##Scheduler Navigation##</h1>
<script type="text/javascript">
document.forms['calendar_month'].month.value = '{$SCHEDULER->curr.month}';
document.forms['calendar_year'].year.value = '{$SCHEDULER->curr.year}';
</script>
<div class="container_calender_overview">
<p>Click any date below to view in scheduler</p>
<div class="calender_overview">
<table class="calender_overview_table">
<tr>
@ -72,7 +84,9 @@
</table>
</div>
</div>
</div>
<!-- end calendar navigation -->
{*
<table border=1>
<tr><th colspan="8">{$SCHEDULER->curr.year}-{$SCHEDULER->curr.month}-{$SCHEDULER->curr.day}</th></tr>
@ -133,3 +147,4 @@
{/foreach}
</table>
*}

View file

@ -1,17 +1,4 @@
{include file="scheduler/mouseOver.js.tpl"}
<div class="standardFrame">
{include file="sub/x.tpl"}
<input type="button" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day')" value="Day">
<input type="button" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=week')" value="Week">
<input type="button" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=month')" value="Month">
<!-- <input type="button" onClick="popup('{$UI_BROWSER}?popup[]=SCHEDULER.schedule', 'Schedule', 600, 400)" value="Schedule"> -->
<input type="button" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&today=1')" value="Today">
{include file="scheduler/calendar.tpl"}
{assign var="view" value=$SCHEDULER->curr.view}
{include file="scheduler/$view.tpl"}
</div>

View file

@ -1,6 +1,42 @@
{$SCHEDULER->buildMonth()}
{$SCHEDULER->buildWeek()}
<!-- start scheduler -->
<div class="content">
<div class="container_elements">
<h1>##Monthly View##</h1>
<table class="scheduler_month">
<tr>
{foreach from=$SCHEDULER->Week item="_Weekday"}
<th>{$_Weekday.label.full}</th>
{/foreach}
</tr>
{foreach from=$SCHEDULER->Month item="_Day"}
{if $_Day.isSelected}
{assign var="percentage" value=$SCHEDULER->getDayUsagePercentage($_Day.year, $_Day.month, $_Day.day)}
{else}
{assign var="percentage" value="0"}
{/if}
{if $_Day.isFirst}
<tr>
{/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>
<div class="scala">
<div class="scala_in" style="width: {$percentage}px;"></div> <!-- fullsize 96px, multiple of 24 -->
</div>
</td>
{if $_Day.isLast}
</tr>
{/if}
{/foreach}
</div>
{*
<table border=1>
<tr>
@ -31,3 +67,4 @@
{/foreach}
</table>
*}

View file

@ -3,6 +3,114 @@
{assign var="_minwidth" value=20}
{assign var="_scale" value=$SCHEDULER->getDayTimingScale()}
<!-- start scheduler -->
<div class="content">
<div class="container_elements" style="width: 790px;">
<div class="head_scheduler" style=""><h1>##Weekly View##</h1></div>
<div class="container_button_scheduler">
<input type="button" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=--')" class="button_large" value="##previous week##" />
<input type="button" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&week=%2B%2B')" class="button_large" value="##next week##" />
</div>
<div class="clearer">&nbsp;</div>
<table class="scheduler_week">
<tr>
{foreach from=$SCHEDULER->Week item="_Day"}
<th class="date"></th><th class="day"><a href="#" onClick="hpopup('{$UI_HANDLER}?act=SCHEDULER.set&view=day&day={$_Day.day}&month={$_Day.month}&year={$_Day.year}')">{$_Day.label.full}</a></th>
{/foreach}
</tr>
<tr>
<td class="date_secondcol">29</td>
<td class="day_secondcol"></td>
<td class="date_secondcol">30</td>
<td class="day_secondcol"></td>
<td class="date_secondcol">31</td>
<td class="day_secondcol"></td>
<td class="date_secondcol">01</td>
<td class="day_secondcol"></td>
<td class="date_secondcol">02</td>
<td class="day_secondcol"></td>
<td class="date_secondcol">03</td>
<td class="day_secondcol"></td>
<td class="date_secondcol">04</td>
<td class="day_secondcol"></td>
</tr>
<tr>
{foreach from=$SCHEDULER->Week item="_Day"}
{assign var="_oneday" value=$SCHEDULER->getDayTiming($_Day.year, $_Day.month, $_Day.day)}
{assign var="_year" value=$_Day.year}
{assign var="_month" value=$_Day.month}
{assign var="_day" value=$_Day.day}
{assign var="_hour" value=$_Day.hour}
<td valign="top">
<table class="scheduler_week_time">
{foreach from=$_scale item="_hour"}
<tr height="20" style="font-family: monospace;" valign="top">
<td bgcolor="grey" onContextmenu="return contextmenu('year={$_year}&month={$_month}&day={$_day}&hour={$_hour}', 'SCHEDULER.addItem')">
<div style="padding: 1px">{$_hour|string_format:'%02d'}</div>
</td>
</tr>
{/foreach}
</table>
</td>
<td>
<table border="0" cellspacing="0" cellpadding="0">
{foreach from=$_oneday item="i"}
{assign var = "_start" value = $i.entry.start|regex_replace:"/[0-9]+T/":""}
{assign var = "_end" value = $i.entry.end|regex_replace:"/[0-9]+T/":""}
{assign var = "_period" value = "$_start-$_end"}
{assign var = "_title" value = $i.entry.title}
{assign var = "_creator" value = $i.entry.creator}
<tr height="{$SCHEDULER->_oneOrMore($i.length/$_divisor)}" style="font-family: monospace;" valign="top">
{if is_array($i.entry)}
{if $i.length/$_divisor > $_minwidth}
<td bgcolor="#ffcacb" width="70" onContextmenu="return contextmenu('gunid={$i.entry.id}', 'SCHEDULER.removeItem')"><div style="padding: 1px"><small><b>{$_title}</b><br>{$_period}<br>{$_creator}</small></div></td>
{else}
<td bgcolor="#ffcacb" width="70" onContextmenu="return contextmenu('gunid={$i.entry.id}', 'SCHEDULER.removeItem')" onMouseover="mouseoverShow('<small><b>{$_title}</b><br>{$_period}<br>{$_creator}</small>')" onMouseout="mouseoverHide()"></td>
{/if}
{else}
<td bgcolor="#97bacf" width="70"></td>
{/if}
</tr>
{/foreach}
</table>
</td>
{/foreach}
</tr>
<tr>
<td class="firstrow">12p</td>
<td class="date_full"></td>
<td class="day_full"><h2>Cat Fancy</h2><p>12:00 - 14:00</p><p>Dave Simmons</p></td>
<td class="date"></td>
<td class="day"></td>
<td class="date"></td>
<td class="day"></td>
<td class="date_locked"><img src="img/ic_locked.gif" alt="locked" /></td>
<td class="day_locked"><h2>Talk of the Nation</h2><p>21:00 - 24:00</p><p>Ira Flatow</p></td>
<td class="date"></td>
<td class="day"></td>
<td class="date"></td>
<td class="day"></td>
<td class="date"></td>
<td class="day"></td>
</tr>
</table>
{*
<div class="container_button" style="float: right; margin-top: 10px;">
<input type="button" class="button_large" value="Edit Playlist" />
<input type="button" class="button_large" value="Delete Playlist" />
<input type="button" class="button_large" value="Add Playlist" />
</div>
*}
<div class="clearer">&nbsp;</div>
</div>
</div>
<!-- end playlist editor -->
<table border="1">
<tr>
@ -32,7 +140,7 @@
{assign var="_hour" value=$_Day.hour}
<td valign="top">
<table border="1" cellspacing="0" cellpadding="0">
<table border="5" cellspacing="0" cellpadding="0">
{foreach from=$_scale item="_hour"}
<tr height="20" style="font-family: monospace;" valign="top">
<td bgcolor="grey" onContextmenu="return contextmenu('year={$_year}&month={$_month}&day={$_day}&hour={$_hour}', 'SCHEDULER.addItem')">
@ -71,3 +179,4 @@
</tr>
</table>

View file

@ -60,8 +60,8 @@
function hpopup(url, name)
{
var width = 10;
var height = 10;
var width = 50;
var height = 50;
var screenX;
var screenY;
var Xpos;

View file

@ -2,10 +2,10 @@
{if $USER.userid}
<div class="loginname">##Signed in## : {$USER.login}</div>
<input type="button" class="button" value="{tra 0=logout}" onClick='javascript: popup("{$UI_BROWSER}?popup[]=logout", "name", "350", "100");'/>
<input type="button" class="button" value="{tra 0=logout}" onClick='javascript: popup("{$UI_BROWSER}?popup[]=logout", "name", "350", "150");'/>
{*
<input type="button" class="button" value="{tra 0='sign over'}" onClick='javascript: popup("{$UI_BROWSER}?popup[]=signover_1", "name", "350", "160");'/>
<input type="button" class="button" value="{tra 0='sign over'}" onClick='javascript: popup("{$UI_BROWSER}?popup[]=signover_1", "name", "350", "150");'/>
*}
{else}
<input type="button" class="button" value="{tra 0=login}" onClick='javascript: popup("{$UI_BROWSER}?popup[]=login", "name", "350", "160");'/>
<input type="button" class="button" value="{tra 0=login}" onClick='javascript: popup("{$UI_BROWSER}?popup[]=login", "name", "350", "150");'/>
{/if}