Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
4dddf560
Commit
4dddf560
authored
May 11, 2022
by
Félicie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
most hot tab removed
parent
d9d3eedf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
15 deletions
+15
-15
page.php
qa-include/app/page.php
+6
-6
q-list.php
qa-include/app/q-list.php
+5
-5
qa-lang-main.php
qa-include/lang/qa-lang-main.php
+1
-1
qa-lang-main.php
qa-lang/fr/qa-lang-main.php
+1
-1
Pages.php
qa-src/Controllers/Admin/Pages.php
+2
-2
No files found.
qa-include/app/page.php
View file @
4dddf560
...
...
@@ -543,12 +543,12 @@ function qa_content_prepare($voting = false, $categoryids = array())
);
}
if
(
qa_opt
(
'nav_hot'
))
{
$qa_content
[
'navigation'
][
'main'
][
'hot'
]
=
array
(
'url'
=>
qa_path_html
(
'hot'
),
'label'
=>
qa_lang_html
(
'main/nav_hot'
),
);
}
//
if (qa_opt('nav_hot')) {
//
$qa_content['navigation']['main']['hot'] = array(
//
'url' => qa_path_html('hot'),
//
'label' => qa_lang_html('main/nav_hot'),
//
);
//
}
if
(
qa_opt
(
'nav_unanswered'
))
{
$qa_content
[
'navigation'
][
'main'
][
'unanswered'
]
=
array
(
...
...
qa-include/app/q-list.php
View file @
4dddf560
...
...
@@ -173,10 +173,10 @@ function qa_qs_sub_navigation($sort, $categoryslugs)
'url'
=>
qa_path_html
(
$request
),
),
'hot'
=>
array
(
'label'
=>
qa_lang
(
'main/nav_hot'
),
'url'
=>
qa_path_html
(
$request
,
array
(
'sort'
=>
'hot'
)),
),
//
'hot' => array(
//
'label' => qa_lang('main/nav_hot'),
//
'url' => qa_path_html($request, array('sort' => 'hot')),
//
),
'votes'
=>
array
(
'label'
=>
qa_lang
(
'main/nav_most_votes'
),
...
...
@@ -184,7 +184,7 @@ function qa_qs_sub_navigation($sort, $categoryslugs)
),
'answers'
=>
array
(
'label'
=>
qa_lang
(
'main/nav_most_
answers
'
),
'label'
=>
qa_lang
(
'main/nav_most_
popular
'
),
'url'
=>
qa_path_html
(
$request
,
array
(
'sort'
=>
'answers'
)),
),
...
...
qa-include/lang/qa-lang-main.php
View file @
4dddf560
...
...
@@ -108,7 +108,7 @@ return array(
'nav_hot'
=>
'Hot!'
,
'nav_login'
=>
'Login'
,
'nav_logout'
=>
'Logout'
,
'nav_most_
answers
'
=>
'Most answers'
,
'nav_most_
popular
'
=>
'Most answers'
,
'nav_most_recent'
=>
'Recent'
,
'nav_most_views'
=>
'Most views'
,
'nav_most_votes'
=>
'Most votes'
,
...
...
qa-lang/fr/qa-lang-main.php
View file @
4dddf560
...
...
@@ -111,7 +111,7 @@
'nav_hot'
=>
'À voir !'
,
'nav_login'
=>
'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_views'
=>
'Les plus vues'
,
'nav_most_votes'
=>
'Les mieux notées'
,
...
...
qa-src/Controllers/Admin/Pages.php
View file @
4dddf560
...
...
@@ -74,7 +74,7 @@ class Pages extends BaseController
'nav_activity'
=>
'main/nav_activity'
,
$hascustomhome
?
'nav_qa_not_home'
:
'nav_qa_is_home'
=>
$hascustomhome
?
'main/nav_qa'
:
'admin/nav_qa_is_home'
,
'nav_questions'
=>
'main/nav_qs'
,
'nav_hot'
=>
'main/nav_hot'
,
//
'nav_hot' => 'main/nav_hot',
'nav_unanswered'
=>
'main/nav_unanswered'
,
'nav_tags'
=>
'main/nav_tags'
,
'nav_categories'
=>
'main/nav_categories'
,
...
...
@@ -88,7 +88,7 @@ class Pages extends BaseController
'nav_qa_not_home'
=>
'qa'
,
'nav_qa_is_home'
=>
''
,
'nav_questions'
=>
'questions'
,
'nav_hot'
=>
'hot'
,
//
'nav_hot' => 'hot',
'nav_unanswered'
=>
'unanswered'
,
'nav_tags'
=>
'tags'
,
'nav_categories'
=>
'categories'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment