07-01-2015, 02:59 PM
The member/user galleries appear to be themed differently to the non-member galleries.
The member gallery theming (under MyBB 1.8.5) makes the pagination unreadable.
I have attached a patch that fixes this, and tweaks two other theme items to make it look the same as the non-member galleries. (whoops .. I can't attach a patch file, so I will paste it into a code block here, and hope it works):
The member gallery theming (under MyBB 1.8.5) makes the pagination unreadable.
I have attached a patch that fixes this, and tweaks two other theme items to make it look the same as the non-member galleries. (whoops .. I can't attach a patch file, so I will paste it into a code block here, and hope it works):
Code:
--- ezgalleryuser.php.orig 2015-07-01 14:46:01.096609728 +1000
+++ ezgalleryuser.php 2015-07-01 14:54:30.078365903 +1000
@@ -477,7 +477,7 @@
// Do Sorting form here
- echo '<tr>
+ echo '<tr class="thead">
<td align="right" colspan="', $maxrowlevel, '">
<form method="post" action="' . $mybb->settings['bburl'] . '/ezgallery.php?su=user&cat=', $cat,'&u=', $context['usergallery_userid'],'">
<input type="hidden" name="my_post_key" value="' . htmlspecialchars_uni($mybb->post_code) . '" />
@@ -606,7 +606,7 @@
// Show the Pages link
- echo '<tr class="thead">
+ echo '<tr class="trow1">
<td align="left" colspan="' . $maxrowlevel . '">
';
@@ -645,7 +645,7 @@
echo '
<a href="' . $mybb->settings['bburl'] . '/ezgallery.php?su=user&u=' . $context['usergallery_userid'] . '">' . $lang->gallery_text_returngallery . '</a></td>
</tr>
- </table><br /><br /><br />';
+ </table><br />';
}
else
@@ -3071,4 +3071,4 @@
}
}
-?>
\ No newline at end of file
+?>