]> git.pld-linux.org Git - packages/dokuwiki-tpl-sidebar.git/commitdiff
- pass revno in export auto/ac/dokuwiki-tpl-sidebar-20090126-3 auto/th/dokuwiki-tpl-sidebar-20090126-3
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 29 Aug 2009 21:25:51 +0000 (21:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-tpl-sidebar.spec -> 1.12
    more-buttons.patch -> 1.3

dokuwiki-tpl-sidebar.spec
more-buttons.patch

index e090629da722af5534ed476517c4b2ff9a3013fa..eba64097dbd1b697c1ce194f29155a07c9cc6530 100644 (file)
@@ -5,7 +5,7 @@ Summary:        Sidebar navigation with DokuWiki
 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
index 9a93f10b8916fe2a215e62dde28452575377e9f4..2ad20f175257f948ee3086a19116b39d0daa64e3 100644 (file)
@@ -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 } ?>
This page took 0.111855 seconds and 4 git commands to generate.