From d7d454ad9fd33606599cb482d93c2eaba435401d Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 24 Jul 2008 01:30:27 +0000 Subject: - remove functions_group.inc.php (empty for some years; avoid unnecessary include_file) - thumbnails-fix-ie5-ie6.css merged into fix-ie5-ie6.css (avoid 2 IE6 css file requests) git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2457 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions.inc.php | 1 - include/functions_group.inc.php | 30 ------------------------------ template/yoga/fix-ie5-ie6.css | 26 +++++++++++++++++++++++++- template/yoga/thumbnails-fix-ie5-ie6.css | 27 --------------------------- 4 files changed, 25 insertions(+), 59 deletions(-) delete mode 100644 include/functions_group.inc.php delete mode 100644 template/yoga/thumbnails-fix-ie5-ie6.css 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 @@ - 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 */ -} -- cgit v1.2.3