From 21fe043d2e5d82c621ab9ce0ace60c9b20fa1149 Mon Sep 17 00:00:00 2001
From: rvelices
Date: Tue, 18 Oct 2011 04:44:44 +0000
Subject: admin remove unused css rules + unused class names from html elements
git-svn-id: http://piwigo.org/svn/trunk@12482 68402e56-0260-453c-a942-63ccdbb3a9ee
---
admin/themes/default/template/admin.tpl | 2 +-
admin/themes/default/template/cat_list.tpl | 18 +++++++++---------
admin/themes/default/template/cat_modify.tpl | 18 +++++++++---------
admin/themes/default/template/group_list.tpl | 6 +++---
admin/themes/default/template/permalinks.tpl | 2 +-
admin/themes/default/template/picture_modify.tpl | 6 +++---
admin/themes/default/template/popuphelp.tpl | 2 +-
admin/themes/default/template/rating.tpl | 2 +-
admin/themes/default/template/user_list.tpl | 4 ++--
admin/themes/default/theme.css | 17 ++---------------
10 files changed, 32 insertions(+), 45 deletions(-)
diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl
index 56a92a75e..320e11c7c 100644
--- a/admin/themes/default/template/admin.tpl
+++ b/admin/themes/default/template/admin.tpl
@@ -101,7 +101,7 @@ jQuery(document).ready(function(){ldelim}
{if isset($U_HELP)}
{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
-
+
{/if}
diff --git a/admin/themes/default/template/cat_list.tpl b/admin/themes/default/template/cat_list.tpl
index 6449425ea..5e1d362e6 100644
--- a/admin/themes/default/template/cat_list.tpl
+++ b/admin/themes/default/template/cat_list.tpl
@@ -35,7 +35,7 @@ jQuery(document).ready(function(){ldelim}
{if count($categories)>9 }
-
+
{/if}
@@ -64,21 +64,21 @@ jQuery(document).ready(function(){ldelim}
{if cat_admin_access($category.ID)}
-
+
{/if}
-
+
{if isset($category.U_MANAGE_ELEMENTS) }
-
+
{/if}
-
+
{if isset($category.U_MANAGE_PERMISSIONS) }
-
+
{/if}
{if isset($category.U_SYNC) }
-
+
{/if}
{if isset($category.U_DELETE) }
-
+
{/if}
@@ -86,7 +86,7 @@ jQuery(document).ready(function(){ldelim}
{$category.NAME}
{if $category.IS_VIRTUAL}
-
+
{/if}
diff --git a/admin/themes/default/template/cat_modify.tpl b/admin/themes/default/template/cat_modify.tpl
index 0e03aeacd..d6aa606c8 100644
--- a/admin/themes/default/template/cat_modify.tpl
+++ b/admin/themes/default/template/cat_modify.tpl
@@ -10,21 +10,21 @@
{if cat_admin_access($CAT_ID)}
-
+
{/if}
{if isset($U_MANAGE_ELEMENTS) }
-
+
{/if}
-
-
+
+
{if isset($U_MANAGE_PERMISSIONS) }
-
+
{/if}
{if isset($U_SYNC) }
-
+
{/if}
{if isset($U_DELETE) }
-
+
{/if}
@@ -103,9 +103,9 @@
{if isset($representant.picture) }
-
+
{else}
-
+
{/if}
|
diff --git a/admin/themes/default/template/group_list.tpl b/admin/themes/default/template/group_list.tpl
index c0aac7fed..c12c89d0d 100644
--- a/admin/themes/default/template/group_list.tpl
+++ b/admin/themes/default/template/group_list.tpl
@@ -30,13 +30,13 @@
| {$group.MEMBERS} |
-
+
-
+
-
+
|
{/foreach}
diff --git a/admin/themes/default/template/permalinks.tpl b/admin/themes/default/template/permalinks.tpl
index 81c537cbb..57d8afa37 100644
--- a/admin/themes/default/template/permalinks.tpl
+++ b/admin/themes/default/template/permalinks.tpl
@@ -60,7 +60,7 @@
{$permalink.date_deleted} |
{$permalink.last_hit} |
{$permalink.hit} |
- |
+ |
{/foreach}
diff --git a/admin/themes/default/template/picture_modify.tpl b/admin/themes/default/template/picture_modify.tpl
index c28afed83..3832d60fb 100644
--- a/admin/themes/default/template/picture_modify.tpl
+++ b/admin/themes/default/template/picture_modify.tpl
@@ -30,12 +30,12 @@ pwg_initialization_datepicker("#date_creation_day", "#date_creation_month", "#da
{if isset($U_JUMPTO) }
-
+
{/if}
{if !url_is_remote($PATH)}
-
+
-
+
{/if}
diff --git a/admin/themes/default/template/popuphelp.tpl b/admin/themes/default/template/popuphelp.tpl
index 950e3ca0e..cddb73b83 100644
--- a/admin/themes/default/template/popuphelp.tpl
+++ b/admin/themes/default/template/popuphelp.tpl
@@ -5,7 +5,7 @@
diff --git a/admin/themes/default/template/rating.tpl b/admin/themes/default/template/rating.tpl
index a6d107a69..ffa59705b 100644
--- a/admin/themes/default/template/rating.tpl
+++ b/admin/themes/default/template/rating.tpl
@@ -58,7 +58,7 @@
{$rate.RATE} |
{$rate.USER} |
{$rate.DATE} |
- |
+ |
{/foreach} {*rates*}
{/foreach} {*images*}
diff --git a/admin/themes/default/template/user_list.tpl b/admin/themes/default/template/user_list.tpl
index 87d6a5710..8085d5a10 100644
--- a/admin/themes/default/template/user_list.tpl
+++ b/admin/themes/default/template/user_list.tpl
@@ -87,8 +87,8 @@
{$data} |
{/foreach}
-
-
+
+
{foreach from=$user.plugin_actions item=data}
{$data}
{/foreach}
diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css
index a84a904fa..71f1a1e6d 100644
--- a/admin/themes/default/theme.css
+++ b/admin/themes/default/theme.css
@@ -801,27 +801,14 @@ BODY {
/* Set some sizes according to your maximum thumbnail width and height */
UL.thumbnails SPAN,
UL.thumbnails SPAN.wrap2 A,
-UL.thumbnails LABEL,
-.content DIV.thumbnailCategory DIV.illustration {
+UL.thumbnails LABEL {
width: 140px; /* max thumbnail width + 2px */
}
-UL.thumbnails SPAN.wrap2,
-.content DIV.thumbnailCategory DIV.description {
+UL.thumbnails SPAN.wrap2 {
height: 140px; /* max thumbnail height + 2px */
}
-/* Category thumbnails on main page */
-.content UL.thumbnailCategories LI {
- width: 49.7%; /* 49.7% for 2 per line, 33.2% for 3 per line*/
-}
-
-/* Set defaults for thumbnails legend */
-UL.thumbnails SPAN.thumbLegend {
- display: block; /* display: none; if you don't want legend */
- height: 4em; /* legend height (don't set auto to be Gecko friendly)*/
-}
-
.themeBox {display:inline-table; text-align:center; height:192px; background-color:#eee; margin:5px; -moz-border-radius:5px; overflow:hidden; }
.themeBox IMG {border:1px solid white; margin:0 15px;}
--
cgit v1.2.3
|