Difference between revisions of "Expandable.php"
From Organic Design wiki
(nowiki.php bug, try this hack instead) |
m |
||
| Line 1: | Line 1: | ||
<? | <? | ||
| − | $article = | + | if ($GLOBALS['action'] != 'edit') $article = preg_replace( |
| + | '/EXPANDABLE(.+?)/', | ||
| + | '<td class=expandable-heading>$1<td class=expandable-heading align=right><script type="text/javascript">showTocToggle("show","hide")</script></td></tr> | ||
| + | <tr id="tocinside"><td colspan=2 width=100%>' | ||
| + | ); | ||
?> | ?> | ||
Revision as of 21:25, 1 October 2006
<? if ($GLOBALS['action'] != 'edit') $article = preg_replace(
'/EXPANDABLE(.+?)/',
'$1<script type="text/javascript">showTocToggle("show","hide")</script> '
);
?>



