Files
recycled-ni-neutrino/data/y-web/Y_NI_Infoicons-control.yhtm
vanhofen 5c391a82b8 Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
	configure.ac


Origin commit data
------------------
Commit: 624691ea0d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-15 (Thu, 15 Dec 2016)
2016-12-15 14:12:33 +01:00

268 lines
11 KiB
Plaintext

{=var-set:icons_flag0={=ini-get:%(CONFIGDIR)/neutrino.conf;mode_icons_flag0~open=}=}
{=var-set:icons_flag1={=ini-get:%(CONFIGDIR)/neutrino.conf;mode_icons_flag1~cache=}=}
{=var-set:icons_flag2={=ini-get:%(CONFIGDIR)/neutrino.conf;mode_icons_flag2~cache=}=}
{=var-set:icons_flag3={=ini-get:%(CONFIGDIR)/neutrino.conf;mode_icons_flag3~cache=}=}
{=var-set:icons_flag4={=ini-get:%(CONFIGDIR)/neutrino.conf;mode_icons_flag4~cache=}=}
{=var-set:icons_flag5={=ini-get:%(CONFIGDIR)/neutrino.conf;mode_icons_flag5~cache=}=}
{=var-set:icons_flag6={=ini-get:%(CONFIGDIR)/neutrino.conf;mode_icons_flag6~cache=}=}
{=var-set:icons_flag7={=ini-get:%(CONFIGDIR)/neutrino.conf;mode_icons_flag7~cache=}=}
{=var-set:icons_dir=%(ICONSDIR)=}
{=include-block:Y_NI_Blocks.txt;head=}
<script type="text/javascript">
//<![CDATA[
function do_submit()
{
show_waitbox(true);
document.f.submit();
}
//]]>
</script>
</head>
<body>
{=var-set:wait_text={=L:ni.infoicons-control.title=}<br/>=}{=include-block:Y_Blocks.txt;snip_wait=}
<div class="work_box">
<div class="work_box_head"><div class="work_box_head_h2">
{=var-set:menu={=L:ni.infoicons-control.title=}=}{=include-block:Y_NI_Blocks.txt;NI_work_menu=}
</div></div>
<div class="work_box_body">
<table class="y_invisible_table" cellpadding="5" width="100%">
<tr>
<td class="y_form_header" width="48%">
{=L:ni.infoicons-control=}
</td>
</tr>
<tr>
<td>
<input type="button" value="{=L:ni.infoicons-control.static=}" onClick="$('out').update(''); goUrl('/control/infoicons?static')" />
<input type="button" value="{=L:ni.infoicons-control.popup=}" onClick="$('out').update(''); goUrl('/control/infoicons?popup')" />
<input type="button" value="{=L:ni.infoicons-control.infoviewer=}" onClick="$('out').update(''); goUrl('/control/infoicons?infoviewer')" />
<input type="button" value="{=L:off=}" onClick="$('out').update(''); goUrl('/control/infoicons?off')" />
<input type="button" value="{=L:status=}" onClick="$('out').update(''); goUrl('/control/infoicons?status')" />
</td>
</tr>
</table>
</div>
</div>
<div class="work_box">
<div class="work_box_head"><div class="work_box_head_h2">
{=var-set:menu={=L:ni.infoicons-control.flagfile-control=}=}{=include-block:Y_NI_Blocks.txt;NI_work_menu=}
</div></div>
<div class="work_box_body">
<form name="f" action="/y/cgi">
<table class="y_invisible_table" cellpadding="5">
<tr>
<td class="y_form_header" width="40px">
&nbsp;
</td>
<td class="y_form_header" width="30%">
{=L:ni.infoicons-control.flagfiles=}
</td>
<td class="y_form_header">
<input type="button" value="{=L:ni.remove=}" onclick='Y_NI_Tools("rm_icons_flag {=var-get:icons_flag0=} {=var-get:icons_flag1=} {=var-get:icons_flag2=} {=var-get:icons_flag3=} {=var-get:icons_flag4=} {=var-get:icons_flag5=} {=var-get:icons_flag6=} {=var-get:icons_flag7=}", 1500);' />
<input type="button" value="{=L:ni.create=}" onclick='Y_NI_Tools("touch_icons_flag {=var-get:icons_flag0=} {=var-get:icons_flag1=} {=var-get:icons_flag2=} {=var-get:icons_flag3=} {=var-get:icons_flag4=} {=var-get:icons_flag5=} {=var-get:icons_flag6=} {=var-get:icons_flag7=}", 1500);' />
</td>
</tr>
{=var-set:nr=0=}
<tr class="list">
<td>
{=if-file-exists:{=var-get:icons_flag{=var-get:nr=}=}~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_on.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_on.png" title="{=script:Y_NI_Tools read_icons_flag {=var-get:icons_flag{=var-get:nr=}=}=} new mail(s)"/>
~
=}
~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_off.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_off.png" title="no new mail"/>
~
=}
=}
</td>
<td>
<input type="text" name="mode_icons_flag{=var-get:nr=}" size="30" value="{=var-get:icons_flag{=var-get:nr=}=}" title=""/>
</td>
<td>
<input type="button" value="{=L:ni.remove=}" onclick='Y_NI_Tools("rm_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
<input type="button" value="{=L:ni.create=}" onclick='Y_NI_Tools("touch_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
</td>
</tr>
{=var-set:nr=1=}
<tr class="list">
<td>
{=if-file-exists:{=var-get:icons_flag{=var-get:nr=}=}~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_on.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_on.png" title=""/>
~
=}
~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_off.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_off.png" title=""/>
~
=}
=}
</td>
<td>
<input type="text" name="mode_icons_flag{=var-get:nr=}" size="30" value="{=var-get:icons_flag{=var-get:nr=}=}" title=""/>
</td>
<td>
<input type="button" value="{=L:ni.remove=}" onclick='Y_NI_Tools("rm_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
<input type="button" value="{=L:ni.create=}" onclick='Y_NI_Tools("touch_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
</td>
</tr>
{=var-set:nr=2=}
<tr class="list">
<td>
{=if-file-exists:{=var-get:icons_flag{=var-get:nr=}=}~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_on.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_on.png" title=""/>
~
=}
~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_off.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_off.png" title=""/>
~
=}
=}
</td>
<td>
<input type="text" name="mode_icons_flag{=var-get:nr=}" size="30" value="{=var-get:icons_flag{=var-get:nr=}=}" title=""/>
</td>
<td>
<input type="button" value="{=L:ni.remove=}" onclick='Y_NI_Tools("rm_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
<input type="button" value="{=L:ni.create=}" onclick='Y_NI_Tools("touch_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
</td>
</tr>
{=var-set:nr=3=}
<tr class="list">
<td>
{=if-file-exists:{=var-get:icons_flag{=var-get:nr=}=}~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_on.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_on.png" title=""/>
~
=}
~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_off.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_off.png" title=""/>
~
=}
=}
</td>
<td>
<input type="text" name="mode_icons_flag{=var-get:nr=}" size="30" value="{=var-get:icons_flag{=var-get:nr=}=}" title=""/>
</td>
<td>
<input type="button" value="{=L:ni.remove=}" onclick='Y_NI_Tools("rm_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
<input type="button" value="{=L:ni.create=}" onclick='Y_NI_Tools("touch_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
</td>
</tr>
{=var-set:nr=4=}
<tr class="list">
<td>
{=if-file-exists:{=var-get:icons_flag{=var-get:nr=}=}~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_on.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_on.png" title=""/>
~
=}
~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_off.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_off.png" title=""/>
~
=}
=}
</td>
<td>
<input type="text" name="mode_icons_flag{=var-get:nr=}" size="30" value="{=var-get:icons_flag{=var-get:nr=}=}" title=""/>
</td>
<td>
<input type="button" value="{=L:ni.remove=}" onclick='Y_NI_Tools("rm_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
<input type="button" value="{=L:ni.create=}" onclick='Y_NI_Tools("touch_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
</td>
</tr>
{=var-set:nr=5=}
<tr class="list">
<td>
{=if-file-exists:{=var-get:icons_flag{=var-get:nr=}=}~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_on.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_on.png" title=""/>
~
=}
~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_off.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_off.png" title=""/>
~
=}
=}
</td>
<td>
<input type="text" name="mode_icons_flag{=var-get:nr=}" size="30" value="{=var-get:icons_flag{=var-get:nr=}=}" title=""/>
</td>
<td>
<input type="button" value="{=L:ni.remove=}" onclick='Y_NI_Tools("rm_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
<input type="button" value="{=L:ni.create=}" onclick='Y_NI_Tools("touch_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
</td>
</tr>
{=var-set:nr=6=}
<tr class="list">
<td>
{=if-file-exists:{=var-get:icons_flag{=var-get:nr=}=}~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_on.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_on.png" title=""/>
~
=}
~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_off.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_off.png" title=""/>
~
=}
=}
</td>
<td>
<input type="text" name="mode_icons_flag{=var-get:nr=}" size="30" value="{=var-get:icons_flag{=var-get:nr=}=}" title=""/>
</td>
<td>
<input type="button" value="{=L:ni.remove=}" onclick='Y_NI_Tools("rm_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
<input type="button" value="{=L:ni.create=}" onclick='Y_NI_Tools("touch_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
</td>
</tr>
{=var-set:nr=7=}
<tr class="list">
<td>
{=if-file-exists:{=var-get:icons_flag{=var-get:nr=}=}~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_on.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_on.png" title=""/>
~
=}
~
{=if-file-exists:{=var-get:icons_dir=}/info{=var-get:nr=}_off.png~
<img src="{=var-get:icons_dir=}/info{=var-get:nr=}_off.png" title=""/>
~
=}
=}
</td>
<td>
<input type="text" name="mode_icons_flag{=var-get:nr=}" size="30" value="{=var-get:icons_flag{=var-get:nr=}=}" title=""/>
</td>
<td>
<input type="button" value="{=L:ni.remove=}" onclick='Y_NI_Tools("rm_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
<input type="button" value="{=L:ni.create=}" onclick='Y_NI_Tools("touch_icons_flag {=var-get:icons_flag{=var-get:nr=}=}", 500);' />
</td>
</tr>
</table>
<br/>
<input type="hidden" name="tmpl" value="Y_NI_Infoicons-control.yhtm"/>
<input type="hidden" name="execute" value="func:infoicons_set_values"/>
<button type="button" ytype="save" title="{=L:save_values_desc=}" onClick="do_submit()">{=L:ni.save=}</button>
<button type="button" ytype="cancel" title="{=L:cancel=}" name="abort" onClick='window.document.location.href="/Y_NI_Infoicons-control.yhtm"'>{=L:ni.cancel=}</button>
</form>
</div>
</div>
<div class="work_box">
<div class="work_box_head"><div class="work_box_head_h2">
{=var-set:menu={=L:answer=}=}{=include-block:Y_NI_Blocks.txt;NI_work_menu=}</div></div>
<div class="work_box_body">
<div id="out"></div>
</div>
</div>
</body>
</html>