aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/admin_notice.php
blob: 1a162ce4d184405812c9cddc5a190e2e62312e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php
/**
 * A persistent admin notice to be displayed on all admin pages until cleared.
 */

if (isset($vars['entity']) && elgg_instanceof($vars['entity'], 'object', 'admin_notice')) {
	$notice = $vars['entity'];
	$message = $notice->description;
	echo "<p>$message</p>";
}