From 5abdafeb9ded0c1c41992f7b3758f1dc02255683 Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 12 Oct 2006 07:30:33 +0000 Subject: add unified chm build (quickstart + API + classdocs + wiki) --- demos/quickstart/protected/pages/ViewSource.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'demos/quickstart/protected') diff --git a/demos/quickstart/protected/pages/ViewSource.php b/demos/quickstart/protected/pages/ViewSource.php index 9a8d7d09..f267f318 100644 --- a/demos/quickstart/protected/pages/ViewSource.php +++ b/demos/quickstart/protected/pages/ViewSource.php @@ -27,6 +27,8 @@ class ViewSource extends TPage $this->SourceList->dataBind(); $this->Highlighter->Language=$this->getFileLanguage($fileExt); + if($this->Request['lines']==='false') + $this->Highlighter->ShowLineNumbers=false; $this->SourceView->Text=file_get_contents($this->_fullPath); } -- cgit v1.2.3