summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-13 11:00:46 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-13 11:00:46 +0000
commit074cbd860ddaaa1101278ad0cf01935eb791b124 (patch)
treeeb066293791f233e016dc7aa8e0beb9ac0f71357
parent38ddf559f0f52095c50710268a9890199b73e648 (diff)
Call 'site' themes 'Gallery' themes since site means less to users. Fix swapped messages
-rw-r--r--core/controllers/admin_themes.php4
-rw-r--r--core/views/admin_themes.html.php6
2 files changed, 5 insertions, 5 deletions
diff --git a/core/controllers/admin_themes.php b/core/controllers/admin_themes.php
index 8d810bb7..b2e0b0e2 100644
--- a/core/controllers/admin_themes.php
+++ b/core/controllers/admin_themes.php
@@ -63,11 +63,11 @@ class Admin_Themes_Controller extends Admin_Controller {
if ($type == "admin" && $info->admin) {
module::set_var("core", "active_admin_theme", $theme_name);
- message::success(t("Successfully changed your site theme to <b>{{theme_name}}</b>",
+ message::success(t("Successfully changed your admin theme to <b>{{theme_name}}</b>",
array("theme_name" => $info->name)));
} else if ($type == "site" && $info->site) {
module::set_var("core", "active_site_theme", $theme_name);
- message::success(t("Successfully changed your admin theme to <b>{{theme_name}}</b>",
+ message::success(t("Successfully changed your Gallery theme to <b>{{theme_name}}</b>",
array("theme_name" => $info->name)));
}
diff --git a/core/views/admin_themes.html.php b/core/views/admin_themes.html.php
index b662ea5f..b0b4215d 100644
--- a/core/views/admin_themes.html.php
+++ b/core/views/admin_themes.html.php
@@ -10,11 +10,11 @@
<div id="gAdminThemes">
<h1> <?= t("Theme Administration") ?> </h1>
<p>
- <?= t("Gallery allows you to choose a theme for your site, as well as a theme for the administration interface. Click a theme to preview and activate it.") ?>
+ <?= t("Gallery allows you to choose a theme for browsing your Gallery, as well as a special theme for the administration interface. Click a theme to preview and activate it.") ?>
</p>
<div id="gSiteTheme">
- <h2> <?= t("Site theme") ?> </h2>
+ <h2> <?= t("Gallery theme") ?> </h2>
<div class="gBlock selected">
<img src="<?= url::file("themes/{$site}/thumbnail.png") ?>"
alt="<?= $themes[$active]->name ?>" />
@@ -24,7 +24,7 @@
</p>
</div>
- <h2> <?= t("Available site themes") ?> </h2>
+ <h2> <?= t("Available Gallery themes") ?> </h2>
<div id="gAvailableSiteThemes">
<? $count = 0 ?>
<? foreach ($themes as $id => $info): ?>