diff options
author | mistic100 <mistic@piwigo.org> | 2014-06-13 18:32:29 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-06-13 18:32:29 +0000 |
commit | 5e3e65e9f2f624008c8a55775c78d6dfa85bbbf7 (patch) | |
tree | 3b210f6089df2e741c241b49efb2a24fdd9d3f13 /admin/themes/default | |
parent | 038f48825a9063adb28566ba3fe079404fa0f9cf (diff) |
remove admin IE 6/7/8 fixes
git-svn-id: http://piwigo.org/svn/trunk@28689 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default')
-rw-r--r-- | admin/themes/default/fix-ie5-ie6.css | 35 | ||||
-rw-r--r-- | admin/themes/default/fix-ie7.css | 11 | ||||
-rw-r--r-- | admin/themes/default/local_head.tpl | 9 | ||||
-rw-r--r-- | admin/themes/default/template/header.tpl | 7 | ||||
-rw-r--r-- | admin/themes/default/themeconf.inc.php | 1 |
5 files changed, 1 insertions, 62 deletions
diff --git a/admin/themes/default/fix-ie5-ie6.css b/admin/themes/default/fix-ie5-ie6.css deleted file mode 100644 index e11b2f78b..000000000 --- a/admin/themes/default/fix-ie5-ie6.css +++ /dev/null @@ -1,35 +0,0 @@ -/* Issues in IE from 5 to 6 only not to be used with IE7 */ - - -/* to avoid vanishing objects in IE6 */ -H1, #theHeader { - width: 100%; /* <- useless but seems to make IE6 happy */ -} -.content { - height: 1em; /* for IE6 it's like min-height */ -} - -/* fix quickconnect layout */ -FORM#quickconnect FIELDSET { - width: 99%; /* correct an ugly 1 or 2 px misalignement with IE */ -} - -/* fix IE with another layout for thumbnails */ -UL.thumbnails SPAN.wrap2 { - display: block; - position: relative; - text-align: left; -} - -UL.thumbnails IMG.thumbnail { - position: relative; - top: -50%; /* Is this following hacking technic required ? */ - /*\*//*/ - margin-top: -40%; - /**/ -} -UL.thumbnails INPUT { - position: absolute; - left: 2px; - top: 2px; /* same as other browsers but not so pretty */ -} diff --git a/admin/themes/default/fix-ie7.css b/admin/themes/default/fix-ie7.css deleted file mode 100644 index d61e0294a..000000000 --- a/admin/themes/default/fix-ie7.css +++ /dev/null @@ -1,11 +0,0 @@ -/* fix IE7 footer */ -#the_page { min-height:100%; position:relative; padding:0; margin:0; } -#menubar { margin: 0; } -#footer { left: 0; } - -UL.thumbnails li.rank-of-image { - text-align:left; -} -.groups li { - display: inline; -}
\ No newline at end of file diff --git a/admin/themes/default/local_head.tpl b/admin/themes/default/local_head.tpl deleted file mode 100644 index 972b23b2c..000000000 --- a/admin/themes/default/local_head.tpl +++ /dev/null @@ -1,9 +0,0 @@ -{if $load_css} -<!--[if lt IE 7]> - <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/default/fix-ie5-ie6.css"> -<![endif]--> - -<!--[if IE 7]> - <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/default/fix-ie7.css"> -<![endif]--> -{/if}
\ No newline at end of file diff --git a/admin/themes/default/template/header.tpl b/admin/themes/default/template/header.tpl index c95b759ad..5188edff4 100644 --- a/admin/themes/default/template/header.tpl +++ b/admin/themes/default/template/header.tpl @@ -7,8 +7,7 @@ <!DOCTYPE html> <html lang="{$lang_info.code}" dir="{$lang_info.direction}"> <head> -<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}"> -<meta name="generator" content="Piwigo (aka PWG), see piwigo.org"> +<meta charset="{$CONTENT_ENCODING}"> <title>{$GALLERY_TITLE} :: {$PAGE_TITLE}</title> <link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico"> @@ -27,10 +26,6 @@ {combine_script id='jquery' path='themes/default/js/jquery.min.js'} -<!--[if lt IE 7]> -<script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script> -<![endif]--> - {if not empty($head_elements)} {foreach from=$head_elements item=elt} {$elt} diff --git a/admin/themes/default/themeconf.inc.php b/admin/themes/default/themeconf.inc.php index 9a6b8fe42..ac6b40b8a 100644 --- a/admin/themes/default/themeconf.inc.php +++ b/admin/themes/default/themeconf.inc.php @@ -4,6 +4,5 @@ $themeconf = array( 'icon_dir' => 'themes/default/icon', 'admin_icon_dir' => 'admin/themes/default/icon', 'mime_icon_dir' => 'themes/default/icon/mimetypes/', - 'local_head' => 'local_head.tpl', ); ?> |