0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
tikiwiki
/
1.9.7-31
/
htdocs
/
lib
/
wiki-plugins
/
[
Home
]
File: wikiplugin_aname.php
<?php /* * Tiki-Wiki ANAME plugin. Go to http://www.TikiMODS.com for more TikiWiki Plugins. * * DESCRIPTION: Puts an anchor into a wiki page. Use in conjunction with the ALINK plugin, which makes links to the anchor. * * INSTALLATION: Just put this file into your TikiWiki site's lib/wiki-plugins folder. * * USAGE SYNTAX: * * {ANAME()} * anchorname the name of the anchor. Use this as the aname=> parameter in the ALINK plugin! * {ANAME} * * EXAMPLE: {ANAME()}anchorname{ANAME} * */ function wikiplugin_aname_help() { return tra("Puts an anchor into a wiki page. Use in conjunction with the ALINK plugin, which makes links to the anchor").":<br />~np~{ANAME()}anchorname{ANAME}~/np~"; } function wikiplugin_aname($data, $params) { global $tikilib; extract ($params, EXTR_SKIP); return "<A NAME=\"$data\"></A>"; } ?>