diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-02 21:37:06 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-02 21:37:06 +0000 |
commit | 2e42a5ea8ce64031f6baf31964a0ff25a6ad0b04 (patch) | |
tree | 00610e7d5cfe7776865a7309aca60b3c1fe429f3 | |
parent | 3953dde2c698d89810661435b2602fbdb55c322e (diff) |
Remove the variable from inside _()
-rw-r--r-- | core/helpers/album.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/helpers/album.php b/core/helpers/album.php index 3e77d521..dd8d1dd2 100644 --- a/core/helpers/album.php +++ b/core/helpers/album.php @@ -61,7 +61,7 @@ class album_Core { static function get_add_form($parent) { $form = new Forge("albums/{$parent->id}", "", "post", array("id" => "gAddAlbumForm")); - $group = $form->group(_("Add Album to {$parent->title}")); + $group = $form->group(_("Add Album to ") . $parent->title); $group->input("name"); $group->input("title"); $group->input("description"); @@ -69,6 +69,5 @@ class album_Core { $group->submit(_("Create")); $form->add_rules_from(ORM::factory("item")); return $form; - } } |