激活后台首页

This commit is contained in:
wlx 2010-07-01 09:07:12 +00:00
parent 948a770b78
commit 3e18b42f90
2 changed files with 9 additions and 11 deletions

View File

@ -1,21 +1,25 @@
<?php <?php
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle('首页'); $this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css'); $this->headLink()->appendStylesheet('/css/admin.css');
$auth = Zend_Auth::getInstance(); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('后台管理首页');
$this->breadcrumb()->setSeparator(' > ');
?> ?>
<div id="divContent"> <div id="divContent">
<div id="leftPanel"> <div id="leftPanel">
元数据处理工具: 元数据处理工具:
<p><a href="<?php echo $this->url(array('controller'=>'metadata','action'=>'add'));?>">create new metadata</a></p>
<p><a href="<?php echo $this->url(array('controller'=>'metadata','action'=>'import'));?>">import local metadata file</a></p>
</div> </div>
<div id="rightPanel"> <div id="rightPanel">
<ul>
<li><a href="/admin/data">数据管理</a></li>
<li><a href="/admin/watermd">WATER元数据处理工具</a></li>
<li><a href="/admin/test">数据测试管理</a></li>
</ul>
</div> </div>

View File

@ -111,12 +111,6 @@ routes.mdfile.route = "filelist/uuid/:uuid"
routes.mdfile.defaults.controller = "filelist" routes.mdfile.defaults.controller = "filelist"
routes.mdfile.defaults.action = "index" routes.mdfile.defaults.action = "index"
routes.admin.type = "Zend_Controller_Router_Route_Static"
routes.admin.route = admin
routes.admin.defaults.module = admin
routes.admin.defaults.controller = data
routes.admin.defaults.action = index
routes.adminofflineapp.route = admin/data/offlineapp/:page routes.adminofflineapp.route = admin/data/offlineapp/:page
routes.adminofflineapp.defaults.module = admin routes.adminofflineapp.defaults.module = admin
routes.adminofflineapp.defaults.controller = data routes.adminofflineapp.defaults.controller = data