aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/photos_add_direct.php2
-rw-r--r--admin/themes/default/template/photos_add_direct.tpl6
2 files changed, 5 insertions, 3 deletions
diff --git a/admin/photos_add_direct.php b/admin/photos_add_direct.php
index 0cae2b3bb..0c24fc6ef 100644
--- a/admin/photos_add_direct.php
+++ b/admin/photos_add_direct.php
@@ -355,7 +355,7 @@ $template->append(
'head_elements',
'<link rel="stylesheet" type="text/css" href="'.$uploadify_path.'/uploadify.css">'."\n"
);
-
+
if (isset($page['thumbnails']))
{
$template->assign(
diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl
index 1c15b922a..1200a049e 100644
--- a/admin/themes/default/template/photos_add_direct.tpl
+++ b/admin/themes/default/template/photos_add_direct.tpl
@@ -148,7 +148,8 @@ var buttonText = 'Browse';
</div>
<p id="batchLink"><a href="{$batch_link}">{$batch_label}</a></p>
</fieldset>
-{/if}
+<p><a href="">{'Add another set of photos'|@translate}</a></p>
+{else}
<div id="formErrors" class="errors" style="display:none">
<ul>
@@ -240,6 +241,7 @@ var buttonText = 'Browse';
</p>
{/if}
</form>
-{/if}
+{/if} {* empty($thumbnails) *}
+{/if} {* $setup_errors *}
</div> <!-- photosAddContent --> \ No newline at end of file