From 151dd62ca5c2a9a11e55ec08985933c541a2708a Mon Sep 17 00:00:00 2001 From: rvelices Date: Mon, 17 Oct 2011 20:52:57 +0000 Subject: feature 2477: Remove unused CSS / html elements from version 2.3 (merge from trunk) git-svn-id: http://piwigo.org/svn/branches/2.3@12480 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/theme.css | 5 ----- include/functions_html.inc.php | 2 +- themes/default/template/comment_list.tpl | 2 +- themes/default/template/comments.tpl | 2 +- themes/default/template/identification.tpl | 2 +- themes/default/template/password.tpl | 4 ++-- themes/default/template/picture.tpl | 2 -- themes/default/theme.css | 15 ++++----------- 8 files changed, 10 insertions(+), 24 deletions(-) diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index 433d62ffb..1b30ff591 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -376,11 +376,6 @@ IMG { border: none; } -HR.separation { - visibility: hidden; - clear: both; -} - /** General defaults **/ INPUT, SELECT { margin: 0; diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index 60b3a9a86..e414c1c0c 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -465,7 +465,7 @@ function get_tags_content_title() .l10n('remove this tag from the list') .'">x' + .'" alt="x" style="vertical-align:bottom;">' .''; } return $title; diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl index d35b2e18f..852153897 100644 --- a/themes/default/template/comment_list.tpl +++ b/themes/default/template/comment_list.tpl @@ -40,7 +40,7 @@ - + {else} diff --git a/themes/default/template/comments.tpl b/themes/default/template/comments.tpl index ab1455590..28a0a5074 100644 --- a/themes/default/template/comments.tpl +++ b/themes/default/template/comments.tpl @@ -63,7 +63,7 @@ -

+

diff --git a/themes/default/template/identification.tpl b/themes/default/template/identification.tpl index 5ccfb7133..3deff9c54 100644 --- a/themes/default/template/identification.tpl +++ b/themes/default/template/identification.tpl @@ -52,7 +52,7 @@

- +

diff --git a/themes/default/template/password.tpl b/themes/default/template/password.tpl index eef2c64e2..493e1000f 100644 --- a/themes/default/template/password.tpl +++ b/themes/default/template/password.tpl @@ -47,7 +47,7 @@

-

+

{elseif $action eq 'reset'}
{'Hello'|@translate} {$username}. {'Enter your new password below.'|@translate}
@@ -68,7 +68,7 @@

-

+

{/if} diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index c4dddac98..d98160a73 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -290,8 +290,6 @@ y.callService( {/if} -
- {if isset($COMMENT_COUNT)}
{if $COMMENT_COUNT > 0} diff --git a/themes/default/theme.css b/themes/default/theme.css index f1e0df44b..7c2d75d97 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -356,8 +356,8 @@ TD.calDayHead { } #imageInfos { - position:relative; - min-height:110px; + position: relative; + min-height: 120px; } #linkPrev { @@ -415,9 +415,8 @@ TD.calDayHead { margin-left:20em; } .pictureContent #imageToolBar, -.pictureContent #theImage, -.pictureContent hr.separation { - clear:none; +.pictureContent #theImage { + clear: none; } @@ -466,11 +465,6 @@ IMG { border: 0; } -HR.separation { - visibility: hidden; - clear: both; -} - #copyright { clear: both; font-size: 83%; @@ -790,7 +784,6 @@ LEGEND { .message { background-color: lightyellow; color:#333; - /* margin: 0.5em 1em 0.5em 1em; */ margin-bottom:1em; padding: 12px; -moz-border-radius: 3px; -- cgit v1.2.3