From: WEBER P. <Pat...@co...> - 2009-06-12 07:52:26
|
Hi zchermit, Thanx for the rollback As proposed before, you may use the object id / thread id as a prefix of the anchor to achieve your goal. Is that OK for you ? Nyloth -----Original Message----- From: zch...@us... [mailto:zch...@us...] Sent: Thursday 11 June 2009 19:17 To: tik...@li... Subject: [Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[19431]trunk/lib/tikilib.php Revision: 19431 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=19431&view=rev Author: zchermit Date: 2009-06-11 17:16:58 +0000 (Thu, 11 Jun 2009) Log Message: ----------- Rollback Revision: 19351 (a unique id within the entire text, not only within a single page. such messages in a forum thread.) Modified Paths: -------------- trunk/lib/tikilib.php Modified: trunk/lib/tikilib.php =================================================================== --- trunk/lib/tikilib.php 2009-06-11 17:05:48 UTC (rev 19430) +++ trunk/lib/tikilib.php 2009-06-11 17:16:58 UTC (rev 19431) @@ -7093,7 +7093,7 @@ $divstate = substr($line, $hdrlevel, 1); if ($divstate == '+' || $divstate == '-') { // OK. Must insert flipper after HEADER, and then open new div... - $thisid = 'id' . microtime() * 1000000; + $thisid = 'id' . ereg_replace('[^a-zA-z0-9]', '',urlencode($options['page'])) .$nb_hdrs; $aclose = '<a id="flipper' . $thisid . '" class="link" href="javascript:flipWithSign(\'' . $thisid . '\')">[' . ($divstate == '-' ? '+' : '-') . ']</a>'; $aclose2 = '<div id="' . $thisid . '" class="showhide_heading" style="display:' . ($divstate == '+' ? 'block' : 'none') . ';">'; $aclose2 = $aclose2 . '<script type="text/javascript">'."\n".'<!--//--><![CDATA[//><!--'."\n".'setheadi ngstate(\''. $thisid .'\')'."\n".' //--><!]]>'."\n".'</script>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------ ------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Tikiwiki-cvs mailing list Tik...@li... https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs |