From c927f9343001b456c1fa25dc541c3f1b005510f8 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 5 Aug 2006 03:42:04 +0000 Subject: Fixed #278 --- demos/quickstart/protected/controls/DocLink.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'demos/quickstart/protected/controls/DocLink.php') diff --git a/demos/quickstart/protected/controls/DocLink.php b/demos/quickstart/protected/controls/DocLink.php index 74398efb..e8ca7dfa 100644 --- a/demos/quickstart/protected/controls/DocLink.php +++ b/demos/quickstart/protected/controls/DocLink.php @@ -22,7 +22,8 @@ class DocLink extends THyperLink { $classFile=array_pop($paths).'.html'; $this->setNavigateUrl(self::BASE_URL . '/' . implode('.',$paths) . '/' . $classFile); - $this->setText('API Manual'); + if($this->getText() === '') + $this->setText('API Manual'); } } } -- cgit v1.2.3