HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
edit.php
Go to the documentation of this file.
1 <?php
2 $this->breadcrumbs = array(
3  UserModule::t('Rights') => array('//rights'),
4  'Sites',
5 );
6 $form = $this->beginWidget('CActiveForm',
7  array(
8  'id' => 'SearchFilter',
9  //'htmlOptions' => array('class' => 'filter_form'),
10  'action' => Yii::app()->createUrl('//rights/UsersSitesRights/update'),
11  'method' => 'post',
12  )
13 );
14 ?>
15 <div>
16 
17  <h2>Edit Site</h2>
18 
19  <div>
20  User ID: <?php echo $form->labelEx($model, $userId);?>
21  </div>
22  <div>
23  Site ID: <?php echo $form->labelEx($model, $siteId);?>
24  </div>
25  <div>
26  Operations:
27  <?php
28  echo CHtml::checkBoxList(
29  'Rights['.$siteId.'][]',
30  $site->Rights,
31  $model->statesData,
32  array('separator' => '&nbsp;')
33  );
34  echo CHtml::hiddenField('sites', $sites);
35  ?>
36  </div>
37  <div>
38  <?php echo CHtml::submitButton('Save'); ?>
39  </div>
40 </div>
41 <?php $this->endWidget(); ?>