packages: dokuwiki-tpl-sidebar/more-buttons.patch - add the new buttons to ...
glen
glen at pld-linux.org
Tue Sep 1 11:52:39 CEST 2009
Author: glen Date: Tue Sep 1 09:52:39 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- add the new buttons to right side
---- Files affected:
packages/dokuwiki-tpl-sidebar:
more-buttons.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/dokuwiki-tpl-sidebar/more-buttons.patch
diff -u packages/dokuwiki-tpl-sidebar/more-buttons.patch:1.3 packages/dokuwiki-tpl-sidebar/more-buttons.patch:1.4
--- packages/dokuwiki-tpl-sidebar/more-buttons.patch:1.3 Sat Aug 29 23:25:51 2009
+++ packages/dokuwiki-tpl-sidebar/more-buttons.patch Tue Sep 1 11:52:34 2009
@@ -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()?>
</div>
-
- <div class="bar-right" id="bar__topright">
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dokuwiki-tpl-sidebar/more-buttons.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list