|
|
Choosing A Webhost: |
cvs: pearweb /templates/notes add-note.tpl.php: msg#00168php.pear.core
davidc Wed Mar 21 23:27:09 2007 UTC Added files: /pearweb/templates/notes add-note.tpl.php Log: - Latest version of add-note template. This will also be fixed later on. I will split the forms into one file so we dont duplicate code more. http://cvs.php.net/viewvc.cgi/pearweb/templates/notes/add-note.tpl.php?view=markup&rev=1.1 Index: pearweb/templates/notes/add-note.tpl.php +++ pearweb/templates/notes/add-note.tpl.php <?php response_header('UserNote'); ?> <h1>Note addition</h1> <?php // {{{ isset($error) if (!empty($errors)) { ?> <div class="errors"> <?php foreach ($errors as $error) { echo $error . '<br />'; } ?> </div> <form action="/notes/add-note.php" method="post"> <input type="hidden" name="noteUrl" value="<?=$noteUrl?>" /> <tbody> <tr> <td colspan="2"></td> </tr> <tr> <!-- We will care after about finding the user, this is quick fix. --> <th class="subr">Your email address (or name):</th> <td> <input name="user" size="60" maxlength="40" value="user@xxxxxxxxxxx" type="text" /> </td> </tr> <tr> <th class="subr">Your notes:</th> <td><textarea name="note" rows="20" cols="60" wrap="virtual"></textarea> <br /> </td> </tr> <tr> <th class="subr"><?=$spamQuestion?><br/></th> <td><input name="answer" size="60" maxlength="10" type="text"></td> </tr> <tr> <th colspan="2"> <!-- I'll add the preview soon --> <input name="action" value="Add Note" type="submit"> </th> </tr> </tbody> </form> <?php } else { ?> <div> Note added, it will be reviewed soon and you will be contacted if there's any problem. Go back to the previous url <a href="http://pear.php.net/<?=$noteUrl?>" title="Previous Note">http://<?=htmlentities($_SERVER['SERVER_NAME'], ENT_QUOTES, 'UTF-8');?><?=$noteUrl?></a> </div> <?php } response_footer(); ?> -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cvs: pearweb /public_html/notes add-note.php, David Coallier |
|---|---|
| Next by Date: | cvs: pearweb /public_html/bugs/include NumeralCaptcha.php, David Coallier |
| Previous by Thread: | cvs: pearweb /include pear-manual.php, David Coallier |
| Next by Thread: | cvs: pearweb /templates/notes add-note.tpl.php, Greg Beaver |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |