Last change
on this file since 303 was
288,
checked in by quinn, 17 years ago
|
Organized codebase examples under docs/examples. Added contact form example.
|
File size:
1019 bytes
|
Line | |
---|
1 | <form method="post" action="<?php echo oTxt($_SERVER['PHP_SELF']); ?>" class="sc-form"> |
---|
2 | <?php $app->printHiddenSession(); ?> |
---|
3 | |
---|
4 | <div class="sc-form-row<?php $fv->err('name'); ?>"> |
---|
5 | <label for="name"><?php echo _("Name"); ?></label> |
---|
6 | <input type="text" name="name" id="name" class="sc-medium" value="<?php echo oTxt($frm['name']); ?>" /> |
---|
7 | </div> |
---|
8 | <div class="sc-form-row<?php $fv->err('email'); ?>"> |
---|
9 | <label for="email"><?php echo _("Email"); ?></label> |
---|
10 | <input type="text" name="email" id="email" class="sc-medium" value="<?php echo oTxt($frm['email']); ?>" /> |
---|
11 | </div> |
---|
12 | <div class="sc-form-row<?php $fv->err('message'); ?>"> |
---|
13 | <label for="message"><?php echo _("Message"); ?></label> |
---|
14 | <textarea name="message" id="message" rows="8" cols="40" class="sc-short sc-medium"><?php echo oTxt($frm['message']); ?></textarea> |
---|
15 | </div> |
---|
16 | <div class="sc-form-row sc-submit-buttons"> |
---|
17 | <input type="submit" value="<?php echo _("Send"); ?>" /> |
---|
18 | </div> |
---|
19 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.