Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
admin.php
1 <?php
2 $this->breadcrumbs = array(
3  UserModule::t('Profile Fields') => array('admin'),
4  UserModule::t('Manage'),
5 );
6 ?>
7 <h1><?php echo UserModule::t('Manage Profile Fields'); ?></h1>
8 
9 <?php echo $this->renderPartial('_menu', array(
10  'list' => array(
11  CHtml::link(UserModule::t('Create Profile Field'), array('create')),
12  ),
13 ));
14 ?>
15 
16 <?php $this->widget('zii.widgets.grid.CGridView', array(
17  'dataProvider' => $model->search(),
18  'filter' => $model,
19  'columns' => array(
20  'id',
21  'varname',
22  array(
23  'name' => 'title',
24  'value' => 'UserModule::t($data->title)',
25  ),
26  'field_type',
27  'field_size',
28  //'field_size_min',
29  array(
30  'name' => 'required',
31  'value' => 'ProfileField::itemAlias("required",$data->required)',
32  ),
33  //'match',
34  //'range',
35  //'error_message',
36  //'other_validator',
37  //'default',
38  'position',
39  array(
40  'name' => 'visible',
41  'value' => 'ProfileField::itemAlias("visible",$data->visible)',
42  'filter' => ProfileField::itemAlias("visible")
43  ),
44  //*/
45  array(
46  'class' => 'CButtonColumn',
47  ),
48  ),
49 )); ?>