Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

cvs: pearweb /templates/notes add-note.tpl.php: msg#00168

php.pear.core

Subject: cvs: pearweb /templates/notes add-note.tpl.php

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>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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