diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-06 16:02:18 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-06 16:02:18 +0000 |
commit | c521480c08b3aa51cad3dfae1dda4f7608f85358 (patch) | |
tree | 38dc43edacf109acafd86e59139bcd4aa9676e72 /UI/am-userconfig.html | |
parent | b094dd8ef0254e1ac73bb4b2127288aad41d6d55 (diff) |
Templating the user preferences screen
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1709 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/am-userconfig.html')
-rw-r--r-- | UI/am-userconfig.html | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/UI/am-userconfig.html b/UI/am-userconfig.html new file mode 100644 index 00000000..c6ca2fbc --- /dev/null +++ b/UI/am-userconfig.html @@ -0,0 +1,110 @@ +<?lsmb INCLUDE 'ui-header.html' ?> +<?lsmb PROCESS elements.html ?> +<body> +<form method="post" action="<?lsmb form.script ?>"> + +<table width="100%"> + <tr><th class="listtop"><?lsmb form.title ?></th></tr> + <tr> + <td> + <table width="100%"> + <tr valign="top"> + <td> + <table> + <tr> + <th align="right"><?lsmb text('Name') ?></th> + <td><input name="name" size="20" value="<?lsmb user.name ?>" /></td> + </tr> + <tr> + <th align="right"><?lsmb text('E-mail') ?></th> + <td><input name="email" size="35" value="<?lsmb user.email ?>" /></td> + </tr> + <tr valign="top"> + <th align="right"><?lsmb text('Signature') ?></th> + <td><textarea name="signature" rows="3" cols="35"><?lsmb user.signature ?></textarea></td> + </tr> + <tr> + <th align="right"><?lsmb text('Phone') ?></th> + <td><input name="tel" size="14" value="<?lsmb user.tel ?>" /></td> + </tr> + <tr> + <th align="right"><?lsmb text('Fax') ?></th> + <td><input name="fax" size="14" value="<?lsmb user.fax ?>" /></td> + </tr> + <tr> + <th align="right"><?lsmb text('Company') ?></th> + <td><input name="company" size="35" value="<?lsmb user.company ?>" /></td> + </tr> + <tr valign="top"> + <th align="right"><?lsmb text('Address') ?></th> + <td><textarea name="address" rows="4" cols="35"><?lsmb user.address ?></textarea></td> + </tr> + </table> + </td> + <td> + <table> + <tr> + <th align="right"><?lsmb text('Password') ?></th> + <td><input type="password" name="new_password" size="10" value="<?lsmb user.password ?>" /></td> + </tr> + <tr> + <th align="right"><?lsmb text('Confirm') ?></th> + <td><input type="password" name="confirm_password" size="10" /></td> + </tr> + <tr> + <th align="right"><?lsmb text('Date Format') ?></th> + <td><?lsmb PROCESS select element_data=selects.dateformat ?></td> + </tr> + <tr> + <th align="right"><?lsmb text('Number Format') ?></th> + <td><?lsmb PROCESS select element_data=selects.numberformat ?></td> + </tr> + <tr> + <th align="right"><?lsmb text('Dropdown Limit') ?></th> + <td><input name="vclimit" size="10" value="<?lsmb user.vclimit ?>" /></td> + </tr> + <tr> + <th align="right"><?lsmb text('Menu Width') ?></th> + <td><input name="menuwidth" size="10" value="<?lsmb user.menuwidth ?>" /></td> + </tr> + <tr> + <th align="right"><?lsmb text('Language') ?></th> + <td><?lsmb PROCESS select element_data=selects.countrycode?></td> + </tr> + <tr> + <th align="right"><?lsmb text('Session Timeout') ?></th> + <td><input name="timeout" size="10" value="<?lsmb user.timeout ?>" /></td> + </tr> + <tr> + <th align="right"><?lsmb text('Stylesheet') ?></th> + <td><?lsmb PROCESS select element_data=selects.stylesheet?></td> + </tr> +<?lsmb IF selects.printer.defined ?> + <tr> + <th align="right"><?lsmb text('Printer') ?></th> + <td><?lsmb PROCESS select element_data=selects.printer?></td> + </tr> +<?lsmb END ?> + + </table> + </td> + </tr> + </table> + </td> + </tr> + <tr> + <td><hr size="3" noshade="noshade" /></td> + </tr> +</table> + +<?lsmb FOREACH hidden IN hiddens.keys; + PROCESS input element_data={ + type => 'hidden', + name => hidden, + value => hiddens.item(hidden) + }; END ?> +<button type="submit" class="submit" name="action" value="save_preferences"><?lsmb text('Save') ?></button> + </form> + +</body> +</html> |