From 42f89981da7008845f01243dfa7621ce814b3094 Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 18 Jun 2015 22:45:07 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=20westdc/westdc-zf1#5=20:=20=E5=8C=BA?= =?UTF-8?q?=E5=88=86=E6=96=BD=E5=BC=95=E6=96=87=E7=8C=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/KnowledgeController.php | 2 +- application/default/views/scripts/knowledge/datacenter.phtml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/application/default/controllers/KnowledgeController.php b/application/default/controllers/KnowledgeController.php index c65c731f..a6bfafa1 100755 --- a/application/default/controllers/KnowledgeController.php +++ b/application/default/controllers/KnowledgeController.php @@ -15,7 +15,7 @@ class KnowledgeController extends Zend_Controller_Action function datacenterAction() { $siteid="e31f5ea7-a4af-4ae3-9ac1-1a84132c4338";//site uuid from geonetowrk - $sql="select r.* from mdref mr left join reference r on mr.refid=r.id where r.language<>'zh' and mr.uuid=? order by r.id desc"; + $sql="select r.*,mr.reftype from mdref mr left join reference r on mr.refid=r.id where r.language<>'zh' and mr.uuid=? order by r.id desc"; $sth = $this->db->prepare($sql); $sth->execute(array($siteid)); $rows = $sth->fetchAll(); diff --git a/application/default/views/scripts/knowledge/datacenter.phtml b/application/default/views/scripts/knowledge/datacenter.phtml index 5b2aec59..e61db061 100644 --- a/application/default/views/scripts/knowledge/datacenter.phtml +++ b/application/default/views/scripts/knowledge/datacenter.phtml @@ -5,7 +5,7 @@ $this->headTitle()->setSeparator(' - '); $this->headLink()->appendStylesheet('/css/mdreview.css'); $this->breadcrumb('Home'); $this->breadcrumb('Knowledge'); -$this->breadcrumb('Publicated by CARD'); +$this->breadcrumb('Published by CARD'); $this->breadcrumb()->setSeparator(' > '); $this->headScript()->appendFile('/js/jquery.colorbox-min.js'); $this->headLink()->appendStylesheet('/css/colorbox.css'); @@ -23,6 +23,7 @@ $this->headLink()->appendStylesheet('/css/colorbox.css'); paginator as $item): ?>
  • Cited'; echo $item['reference']; echo ' View'; if (!empty($item['attid'])) :