Skip to content

Instantly share code, notes, and snippets.

@nadeem14375
Created September 30, 2016 05:22
Show Gist options
  • Save nadeem14375/06e2d7a5177888bc11a977c1bb9a8d51 to your computer and use it in GitHub Desktop.
Save nadeem14375/06e2d7a5177888bc11a977c1bb9a8d51 to your computer and use it in GitHub Desktop.
<?php if (Yii::app()->user->hasFlash('confirm')): ?>
<div class="not_div alert alert-success alert-dismissable">
<button class="close" aria-hidden="true" data-dismiss="alert" type="button">×</button>
<?PHP
$message = Yii::app()->user->getFlash('confirm');
?>
<p>
<i class="fa fa-check"></i>
<b>Confirm !</b>
<?PHP echo $message; ?>
</p>
</div>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment