diff options
author | xue <> | 2006-10-18 01:38:47 +0000 |
---|---|---|
committer | xue <> | 2006-10-18 01:38:47 +0000 |
commit | af832a5a9018c7dcc2f24111d82049902269fc53 (patch) | |
tree | b66193de9e7b75c916a92d6c951a22a90d85fed6 /demos/quickstart/protected/pages/ViewSource.php | |
parent | 459bb9c618a8f2897da22129167e634589435e38 (diff) |
merge from 3.0 branch till 1463.
Diffstat (limited to 'demos/quickstart/protected/pages/ViewSource.php')
-rw-r--r-- | demos/quickstart/protected/pages/ViewSource.php | 2 |
1 files changed, 2 insertions, 0 deletions
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);
}
|