packages: dokuwiki/more-buttons.patch - export to pdf also for dw2pdf plugin

glen glen at pld-linux.org
Sat Feb 11 14:23:07 CET 2012


Author: glen                         Date: Sat Feb 11 13:23:07 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- export to pdf also for dw2pdf plugin

---- Files affected:
packages/dokuwiki:
   more-buttons.patch (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/dokuwiki/more-buttons.patch
diff -u packages/dokuwiki/more-buttons.patch:1.6 packages/dokuwiki/more-buttons.patch:1.7
--- packages/dokuwiki/more-buttons.patch:1.6	Sat Feb 11 14:22:16 2012
+++ packages/dokuwiki/more-buttons.patch	Sat Feb 11 14:23:02 2012
@@ -14,7 +14,7 @@
  
        <div class="bar-right" id="bar__topright">
 +        <?php
-+        if (!plugin_isdisabled('html2pdf')) { ?>
++        if (!plugin_isdisabled('html2pdf') || !plugin_isdisabled('dw2pdf')) { ?>
 +        <form class="button" method="get" action="<?php wl($ID)?>">
 +          <div class="no">
 +            <input type="submit" value="Export to PDF" class="button" />
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dokuwiki/more-buttons.patch?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list