summaryrefslogtreecommitdiff
path: root/templates/edit-config.tmpl
blob: 8947382b19b89f5ea1d9d16e826615221c74f679 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<SCRIPT TYPE="text/javascript">
function reset_config()
{
  document.cups.CUPSDCONF.value = "{?cupsdconf_default}";
}
</SCRIPT>

<DIV CLASS="indent">

<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>

</DIV>