diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-07-24 01:30:12 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-07-24 01:30:12 +0000 |
commit | 35c2aeca68298ec24a4e7cdb0912b7c6573f7766 (patch) | |
tree | 03314d578128041fff6c2ab7db40cc6ee69cf091 | |
parent | 3f7b44785195e196eda5a4224e28fc3aadad7363 (diff) |
- 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)
- removed unused css
git-svn-id: http://piwigo.org/svn/trunk@2456 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | include/functions.inc.php | 1 | ||||
-rw-r--r-- | include/functions_group.inc.php | 26 | ||||
-rw-r--r-- | template/yoga/default-layout.css | 10 | ||||
-rw-r--r-- | template/yoga/fix-ie5-ie6.css | 28 | ||||
-rw-r--r-- | template/yoga/thumbnails-fix-ie5-ie6.css | 27 |
5 files changed, 27 insertions, 65 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index a1b589999..29a973466 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -26,7 +26,6 @@ include_once( PHPWG_ROOT_PATH .'include/functions_cookie.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 a5c07b5b5..000000000 --- a/include/functions_group.inc.php +++ /dev/null @@ -1,26 +0,0 @@ -<?php -// +-----------------------------------------------------------------------+ -// | Piwigo - a PHP based picture gallery | -// +-----------------------------------------------------------------------+ -// | Copyright(C) 2008 Piwigo Team http://piwigo.org | -// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | -// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | -// +-----------------------------------------------------------------------+ -// | 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/default-layout.css b/template/yoga/default-layout.css index ea0524a94..f5c6fb116 100644 --- a/template/yoga/default-layout.css +++ b/template/yoga/default-layout.css @@ -8,9 +8,6 @@ BODY { text-align: center; /* be nice to IE5 */ } -#the_page { - /* Just in case another template needs an inner frame */ -} H1 { text-align: center; @@ -81,10 +78,6 @@ FORM FIELDSET P { margin-bottom: 0; } -.small { - font-size: 80%; -} - TEXTAREA.description { height: 6em; width: 40em; @@ -273,9 +266,6 @@ TR.tagLine { border-bottom: 1px solid #ddd; text-align: left; } -TR.tagLine:hover { - background-color: #fff; -} TD.nbEntries { text-align: right; font-style: italic; diff --git a/template/yoga/fix-ie5-ie6.css b/template/yoga/fix-ie5-ie6.css index b78bc7bf4..7574363b3 100644 --- a/template/yoga/fix-ie5-ie6.css +++ b/template/yoga/fix-ie5-ie6.css @@ -1,7 +1,33 @@ /* $Id$ */ /* Issues in IE from 5 to 6 only not to be used with IE7 */ -@import "thumbnails-fix-ie5-ie6.css"; +/* 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 */ +} + /* 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 dbffaefc9..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 */ -} |