summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin_sidebar.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-10-22 22:06:36 -0600
committerTim Almdal <tnalmdal@shaw.ca>2009-10-23 05:41:41 -0700
commit367e6a8983a6d0fbd76fd36b6627e8adc35332da (patch)
tree27e14fdd97561e1d55edfc26a71ee8974277a592 /modules/gallery/controllers/admin_sidebar.php
parent2d5b65a419908eed028d96c76ef2d01273376f13 (diff)
Standardize message markup, make the update block status message translatable.
Diffstat (limited to 'modules/gallery/controllers/admin_sidebar.php')
-rw-r--r--modules/gallery/controllers/admin_sidebar.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery/controllers/admin_sidebar.php b/modules/gallery/controllers/admin_sidebar.php
index f029d259..c83b5a37 100644
--- a/modules/gallery/controllers/admin_sidebar.php
+++ b/modules/gallery/controllers/admin_sidebar.php
@@ -47,7 +47,8 @@ class Admin_Sidebar_Controller extends Admin_Controller {
$v = new View("admin_sidebar_blocks.html");
$v->blocks = $active;
$result["active"] = $v->render();
-
+ $message = t("Updated sidebar blocks");
+ $result["message"] = (string) $message;
print json_encode($result);
}