summaryrefslogtreecommitdiff
path: root/lib/tpl
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2009-09-11 10:18:33 +0200
committerAndreas Gohr <andi@splitbrain.org>2009-09-11 10:18:33 +0200
commit1246e01639ddb1343de1532a6a46182c4137ca7a (patch)
treed7d67d3bfb6cdca3e3102b65d501ebd402c64e1c /lib/tpl
parenta29759c7b5b6da57539d8b25d25cbd43c68ad917 (diff)
downloadrpg-1246e01639ddb1343de1532a6a46182c4137ca7a.tar.gz
rpg-1246e01639ddb1343de1532a6a46182c4137ca7a.tar.bz2
One click revert for managers
Ignore-this: e3c9b5f941b2f1aa83ca375861203a2f This patch adds another button for users with the $conf['manager'] role when viewing an old revision. It allows them to revert to this revision with a single click. darcs-hash:20090911081833-7ad00-5a64feb7e3e1b37178295c290a6c97c3923e82e3.gz
Diffstat (limited to 'lib/tpl')
-rw-r--r--lib/tpl/default/main.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tpl/default/main.php b/lib/tpl/default/main.php
index 35f6b2299..67c3a00ba 100644
--- a/lib/tpl/default/main.php
+++ b/lib/tpl/default/main.php
@@ -113,6 +113,7 @@ if (!defined('DOKU_INC')) die();
<div class="bar-left" id="bar__bottomleft">
<?php tpl_button('edit')?>
<?php tpl_button('history')?>
+ <?php tpl_button('revert')?>
</div>
<div class="bar-right" id="bar__bottomright">
<?php tpl_button('subscribe')?>