diff options
Diffstat (limited to '')
-rw-r--r-- | admin/photos_add_direct.php | 12 | ||||
-rw-r--r-- | admin/themes/default/template/photos_add_direct.tpl | 6 |
2 files changed, 3 insertions, 15 deletions
diff --git a/admin/photos_add_direct.php b/admin/photos_add_direct.php index 0376ca181..0cae2b3bb 100644 --- a/admin/photos_add_direct.php +++ b/admin/photos_add_direct.php @@ -355,17 +355,7 @@ $template->append( 'head_elements', '<link rel="stylesheet" type="text/css" href="'.$uploadify_path.'/uploadify.css">'."\n" ); - -// $page['thumbnails'] = array( -// array( -// 'src' => 'http://localhost/piwigo/dev/trunk/upload/2006/08/16/thumbnail/TN-20060816234638-f9bebf5a.jpg', -// ), -// array( -// 'src' => 'http://localhost/piwigo/dev/trunk/upload/2005/10/04/thumbnail/TN-20051004000000-864a003c.jpg', -// ), -// ); -// $page['batch_link'] = PHOTOS_ADD_BASE_URL.'&batch=1460,3307'; - + 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 8002fd195..1c15b922a 100644 --- a/admin/themes/default/template/photos_add_direct.tpl +++ b/admin/themes/default/template/photos_add_direct.tpl @@ -148,8 +148,7 @@ var buttonText = 'Browse'; </div> <p id="batchLink"><a href="{$batch_link}">{$batch_label}</a></p> </fieldset> -<p><a href="">Add another set of photos</a></p> -{else} +{/if} <div id="formErrors" class="errors" style="display:none"> <ul> @@ -241,7 +240,6 @@ var buttonText = 'Browse'; </p> {/if} </form> -{/if} {* empty($thumbnails) *} -{/if} {* $setup_errors *} +{/if} </div> <!-- photosAddContent -->
\ No newline at end of file |