diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php index 26c9478ef..0705b852b 100644 --- a/include/functions_category.inc.php +++ b/include/functions_category.inc.php @@ -273,7 +273,8 @@ function get_category_preferred_image_orders() l10n('Rank'), 'rank ASC', ('categories' == @$page['section'] and !isset($page['flat']) and !isset($page['chronology_field']) ) - ) + ), + array( l10n('permissions'), 'level DESC', is_admin() ) )); } @@ -522,4 +523,4 @@ LIMIT 1'; } } -?> +?> \ No newline at end of file diff --git a/index.php b/index.php index 9c1556ba8..57c9d627e 100644 --- a/index.php +++ b/index.php @@ -197,7 +197,7 @@ if ( $page['section']=='search' and $page['start']==0 and $hints = array(); foreach ( $cats as $cat ) { - $hints[] = get_cat_display_name( array($cat) ); + $hints[] = get_cat_display_name( array($cat), '', false ); } $template->assign( 'category_search_results', $hints); } diff --git a/template/yoga/index.tpl b/template/yoga/index.tpl index dc60daff5..2da9d04b5 100644 --- a/template/yoga/index.tpl +++ b/template/yoga/index.tpl @@ -32,19 +32,19 @@ {/if} {if isset($U_MODE_FLAT) } -