feature 1590: hide the upload form when displaying upload results.

git-svn-id: http://piwigo.org/svn/trunk@5742 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2010-04-09 18:29:34 +00:00
parent 5096c1292c
commit fce10ca2d4
4 changed files with 8 additions and 4 deletions

View File

@@ -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(

View File

@@ -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 -->

View File

@@ -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';
?>

View File

@@ -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';
?>
$lang['Add another set of photos'] = 'Ajouter d\'autres photos';
?>