25 lines
670 B
PHP
25 lines
670 B
PHP
|
<?php
|
||
|
/**
|
||
|
* $Desc$
|
||
|
*
|
||
|
* @version $Id$
|
||
|
* @package opalestate
|
||
|
* @author Opal Team <info@wpopal.com >
|
||
|
* @copyright Copyright (C) 2016 wpopal.com. All Rights Reserved.
|
||
|
* @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
|
||
|
*
|
||
|
* @website http://www.wpopal.com
|
||
|
* @support http://www.wpopal.com/support/forum.html
|
||
|
*/
|
||
|
|
||
|
if ( ! defined( 'ABSPATH' ) ) {
|
||
|
exit; // Exit if accessed directly
|
||
|
}
|
||
|
if ( ! $messages ) return;
|
||
|
?>
|
||
|
<?php foreach ( $messages as $message ) : ?>
|
||
|
<div class="opalestate-notice opalestate-notice-warning alert alert-warning">
|
||
|
<?php printf( '%s', $message ) ?>
|
||
|
</div>
|
||
|
<?php endforeach; ?>
|