From fce10ca2d46e0cdc86f2c4b76209ce5af692f32c Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 9 Apr 2010 18:29:34 +0000 Subject: feature 1590: hide the upload form when displaying upload results. git-svn-id: http://piwigo.org/svn/trunk@5742 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/photos_add_direct.php | 2 +- admin/themes/default/template/photos_add_direct.tpl | 6 ++++-- language/en_UK/admin.lang.php | 1 + language/fr_FR/admin.lang.php | 3 ++- 4 files changed, 8 insertions(+), 4 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', ''."\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'; -{/if} +

{'Add another set of photos'|@translate}

+{else} \ No newline at end of file diff --git a/language/en_UK/admin.lang.php b/language/en_UK/admin.lang.php index 888fb9425..18d9798fa 100644 --- a/language/en_UK/admin.lang.php +++ b/language/en_UK/admin.lang.php @@ -761,4 +761,5 @@ $lang['Virtual Links'] = 'Virtual Links'; $lang['There is no other language available.'] = 'There is no other language available.'; $lang['There is no other plugin available.'] = 'There is no other plugin available.'; $lang['There is no other theme available.'] = 'There is no other theme available.'; +$lang['Add another set of photos'] = 'Add another set of photos'; ?> diff --git a/language/fr_FR/admin.lang.php b/language/fr_FR/admin.lang.php index da667d9b6..3dd069d2c 100644 --- a/language/fr_FR/admin.lang.php +++ b/language/fr_FR/admin.lang.php @@ -766,4 +766,5 @@ $lang['There is no other language available.'] = 'Il n\'y a pas d\'autre langue $lang['There is no other plugin available.'] = 'Il n\'y a pas d\'autre plugin disponible.'; $lang['There is no other theme available.'] = 'Il n\'y a pas d\'autre thème disponible.'; $lang['delete'] = 'effacer'; -?> \ No newline at end of file +$lang['Add another set of photos'] = 'Ajouter d\'autres photos'; +?> -- cgit v1.2.3