From: electron <ele...@mg...> - 2004-02-26 10:23:15
|
This was easier than I thought. Diff now comes to you as a plugin! With Diff as a plugin, it obeys templating. Now pnPhpWiki can move to = beta. I would also like to depreciate most actions and move them to plugins. PageHistory ET all. Now a user can include a diff in a page. Diff could = help in some WikiFlameWars and other causes. :D Installing: Simply add a page Diff to your wiki, with <?plugin Diff ?> Change line 28 in themes/default/templates/actionbar.tmpl to <?=3D$Sep?><?=3D LinkURL(WikiUrl(_("Diff"), array( 'diffname' =3D> $page->getName())), 'Diff') ?> I'll leave it to the rest of you to form a button link.=20 -Jtp I've stopped 7,393 spam messages. You can too! One month FREE spam protection at www.cloudmark.com |