Skip to content

Commit

Permalink
s/cleared/visualClear/
Browse files Browse the repository at this point in the history
Since the visualClear class is defined in core, it's basically always
available and for all skins.
SocialProfile's own cleared class is likely a legacy development decision
from 2006 or so, and it doesn't really make sense in today's world.

Change-Id: Ia4f4561df1875bff5896baa8b85247e7b61b64b6
  • Loading branch information
mary-kate committed Aug 30, 2015
1 parent 11e70b4 commit a1c4da4
Show file tree
Hide file tree
Showing 26 changed files with 147 additions and 147 deletions.
4 changes: 2 additions & 2 deletions SystemGifts/SpecialRemoveMasterSystemGift.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function execute( $par ) {
</div>
<div class="ga-container">' .
$this->msg( 'ga-remove-success-message', $gift['gift_name'] )->plain() .
'<div class="cleared"></div>
'<div class="visualClear"></div>
</div>';

$out->addHTML( $output );
Expand Down Expand Up @@ -142,7 +142,7 @@ function displayForm() {
$giftImage .
'<div class="ga-name">' . $gift['gift_name'] . '</div>
</div>
<div class="cleared"></div>
<div class="visualClear"></div>
<div class="ga-buttons">
<input type="button" class="site-button" value="' . $this->msg( 'ga-remove' )->plain() . '" size="20" onclick="document.form1.submit()" />
<input type="button" class="site-button" value="' . $this->msg( 'ga-cancel' )->plain() . '" size="20" onclick="history.go(-1)" />
Expand Down
4 changes: 2 additions & 2 deletions SystemGifts/SpecialViewSystemGift.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function execute( $par ) {
<div class=\"ga-name\">{$gift['name']}</div>
<div class=\"ga-timestamp\">({$gift['timestamp']})</div>
<div class=\"ga-description-message\">\"{$message}\"</div>";
$output .= '<div class="cleared"></div>
$output .= '<div class="visualClear"></div>
</div>';

// If someone else in addition to the current user has gotten this
Expand Down Expand Up @@ -122,7 +122,7 @@ public function execute( $par ) {
</a>";
}

$output .= '<div class="cleared"></div>
$output .= '<div class="visualClear"></div>
</div>'; // .ga-recent
}

Expand Down
4 changes: 2 additions & 2 deletions SystemGifts/SpecialViewSystemGifts.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ public function execute( $par ) {
$this->msg( 'ga-new' )->plain() . '</span>';
}

$output .= '<div class="cleared"></div>
$output .= '<div class="visualClear"></div>
</div>';
if ( $x == count( $gifts ) || $x != 1 && $x % $per_row == 0 ) {
$output .= '<div class="cleared"></div>';
$output .= '<div class="visualClear"></div>';
}

$x++;
Expand Down
2 changes: 1 addition & 1 deletion SystemGifts/TopAwards.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function execute( $par ) {
}

$output .= '</div>
<div class="cleared"></div>';
<div class="visualClear"></div>';

$out->addHTML( $output );
}
Expand Down
2 changes: 1 addition & 1 deletion UserActivity/UserActivity.body.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public function execute( $par ) {
}

$output .= '</div>
<div class="cleared"></div>';
<div class="visualClear"></div>';
$out->addHTML( $output );
}
}
4 changes: 2 additions & 2 deletions UserBoard/SpecialSendBoardBlast.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function displayForm() {
{$relationship['user_name']}
</div>";
if ( $x == count( $relationships ) || $x != 1 && $x % $per_row == 0 ) {
$output .= '<div class="cleared"></div>';
$output .= '<div class="visualClear"></div>';
}
$x++;
}
Expand All @@ -163,7 +163,7 @@ function displayForm() {

$output .= '</div>
<div class="cleared"></div>';
<div class="visualClear"></div>';

$output .= '<div class="blast-message-box-button">
<input type="button" value="' . $this->msg( 'boardsendbutton' )->escaped() . '" class="site-button" />
Expand Down
2 changes: 1 addition & 1 deletion UserBoard/SpecialUserBoard.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public function execute( $params ) {
<div class=\"user-board-message-body\">
{$ub_message_text}
</div>
<div class=\"cleared\"></div>
<div class=\"visualClear\"></div>
</div>
<div class=\"user-board-message-links\">
{$board_link}
Expand Down
2 changes: 1 addition & 1 deletion UserBoard/UserBoardClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ public function displayMessages( $user_id, $user_id_2 = 0, $count = 10, $page =
<div class=\"user-board-message-body\">
{$message_text}
</div>
<div class=\"cleared\"></div>
<div class=\"visualClear\"></div>
</div>
<div class=\"user-board-message-links\">
{$board_link}
Expand Down
8 changes: 4 additions & 4 deletions UserGifts/SpecialGiveGift.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function execute( $par ) {
'</div>';
}
$output .= '</div>
<div class="cleared"></div>
<div class="visualClear"></div>
<div class="g-buttons">
<input type="button" class="site-button" value="' . $this->msg( 'g-main-page' )->plain() . '" size="20" onclick="window.location=\'index.php?title=' . $this->msg( 'mainpage' )->inContentLanguage()->escaped() . '\'" />
<input type="button" class="site-button" value="' . $this->msg( 'g-your-profile' )->plain() . '" size="20" onclick="window.location=\'' . htmlspecialchars( $user->getUserPage()->getFullURL() ) . '\'" />
Expand Down Expand Up @@ -213,7 +213,7 @@ function displayFormSingle() {
'</div>';
}
$output .= '</div>
<div class="cleared"></div>
<div class="visualClear"></div>
<div class="g-add-message">' . $this->msg( 'g-add-message' )->plain() . '</div>
<textarea name="message" id="message" rows="4" cols="50"></textarea>
<div class="g-buttons">
Expand Down Expand Up @@ -334,10 +334,10 @@ function displayFormAll() {
if ( $gift['gift_description'] ) {
$output .= "<div class=\"g-describe\">{$gift['gift_description']}</div>";
}
$output .= '<div class="cleared"></div>
$output .= '<div class="visualClear"></div>
</div>';
if ( $x == count( $gifts ) || $x != 1 && $x % $per_row == 0 ) {
$output .= '<div class="cleared"></div>';
$output .= '<div class="visualClear"></div>';
}
$x++;
}
Expand Down
4 changes: 2 additions & 2 deletions UserGifts/SpecialRemoveGift.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function execute( $par ) {
</div>
<div class="g-container">' .
$gift_image . $this->msg( 'g-remove-success-message', $gift['name'] )->parse() .
'<div class="cleared"></div>
'<div class="visualClear"></div>
</div>
<div class="g-buttons">
<input type="button" class="site-button" value="' . $this->msg( 'g-main-page' )->plain() . '" size="20" onclick="window.location=\'index.php?title=' . $this->msg( 'mainpage' )->inContentLanguage()->escaped() . '\'" />
Expand Down Expand Up @@ -129,7 +129,7 @@ function displayForm() {
$gift['message'] . '</div>';
}
$output .= '</div>
<div class="cleared"></div>
<div class="visualClear"></div>
<div class="g-buttons">' .
Html::hidden( 'user', $gift['user_name_from'] ) .
'<input type="button" class="site-button" value="' . $this->msg( 'g-remove' )->plain() . '" size="20" onclick="document.form1.submit()" />
Expand Down
4 changes: 2 additions & 2 deletions UserGifts/SpecialRemoveMasterGift.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function execute( $par ) {
</div>
<div class="g-container">' .
$this->msg( 'g-remove-success-message', $gift['gift_name'] )->parse() .
'<div class="cleared"></div>
'<div class="visualClear"></div>
</div>';

$out->addHTML( $output );
Expand Down Expand Up @@ -151,7 +151,7 @@ function displayForm() {
$gift_image .
'<div class="g-name">' . $gift['gift_name'] . '</div>
</div>
<div class="cleared"></div>
<div class="visualClear"></div>
<div class="g-buttons">
<input type="button" class="site-button" value="' . $this->msg( 'g-remove' )->plain() . '" size="20" onclick="document.form1.submit()" />
<input type="button" class="site-button" value="' . $this->msg( 'g-cancel' )->plain() . '" size="20" onclick="history.go(-1)" />
Expand Down
4 changes: 2 additions & 2 deletions UserGifts/SpecialViewGift.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function execute( $par ) {
if ( $message ) {
$output .= '<div class="g-user-message">' . $message . '</div>';
}
$output .= '<div class="cleared"></div>
$output .= '<div class="visualClear"></div>
<div class="g-describe">' . $gift['description'] . '</div>
<div class="g-actions">
<a href="' . htmlspecialchars( $giveGiftLink->getFullURL( 'gift_id=' . $gift['gift_id'] ) ) . '">' .
Expand Down Expand Up @@ -135,7 +135,7 @@ public function execute( $par ) {
</a>";
}

$output .= '<div class="cleared"></div>
$output .= '<div class="visualClear"></div>
</div>
</div>';

Expand Down
4 changes: 2 additions & 2 deletions UserGifts/SpecialViewGifts.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ public function execute( $par ) {
$this->msg( 'g-remove-gift' )->plain() . '</a>';
}
$output .= '</div>
<div class="cleared"></div>';
<div class="visualClear"></div>';
$output .= '</div>';
if ( $x == count( $gifts ) || $x != 1 && $x % $per_row == 0 ) {
$output .= '<div class="cleared"></div>';
$output .= '<div class="visualClear"></div>';
}

$x++;
Expand Down
Loading

0 comments on commit a1c4da4

Please sign in to comment.