Commit 4dddf560 by Félicie

most hot tab removed

parent d9d3eedf
...@@ -543,12 +543,12 @@ function qa_content_prepare($voting = false, $categoryids = array()) ...@@ -543,12 +543,12 @@ function qa_content_prepare($voting = false, $categoryids = array())
); );
} }
if (qa_opt('nav_hot')) { // if (qa_opt('nav_hot')) {
$qa_content['navigation']['main']['hot'] = array( // $qa_content['navigation']['main']['hot'] = array(
'url' => qa_path_html('hot'), // 'url' => qa_path_html('hot'),
'label' => qa_lang_html('main/nav_hot'), // 'label' => qa_lang_html('main/nav_hot'),
); // );
} // }
if (qa_opt('nav_unanswered')) { if (qa_opt('nav_unanswered')) {
$qa_content['navigation']['main']['unanswered'] = array( $qa_content['navigation']['main']['unanswered'] = array(
......
...@@ -173,10 +173,10 @@ function qa_qs_sub_navigation($sort, $categoryslugs) ...@@ -173,10 +173,10 @@ function qa_qs_sub_navigation($sort, $categoryslugs)
'url' => qa_path_html($request), 'url' => qa_path_html($request),
), ),
'hot' => array( // 'hot' => array(
'label' => qa_lang('main/nav_hot'), // 'label' => qa_lang('main/nav_hot'),
'url' => qa_path_html($request, array('sort' => 'hot')), // 'url' => qa_path_html($request, array('sort' => 'hot')),
), // ),
'votes' => array( 'votes' => array(
'label' => qa_lang('main/nav_most_votes'), 'label' => qa_lang('main/nav_most_votes'),
...@@ -184,7 +184,7 @@ function qa_qs_sub_navigation($sort, $categoryslugs) ...@@ -184,7 +184,7 @@ function qa_qs_sub_navigation($sort, $categoryslugs)
), ),
'answers' => array( 'answers' => array(
'label' => qa_lang('main/nav_most_answers'), 'label' => qa_lang('main/nav_most_popular'),
'url' => qa_path_html($request, array('sort' => 'answers')), 'url' => qa_path_html($request, array('sort' => 'answers')),
), ),
......
...@@ -108,7 +108,7 @@ return array( ...@@ -108,7 +108,7 @@ return array(
'nav_hot' => 'Hot!', 'nav_hot' => 'Hot!',
'nav_login' => 'Login', 'nav_login' => 'Login',
'nav_logout' => 'Logout', 'nav_logout' => 'Logout',
'nav_most_answers' => 'Most answers', 'nav_most_popular' => 'Most answers',
'nav_most_recent' => 'Recent', 'nav_most_recent' => 'Recent',
'nav_most_views' => 'Most views', 'nav_most_views' => 'Most views',
'nav_most_votes' => 'Most votes', 'nav_most_votes' => 'Most votes',
......
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
'nav_hot' => 'À voir !', 'nav_hot' => 'À voir !',
'nav_login' => 'Connexion', 'nav_login' => 'Connexion',
'nav_logout' => 'Déconnexion', 'nav_logout' => 'Déconnexion',
'nav_most_answers' => 'Les plus populaires', 'nav_most_popular' => 'Les plus populaires',
'nav_most_recent' => 'Les plus récentes', 'nav_most_recent' => 'Les plus récentes',
'nav_most_views' => 'Les plus vues', 'nav_most_views' => 'Les plus vues',
'nav_most_votes' => 'Les mieux notées', 'nav_most_votes' => 'Les mieux notées',
......
...@@ -74,7 +74,7 @@ class Pages extends BaseController ...@@ -74,7 +74,7 @@ class Pages extends BaseController
'nav_activity' => 'main/nav_activity', 'nav_activity' => 'main/nav_activity',
$hascustomhome ? 'nav_qa_not_home' : 'nav_qa_is_home' => $hascustomhome ? 'main/nav_qa' : 'admin/nav_qa_is_home', $hascustomhome ? 'nav_qa_not_home' : 'nav_qa_is_home' => $hascustomhome ? 'main/nav_qa' : 'admin/nav_qa_is_home',
'nav_questions' => 'main/nav_qs', 'nav_questions' => 'main/nav_qs',
'nav_hot' => 'main/nav_hot', // 'nav_hot' => 'main/nav_hot',
'nav_unanswered' => 'main/nav_unanswered', 'nav_unanswered' => 'main/nav_unanswered',
'nav_tags' => 'main/nav_tags', 'nav_tags' => 'main/nav_tags',
'nav_categories' => 'main/nav_categories', 'nav_categories' => 'main/nav_categories',
...@@ -88,7 +88,7 @@ class Pages extends BaseController ...@@ -88,7 +88,7 @@ class Pages extends BaseController
'nav_qa_not_home' => 'qa', 'nav_qa_not_home' => 'qa',
'nav_qa_is_home' => '', 'nav_qa_is_home' => '',
'nav_questions' => 'questions', 'nav_questions' => 'questions',
'nav_hot' => 'hot', // 'nav_hot' => 'hot',
'nav_unanswered' => 'unanswered', 'nav_unanswered' => 'unanswered',
'nav_tags' => 'tags', 'nav_tags' => 'tags',
'nav_categories' => 'categories', 'nav_categories' => 'categories',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment