cvs: docweb /templates/all/www/shared error_msg.tpl.php
| From: | Sean Coates | Date: | Mon, 01 Aug 2005 00:33:25 +0000 |
| Subject: | cvs: docweb /templates/all/www/shared error_msg.tpl.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-758@lists.php.net to get a copy of this message | ||
sean Sun Jul 31 20:33:25 2005 EDT
Added files:
/docweb/templates/all/www/shared error_msg.tpl.php
Log:
Common error message template
http://cvs.php.net/co.php/docweb/templates/all/www/shared/error_msg.tpl.php?r=1.1&p=1
Index: docweb/templates/all/www/shared/error_msg.tpl.php
+++ docweb/templates/all/www/shared/error_msg.tpl.php
<?php
// Common Error Template
// yes, this is logic, but it's DISPLAY logic
// header
if ($header) {
echo site_header($header);
}
// body
if ($body) {
if (isset($body[0])) {
echo "<h2>{$body[0]}</h2>";
}
if (isset($body[1])) {
echo $body[1];
}
}
// footer
if (!isset($footer) || !$footer) {
echo site_footer();
}
?>