]> git.pld-linux.org Git - packages/dokuwiki.git/commitdiff
- use nicer r1/r2 in links
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 18 Oct 2010 14:29:20 +0000 (14:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    task-1821.patch -> 1.5

task-1821.patch

index b66a894edb0806cefe54222b91cc7be24b012bbf..868412bf2353ad1705869dc0da0ea95a7818473a 100644 (file)
          $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 @@
This page took 0.032039 seconds and 4 git commands to generate.