diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-06-20 16:05:56 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-06-20 16:05:56 +0000 |
commit | bf9291c23b5fe587e2226bf73c317bf76ea686a6 (patch) | |
tree | d74d90cf30c365cb473e8a5404c17706a5ac9ef9 /actions/edit_multi.php | |
parent | c118d77f0625fa70fe3cdadb23bcbeea96a0768c (diff) | |
download | elgg-bf9291c23b5fe587e2226bf73c317bf76ea686a6.tar.gz elgg-bf9291c23b5fe587e2226bf73c317bf76ea686a6.tar.bz2 |
now using built-in radio input view
Diffstat (limited to 'actions/edit_multi.php')
-rw-r--r-- | actions/edit_multi.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/actions/edit_multi.php b/actions/edit_multi.php index a857e92d7..7c03244a5 100644 --- a/actions/edit_multi.php +++ b/actions/edit_multi.php @@ -7,19 +7,19 @@ // Make sure we're logged in (send us to the front page if not)
if (!isloggedin()) forward();
- // Get input data
- $cover = get_input('cover');
+ // Get input data
$title_array = get_input('title');
$caption_array = get_input('caption');
$tags_array = get_input('tags');
$image_guid_array = get_input('image_guid');
$container_guid = get_input('container_guid');
$album_entity = get_entity($container_guid);
+ $cover = get_input('cover');
$not_updated = array();
- foreach($image_guid_array as $key => $im) {
+ foreach($image_guid_array as $key => $im) {
$image = get_entity($im);
-
+
if ($image->canEdit()) {
// Convert string of tags into a preformatted array
@@ -27,7 +27,7 @@ //set description appropriately
$image->title = $title_array[$key];
-
+
//set description appropriately
$image->description = $caption_array[$key];
@@ -43,7 +43,7 @@ }
//if cover meta is sent from image save as metadata
- if ($cover == $im) {
+ if ($cover == $im) {
$album_entity->cover = $im;
}
}
|