From af832a5a9018c7dcc2f24111d82049902269fc53 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 18 Oct 2006 01:38:47 +0000 Subject: merge from 3.0 branch till 1463. --- demos/quickstart/protected/pages/ViewSource.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'demos') 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