1 <?php $this->breadcrumbs = array(
7 <div
id=
"updatedAuthItem">
9 <h2><?php echo
Rights::t(
'core',
'Update :name', array(
10 ':name'=>$model->name,
14 <?php $this->renderPartial(
'_form', array(
'model'=>$formModel)); ?>
16 <div
class=
"relations span-11 last">
18 <h3><?php echo
Rights::t(
'core',
'Relations'); ?></h3>
24 <h4><?php echo
Rights::t(
'core',
'Parents'); ?></h4>
26 <?php $this->widget(
'zii.widgets.grid.CGridView', array(
27 'dataProvider'=>$parentDataProvider,
28 'template'=>
'{items}',
30 'emptyText'=>
Rights::t(
'core',
'This item has no parents.'),
31 'htmlOptions'=>array(
'class'=>
'grid-view parent-table mini'),
37 'htmlOptions'=>array(
'class'=>
'name-column'),
38 'value'=>
'$data->getNameLink()',
44 'htmlOptions'=>array(
'class'=>
'type-column'),
45 'value'=>
'$data->getTypeText()',
50 'htmlOptions'=>array(
'class'=>
'actions-column'),
58 <div
class=
"children">
60 <h4><?php echo
Rights::t(
'core',
'Children'); ?></h4>
62 <?php $this->widget(
'zii.widgets.grid.CGridView', array(
63 'dataProvider'=>$childDataProvider,
64 'template'=>
'{items}',
66 'emptyText'=>
Rights::t(
'core',
'This item has no children.'),
67 'htmlOptions'=>array(
'class'=>
'grid-view parent-table mini'),
73 'htmlOptions'=>array(
'class'=>
'name-column'),
74 'value'=>
'$data->getNameLink()',
80 'htmlOptions'=>array(
'class'=>
'type-column'),
81 'value'=>
'$data->getTypeText()',
86 'htmlOptions'=>array(
'class'=>
'actions-column'),
87 'value'=>
'$data->getRemoveChildLink()',
94 <div
class=
"addChild">
96 <h5><?php echo
Rights::t(
'core',
'Add Child'); ?></h5>
98 <?php
if( $childFormModel!==null ): ?>
100 <?php $this->renderPartial(
'_childForm', array(
101 'model'=>$childFormModel,
102 'itemnameSelectOptions'=>$childSelectOptions,
107 <p
class=
"info"><?php echo
Rights::t(
'core',
'No children available to be added to this item.'); ?>
116 <?php echo
Rights::t(
'core',
'No relations need to be set for the superuser role.'); ?><br />
117 <?php echo
Rights::t(
'core',
'Super users are always granted access implicitly.'); ?>