From 0033887ba858659b5e360baa69031055c98974f7 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 11 Jan 2009 00:24:39 +0000 Subject: Rework the way we do theme selection. Show the currently active theme and then thumbnails for all the other available themes. If you select one of the other available themes, it gives you a preview pane where you can look at either the main page or the site admin page with the new theme, then choose to activate it if you like it. --- core/views/admin_themes.html.php | 119 ++++++++++++------------------- core/views/admin_themes_preview.html.php | 7 ++ 2 files changed, 53 insertions(+), 73 deletions(-) create mode 100644 core/views/admin_themes_preview.html.php (limited to 'core/views') diff --git a/core/views/admin_themes.html.php b/core/views/admin_themes.html.php index 64df7608..f8dc0812 100644 --- a/core/views/admin_themes.html.php +++ b/core/views/admin_themes.html.php @@ -1,80 +1,53 @@ -
+ +

-
"> - -
- -
- - - - +
+ +
+ + +
- $theme): ?> - - - - - -
- - - " alt="name ?>" /> - - description ?> - - name ?> - - - - " alt="name ?>" /> - - description ?> - - name ?> - -
+
+

+
+

+
+

name ?>

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

+ description ?> +

-
- - - - - $theme): ?> - - - - - -
- - - " - alt="name ?>" /> - - description ?> - - name ?> - - - - " alt="name ?>" /> - - description ?> - - name ?> - -
+
+ +
+

+ $info): ?> + $type) continue ?> + + +
- "/> - -
-
-

- details ?> +
diff --git a/core/views/admin_themes_preview.html.php b/core/views/admin_themes_preview.html.php new file mode 100644 index 00000000..c31d4118 --- /dev/null +++ b/core/views/admin_themes_preview.html.php @@ -0,0 +1,7 @@ +

$info->name)) ?>

+ +

+ + {{theme_name}}", array("theme_name" => $info->name)) ?> + +

-- cgit v1.2.3