From: Antoine Musso Date: Tue, 6 Sep 2005 20:04:38 +0000 (+0000) Subject: code formatting (for vim code folding) X-Git-Tag: 1.6.0~1703 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22messagerie%22%29%20.%20%22?a=commitdiff_plain;h=17259c19e17d7158d6b0da903a741fb3740e541f;p=lhc%2Fweb%2Fwiklou.git code formatting (for vim code folding) --- diff --git a/includes/ChangesList.php b/includes/ChangesList.php index 41f972dfe5..11197b71e8 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -1,6 +1,10 @@ $count) { - $text = $userlink ; - if ( $count > 1 ) $text .= " ({$count}×)" ; + $text = $userlink; + if ( $count > 1 ) $text .= ' ('.$count.'×)' ; array_push ( $users , $text ) ; } + $users = ' ['.implode('; ',$users).']'; # Arrow @@ -155,7 +160,6 @@ class ChangesList { $r .= $tl ; # Main line - $r .= '' ; $r .= $this->recentChangesFlags( $isnew, false, $unpatrolled ); @@ -206,9 +210,9 @@ class ChangesList { $o = 'oldid='.$rc_last_oldid ; } if ( $rc_type == RC_LOG ) { - $link = $rcObj->timestamp ; + $link = $rcObj->timestamp; } else { - $link = $this->skin->makeKnownLinkObj( $rcObj->getTitle(), $rcObj->timestamp , "{$curIdEq}&$o" ) ; + $link = $this->skin->makeKnownLinkObj( $rcObj->getTitle(), $rcObj->timestamp , $curIdEq.'&'.$o ); } $link = ''.$link.'' ; @@ -246,6 +250,11 @@ class ChangesList { return '
'.$blockOut.'
' ; } + +// FORMATTING STUFF + + + } @@ -283,7 +292,7 @@ class OldChangesList extends ChangesList { $s = ''; if ( $date != $this->lastdate ) { if ( '' != $this->lastdate ) { $s .= "\n"; } - $s .= "

{$date}

\n