~horux-dev/horux-webcli/thfo

« back to all changes in this revision

Viewing changes to yii/framework/cli/views/webapp/protected/views/layouts/main.php

  • Committer: Thierry Forchelet
  • Date: 2011-02-25 13:30:15 UTC
  • Revision ID: thierry.forchelet@letux.ch-20110225133015-zxyj9w7sqv8ly971
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
3
<head>
 
4
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
5
        <meta name="language" content="en" />
 
6
 
 
7
        <!-- blueprint CSS framework -->
 
8
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
 
9
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
 
10
        <!--[if lt IE 8]>
 
11
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
 
12
        <![endif]-->
 
13
 
 
14
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
 
15
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
 
16
 
 
17
        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
 
18
</head>
 
19
 
 
20
<body>
 
21
 
 
22
<div class="container" id="page">
 
23
 
 
24
        <div id="header">
 
25
                <div id="logo"><?php echo CHtml::encode(Yii::app()->name); ?></div>
 
26
        </div><!-- header -->
 
27
 
 
28
        <div id="mainmenu">
 
29
                <?php $this->widget('zii.widgets.CMenu',array(
 
30
                        'items'=>array(
 
31
                                array('label'=>'Home', 'url'=>array('/site/index')),
 
32
                                array('label'=>'About', 'url'=>array('/site/page', 'view'=>'about')),
 
33
                                array('label'=>'Contact', 'url'=>array('/site/contact')),
 
34
                                array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
 
35
                                array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
 
36
                        ),
 
37
                )); ?>
 
38
        </div><!-- mainmenu -->
 
39
 
 
40
        <?php $this->widget('zii.widgets.CBreadcrumbs', array(
 
41
                'links'=>$this->breadcrumbs,
 
42
        )); ?><!-- breadcrumbs -->
 
43
 
 
44
        <?php echo $content; ?>
 
45
 
 
46
        <div id="footer">
 
47
                Copyright &copy; <?php echo date('Y'); ?> by My Company.<br/>
 
48
                All Rights Reserved.<br/>
 
49
                <?php echo Yii::powered(); ?>
 
50
        </div><!-- footer -->
 
51
 
 
52
</div><!-- page -->
 
53
 
 
54
</body>
 
55
</html>
 
 
b'\\ No newline at end of file'