summaryrefslogtreecommitdiff
path: root/protected/modules/cms/views/sitecontent/_view.php
diff options
context:
space:
mode:
authorastaf <astaf@proxy.ccwn.org.ccwn.org>2012-06-26 17:11:26 +0200
committerastaf <astaf@proxy.ccwn.org.ccwn.org>2012-06-26 17:11:26 +0200
commitf0e90d88a5766e67ff69339b27711ffb5f41e1ca (patch)
tree387f30bc7cd39114f6db71a7deb7d5f16442c03c /protected/modules/cms/views/sitecontent/_view.php
parent1a52e642b8bb388fd4c4b29798fa3809a2114c9f (diff)
parentd58f7cf02dc0c5ce2df2f0db00361fe673074be8 (diff)
Merge branch 'master' of ssh://proxy:9044/home/ccwn/git-repos/admin.astaf.de
Diffstat (limited to 'protected/modules/cms/views/sitecontent/_view.php')
-rw-r--r--protected/modules/cms/views/sitecontent/_view.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/protected/modules/cms/views/sitecontent/_view.php b/protected/modules/cms/views/sitecontent/_view.php
new file mode 100644
index 0000000..0352c04
--- /dev/null
+++ b/protected/modules/cms/views/sitecontent/_view.php
@@ -0,0 +1,34 @@
+<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('position')); ?>:</b>
+ <?php echo CHtml::encode($data->position); ?>
+ <br />
+
+ <b><?php echo CHtml::encode($data->getAttributeLabel('title')); ?>:</b>
+ <?php echo CHtml::encode($data->title); ?>
+ <br />
+
+ <b><?php echo CHtml::encode($data->getAttributeLabel('content')); ?>:</b>
+ <?php echo CHtml::encode($data->content); ?>
+ <br />
+
+ <b><?php echo CHtml::encode($data->getAttributeLabel('authorid')); ?>:</b>
+ <?php echo CHtml::encode($data->authorid); ?>
+ <br />
+
+ <b><?php echo CHtml::encode($data->getAttributeLabel('createtime')); ?>:</b>
+ <?php echo CHtml::encode($data->createtime); ?>
+ <br />
+
+ <?php /*
+ <b><?php echo CHtml::encode($data->getAttributeLabel('updatetime')); ?>:</b>
+ <?php echo CHtml::encode($data->updatetime); ?>
+ <br />
+
+ */ ?>
+
+</div>