<?php
/* @var $this PrivilageController */
/* @var $model Privilage */

$this->breadcrumbs=array(
        'Admin'=>array('../rbac/user/admin'),
	'View Privilages'=>array('index'),
	$model->name,
);

?>
<?php if(Yii::app()->user->hasFlash('update')){?>
    <div class="flash-success">
        <?php echo yii::app()->user->getFlash('update')?>  
    </div>
<?php }?>

<?php


$this->menu=array(
    array('label'=>'View Privileges', 'url'=>array('index')),
    array('label'=>'Define New Privilege', 'url'=>array('create')),
);
?>

<h1>Privilege Detail Information</h1>

<div style="text-align: right">
    <?php echo CHtml::link(CHtml::encode('Update Information'), array('update', 'id'=>$model->sys_m_privilage_id)); ?>
</div>


<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'sys_m_module_id',
		'sys_m_controller_id',
		'action',
		'name',
		'desc',
                'ucrea',
		'dcrea',
		'icrea',
		'uupd',
		'dupd',
		'iupd',
	),
)); ?>
