summaryrefslogtreecommitdiff
path: root/UI/rp-search.html
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-03 03:01:24 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-03 03:01:24 +0000
commit3692c4b5cff68cc803f9aaee434a75007b3e19c7 (patch)
treed4faffa14066692fba17fd6c256cab3142266805 /UI/rp-search.html
parentb061afa04f88b3bceca4a1058a5fee2812bdd593 (diff)
Template search forms for rp.pl
Templating of bin/rp.pl done git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1843 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/rp-search.html')
-rw-r--r--UI/rp-search.html53
1 files changed, 53 insertions, 0 deletions
diff --git a/UI/rp-search.html b/UI/rp-search.html
new file mode 100644
index 00000000..097319dd
--- /dev/null
+++ b/UI/rp-search.html
@@ -0,0 +1,53 @@
+<?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> </td></tr>
+ <tr>
+ <td>
+ <table>
+<?lsmb IF form.selectdepartment.defined ?>
+ <tr>
+ <th align="right"><?lsmb text('Department') ?></th>
+ <td colspan="3"><?lsmb PROCESS select element_data=form.selectdepartment ?></td>
+ </tr>
+<?lsmb END ?>
+<?lsmb INCLUDE "rp-search-${subform}.html" ?>
+<?lsmb IF gifi ?>
+ <tr>
+ <th align="right"><?lsmb text('Accounts') ?></th>
+ <td>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'accounttype',
+ value => 'standard',
+ label => text('Standard'),
+ checked => 'checked',
+ } -?>
+ <?lsmb PROCESS input element_data={
+ type => 'radio',
+ name => 'accounttype',
+ value => 'gifi',
+ label => text('GIFI'),
+ } -?>
+ </td>
+ </tr>
+<?lsmb END ?>
+ </table>
+ </td>
+ </tr>
+ <tr><td><hr size="3" noshade="noshade" /></td></tr>
+</table>
+<br />
+<?lsmb FOREACH hidden IN hiddens.keys;
+ PROCESS input element_data={
+ type => 'hidden',
+ name => hidden,
+ value => hiddens.item(hidden)
+ }; END ?>
+<?lsmb FOREACH button IN buttons; PROCESS button element_data=button; END ?>
+</form>
+</body>
+</html>