From: Gabriel Wicke Date: Mon, 19 Apr 2004 09:15:01 +0000 (+0000) Subject: counter for tab indexes X-Git-Tag: 1.3.0beta1~386 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=a6d18de13c73cc5953258351481eaf0186d85f62;p=lhc%2Fweb%2Fwiklou.git counter for tab indexes --- diff --git a/includes/SpecialRecentchangeslinked.php b/includes/SpecialRecentchangeslinked.php index 25c1687fb1..ffe169e7d8 100644 --- a/includes/SpecialRecentchangeslinked.php +++ b/includes/SpecialRecentchangeslinked.php @@ -68,13 +68,15 @@ function wfSpecialRecentchangeslinked( $par = NULL ) $s = $sk->beginRecentChangesList(); $count = wfNumRows( $res ); - + + $counter = 1; while ( $limit ) { if ( 0 == $count ) { break; } $obj = wfFetchObject( $res ); --$count; $rc = RecentChange::newFromCurRow( $obj ); + $rc->counter = $counter++; $s .= $sk->recentChangesLine( $rc ); --$limit; }