packages: dokuwiki-tpl-sidebar/dokuwiki-tpl-sidebar.spec, dokuwiki-tpl-side...

glen glen at pld-linux.org
Sat Aug 29 23:25:57 CEST 2009


Author: glen                         Date: Sat Aug 29 21:25:57 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pass revno in export

---- Files affected:
packages/dokuwiki-tpl-sidebar:
   dokuwiki-tpl-sidebar.spec (1.11 -> 1.12) , more-buttons.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/dokuwiki-tpl-sidebar/dokuwiki-tpl-sidebar.spec
diff -u packages/dokuwiki-tpl-sidebar/dokuwiki-tpl-sidebar.spec:1.11 packages/dokuwiki-tpl-sidebar/dokuwiki-tpl-sidebar.spec:1.12
--- packages/dokuwiki-tpl-sidebar/dokuwiki-tpl-sidebar.spec:1.11	Sat Aug 29 23:03:01 2009
+++ packages/dokuwiki-tpl-sidebar/dokuwiki-tpl-sidebar.spec	Sat Aug 29 23:25:51 2009
@@ -6,7 +6,7 @@
 Summary(pl.UTF-8):	Nawigacja po sidebarze przy użyciu DokuWiki
 Name:		dokuwiki-tpl-sidebar
 Version:	%{ver}
-Release:	2
+Release:	3
 License:	GPL
 Group:		Applications/WWW
 Source0:	http://dokuwiki.jalakai.co.uk/template-sidebar-rc%{snap}.zip
@@ -75,6 +75,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2009/08/29 21:25:51  glen
+- pass revno in export
+
 Revision 1.11  2009/08/29 21:03:01  glen
 - add export pdf and export odt buttons; rel 2
 

================================================================
Index: packages/dokuwiki-tpl-sidebar/more-buttons.patch
diff -u packages/dokuwiki-tpl-sidebar/more-buttons.patch:1.2 packages/dokuwiki-tpl-sidebar/more-buttons.patch:1.3
--- packages/dokuwiki-tpl-sidebar/more-buttons.patch:1.2	Sat Aug 29 23:15:14 2009
+++ packages/dokuwiki-tpl-sidebar/more-buttons.patch	Sat Aug 29 23:25:51 2009
@@ -1,6 +1,15 @@
---- sidebar/main.php    2009-08-30 00:00:33.098142092 +0300
+--- sidebar/main.php    2009-08-29 23:53:54.718210429 +0300
 +++ sidebar/main.php    2009-08-29 23:53:54.718210429 +0300
-@@ -63,6 +63,28 @@
+@@ -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');
+ ?>
+@@ -63,6 +65,30 @@
        <div class="bar-left" id="bar__topleft">
          <?php tpl_button('edit')?>
          <?php tpl_button('history')?>
@@ -12,6 +21,7 @@
 +            <input type="submit" value="Export to PDF" class="button" />
 +            <input type="hidden" name="do" value="export_pdf" />
 +            <input type="hidden" name="id" value="<?php echo $ID?>" />
++            <input type="hidden" name="rev" value="<?php echo $REV ?>" />
 +          </div>
 +        </form>
 +        <?php } ?>
@@ -23,6 +33,7 @@
 +            <input type="submit" value="Export to ODT" class="button" />
 +            <input type="hidden" name="do" value="export_odt" />
 +            <input type="hidden" name="id" value="<?php echo $ID?>" />
++            <input type="hidden" name="rev" value="<?php echo $REV ?>" />
 +          </div>
 +        </form>
 +        <?php } ?>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dokuwiki-tpl-sidebar/dokuwiki-tpl-sidebar.spec?r1=1.11&r2=1.12&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dokuwiki-tpl-sidebar/more-buttons.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list