From d77d38d2e504ded0d1feae4ec3056cc4c9af0a6a Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Tue, 19 Jun 2012 03:17:13 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E5=85=B3=E9=94=AE?= =?UTF-8?q?=E8=AF=8D=E6=B5=8F=E8=A7=88=E9=A1=B5=E9=9D=A2=E5=92=8C=E5=85=A8?= =?UTF-8?q?=E9=83=A8=E6=B5=8F=E8=A7=88=E9=A1=B5=E9=9D=A2=E7=9A=84=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/views/scripts/data/browse.phtml | 55 ++++++++++--------- htdocs/css/metadata.css | 9 ++- 2 files changed, 38 insertions(+), 26 deletions(-) diff --git a/application/default/views/scripts/data/browse.phtml b/application/default/views/scripts/data/browse.phtml index 7892ffdf..f6066070 100755 --- a/application/default/views/scripts/data/browse.phtml +++ b/application/default/views/scripts/data/browse.phtml @@ -1,25 +1,30 @@ -headTitle($this->config->title->site); - $this->headTitle($this->config->title->data); - $this->headTitle('全部浏览'); -$this->headTitle()->setSeparator(' - '); -$this->headLink()->appendStylesheet('/css/metadata.css'); -$this->breadcrumb('首页'); -$this->breadcrumb(''.$this->config->title->data.''); -$this->breadcrumb('浏览'); -$this->breadcrumb()->setSeparator(' > '); -?> -
-partial('data/tools.phtml'); ?> -
-page->getNavigation(); ?> -
-metadata as $md) : ?> -
-
-

escape($md['title']);?> -

-
',mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']));?>
-
- -page->getNavigation(); ?> \ No newline at end of file +headTitle($this->config->title->site); + $this->headTitle($this->config->title->data); + $this->headTitle('全部浏览'); +$this->headTitle()->setSeparator(' - '); +$this->headLink()->appendStylesheet('/css/metadata.css'); +$this->breadcrumb('首页'); +$this->breadcrumb(''.$this->config->title->data.''); +$this->breadcrumb('浏览'); +$this->breadcrumb()->setSeparator(' > '); +?> +
+partial('data/tools.phtml'); ?> +
+
+ +
+ \ No newline at end of file diff --git a/htdocs/css/metadata.css b/htdocs/css/metadata.css index 8bf57a57..878daed0 100755 --- a/htdocs/css/metadata.css +++ b/htdocs/css/metadata.css @@ -2,10 +2,17 @@ #tools ul li{float:left;padding-left:5px;margin-right:5px;} #tools ul li a:hover{background:#329ECC;color:#FFF;} +#leftnav{width:100%;overflow:hidden;} +#leftnav fieldset ul{width:100%;overflow:hidden;} +#leftnav fieldset ul li{float:left;margin:0 3px;} +#leftnav fieldset ul li a{display:block;float:left;padding:3px;} +#leftnav fieldset ul li span.note{display:block;float:left;padding:3px 0;} +#leftnav fieldset ul li a:hover{background:#329ECC;color:#FFF;} + /* * paginationControl */ -.PageNavigation{float:left;margin-left:200px;padding-left:30px;} +.PageNavigation{} .paginationControl{float:right;padding-left:30px;margin:10px auto;} .paginationControl A {border:#9aafe5 1px solid;padding:2px 5px;color:#2e6ab1;margin-right:2px;TEXT-DECORATION:none} .paginationControl A:hover {border:#2b66a5 1px solid;COLOR: #000;BACKGROUND-COLOR:lightyellow}