summaryrefslogtreecommitdiff
path: root/protected/modules/cms/views/layouts/cms.php
diff options
context:
space:
mode:
Diffstat (limited to 'protected/modules/cms/views/layouts/cms.php')
-rw-r--r--protected/modules/cms/views/layouts/cms.php38
1 files changed, 38 insertions, 0 deletions
diff --git a/protected/modules/cms/views/layouts/cms.php b/protected/modules/cms/views/layouts/cms.php
new file mode 100644
index 0000000..5398422
--- /dev/null
+++ b/protected/modules/cms/views/layouts/cms.php
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta name="language" content="en" />
+
+ <title><?php echo CHtml::encode($this->pageTitle); ?></title>
+</head>
+
+<body>
+ <?php $this->widget('zii.widgets.CBreadcrumbs', array(
+ 'links'=>$this->breadcrumbs,
+ )); ?><!-- breadcrumbs -->
+
+ <?php echo $content; ?>
+
+ <div style="float:right;">
+<?php
+ $this->widget('zii.widgets.CMenu',array(
+ 'items'=>$this->menu
+ )
+);
+?>
+ </div>
+
+ <div class="clear"> </div>
+
+ <div id="footer">
+ <p> CMS Module by thyseus@gmail.com </p>
+ <?php echo Yii::powered(); ?>
+ </div><!-- footer -->
+
+</div><!-- page -->
+
+</body>
+</html>
+
+<?php Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl.'/css/form.css'); ?>