]> git.pld-linux.org Git - packages/dokuwiki.git/blobdiff - more-buttons.patch
- add the new buttons to right side
[packages/dokuwiki.git] / more-buttons.patch
index 2ad20f175257f948ee3086a19116b39d0daa64e3..adc56785b5788f9e3b06dacf792e2ea85fe410ea 100644 (file)
@@ -1,5 +1,5 @@
 --- sidebar/main.php    2009-08-29 23:53:54.718210429 +0300
-+++ sidebar/main.php    2009-08-29 23:53:54.718210429 +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();
@@ -9,10 +9,10 @@
  // include functions that provide sidebar functionality
  @require_once(dirname(__FILE__).'/tplfn_sidebar.php');
  ?>
-@@ -63,6 +65,30 @@
-       <div class="bar-left" id="bar__topleft">
-         <?php tpl_button('edit')?>
-         <?php tpl_button('history')?>
+@@ -66,6 +68,30 @@
+       </div>
+       <div class="bar-right" id="bar__topright">
 +        <?php
 +        $pdf_plugin = &plugin_load('action','html2pdf');
 +        if ($pdf_plugin && !plugin_isdisabled($pdf_plugin->getPluginName())) { ?>
@@ -37,6 +37,6 @@
 +          </div>
 +        </form>
 +        <?php } ?>
+         <?php tpl_button('recent')?>
+         <?php tpl_searchform()?>&nbsp;
        </div>
-       <div class="bar-right" id="bar__topright">
This page took 0.038395 seconds and 4 git commands to generate.