This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* *********************** Controller ************************** */ | |
<?PHP | |
class StuClassController extends RController | |
{ | |
public $layout='//layouts/main'; | |
public function filters() | |
{ | |
return array( | |
'rights', |