diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-03-30 06:33:42 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-03-30 06:33:42 -0700 |
commit | 91f27bf32fe3d9650e5095b6747804ec97b524e8 (patch) | |
tree | 223eb5d0ad538919dc997b9b2de7599f8ed182c6 /modules | |
parent | f5490ddcb051b4996b155afc956238b8d3d6dc72 (diff) |
add a controller method to return the translated labels for the add album dialog.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/organize/controllers/organize.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/organize/controllers/organize.php b/modules/organize/controllers/organize.php index 8f9c3b5d..bfd4992d 100644 --- a/modules/organize/controllers/organize.php +++ b/modules/organize/controllers/organize.php @@ -45,4 +45,12 @@ class Organize_Controller extends Controller { $v->api_key = rest::get_access_token($user->id)->access_key; print $v; } + + function add_album_fields() { + print json_encode(array("title" => (string)t("Title"), + "description" => (string)t("Description"), + "name" => (string)t("Directory name"), + "slug" => (string)t("Internet Address"))); + } + } |