diff options
Diffstat (limited to '')
-rw-r--r-- | admin/themes/default/template/languages_new.tpl | 4 | ||||
-rw-r--r-- | admin/themes/default/template/plugins_new.tpl | 6 | ||||
-rw-r--r-- | admin/themes/default/template/themes_new.tpl | 4 | ||||
-rw-r--r-- | language/en_UK/admin.lang.php | 3 | ||||
-rw-r--r-- | language/fr_FR/admin.lang.php | 3 |
5 files changed, 17 insertions, 3 deletions
diff --git a/admin/themes/default/template/languages_new.tpl b/admin/themes/default/template/languages_new.tpl index 6681907a1..9b66e1724 100644 --- a/admin/themes/default/template/languages_new.tpl +++ b/admin/themes/default/template/languages_new.tpl @@ -37,4 +37,6 @@ jQuery().ready(function(){ldelim} </tr> {/foreach} </table> -{/if}
\ No newline at end of file +{else} +<p>{'There is no other language available.'|@translate}</p> +{/if} diff --git a/admin/themes/default/template/plugins_new.tpl b/admin/themes/default/template/plugins_new.tpl index 810bc6b34..1c3f50d22 100644 --- a/admin/themes/default/template/plugins_new.tpl +++ b/admin/themes/default/template/plugins_new.tpl @@ -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>
\ No newline at end of file +</fieldset> +{else} +<p>{'There is no other plugin available.'|@translate}</p> +{/if}
\ No newline at end of file diff --git a/admin/themes/default/template/themes_new.tpl b/admin/themes/default/template/themes_new.tpl index 4c58fce9e..7965cc0d4 100644 --- a/admin/themes/default/template/themes_new.tpl +++ b/admin/themes/default/template/themes_new.tpl @@ -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}
\ No newline at end of file diff --git a/language/en_UK/admin.lang.php b/language/en_UK/admin.lang.php index d4c63dd2e..4e7e6fc33 100644 --- a/language/en_UK/admin.lang.php +++ b/language/en_UK/admin.lang.php @@ -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.'; ?> diff --git a/language/fr_FR/admin.lang.php b/language/fr_FR/admin.lang.php index df3850403..5c90241cf 100644 --- a/language/fr_FR/admin.lang.php +++ b/language/fr_FR/admin.lang.php @@ -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.'; ?> |