---- sidebar/main.php 2009-08-30 00:00:33.098142092 +0300
-+++ sidebar/main.php 2009-08-29 23:53:54.718210429 +0300
-@@ -63,6 +63,28 @@
- <div class="bar-left" id="bar__topleft">
- <?php tpl_button('edit')?>
- <?php tpl_button('history')?>
+--- sidebar/main.php 2009-09-01 12:51:33.000000000 +0300
++++ sidebar/main.php 2009-09-01 12:51:33.000000000 +0300
+@@ -18,6 +18,8 @@
+ // must be run from within DokuWiki
+ if (!defined('DOKU_INC')) die();
+
++global $REV;
++
+ // include functions that provide sidebar functionality
+ @require_once(dirname(__FILE__).'/tplfn_sidebar.php');
+ ?>
+@@ -66,6 +68,28 @@
+ </div>
+
+ <div class="bar-right" id="bar__topright">