r7846 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r7845‎ | r7846 | r7847 >
Date:09:43, 24 March 2005
Author:avar
Status:old
Tags:
Comment:
We *do* like pretty html right?;)
Modified paths:
  • /trunk/phase3/includes/SpecialBlockip.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialBlockip.php
@@ -68,8 +68,9 @@
6969 $scBlockExpiry = htmlspecialchars( $this->BlockExpiry );
7070 $scBlockReason = htmlspecialchars( $this->BlockReason );
7171
72 - $blockExpiryFormOptions = join("</option><option>", split(",", $wgBlockExpiryOptions));
73 - $blockExpiryFormOptions = "<option>" . $blockExpiryFormOptions . "</option>";
 72+ $blockExpiryFormOptions = '<option>' .
 73+ implode("</option>\n\t\t\t\t\t<option>", explode(',', $wgBlockExpiryOptions)) .
 74+ '</option>';
7475
7576 $token = htmlspecialchars( $wgUser->editToken() );
7677

Status & tagging log