mirror of https://gitee.com/openkylin/cups.git
21 lines
655 B
Cheetah
21 lines
655 B
Cheetah
<SCRIPT TYPE="text/javascript">
|
|
function reset_config()
|
|
{
|
|
document.cups.CUPSDCONF.value = "{?cupsdconf_default}";
|
|
}
|
|
</SCRIPT>
|
|
|
|
<H2 CLASS="title">Редактирование файла конфигурации</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="Сохранить изменения">
|
|
<INPUT TYPE="BUTTON" VALUE="Отменить изменения"
|
|
onClick="reset_config();"></P>
|
|
|
|
</FORM>
|