$this->widget('ext.cssmenu.CssMenu',array(
'items'=>array(
array('label'=>'Ínicio', 'url'=>array('/site/index')),
array('label'=>'Conteúdo', 'url'=>array('/object_Work_Records/index'), 'items'=>array(
array('label'=>'Peças','url'=>array('/object_Work_Records/index'), 'items'=>array(
array('label'=>'Índice','url'=>array('/object_Work_Records/index'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Criar','url'=>array('/object_Work_Records/create'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Criar Ficha Completa','url'=>array('/object_Work_Records/createAll'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Administração','url'=>array('/object_Work_Records/admin'), 'visible'=>!Yii::app()->user->isGuest),
),
),
array('label'=>'Tipos de Peça','url'=>array('/object_Work_Types/index'), 'items'=>array(
array('label'=>'Índice','url'=>array('/object_Work_Types/index'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Criar','url'=>array('/object_Work_Types/create'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Administração','url'=>array('/object_Work_Types/admin'), 'visible'=>!Yii::app()->user->isGuest),
),
),
array('label'=>'Tipos de Registo','url'=>array('/RecordTypes/index'), 'items'=>array(
array('label'=>'Índice','url'=>array('/RecordTypes/index'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Criar','url'=>array('/RecordTypes/create'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Administração','url'=>array('/RecordTypes/admin'), 'visible'=>!Yii::app()->user->isGuest),
),
),
array('label'=>'Criadores','url'=>array('/indexingCreators/index'), 'items'=>array(
array('label'=>'Índice','url'=>array('/indexingCreators/index'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Criar','url'=>array('/indexingCreators/create'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Criar Ficha Completa','url'=>array('/indexingCreators/createAll'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Administração','url'=>array('/indexingCreators/admin'), 'visible'=>!Yii::app()->user->isGuest),
),
),
array('label'=>'Títulos','url'=>array('/object_Work_Titles/index'), 'items'=>array(
array('label'=>'Índice','url'=>array('/object_Work_Titles/index'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Criar','url'=>array('/object_Work_Titles/create'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Criar Ficha Completa','url'=>array('/object_Work_Titles/createAll'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Administração','url'=>array('/object_Work_Titles/admin'), 'visible'=>!Yii::app()->user->isGuest),
),
),
array('label'=>'Legendas','url'=>array('/Inscriptions/index'), 'items'=>array(
array('label'=>'Índice','url'=>array('/Inscriptions/index'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Criar','url'=>array('/Inscriptions/create'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Criar Ficha Completa','url'=>array('/Inscriptions/createAll'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Administração','url'=>array('/Inscriptions/admin'), 'visible'=>!Yii::app()->user->isGuest),
),
),
)),
array('label'=>'Exposições','url'=>array('/Exhibitions/index'), 'items'=>array(
array('label'=>'Visualizar Exposições','url'=>array('/Exhibitions/index'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Criar Exposição','url'=>array('/Exhibitions/create'), 'visible'=>!Yii::app()->user->isGuest),
array('label'=>'Criar Sala','url'=>array('/site/novaSala'), 'visible'=>!Yii::app()->user->isGuest)
)),
array('label'=>'|'),
array('label'=>'Acerca', 'url'=>array('/site/page', 'view'=>'about')),
array('label'=>'Contactos', 'url'=>array('/site/contact')),
array('label'=>'|'),
array('label'=>'Procurar', 'url'=>array('/site/search')),
//array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
//array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest),
array('url'=>Yii::app()->getModule('user')->loginUrl, 'label'=>Yii::app()->getModule('user')->t("Login"), 'visible'=>Yii::app()->user->isGuest),
array('url'=>Yii::app()->getModule('user')->registrationUrl, 'label'=>Yii::app()->getModule('user')->t("Registar"), 'visible'=>Yii::app()->user->isGuest),
array('url'=>Yii::app()->getModule('user')->profileUrl, 'label'=>Yii::app()->getModule('user')->t("Perfil"), 'visible'=>!Yii::app()->user->isGuest),
array('url'=>Yii::app()->getModule('user')->logoutUrl, 'label'=>Yii::app()->getModule('user')->t("Logout").' ('.Yii::app()->user->name.')', 'visible'=>!Yii::app()->user->isGuest),
),
));
//echo CVarDumper::dump(Yii::app()->getModule('user'), 3, true);
?>
Descrição:
Outubro/Novembro (222)
Detalhes:
Id Descriptive Notes | 222 |
Descrição | Outubro/Novembro |
Object Work Record | 275 |
Peças relacionadas:
Displaying 1-1 of 1 result(s).
275