From 894ea6758f3f99c49807df99ef4bbd95f74273dc Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Mon, 13 Feb 2012 15:39:45 -0800 Subject: Fixes #11. Added notifications back. --- views/default/river/object/tidypics_batch/create.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'views/default/river/object/tidypics_batch') diff --git a/views/default/river/object/tidypics_batch/create.php b/views/default/river/object/tidypics_batch/create.php index 44c40c110..418cf1ac3 100644 --- a/views/default/river/object/tidypics_batch/create.php +++ b/views/default/river/object/tidypics_batch/create.php @@ -43,8 +43,14 @@ if (count($images)) { $attachments .= ''; } +if (count($images) == 1) { + $summary = elgg_echo('image:river:created', array($subject_link, $album_link)); +} else { + $summary = elgg_echo('image:river:created:multiple', array($subject_link, count($images), $album_link)); +} + echo elgg_view('river/elements/layout', array( 'item' => $vars['item'], 'attachments' => $attachments, - 'summary' => elgg_echo('image:river:created:multiple', array($subject_link, count($images), $album_link)), + 'summary' => $summary )); -- cgit v1.2.3