Files
neutrino/data/y-web/Y_Settings_Timer.yhtm
2016-12-15 14:00:45 +01:00

66 lines
2.6 KiB
Plaintext

{=include-block:Y_Blocks.txt;management_check_top=}
{=include-block:Y_Blocks.txt;head=}
<script type="text/javascript" src="/Y_Baselib.js"></script>
<script type="text/javascript">
//<![CDATA[
function do_submit() {
show_waitbox(true);
// var t = document.f.klack_url.value.replace(/&/gi,";");
// document.f.klack_url.value = t;
document.f.submit();
}
//]]>
</script>
</head>
<body>
{=var-set:wait_text={=L:save_values=}=}{=include-block:Y_Blocks.txt;snip_wait=}
<div class="work_box">
<div class="work_box_head"><div class="work_box_head_h2">
{=var-set:help_url=Help-Settings-Timer_Settings=}{=var-set:menu={=L:set.timer.header=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
<div class="work_box_body">
<form name="f" class="y_form" accept-charset="UTF-8" action="/y/cgi?execute=include-block:Y_Blocks.txt;timer_save_settings;nix" method="POST">
<table border="0" width="100%">
<tr>
<td colspan="2" class="y_form_header">tvinfo.de</td>
</tr>
<tr>
<td>{=L:set.timer.username=}</td>
<td><input type="text" name="tvinfo_username" size="15" value="{=ini-get:%(CONFIGDIR)/Y-Web.conf;tvinfo_username=}"/></td>
</tr>
<tr>
<td>{=L:set.timer.password=}</td>
<td><input type="password" name="tvinfo_password" size="15" value="{=ini-get:%(CONFIGDIR)/Y-Web.conf;tvinfo_password=}"/></td>
</tr>
<!--
<tr>
<td colspan="2" class="y_form_header">klack.de (V2)</td>
</tr>
<tr>
<td>{=L:set.timer.klack.url=}</td>
<td><input type="text" name="klack_url" size="60" value="{=ini-get:%(CONFIGDIR)/Y-Web.conf;klack_url=}"/>
<br/>{=L:set.timer.klack.url_desc=}</td>
</tr>
<tr>
<td>{=L:set.timer.klack.security_code=}</td>
<td><input type="password" name="klack_securitycode" size="15" value="{=ini-get:%(CONFIGDIR)/Y-Web.conf;klack_securitycode=}" title="{=L:set.timer.klack.security_code_desc=}"/></td>
</tr>
// -->
<tr>
<td colspan="2" class="y_form_header">{=L:set.timer.channel_name_replacelist=}</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><textarea name="channels" cols="60" rows="10">{=if-file-exists:%(CONFIGDIR)/channels.txt~{=include:%(CONFIGDIR)/channels.txt=}~{=if-file-exists:%(PUBLIC_HTTPDDIR)/channels.txt~{=include:%(PUBLIC_HTTPDDIR)/channels.txt=}~{=include:%(PRIVATE_HTTPDDIR)/channels.txt=}=}=}</textarea></td>
</tr>
</table>
<br/>
<input type="hidden" name="tmpl" value="Y_Settings_Timer.yhtm"/>
<button type="button" ytype="save" title="submit and save values" onclick="do_submit()">{=L:save=}</button>
</form>
</div>
</div>
</body>
</html>
{=include-block:Y_Blocks.txt;management_check_bottom=}