From 0688e5544841cb535a6adb02b6ee7c8eb76efe9e Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Sun, 21 Nov 2010 06:37:14 +0000 Subject: [PATCH] * fix the bug #166. --- module/doc/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/doc/control.php b/module/doc/control.php index 12bc45594c..bf8285c56e 100644 --- a/module/doc/control.php +++ b/module/doc/control.php @@ -289,7 +289,7 @@ class doc extends control $this->view->header->title = $this->libs[$libID] . $this->lang->colon . $this->lang->doc->create; $this->view->position[] = html::a($this->createLink('doc', 'browse', "libID=$libID"), $this->libs[$libID]); - $this->view->position[] = $this->lang->doc->create; + $this->view->position[] = $this->lang->doc->edit; $this->view->doc = $doc; $this->view->libID = $libID; @@ -321,7 +321,7 @@ class doc extends control $this->view->header->title = $this->libs[$doc->lib] . $this->lang->colon . $this->lang->doc->create; $this->view->position[] = html::a($this->createLink('doc', 'browse', "libID=$doc->lib"), $this->libs[$doc->lib]); - $this->view->position[] = $this->lang->doc->create; + $this->view->position[] = $this->lang->doc->view; $this->view->doc = $doc; $this->view->lib = $lib;