summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls
diff options
context:
space:
mode:
authorxue <>2005-12-29 19:58:07 +0000
committerxue <>2005-12-29 19:58:07 +0000
commit94e49ca4633600269831c4e80af25ddcfa3a8258 (patch)
treeb31d0c1fd9ac7dfd12a75e42ba7d049a2b912178 /demos/quickstart/protected/controls
parentc38c1e6f271f73e5d9474e63bca227e2b7a30db8 (diff)
Added TTextBox demos.
Diffstat (limited to 'demos/quickstart/protected/controls')
-rw-r--r--demos/quickstart/protected/controls/Highlighter/geshi/prado.php21
1 files changed, 14 insertions, 7 deletions
diff --git a/demos/quickstart/protected/controls/Highlighter/geshi/prado.php b/demos/quickstart/protected/controls/Highlighter/geshi/prado.php
index 95759a87..c9d96a35 100644
--- a/demos/quickstart/protected/controls/Highlighter/geshi/prado.php
+++ b/demos/quickstart/protected/controls/Highlighter/geshi/prado.php
@@ -100,26 +100,33 @@ $language_data = array (
),
'REGEXPS' => array(
0 => array(
- GESHI_SEARCH => '((&lt;)(com:)([a-z0-9\\\.]+)(\s*))',
- GESHI_REPLACE => '\\2<a class="api" href="link_to_api?\\4">\\3\\4</a>\\5',
+ GESHI_SEARCH => '&lt;(com:[a-z0-9\\\.]+)',
+ GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'i',
- GESHI_BEFORE => '',
+ GESHI_BEFORE => '&lt;',
GESHI_AFTER => ''
),
1 => array(
- GESHI_SEARCH => '(&lt;/com:[a-z0-9\-]+\s*&gt;)',
+ GESHI_SEARCH => '&lt;/(com:[a-z0-9\-]+)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'i',
- GESHI_BEFORE => '',
+ GESHI_BEFORE => '&lt;/',
GESHI_AFTER => ''
),
2 => array(
- GESHI_SEARCH => '(&lt;/?prop:?([a-z0-9_]+)&gt;)',
+ GESHI_SEARCH => '(&lt;/?)(prop:[a-z0-9_]+&gt;)',
+ GESHI_REPLACE => '\\2',
+ GESHI_MODIFIERS => 'i',
+ GESHI_BEFORE => '\\1',
+ GESHI_AFTER => ''
+ ),
+ 3 => array(
+ GESHI_SEARCH => '((/)?&gt;)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'i',
GESHI_BEFORE => '',
GESHI_AFTER => ''
- ),
+ )
),
'STRICT_MODE_APPLIES' => GESHI_ALWAYS,
'SCRIPT_DELIMITERS' => array(