增加导航条
This commit is contained in:
parent
52983d4d4b
commit
af7cf44634
|
@ -12,6 +12,10 @@ class AboutController extends Zend_Controller_Action
|
||||||
$this->view->messages = $this->messenger->getMessages();
|
$this->view->messages = $this->messenger->getMessages();
|
||||||
$this->db=Zend_Registry::get('db');
|
$this->db=Zend_Registry::get('db');
|
||||||
$this->view->pageID = "about-".$this->_request->getActionName();
|
$this->view->pageID = "about-".$this->_request->getActionName();
|
||||||
|
$this->view->nav = array(
|
||||||
|
array('link'=>'/','title'=>'<i class="icon-home"></i>'),
|
||||||
|
array('link'=>'/about','title'=>'关于'),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
function contactAction()
|
function contactAction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,6 +9,10 @@ class ArchivesController extends Zend_Controller_Action
|
||||||
$this->view->config = Zend_Registry::get('config');
|
$this->view->config = Zend_Registry::get('config');
|
||||||
$this->db=Zend_Registry::get('db');
|
$this->db=Zend_Registry::get('db');
|
||||||
$this->view->theme = new Theme();
|
$this->view->theme = new Theme();
|
||||||
|
$this->view->nav = array(
|
||||||
|
array('link'=>'/','title'=>'<i class="icon-home"></i>'),
|
||||||
|
array('link'=>'/archives','title'=>'新闻'),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function testAction()
|
function testAction()
|
||||||
|
|
|
@ -7,7 +7,6 @@ $this->headTitle()->setSeparator(' - ');
|
||||||
$this->nav[] = array('link'=>"/data/category",'title'=>'分类浏览');
|
$this->nav[] = array('link'=>"/data/category",'title'=>'分类浏览');
|
||||||
?>
|
?>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<?= $this->render('breadcrumbs.phtml'); ?>
|
|
||||||
<?= $this->partial('data/tools.phtml'); ?>
|
<?= $this->partial('data/tools.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!-- header -->
|
<!-- header -->
|
||||||
<link href="../../../../htdocs/sjyportal/css/style.css" rel="stylesheet" type="text/css" />
|
<link href="/sjyportal/css/style.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
|
@ -38,29 +38,5 @@
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<!-- Carousel
|
|
||||||
================================================== -->
|
|
||||||
<div class="container-fluid1 ">
|
|
||||||
<div id="myCarousel" class="carousel slide">
|
|
||||||
<div class="carousel-inner">
|
|
||||||
<div class="item active"> <img src="/sjyportal/img/slide-00.jpg" alt="" class="">
|
|
||||||
<div class="container">
|
|
||||||
<div class="carousel-caption">
|
|
||||||
<h2>青海54.6%国土被纳入三江源国家生态保护试验区</h2>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="item"> <img src="/sjyportal/img/slide-01.jpg" alt="" class="">
|
|
||||||
<div class="container">
|
|
||||||
<div class="carousel-caption">
|
|
||||||
<h2>青海54.6%国土被纳入三江源国家生态保护试验区</h2>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a> <a class="right carousel-control" href="#myCarousel" data-slide="next">›</a> </div>
|
|
||||||
</div>
|
|
||||||
<!-- /.carousel -->
|
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
<?= $this->render('breadcrumbs.phtml'); ?>
|
||||||
|
|
Loading…
Reference in New Issue