cups/templates/edit-config.tmpl

21 lines
584 B
Cheetah
Raw Normal View History

2022-05-13 20:08:20 +08:00
<SCRIPT TYPE="text/javascript">
function reset_config()
{
document.cups.CUPSDCONF.value = "{?cupsdconf_default}";
}
</SCRIPT>
<H2 CLASS="title">Edit Configuration File</H2>
<FORM NAME="cups" METHOD="POST" ACTION="/admin/">
<INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}">
<INPUT TYPE="HIDDEN" NAME="OP" VALUE="config-server">
<TEXTAREA NAME="CUPSDCONF" COLS="80" ROWS="25">{CUPSDCONF}</TEXTAREA>
<P><INPUT TYPE="SUBMIT" NAME="SAVECHANGES" VALUE="Save Changes">
<INPUT TYPE="BUTTON" VALUE="Use Default Configuration File"
onClick="reset_config();"></P>
</FORM>