Skip to content

Commit

Permalink
- again more UI ergonomy
Browse files Browse the repository at this point in the history
  • Loading branch information
chilek committed Dec 16, 2006
1 parent 90d6238 commit 783f4e1
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions templates/configadd.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,29 @@ <H1>{$layout.pagetitle}</H1>
<B>{t}Status:{/t}</B>
</TD>
<TD width="98%" class="fright">
<INPUT type="checkbox" class="box light" value="1" name="config[disabled]" {if $config.disabled}CHECKED{/if} {tip text="You can turn it off"}> {t}Off{/t}
<INPUT type="checkbox" class="box light" value="1" name="config[disabled]" {if $config.disabled}CHECKED{/if} {tip text="You can turn it off"}> <A HREF="javascript:setCheckbox('config[disabled]')">{t}Off{/t}</a>
</TD>
</TR>
<TR class="light">
<TD class="fbottomu" align="right" colspan="3">
<A href="javascript:document.config.submit();" accesskey="s">{t}Submit{/t} <img src="img/save.gif" alt=""></A>
<A href="?m=configlist">{t}Cancel{/t} <img src="img/cancel.gif" alt=""></A><BR>
<INPUT type="checkbox" name="config[reuse]" value="ON" class="box light" {if $config.reuse}checked{/if}> {t}Display this form again, when this option is saved{/t}
<INPUT type="checkbox" name="config[reuse]" value="ON" class="box light" {if $config.reuse}checked{/if}> <A HREF="javascript:setCheckbox('config[reuse]')">{t}Display this form again, when this option is saved{/t}</a>
</TD>
</TR>
</TABLE>
</P>
<SCRIPT>
<!--
document.forms['config'].elements['config[name]'].focus();

{literal}
function setCheckbox(id)
{
document.forms['config'].elements[id].checked =
!document.forms['config'].elements[id].checked;
}
{/literal}
//-->
</SCRIPT>
{include file="footer.html"}

0 comments on commit 783f4e1

Please sign in to comment.