aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/forms/edit_multi.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2010-07-25 02:01:36 +0000
committerCash Costello <cash.costello@gmail.com>2010-07-25 02:01:36 +0000
commit73403645808a81425381f43c25e0ea2c92705312 (patch)
tree83fb73e9a122054f6f4c2e1c44e399572ee13e28 /views/default/tidypics/forms/edit_multi.php
parent791ec4925346cb38ecca9a2f2574b012ab64a88a (diff)
downloadelgg-73403645808a81425381f43c25e0ea2c92705312.tar.gz
elgg-73403645808a81425381f43c25e0ea2c92705312.tar.bz2
first go at brining tidypics up to code standards
Diffstat (limited to 'views/default/tidypics/forms/edit_multi.php')
-rw-r--r--views/default/tidypics/forms/edit_multi.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/views/default/tidypics/forms/edit_multi.php b/views/default/tidypics/forms/edit_multi.php
index 4031b7968..c16c8eea9 100644
--- a/views/default/tidypics/forms/edit_multi.php
+++ b/views/default/tidypics/forms/edit_multi.php
@@ -1,7 +1,7 @@
<?php
- /**
- * form for mass editing all uploaded images
- */
+/**
+ * form for mass editing all uploaded images
+ */
?>
<div class="contentWrapper">
<form action="<?php echo $vars['url']; ?>action/tidypics/edit_multi" method="post">
@@ -11,9 +11,11 @@
// make sure one of the images becomes the cover if there isn't one already
$album_entity = get_entity($vars['album_guid']);
- if (!$album_entity->cover) $no_cover = true;
+ if (!$album_entity->cover) {
+ $no_cover = true;
+ }
- foreach ($file_array as $key => $file_guid){
+ foreach ($file_array as $key => $file_guid) {
$entity = get_entity($file_guid);
$guid = $entity->guid;
$body = $entity->description;