summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls
diff options
context:
space:
mode:
authorxue <>2005-12-29 11:52:31 +0000
committerxue <>2005-12-29 11:52:31 +0000
commit658a7e1c4cf5a53dcd61ee196658090d00f2d64a (patch)
treec37b767c6e4d70baaf9ff471ce3721c9d8733f72 /demos/quickstart/protected/controls
parentc0006cf0da8c3499060df7378cc376c98cbce7c4 (diff)
Used THighlighter to show code fragments.
Diffstat (limited to 'demos/quickstart/protected/controls')
-rw-r--r--demos/quickstart/protected/controls/TTextHighlighter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/quickstart/protected/controls/TTextHighlighter.php b/demos/quickstart/protected/controls/TTextHighlighter.php
index d8bb6bba..19b54ad2 100644
--- a/demos/quickstart/protected/controls/TTextHighlighter.php
+++ b/demos/quickstart/protected/controls/TTextHighlighter.php
@@ -23,12 +23,12 @@ class TTextHighlighter extends TWebControl
public function getLanguage()
{
- return $this->getViewState('Language', '');
+ return $this->getViewState('Language', 'php');
}
public function setLanguage($value)
{
- $this->setViewState('Language', $value, '');
+ $this->setViewState('Language', $value, 'php');
}
public function setEnableLineNumbers($value)