diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-06 21:14:36 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-06 21:14:36 +0000 |
| commit | fb6e22e1457ce4d1503c739d7354d51fe3af4e94 (patch) | |
| tree | 4694ea5d9df391cb5b74fc525b3d0d3386316440 /core/helpers/album.php | |
| parent | 64c380a60d540bd7428282fe10591e8ec19ba7fd (diff) | |
Implemented photo::_get_photo_add(). You need to create the var/uploads directory and make it writable by the server. The location of the temporary upload directory is specified in config/upload.php
Diffstat (limited to 'core/helpers/album.php')
| -rw-r--r-- | core/helpers/album.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/helpers/album.php b/core/helpers/album.php index d82f076b..3e3b6054 100644 --- a/core/helpers/album.php +++ b/core/helpers/album.php @@ -62,9 +62,9 @@ class album_Core { static function get_add_form($parent) { $form = new Forge("albums/{$parent->id}", "", "post", array("id" => "gAddAlbumForm")); $group = $form->group(sprintf(_("Add Album to %s"), $parent->title)); - $group->input("name"); - $group->input("title"); - $group->input("description"); + $group->input("name")->label(true); + $group->input("title")->label(true); + $group->input("description")->label(true); $group->hidden("type")->value("album"); $group->submit(_("Create")); $form->add_rules_from(ORM::factory("item")); |
