Permalink
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (12 sloc) 444 Bytes
<?php
if (!empty($_SESSION['message'])) {
if (is_array($_SESSION['message'])) {
include_once 'gtdfuncs.inc.php';
echo "<div class='success'>\n";
foreach ($_SESSION['message'] as $msg)
echo stripslashes(escapeChars($msg)),"<br />\n";
echo "</div>";
}
$_SESSION['message']=array();
}
// php closing tag has been omitted deliberately, to avoid unwanted blank lines being sent to the browser