packages: dokuwiki/task-1821.patch - use nicer r1/r2 in links

glen glen at pld-linux.org
Mon Oct 18 16:29:25 CEST 2010


Author: glen                         Date: Mon Oct 18 14:29:25 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use nicer r1/r2 in links

---- Files affected:
packages/dokuwiki:
   task-1821.patch (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/dokuwiki/task-1821.patch
diff -u packages/dokuwiki/task-1821.patch:1.4 packages/dokuwiki/task-1821.patch:1.5
--- packages/dokuwiki/task-1821.patch:1.4	Thu Oct  7 21:29:29 2010
+++ packages/dokuwiki/task-1821.patch	Mon Oct 18 16:29:20 2010
@@ -14,6 +14,17 @@
          $rev1 = (int) $_REQUEST['rev2'][0];
          $rev2 = (int) $_REQUEST['rev2'][1];
  
+--- dokuwiki/inc/html.php~	2010-10-07 21:48:30.000000000 +0300
++++ dokuwiki/inc/html.php	2010-10-18 17:28:03.106448956 +0300
+@@ -997,7 +997,7 @@
+     if($intro) print p_locale_xhtml('diff');
+ 
+     if (!$text) {
+-        $diffurl = wl($ID, array('do'=>'diff', 'rev2[0]'=>$l_rev, 'rev2[1]'=>$r_rev));
++        $diffurl = wl($ID, array('do'=>'diff', 'r1'=>$l_rev, 'r2'=>$r_rev));
+         ptln('<p class="difflink">');
+         ptln('  <a class="wikilink1" href="'.$diffurl.'">'.$lang['difflink'].'</a>');
+         ptln('</p>');
 --- dokuwiki-rc2010-10-07/inc/common.php~	2010-10-07 21:41:20.000000000 +0300
 +++ dokuwiki-rc2010-10-07/inc/common.php	2010-10-07 21:45:00.639114275 +0300
 @@ -1147,6 +1147,8 @@
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dokuwiki/task-1821.patch?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list