diff options
-rw-r--r-- | include/functions.inc.php | 1 | ||||
-rw-r--r-- | include/functions_group.inc.php | 30 | ||||
-rw-r--r-- | template/yoga/fix-ie5-ie6.css | 26 | ||||
-rw-r--r-- | template/yoga/thumbnails-fix-ie5-ie6.css | 27 |
4 files changed, 25 insertions, 59 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index 9b8dea1a3..64aa7fa5a 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -28,7 +28,6 @@ include_once( PHPWG_ROOT_PATH .'include/functions_user.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_session.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_category.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_xml.inc.php' ); -include_once( PHPWG_ROOT_PATH .'include/functions_group.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_html.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_tag.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_url.inc.php' ); diff --git a/include/functions_group.inc.php b/include/functions_group.inc.php deleted file mode 100644 index 919082a92..000000000 --- a/include/functions_group.inc.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | PhpWebGallery - a PHP based picture gallery | -// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | -// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net | -// +-----------------------------------------------------------------------+ -// | branch : BSF (Best So Far) -// | file : $RCSfile$ -// | last update : $Date$ -// | last modifier : $Author$ -// | revision : $Revision$ -// +-----------------------------------------------------------------------+ -// | This program is free software; you can redistribute it and/or modify | -// | it under the terms of the GNU General Public License as published by | -// | the Free Software Foundation | -// | | -// | This program is distributed in the hope that it will be useful, but | -// | WITHOUT ANY WARRANTY; without even the implied warranty of | -// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | -// | General Public License for more details. | -// | | -// | You should have received a copy of the GNU General Public License | -// | along with this program; if not, write to the Free Software | -// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | -// | USA. | -// +-----------------------------------------------------------------------+ - -// with 1.5 preparation, no group dedicated function is used. - -?> diff --git a/template/yoga/fix-ie5-ie6.css b/template/yoga/fix-ie5-ie6.css index 2e0b64412..638b242f1 100644 --- a/template/yoga/fix-ie5-ie6.css +++ b/template/yoga/fix-ie5-ie6.css @@ -1,7 +1,31 @@ /* $Id$ */ /* Issues in IE from 5 to 6 only not to be used with IE7 */ -@import "thumbnails-fix-ie5-ie6.css"; +#content UL.thumbnails SPAN.wrap2 { + display: block; + position: relative; + text-align: left; +} +#content UL.thumbnails SPAN.wrap2 A, +#content UL.thumbnails SPAN.wrap2 SPAN { + overflow: visible; + position: absolute; + top: 50%; + text-align: center; +} + +#content UL.thumbnails IMG.thumbnail { + position: relative; + top: -50%; + /*\*//*/ + margin-top: -40%; + /**/ +} +#content UL.thumbnails INPUT { + position: absolute; + left: 2px; + top: 2px; /* same as other browsers but not so pretty */ +} /* to avoid vanishing objects in IE6 */ H1, #theHeader { diff --git a/template/yoga/thumbnails-fix-ie5-ie6.css b/template/yoga/thumbnails-fix-ie5-ie6.css deleted file mode 100644 index 66adaad08..000000000 --- a/template/yoga/thumbnails-fix-ie5-ie6.css +++ /dev/null @@ -1,27 +0,0 @@ -/* $Id$ */ -/* fix IE with another layout for thumbnails */ -#content UL.thumbnails SPAN.wrap2 { - display: block; - position: relative; - text-align: left; -} -#content UL.thumbnails SPAN.wrap2 A, -#content UL.thumbnails SPAN.wrap2 SPAN { - overflow: visible; - position: absolute; - top: 50%; - text-align: center; -} - -#content UL.thumbnails IMG.thumbnail { - position: relative; - top: -50%; - /*\*//*/ - margin-top: -40%; - /**/ -} -#content UL.thumbnails INPUT { - position: absolute; - left: 2px; - top: 2px; /* same as other browsers but not so pretty */ -} |