Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2653
image-gallery-patch
Public
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 9:07 PM
2014-11-21 21:07:54 (UTC+0)
Size
613 B
Referenced Files
None
Subscribers
None
image-gallery-patch
View Options
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
Details
Attached
Mime Type
text/html
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2228
Default Alt Text
image-gallery-patch (613 B)
Attached To
Mode
T7005: <gallery> produces a </tr> without a matching <tr>
Attached
Detach File
Event Timeline
Log In to Comment