www.pudn.com > crm_lm7ap6.rar > errorMessages.inc, change:2011-07-08,size:572b


<?php
/**
 * @copyright 2007,2008 City of Bloomington, Indiana
 * @license http://www.gnu.org/licenses/agpl.txt GNU/AGPL, see LICENSE.txt
 * @author Cliff Ingham <inghamn@bloomington.in.gov>
 * @param array $this->errorMessages
 */
?>
<div id="errorMessages">
	<h1>Sorry</h1>
	<?php
		foreach ($this->errorMessages as $e)
		{
			$error = $e->getMessage();
			if (file_exists(APPLICATION_HOME."/blocks/html/errorMessages/$error.inc"))
			{
				include APPLICATION_HOME."/blocks/html/errorMessages/$error.inc";
			}
			else
			{
				echo "<p>$error</p>";
			}
		}
	?>
</div>