From 55cd2afde539842d54bd79fb7bdced37e5e53101 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sat, 24 Jan 2009 20:06:13 +0000 Subject: Admin theme style cleanup. Merged separate selected, available, unavailable into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet. --- core/controllers/admin_graphics.php | 1 + core/views/admin_graphics.html.php | 12 +- core/views/admin_graphics_gd.html.php | 2 +- core/views/admin_graphics_graphicsmagick.html.php | 2 +- core/views/admin_graphics_imagemagick.html.php | 2 +- core/views/admin_maintenance.html.php | 6 +- core/views/admin_modules.html.php | 4 +- core/views/admin_themes.html.php | 144 +++++++++++----------- 8 files changed, 86 insertions(+), 87 deletions(-) (limited to 'core') diff --git a/core/controllers/admin_graphics.php b/core/controllers/admin_graphics.php index fe71a222..f0855660 100644 --- a/core/controllers/admin_graphics.php +++ b/core/controllers/admin_graphics.php @@ -28,6 +28,7 @@ class Admin_Graphics_Controller extends Admin_Controller { if ($id == $active) { $view->content->active = new View("admin_graphics_$id.html"); $view->content->active->tk = $tk; + $view->content->active->is_active = true; } else { $v = new View("admin_graphics_$id.html"); $v->tk = $tk; diff --git a/core/views/admin_graphics.html.php b/core/views/admin_graphics.html.php index c5e32320..9cf54ccd 100644 --- a/core/views/admin_graphics.html.php +++ b/core/views/admin_graphics.html.php @@ -2,12 +2,12 @@ @@ -17,12 +17,10 @@

-
-

- -
+

+ -
+

diff --git a/core/views/admin_graphics_gd.html.php b/core/views/admin_graphics_gd.html.php index 8c645f4f..605e09ff 100644 --- a/core/views/admin_graphics_gd.html.php +++ b/core/views/admin_graphics_gd.html.php @@ -1,5 +1,5 @@ -
"> +
gd["GD Version"] ? "" : " gUnavailable" ?>"> " alt="" />

diff --git a/core/views/admin_graphics_graphicsmagick.html.php b/core/views/admin_graphics_graphicsmagick.html.php index bb4f906d..8196289e 100644 --- a/core/views/admin_graphics_graphicsmagick.html.php +++ b/core/views/admin_graphics_graphicsmagick.html.php @@ -1,5 +1,5 @@ -

"> +
graphicsmagick ? "" : " gUnavailable" ?>">

" alt="" />

diff --git a/core/views/admin_graphics_imagemagick.html.php b/core/views/admin_graphics_imagemagick.html.php index 7898a8d1..1166ff71 100644 --- a/core/views/admin_graphics_imagemagick.html.php +++ b/core/views/admin_graphics_imagemagick.html.php @@ -1,5 +1,5 @@ -

"> +
imagemagick ? "" : " gUnavailable" ?>">

" alt="" />

diff --git a/core/views/admin_maintenance.html.php b/core/views/admin_maintenance.html.php index b893ed0d..c2e28276 100644 --- a/core/views/admin_maintenance.html.php +++ b/core/views/admin_maintenance.html.php @@ -7,7 +7,7 @@

- +
@@ -41,7 +41,7 @@

- +
@@ -100,7 +100,7 @@

- +
+ $module_info): ?> - + "> $module_name); ?> locked) $data["disabled"] = 1; ?> @@ -23,6 +24,7 @@ +
diff --git a/core/views/admin_modules.html.php b/core/views/admin_modules.html.php index 53af2116..fa303320 100644 --- a/core/views/admin_modules.html.php +++ b/core/views/admin_modules.html.php @@ -14,8 +14,9 @@
version ?> description) ?>
"/> diff --git a/core/views/admin_themes.html.php b/core/views/admin_themes.html.php index 43328b3a..3bf246a4 100644 --- a/core/views/admin_themes.html.php +++ b/core/views/admin_themes.html.php @@ -7,85 +7,83 @@ } -
-

-

- -

+

+

+ +

-
-

-
- " - alt="name ?>" /> -

name ?>

-

- description ?> -

+
+

+
+ " + alt="name ?>" /> +

name ?>

+

+ description ?> +

+
+ +

+ - -

- -

- -
+
+

+
+ " + alt="name ?>" /> +

name ?>

+

+ description ?> +

-
-

-
- " - alt="name ?>" /> -

name ?>

-

- description ?> -

+

+ -
+
\ No newline at end of file -- cgit v1.2.3