diff options
| author | Andreas Brachold <vdr07@deltab.de> | 2007-08-13 18:41:27 +0000 |
|---|---|---|
| committer | Andreas Brachold <vdr07@deltab.de> | 2007-08-13 18:41:27 +0000 |
| commit | a4a9148f3fb207934bcfc45223b5abec78e5ed6b (patch) | |
| tree | 15f6528fb61089629c27ef0cf5052a327c03bb7c /skins/stone_flat/alist.tmpl | |
| download | xxv-a4a9148f3fb207934bcfc45223b5abec78e5ed6b.tar.gz xxv-a4a9148f3fb207934bcfc45223b5abec78e5ed6b.tar.bz2 | |
* Move files to trunk
Diffstat (limited to 'skins/stone_flat/alist.tmpl')
| -rw-r--r-- | skins/stone_flat/alist.tmpl | 195 |
1 files changed, 195 insertions, 0 deletions
diff --git a/skins/stone_flat/alist.tmpl b/skins/stone_flat/alist.tmpl new file mode 100644 index 0000000..5846e57 --- /dev/null +++ b/skins/stone_flat/alist.tmpl @@ -0,0 +1,195 @@ +<!--alist--> +<body class="frame"> +<div id="body"> +<?% ######################################################################## %?> +<?% aus = gettext('Off') %?> +<?% an = gettext('On') %?> +<?% ######################################################################## %?> +<?% BLOCK time %?> + <?% tt = t FILTER format('%04d') %?><?% tt.chunk(-2).join(':') %?> +<?% END %?> +<?% ######################################################################## %?> +<?% BLOCK RowButtons %?> + <?% IF allow('tlist') %?> + <?% IF param.timers.$id.allTimer.size %?> +<?% IF debug %?> +<!-- active: <?% param.timers.$id.activeTimer.size %?> --> +<!-- deactive:<?% param.timers.$id.deactiveTimer.size %?> --> +<?% END %?> + <a href="?cmd=tlist&data=<?% param.timers.$id.allTimer.join(',') %?>"> + <img src="images/onoff.<?% global.imagetyp %?>" alt="" title="<?% gettext("Planned recordings") %?>" /> + </a> + <?% END %?> + <?% END %?> + <a href="?cmd=search&data=<?% url( title ) %?>"> + <img src="images/find.<?% global.imagetyp %?>" alt="" title="<?% gettext("Search for repeats") %?>" /> + </a> + <?% IF allow('aedit') %?> + <a href="javascript:popup('aedit','<?% id %?>',620,670,1)"> + <img src="images/edit.<?% global.imagetyp %?>" alt="" title="<?% gettext("Edit autotimer") %?>" /> + </a> + <?% END %?> + <?% IF allow('adelete') %?> + <a href="javascript:sureandreload('<?% gettext("You will delete this autotimer") %?>','<?% escape(title) %?>','adelete','<?% id %?>')"> + <img src="images/delete.<?% global.imagetyp %?>" alt="" title="<?% gettext("Delete autotimer") %?>" /> + </a> + <?% END %?> +<?% END %?> +<?% ######################################################################## %?> +<?% BLOCK SetState %?> + <?% UNLESS aktiv %?> + <?% state = "deactive" %?> + <?% ELSE %?> + <?% state = "" %?> + <?% END %?> +<?% END %?> +<?% ######################################################################## %?> +<?% BLOCK ItemAsFlat %?> + <?% PROCESS SetState %?> + <tr id="item<?% id %?>"<?% ' class="two"' IF loop.count mod 2 == 0 %?>> + <td class="fieldinline"> + <?% IF allow('atoggle') %?> + <a href="javascript:toggle('atoggle','<?% id %?>')"> + <?% END %?> + <img id="toggle<?% id %?>" src="images/<?% aktiv ? 'on' : 'off'%?>.<?% global.imagetyp %?>" alt="" /> + <?% "</a>" IF allow('atoggle') %?> + </td> + <td class="fieldinline"> + <?% IF allow('aedit') %?> + <a title="<?% gettext("Edit autotimer") %?>" href="javascript:popup('aedit','<?% id %?>',620,670,1)" class="fieldinline<?% IF state != "";" ";state;END %?>"> + <?% END %?> + <font class="title<?% IF state != "";" ";state;END %?>"><?% title %?></font> + <?% "</a>" IF allow('aedit') %?> + </td> + <td class="fieldinline"> + <?% IF directory != "" %?> + <font class="description<?% IF state != "";" ";state;END %?>"> + <?% directory %?> + </font> + <?% END %?> + </td> + <td class="fieldinline"> + <font class="description<?% IF state != "";" ";state;END %?>"> + <?% IF channels.length > 0; + chlist = [ ]; + FOREACH chid = channels.split(','); + chid_enc = reentities(chid); + chid_name = param.channels.$chid_enc.Name; + IF ! chid_name; chid_name = gettext('Unknown channel'); END; + chlist.push( chid_name ); + END; + chop(chlist.join(' '),50); + END %?> + </font> + </td> + <td class="fieldinline"> + <?% IF start != stop %?> + <font class="description<?% IF state != "";" ";state;END %?>"> + <?% PROCESS time t = start %?>-<?% PROCESS time t = stop %?> + </font> + <?% END %?> + </td> + <td align="right" class="fieldinline<?% IF state != "";" ";state;END %?>"> + <?% PROCESS RowButtons %?> + </td> + </tr> +<?% END %?> +<?% ######################################################################## %?> +<h1><?% gettext("Wished automated recordings") %?></h1> +<?% IF data.size > 1 %?> +<?% fields = data.shift %?> + <table class="largetable" summary=""> + <tr><td class="largehead"><?% gettext("Autotimer") %?></td></tr> + <tr> + <td class="largetext" align="left"> + <table width="100%"> + <tr height="0"><th width="20"></th><th></th><th width="200"></th><th width="100"></th><th width="80"></th><th width="100" align="right"></th></tr> + <?% FOREACH zeile = data %?> + <?% IF debug;"<!-- Item: ";FOREACH x = zeile;loop.count - 1;":";x.replace("-"," ");"|";END;"-->";END %?> + <?% id=zeile.0;title=zeile.2;channels=zeile.3;directory=zeile.4;start=zeile.5;stop=zeile.6 %?> + <?% IF zeile.1 == 'y' %?><?% aktiv = 1 %?><?% ELSE %?><?% aktiv = 0 %?><?% END %?> + <?% PROCESS ItemAsFlat %?> + <?% END %?> + </table> + </td> + </tr> + <tr><td class="largebottom"></td></tr> + </table> +<?% END %?> +</div> +<!-- ###### Seite ###### --> +<div id="sidebar"> +<?% IF allow('anew') || allow('aupdate') %?> + <table summary=""> + <tr><td class="sidehead"><?% gettext("Autotimer",20) %?></td></tr> + <tr> + <td class="sidetext"> +<?% IF allow('anew') %?> + <a title="<?% gettext("Create a new autotimer") %?>" href="javascript:popupcmd('anew',620,670,1)"><img src="images/new.<?% global.imagetyp %?>" alt="" /></a> + <a title="<?% gettext("Create a new autotimer") %?>" href="javascript:popupcmd('anew',620,670,1)"><?% gettext("Create a new autotimer",20) %?></a><br /> +<?% END %?> +<?% IF allow('aupdate') %?> + <a title="<?% gettext("Start the autotimer process") %?>" href="javascript:popupcmd('aupdate',620,670,0)"><img src="images/refresh.<?% global.imagetyp %?>" alt="" /></a> + <a title="<?% gettext("Start the autotimer process") %?>" href="javascript:popupcmd('aupdate',620,670,0)"><?% gettext("Start the autotimer process",20) %?></a><br /> +<?% END %?> + </td> + </tr> + <tr> + <td class="sidebottom"></td> + </tr> + </table> +<?% END %?> +<?% IF param.sortable.defined %?> +<?% cmd = cgi.param('cmd') %?> +<?% IF cgi.param('data') %?> +<?% datax = cgi.param('data') %?> +<?% datas = "&data=${datax}" %?> +<?% END %?> + <table summary=""> + <tr><td class="sidehead"><?% gettext("Sorting",20) %?></td></tr> + <tr> + <td class="sidetext"> +<?% BLOCK SortItem %?> + <ul> + <li><a href="?cmd=<?% cmd %?><?% datas %?>&__sortby=<?% row %?>&__desc=0" ><img src="images/home.<?% global.imagetyp %?>" alt="" /></a></li> + <li class="label"> + <?% "<strong>" IF cgi.param('__sortby') == row %?> + <a href="?cmd=<?% cmd %?><?% datas %?>&__sortby=<?% row %?>&__desc=<?% IF cgi.param('__sortby') == row && cgi.param('__desc') == 0 %?>1<?% ELSE %?>0<?% END %?>" > + <?% label %?> + </a> + <?% "</strong>" IF cgi.param('__sortby') == row %?> + </li> + <li><a href="?cmd=<?% cmd %?><?% datas %?>&__sortby=<?% row %?>&__desc=1" ><img src="images/down.<?% global.imagetyp %?>" alt="" /></a></li> + </ul> +<?% END %?> + <?% PROCESS SortItem row="Id" label=gettext('Index',20) %?> + <?% PROCESS SortItem row="Search" label=gettext('Search',20) %?> + <?% PROCESS SortItem row="Channels" label=gettext('Channels',20) %?> + <?% PROCESS SortItem row="Dir" label=gettext('Group all recordings on a directory',20) %?> + </td> + </tr> + <tr> + <td class="sidebottom"></td> + </tr> + </table> +<?% END %?> + <table summary=""> + <tr><td class="sidehead"><?% gettext("Search text",20) %?></td></tr> + <tr> + <td class="sidetext"> + <form method="post" action="?cmd=asearch" name="searchform"> + <input type="text" id="timertext" name="data" alt="<?% gettext("Search text") %?>" + onkeyup="suggest('asuggest','timertext','timersuggest');" + <?% IF cgi.param('cmd')=='as' || cgi.param('cmd')=='asearch' %?>value="<?% cgi.param('data')%?>"<?% END %?> + autocomplete="off" /> + <br /><div class="suggestbox" id="timersuggest"></div> + </form> + </td> + </tr> + <tr> + <td class="sidebottom"></td> + </tr> + </table> + <p id="sidefooter"> </p> +</div> +<?% INCLUDE header.inc %?> |
