From: <rob...@us...> - 2009-01-20 16:48:29
|
Revision: 16331 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=16331&view=rev Author: robferguson Date: 2009-01-20 16:48:18 +0000 (Tue, 20 Jan 2009) Log Message: ----------- [FIX] reverting commit to wrong branch Removed Paths: ------------- branches/2.0/lib/wiki-plugins/wikiplugin_footnote.php Deleted: branches/2.0/lib/wiki-plugins/wikiplugin_footnote.php =================================================================== --- branches/2.0/lib/wiki-plugins/wikiplugin_footnote.php 2009-01-20 16:47:59 UTC (rev 16330) +++ branches/2.0/lib/wiki-plugins/wikiplugin_footnote.php 2009-01-20 16:48:18 UTC (rev 16331) @@ -1,25 +0,0 @@ -<?php -/* - * $Id: /tikiwiki/tiki/lib/wiki-plugins/wikiplugin_div.php,v 1.10 2009-01-19 11:28 robferguson - * - * FOOTNOTE plugin. Inserts a superscripted number where the plugin is written starting with one and counting up as the additional footnotes are added. - * - * Syntax: - * - * {FOOTNOTE()/} - */ -function wikiplugin_footnote_help() { - return tra("Inserts a superscripted footnote number next to text and takes in footnote as parameter").":<br />~np~{FOOTNOTE()}insert footnote here{FOOTNOTE}~/np~"; -} - -function wikiplugin_footnote($data, $params) { - - extract ($params,EXTR_SKIP); - $GLOBALS["footnoteCount"]++; - $footnoteCount = $GLOBALS["footnoteCount"]; - $GLOBALS["footnotesData"][] = $data; - return "{SUP()}$footnoteCount{SUP}"; -} -?> - - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |