diff options
| author | spiderr <spiderr@bitweaver.org> | 2021-02-06 17:49:21 -0500 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2021-02-06 17:49:21 -0500 |
| commit | f9eb4709c12a609cef7359e1f5005e5e16945969 (patch) | |
| tree | 76bf52e60c195ce46cdddde882b828442a86a5da /plugins/format.tikiwiki.php | |
| parent | f06634ab8db3333629bc2d3abc49c6d504191eea (diff) | |
| download | liberty-f9eb4709c12a609cef7359e1f5005e5e16945969.tar.gz liberty-f9eb4709c12a609cef7359e1f5005e5e16945969.tar.bz2 liberty-f9eb4709c12a609cef7359e1f5005e5e16945969.zip | |
fix deprecated with BitBase.flipWithSign
Diffstat (limited to 'plugins/format.tikiwiki.php')
| -rw-r--r-- | plugins/format.tikiwiki.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/format.tikiwiki.php b/plugins/format.tikiwiki.php index 7475a1f..07c8d23 100644 --- a/plugins/format.tikiwiki.php +++ b/plugins/format.tikiwiki.php @@ -549,7 +549,7 @@ class TikiWikiParser extends BitBase { if (($listate == '+' || $listate == '-') && !($litype == '*' && !strstr(current($listbeg), '</ul>') || $litype == '#' && !strstr(current($listbeg), '</ol>'))) { $thisid = 'id' . intval( microtime(true) * 1000000 ); - $data .= '<br /><a id="flipper' . $thisid . '" href="javascript:flipWithSign(\'' . $thisid . '\',1)">[' . ($listate == '-' ? '+' : '-') . ']</a>'; + $data .= '<br /><a id="flipper' . $thisid . '" href="javascript:BitBase.flipWithSign(\'' . $thisid . '\',1)">[' . ($listate == '-' ? '+' : '-') . ']</a>'; $listyle = ' id="' . $thisid . '" style="display:' . ($listate == '+' ? 'block' : 'none') . ';"'; $addremove = 1; } @@ -570,7 +570,7 @@ class TikiWikiParser extends BitBase { if (($listate == '+' || $listate == '-')) { $thisid = 'id' . microtime() * 1000000; - $data .= '<br /><a id="flipper' . $thisid . '" href="javascript:flipWithSign(\'' . $thisid . '\',1)">[' . ($listate == '-' ? '+' : '-') . ']</a>'; + $data .= '<br /><a id="flipper' . $thisid . '" href="javascript:BitBase.flipWithSign(\'' . $thisid . '\',1)">[' . ($listate == '-' ? '+' : '-') . ']</a>'; $listyle = ' id="' . $thisid . '" style="display:' . ($listate == '+' ? 'block' : 'none') . ';"'; $addremove = 1; } |
