bug 1550: add a default message when there is no new plugin/theme/language

available.

git-svn-id: http://piwigo.org/svn/trunk@5570 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2010-04-02 10:11:55 +00:00
parent b4cee39043
commit 783c21a8fd
5 changed files with 17 additions and 3 deletions
@@ -37,4 +37,6 @@ jQuery().ready(function(){ldelim}
</tr>
{/foreach}
</table>
{/if}
{else}
<p>{'There is no other language available.'|@translate}</p>
{/if}
@@ -29,6 +29,7 @@ jQuery().ready(function(){ldelim}
<h2>{'Plugins'|@translate}</h2>
</div>
{if not empty($plugins)}
<fieldset>
<legend></legend>
{foreach from=$plugins item=plugin name=plugins_loop}
@@ -64,4 +65,7 @@ jQuery().ready(function(){ldelim}
</table>
</div>
{/foreach}
</fieldset>
</fieldset>
{else}
<p>{'There is no other plugin available.'|@translate}</p>
{/if}
+3 -1
View File
@@ -2,7 +2,7 @@
<h2>{'Add New Theme'|@translate}</h2>
</div>
{if isset($themes)}
{if not empty($new_themes)}
<div class="themeBoxes">
{foreach from=$new_themes item=theme name=themes_loop}
<div class="themeBox">
@@ -12,4 +12,6 @@
</div>
{/foreach}
</div> <!-- themeBoxes -->
{else}
<p>{'There is no other theme available.'|@translate}</p>
{/if}
+3
View File
@@ -759,4 +759,7 @@ $lang['The following tag was deleted'] = 'The following tag was deleted';
$lang['Miscellaneous'] = 'Miscellaneous';
$lang['User Upload'] = 'User Upload';
$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.';
?>
+3
View File
@@ -762,4 +762,7 @@ $lang['Miscellaneous'] = 'Divers';
$lang['The following tag was deleted'] = 'Le tag suivant a été supprimé';
$lang['User Upload'] = 'Ajout utilisateur';
$lang['Virtual Links'] = 'Liens virtuels';
$lang['There is no other language available.'] = 'Il n\'y a pas d\'autre langue disponible.';
$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.';
?>