diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-04-13 18:46:04 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-04-13 18:46:04 +0000 |
commit | dfb5a6db75df8d364031ee827fe18a6bd1067df6 (patch) | |
tree | 0df44e710ac7f550f2d424fcd1d63c0037fc1b22 /scripts | |
parent | 98009449ee34a0821b8da6ecf0f5f98095af77df (diff) | |
download | pmwiki.svn-dfb5a6db75df8d364031ee827fe18a6bd1067df6.tar.bz2 |
Cache auth conditional results for (:if auth level:).
git-svn-id: svn://pmwiki.org/pmwiki/trunk@4687 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/stdmarkup.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/stdmarkup.php b/scripts/stdmarkup.php index 8161b78b..87cf6540 100644 --- a/scripts/stdmarkup.php +++ b/scripts/stdmarkup.php @@ -1,5 +1,5 @@ <?php if (!defined('PmWiki')) exit(); -/* Copyright 2004-2022 Patrick R. Michaud (pmichaud@pobox.com) +/* Copyright 2004-2024 Patrick R. Michaud (pmichaud@pobox.com) This file is part of PmWiki; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or @@ -91,7 +91,7 @@ SDV($CondTextPattern, | (?=\\(:(?:if\\1|if\\1end)\\b[^\n]*?:\\) | $) ) /six"); -// SDV($CondTextReplacement, "CondText2(\$pagename, \$m[0], \$m[1])"); + SDV($CondTextReplacement, "MarkupCondText2"); Markup('if', 'fulltext', $CondTextPattern, $CondTextReplacement); |