diff --git a/language/en_UK/common.lang.php b/language/en_UK/common.lang.php index 6933c0224..ae4c8a295 100644 --- a/language/en_UK/common.lang.php +++ b/language/en_UK/common.lang.php @@ -451,4 +451,6 @@ $lang['The PDF you requested is too large to display on this page.']= 'The PDF y $lang['Click here to display it']= 'Click here to display it'; $lang['last 12 months'] = 'Last 12 months'; $lang['Custom dates'] = 'Custom dates'; - +$lang['There are no tags available for the photos currently filtered'] = 'There are no tags available for the photos currently filtered'; +$lang['There are no creation dates available for the photos currently filtered'] = 'There are no creation dates available for the photos currently filtered'; +$lang['There are no authors available for the photos currently filtered'] = 'There are no authors available for the photos currently filtered'; diff --git a/language/fr_FR/common.lang.php b/language/fr_FR/common.lang.php index 42003732e..4200bb73c 100644 --- a/language/fr_FR/common.lang.php +++ b/language/fr_FR/common.lang.php @@ -451,3 +451,7 @@ $lang['The PDF you requested is too large to display on this page.']= 'Le PDF qu $lang['Click here to display it']= 'Cliquez ici pour le voir'; $lang['last 12 months'] = '12 derniers mois'; $lang['Custom dates'] = 'Dates personnalisées'; +$lang['There are no tags available for the photos currently filtered'] = 'Aucun tag n\'est disponible pour les photos actuellement filtrées'; +$lang['There are no creation dates available for the photos currently filtered'] = 'Aucune dates de création n\'est disponible pour les photos actuellement filtrées'; +$lang['There are no authors available for the photos currently filtered'] = 'Aucun auteur n\'est disponible pour les photos actuellement filtrées'; + diff --git a/themes/default/css/search.css b/themes/default/css/search.css index 025bc401c..012ea8a1a 100644 --- a/themes/default/css/search.css +++ b/themes/default/css/search.css @@ -430,6 +430,11 @@ width: 400px; } +.filter-author-form, +.filter-tag-form{ + min-width: 400px; +} + .filter-album-form .search-sub-cats { margin-top: 10px; } @@ -976,4 +981,15 @@ margin:0; color:#656565; font-size:12px; +} + +.no_filtered_photos { + font-weight:700; + color: #ee8800; + padding:30px; + text-align:center; +} + +.mcs_hide{ + display:none!important; } \ No newline at end of file diff --git a/themes/default/template/include/search_filters.inc.tpl b/themes/default/template/include/search_filters.inc.tpl index 299997fba..d95dc987a 100644 --- a/themes/default/template/include/search_filters.inc.tpl +++ b/themes/default/template/include/search_filters.inc.tpl @@ -242,7 +242,10 @@ const prefix_icon = 'gallery-icon-'; -
{'There are no tags available for the photos currently filtered'|translate}
+ {/if} +{'There are no creation dates available for the photos currently filtered'|translate}
+ {else}{'There are no authors available for the photos currently filtered'|translate}
+ {/if} +