Go to the FreeLists Home Page Home Signup Help Login
 



Browse dokuwiki: This Month's ArchiveMain Archive PageRelated postsPrevious by DateNext by Date

[dokuwiki] [PATCH] recent changes buttons should respect current $ID

  • From: Michael Klier <chi@xxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 9 Nov 2007 20:19:25 +0100
Hi everyone,

currently the "recent changes" buttons don't respect the current page
$ID. Means if you press "recent changes" the "show page" button will
always bring you to the start page of the wiki instead of the page you
pressed "recent changes". The attached patch fixes this behaviour.

Best Regards,
    Chi

-- 
Michael Klier

mail:   chi@xxxxxxxxxxx
www:    http://www.chimeric.de
icq:    206179334
jabber: chi@xxxxxxxxxxxxxxxxxx
key:    http://downloads.chimeric.de/chi.asc
key-id: 0x8308F551
New patches:

[recent changes buttons should respect current $ID
Michael Klier <chi@xxxxxxxxxxx>**20071109191618] {
hunk ./inc/template.php 483
-      print html_btn('recent','','r',array('do' => 'recent'));
+      print html_btn('recent',$ID,'r',array('do' => 'recent'));
hunk ./inc/template.php 614
-      tpl_link(wl('','do=recent'),
+      tpl_link(wl($ID,'do=recent'),
}

Context:

[fix problems if $USERINFO['grps'] is not set
Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071102181850] 
[russian language update
Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071102181710] 
[utf8_trim bugfix
Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071102181430
 Fixes the utf8_trim() function when a charlist is given
] 
[TAG develsnap 2007-11-01
Andreas Gohr <andi@xxxxxxxxxxxxxx>**20071101000001] 
Patch bundle hash:
031788d5dfc0c8f2800e9206b60f2f70d25da3c6

Other related posts:

  • [dokuwiki] [PATCH] recent changes buttons should respect current $ID
  • [dokuwiki] Re: [PATCH] recent changes buttons should respect current $ID
  • [dokuwiki] Re: [PATCH] recent changes buttons should respect current $ID
  • [dokuwiki] Re: [PATCH] recent changes buttons should respect current $ID
  • [dokuwiki] Re: [PATCH] recent changes buttons should respect current $ID




  • [ Home | Signup | Help | Login | Archives | Lists ]

    All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
    Everything else ©2008 Avenir Technologies, LLC.