diff options
author | dkm <dkm@gre.kataplop.net> | 2009-06-09 13:40:40 +0200 |
---|---|---|
committer | dkm <dkm@gre.kataplop.net> | 2009-06-09 13:40:40 +0200 |
commit | 93acc00959acaa365b0750f4ed8cf1cb2e2caefc (patch) | |
tree | a84e4fb45e51841d202b654bc99cf8eab41cd40e /modules/gallery/controllers/quick.php | |
parent | e77ba1d7512b3d7f4c3cd12bb499e0e296c485ae (diff) | |
parent | a42c101c0b76edb403f2f9c646c27539b983394b (diff) |
Merge branch 'master' of git@github.com:dkm/gallery3
Diffstat (limited to 'modules/gallery/controllers/quick.php')
-rw-r--r-- | modules/gallery/controllers/quick.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gallery/controllers/quick.php b/modules/gallery/controllers/quick.php index 6efcb9de..d6f5213f 100644 --- a/modules/gallery/controllers/quick.php +++ b/modules/gallery/controllers/quick.php @@ -87,9 +87,12 @@ class Quick_Controller extends Controller { access::required("view", $item->parent()); access::required("edit", $item->parent()); + $msg = t("Made <b>%title</b> this album's cover", array("title" => $item->title)); + item::make_album_cover($item); + message::success($msg); - print json_encode(array("result" => "success")); + print json_encode(array("result" => "success", "reload" => 1)); } public function delete($id) { |