diff options
| author | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-27 18:07:49 -0500 |
|---|---|---|
| committer | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-27 18:07:49 -0500 |
| commit | ea7b7f2d0b2feee86cc208174a5ce7c51d337cbd (patch) | |
| tree | 213c4b34c5d4880cd5c52050f029474d7368c106 /admin/rudi/views/view.awards.edit.php | |
| parent | 70465f472f51efc0d5111b2a747a8833ca9b1af7 (diff) | |
| download | bayonetcms-ea7b7f2d0b2feee86cc208174a5ce7c51d337cbd.tar.gz | |
Adding files previously not added to the SVN
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2.1@479 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'admin/rudi/views/view.awards.edit.php')
| -rw-r--r-- | admin/rudi/views/view.awards.edit.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/admin/rudi/views/view.awards.edit.php b/admin/rudi/views/view.awards.edit.php new file mode 100644 index 0000000..09f041c --- /dev/null +++ b/admin/rudi/views/view.awards.edit.php @@ -0,0 +1,24 @@ +<?php
+ $award = getAward($award_id);
+ $form = new BayonetForm("", "POST");
+ if($form->verifySubmit('processed'))
+ {
+ echo "Key states<br/>\n";
+ $keydump = print_r($form->getKeyStates($form->request), true);
+ echo "<pre>{$keydump}</pre>\n";
+
+ echo "<p>Transaction processed</p>\n";
+
+ }
+ OpenTable();
+?>
+
+<tr><th>Name:</th><td><?php $form->textField('name', $award['name'], false, "50"); ?></td><tr>
+<tr><th>Image:</th><td><?php ?></td></tr>
+<tr><th>Text:</th><td><?php $form->textArea('text',10,30,$award['description']); ?></td></tr>
+
+<?php
+ CloseTable();
+ $form->__destruct();
+?>
+
|
