# HG changeset patch # User Dan # Date 1203223352 18000 # Node ID 593180f9eea9934a35d49f74adcafb531cc2a4c2 # Parent 0475c9ed13867ad9f1c9657c0c8c3420901029ef ... Except now the IE hack broke Safari and Gran Paradiso. diff -r 0475c9ed1386 -r 593180f9eea9 plugins/gallery/viewimage.php --- a/plugins/gallery/viewimage.php Sat Feb 16 23:16:43 2008 -0500 +++ b/plugins/gallery/viewimage.php Sat Feb 16 23:42:32 2008 -0500 @@ -289,7 +289,8 @@ $img_url = makeUrlNS('Special', 'GalleryFetcher/preview/' . $img_id); $img_href = makeUrlNS('Special', 'GalleryFetcher/full/' . $img_id); - echo '
'; + $iehack = ( strstr(@$_SERVER['HTTP_USER_AGENT'], 'MSIE') ) ? ' style="width: 1px;"' : ''; + echo ''; echo ''; |