diff options
| author | Christian Fowler <spider@viovio.com> | 2009-10-06 01:30:07 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2009-10-06 01:30:07 +0000 |
| commit | 81ef1d135e3aea77d9314d5c2bf5386fca10e83f (patch) | |
| tree | 3c3cf968846359e276fa0896c4f57cf335ddba9d | |
| parent | 606d4b89d8644eeda3f5d47a146ccff35a6374f4 (diff) | |
| download | liberty-81ef1d135e3aea77d9314d5c2bf5386fca10e83f.tar.gz liberty-81ef1d135e3aea77d9314d5c2bf5386fca10e83f.tar.bz2 liberty-81ef1d135e3aea77d9314d5c2bf5386fca10e83f.zip | |
comment out dynvars since there is no way to turn them off
| -rw-r--r-- | plugins/format.tikiwiki.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/format.tikiwiki.php b/plugins/format.tikiwiki.php index 179dd62..47abd5a 100644 --- a/plugins/format.tikiwiki.php +++ b/plugins/format.tikiwiki.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.130 $ + * @version $Revision: 1.131 $ * @package liberty * @subpackage plugins_format */ @@ -294,6 +294,7 @@ class TikiWikiParser extends BitBase { // from the page directly, intended for short data, not long text but text // will work too // Now won't match HTML-style '%nn' letter codes. +/* if (preg_match_all("/%([^% 0-9][^% 0-9][^% ]*)%/",$data,$dvars)) { // remove repeated elements $dvars = array_unique($dvars[1]); @@ -331,6 +332,7 @@ class TikiWikiParser extends BitBase { //<br /><div style="text-align:center"><input type="submit" name="dyn_update" value="'.tra('Update variables').'"/></div> $data='<form method="post" name="dyn_vars">'.$data.'<div style="display:none;"><input type="submit" name="_dyn_update" value="'.tra('Update variables').'"/></div></form>'; } +*/ // Replace boxes - add a new line that we can have something like: ^!heading^ without the need for a \n after the initial ^ - \n will be removed below $data = preg_replace("/\^([^\^]+)\^/", "<div class=\"bitbox\"><!-- bitremovebr -->\n$1</div>", $data); |
