summaryrefslogtreecommitdiff
path: root/protected/views/user/_view.php
diff options
context:
space:
mode:
authortzur <tzur@ccwn.org>2012-04-15 15:30:09 +0200
committertzur <tzur@ccwn.org>2012-04-15 15:30:09 +0200
commit5b2095abddf9d0596a7715879357e8d9a3b786b2 (patch)
tree0c2b6fdc1484b697b1a3740582a906fb51c1d64f /protected/views/user/_view.php
Initial version
Diffstat (limited to 'protected/views/user/_view.php')
-rw-r--r--protected/views/user/_view.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/protected/views/user/_view.php b/protected/views/user/_view.php
new file mode 100644
index 0000000..a3106d6
--- /dev/null
+++ b/protected/views/user/_view.php
@@ -0,0 +1,27 @@
+<div class="view">
+
+ <b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
+ <?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
+ <br />
+
+ <b><?php echo CHtml::encode($data->getAttributeLabel('username')); ?>:</b>
+ <?php echo CHtml::encode($data->username); ?>
+ <br />
+
+ <b><?php echo CHtml::encode($data->getAttributeLabel('created_at')); ?>:</b>
+ <?php echo CHtml::encode($data->created_at); ?>
+ <br />
+
+ <b><?php echo CHtml::encode($data->getAttributeLabel('last_login')); ?>:</b>
+ <?php echo CHtml::encode($data->last_login); ?>
+ <br />
+
+ <b><?php echo CHtml::encode($data->getAttributeLabel('is_active')); ?>:</b>
+ <?php echo CHtml::encode($data->is_active); ?>
+ <br />
+
+ <b><?php echo CHtml::encode($data->getAttributeLabel('is_super_admin')); ?>:</b>
+ <?php echo CHtml::encode($data->is_super_admin); ?>
+ <br />
+
+</div> \ No newline at end of file