r25354 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25353‎ | r25354 | r25355 >
Date:14:01, 31 August 2007
Author:tstarling
Status:old
Tags:
Comment:
Fixed border option to makeImageLink2()
Modified paths:
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -572,7 +572,8 @@
573573 $s = $thumb->toHtml( array(
574574 'desc-link' => true,
575575 'alt' => $fp['alt'],
576 - 'valign' => isset( $fp['valign'] ) ? $fp['valign'] : false ) );
 576+ 'valign' => isset( $fp['valign'] ) ? $fp['valign'] : false ,
 577+ 'img-class' => isset( $fp['border'] ) ? 'thumbborder' : false ) );
577578 }
578579 if ( '' != $fp['align'] ) {
579580 $s = "<div class=\"float{$fp['align']}\"><span>{$s}</span></div>";

Follow-up revisions

RevisionCommit summaryAuthorDate
r25372Merged revisions 25338-25371 via svnmerge from...david18:18, 31 August 2007

Status & tagging log