Page MenuHomePhabricator

image-gallery-patch

Authored By
• bzimport
Nov 21 2014, 9:07 PM
Size
613 B
Referenced Files
None
Subscribers
None

image-gallery-patch

Index: includes/ImageGallery.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/ImageGallery.php,v
retrieving revision 1.27
diff -c -r1.27 ImageGallery.php
*** includes/ImageGallery.php 14 Jan 2006 02:49:42 -0000 1.27
--- includes/ImageGallery.php 16 Feb 2006 00:04:56 -0000
***************
*** 92,97 ****
--- 92,101 ----
$s = '<table class="gallery" cellspacing="0" cellpadding="0">';
$i = 0;
foreach ( $this->mImages as $pair ) {
+ if( $i %4 == 0 ) {
+ $s .= "<tr>";
+ }
+
$img =& $pair[0];
$text = $pair[1];

File Metadata

Mime Type
text/html
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2228
Default Alt Text
image-gallery-patch (613 B)

Event Timeline