summaryrefslogtreecommitdiff
path: root/lib/plugins/revert/admin.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-12-10 18:42:56 +0100
committerAndreas Gohr <andi@splitbrain.org>2008-12-10 18:42:56 +0100
commit5c93146ab7565d6e2d3c15fd2e71564216883f32 (patch)
tree0ba2efd169435ff4d976ead71f2877a711dcd95f /lib/plugins/revert/admin.php
parenta249681d366126d65ce7207509e2c53223140862 (diff)
downloadrpg-5c93146ab7565d6e2d3c15fd2e71564216883f32.tar.gz
rpg-5c93146ab7565d6e2d3c15fd2e71564216883f32.tar.bz2
make use of the new useHeading() function in the revert plugin
darcs-hash:20081210174256-7ad00-90a1f8d17c913d0ecabec80c0842a3afb3c667b1.gz
Diffstat (limited to 'lib/plugins/revert/admin.php')
-rw-r--r--lib/plugins/revert/admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/revert/admin.php b/lib/plugins/revert/admin.php
index 00f7632c3..b24b1ff6e 100644
--- a/lib/plugins/revert/admin.php
+++ b/lib/plugins/revert/admin.php
@@ -31,7 +31,7 @@ class admin_plugin_revert extends DokuWiki_Admin_Plugin {
return array(
'author' => 'Andreas Gohr',
'email' => 'andi@splitbrain.org',
- 'date' => '2008-05-94',
+ 'date' => '2008-12-10',
'name' => 'Revert Manager',
'desc' => 'Allows you to mass revert recent edits',
'url' => 'http://dokuwiki.org/plugin:revert',
@@ -175,7 +175,7 @@ class admin_plugin_revert extends DokuWiki_Admin_Plugin {
echo "<img $att />";
echo '</a> ';
- echo html_wikilink(':'.$recent['id'],$conf['useheading']?NULL:$recent['id']);
+ echo html_wikilink(':'.$recent['id'],(useHeading('navigation'))?NULL:$recent['id']);
echo ' &ndash; '.htmlspecialchars($recent['sum']);
echo ' <span class="user">';