Adds the admin filters at the top of the page.

This commit is contained in:
Llewellyn van der Merwe 2021-02-08 12:27:47 +02:00
parent 5168e0ef24
commit b5fca2d8e4
Signed by: Llewellyn
GPG Key ID: EFC0C720A240551C
133 changed files with 791 additions and 397 deletions

View File

@ -12,15 +12,15 @@ Just a basic Questions & Answers.
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io) + *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
+ *Name*: [Questions and Answers](https://www.vdm.io/) + *Name*: [Questions and Answers](https://www.vdm.io/)
+ *First Build*: 30th January, 2017 + *First Build*: 30th January, 2017
+ *Last Build*: 6th January, 2021 + *Last Build*: 8th February, 2021
+ *Version*: 1.0.x + *Version*: 1.0.x
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
# Component Number # Component Number
+ *Line count*: **30948** + *Line count*: **31340**
+ *File count*: **202** + *File count*: **207**
+ *Folder count*: **63** + *Folder count*: **63**
> This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder). > This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).

View File

@ -12,15 +12,15 @@ Just a basic Questions & Answers.
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io) + *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
+ *Name*: [Questions and Answers](https://www.vdm.io/) + *Name*: [Questions and Answers](https://www.vdm.io/)
+ *First Build*: 30th January, 2017 + *First Build*: 30th January, 2017
+ *Last Build*: 6th January, 2021 + *Last Build*: 8th February, 2021
+ *Version*: 1.0.x + *Version*: 1.0.x
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
# Component Number # Component Number
+ *Line count*: **30948** + *Line count*: **31340**
+ *File count*: **202** + *File count*: **207**
+ *Folder count*: **63** + *Folder count*: **63**
> This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder). > This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage admin.css @subpackage admin.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage dashboard.css @subpackage dashboard.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_document.css @subpackage help_document.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_documents.css @subpackage help_documents.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage question_and_answer.css @subpackage question_and_answer.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questions_and_answers.css @subpackage questions_and_answers.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage admin.js @subpackage admin.js

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage controller.php @subpackage controller.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage ajax.json.php @subpackage ajax.json.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage download.php @subpackage download.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help.php @subpackage help.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_document.php @subpackage help_document.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_documents.php @subpackage help_documents.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage import.php @subpackage import.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage question_and_answer.php @subpackage question_and_answer.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questions_and_answers.php @subpackage questions_and_answers.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questionsanswers.php @subpackage questionsanswers.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage headercheck.php @subpackage headercheck.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage batch_.php @subpackage batch_.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questionsanswers.php @subpackage questionsanswers.php

View File

@ -5,6 +5,7 @@ COM_QUESTIONSANSWERS_ALLOWED_DOCUMENT_FORMATS_ARE_NOT_SET_IN_THE_GLOBAL_SETTINGS
COM_QUESTIONSANSWERS_ALLOWED_IMAGE_FORMATS_ARE_NOT_SET_IN_THE_GLOBAL_SETTINGS_PLEASE_NOTIFY_YOUR_SYSTEM_ADMINISTRATOR="Allowed image formats are not set in the global settings, please notify your system administrator." COM_QUESTIONSANSWERS_ALLOWED_IMAGE_FORMATS_ARE_NOT_SET_IN_THE_GLOBAL_SETTINGS_PLEASE_NOTIFY_YOUR_SYSTEM_ADMINISTRATOR="Allowed image formats are not set in the global settings, please notify your system administrator."
COM_QUESTIONSANSWERS_ALL_IS_GOOD_PLEASE_CHECK_AGAIN_LATTER="All is good, please check again latter." COM_QUESTIONSANSWERS_ALL_IS_GOOD_PLEASE_CHECK_AGAIN_LATTER="All is good, please check again latter."
COM_QUESTIONSANSWERS_ARCHIVED="Archived" COM_QUESTIONSANSWERS_ARCHIVED="Archived"
COM_QUESTIONSANSWERS_ARE_YOU_SURE_YOU_WANT_TO_DELETE_CONFIRMING_WILL_PERMANENTLY_DELETE_THE_SELECTED_ITEMS="Are you sure you want to delete? Confirming will permanently delete the selected item(s)!"
COM_QUESTIONSANSWERS_AUTHOR="Author" COM_QUESTIONSANSWERS_AUTHOR="Author"
COM_QUESTIONSANSWERS_BACK="Back" COM_QUESTIONSANSWERS_BACK="Back"
COM_QUESTIONSANSWERS_CLOSE_NEW="Close & New" COM_QUESTIONSANSWERS_CLOSE_NEW="Close & New"
@ -86,9 +87,39 @@ COM_QUESTIONSANSWERS_EDIT_CREATED_DATE_DESC="Allows users in this group to edit
COM_QUESTIONSANSWERS_EDIT_S="Edit %s" COM_QUESTIONSANSWERS_EDIT_S="Edit %s"
COM_QUESTIONSANSWERS_EDIT_VERSIONS="Edit Version" COM_QUESTIONSANSWERS_EDIT_VERSIONS="Edit Version"
COM_QUESTIONSANSWERS_EDIT_VERSIONS_DESC="Allows users in this group to edit versions." COM_QUESTIONSANSWERS_EDIT_VERSIONS_DESC="Allows users in this group to edit versions."
COM_QUESTIONSANSWERS_EMPTY_TRASH="Empty trash"
COM_QUESTIONSANSWERS_EXIT_TRASH="Exit trash"
COM_QUESTIONSANSWERS_EXPORT_DATA="Export Data" COM_QUESTIONSANSWERS_EXPORT_DATA="Export Data"
COM_QUESTIONSANSWERS_EXPORT_DATA_DESC="Allows users in this group to export data." COM_QUESTIONSANSWERS_EXPORT_DATA_DESC="Allows users in this group to export data."
COM_QUESTIONSANSWERS_EXPORT_FAILED="Export Failed" COM_QUESTIONSANSWERS_EXPORT_FAILED="Export Failed"
COM_QUESTIONSANSWERS_FILTER_ADMIN_VIEWS_ASCENDING="Admin Views ascending"
COM_QUESTIONSANSWERS_FILTER_ADMIN_VIEWS_DESCENDING="Admin Views descending"
COM_QUESTIONSANSWERS_FILTER_ANSWER_ASCENDING="Answer ascending"
COM_QUESTIONSANSWERS_FILTER_ANSWER_DESCENDING="Answer descending"
COM_QUESTIONSANSWERS_FILTER_LOCATION_ASCENDING="Location ascending"
COM_QUESTIONSANSWERS_FILTER_LOCATION_DESCENDING="Location descending"
COM_QUESTIONSANSWERS_FILTER_PUBLISHED="Status"
COM_QUESTIONSANSWERS_FILTER_PUBLISHED_HELP_DOCUMENTS="Status options for help documents"
COM_QUESTIONSANSWERS_FILTER_PUBLISHED_QUESTIONS_AND_ANSWERS="Status options for questions and answers"
COM_QUESTIONSANSWERS_FILTER_QUESTIONS_AND_ANSWERS_CATEGORIES_ASCENDING="Questions And Answers Categories ascending"
COM_QUESTIONSANSWERS_FILTER_QUESTIONS_AND_ANSWERS_CATEGORIES_DESCENDING="Questions And Answers Categories descending"
COM_QUESTIONSANSWERS_FILTER_QUESTION_ASCENDING="Question ascending"
COM_QUESTIONSANSWERS_FILTER_QUESTION_DESCENDING="Question descending"
COM_QUESTIONSANSWERS_FILTER_SEARCH="Searchquestions and answers"
COM_QUESTIONSANSWERS_FILTER_SEARCH_HELP_DOCUMENTS="Search the help document items. Prefix with ID: to search for an item by ID."
COM_QUESTIONSANSWERS_FILTER_SEARCH_QUESTIONS_AND_ANSWERS="Search the question and answer items. Prefix with ID: to search for an item by ID."
COM_QUESTIONSANSWERS_FILTER_SELECT_ACCESS="Select Access"
COM_QUESTIONSANSWERS_FILTER_SELECT_ADMIN_VIEWS="Select Admin Views"
COM_QUESTIONSANSWERS_FILTER_SELECT_LOCATION="Select Location"
COM_QUESTIONSANSWERS_FILTER_SELECT_QUESTIONS_AND_ANSWERS_CATEGORIES="Select Questions And Answers Categories"
COM_QUESTIONSANSWERS_FILTER_SELECT_SITE_VIEWS="Select Site Views"
COM_QUESTIONSANSWERS_FILTER_SELECT_TYPE="Select Type"
COM_QUESTIONSANSWERS_FILTER_SITE_VIEWS_ASCENDING="Site Views ascending"
COM_QUESTIONSANSWERS_FILTER_SITE_VIEWS_DESCENDING="Site Views descending"
COM_QUESTIONSANSWERS_FILTER_TITLE_ASCENDING="Title ascending"
COM_QUESTIONSANSWERS_FILTER_TITLE_DESCENDING="Title descending"
COM_QUESTIONSANSWERS_FILTER_TYPE_ASCENDING="Type ascending"
COM_QUESTIONSANSWERS_FILTER_TYPE_DESCENDING="Type descending"
COM_QUESTIONSANSWERS_HELP_DOCUMENT="Help Document" COM_QUESTIONSANSWERS_HELP_DOCUMENT="Help Document"
COM_QUESTIONSANSWERS_HELP_DOCUMENTS="Help Documents" COM_QUESTIONSANSWERS_HELP_DOCUMENTS="Help Documents"
COM_QUESTIONSANSWERS_HELP_DOCUMENTS_ACCESS="Help Documents Access" COM_QUESTIONSANSWERS_HELP_DOCUMENTS_ACCESS="Help Documents Access"
@ -137,16 +168,12 @@ COM_QUESTIONSANSWERS_HELP_DOCUMENTS_N_ITEMS_UNPUBLISHED_1="%s Help Document unpu
COM_QUESTIONSANSWERS_HELP_DOCUMENTS_SUBMENU="Help Documents Submenu" COM_QUESTIONSANSWERS_HELP_DOCUMENTS_SUBMENU="Help Documents Submenu"
COM_QUESTIONSANSWERS_HELP_DOCUMENTS_SUBMENU_DESC="Allows the users in this group to submenu of help document" COM_QUESTIONSANSWERS_HELP_DOCUMENTS_SUBMENU_DESC="Allows the users in this group to submenu of help document"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_ADMIN="Admin" COM_QUESTIONSANSWERS_HELP_DOCUMENT_ADMIN="Admin"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_ADMIN_VIEW="Admin View"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_ADMIN_VIEW_DESCRIPTION="Select the view being target." COM_QUESTIONSANSWERS_HELP_DOCUMENT_ADMIN_VIEW_DESCRIPTION="Select the view being target."
COM_QUESTIONSANSWERS_HELP_DOCUMENT_ADMIN_VIEW_LABEL="Admin Views" COM_QUESTIONSANSWERS_HELP_DOCUMENT_ADMIN_VIEW_LABEL="Admin Views"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_ALIAS="Alias"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_ALIAS_HINT="Auto-generated from name" COM_QUESTIONSANSWERS_HELP_DOCUMENT_ALIAS_HINT="Auto-generated from name"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_ALIAS_LABEL="Alias" COM_QUESTIONSANSWERS_HELP_DOCUMENT_ALIAS_LABEL="Alias"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_ALL="All" COM_QUESTIONSANSWERS_HELP_DOCUMENT_ALL="All"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_ARTICLE="Article"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_ARTICLE_LABEL="Article" COM_QUESTIONSANSWERS_HELP_DOCUMENT_ARTICLE_LABEL="Article"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_CONTENT="Content"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_CONTENT_LABEL="Content" COM_QUESTIONSANSWERS_HELP_DOCUMENT_CONTENT_LABEL="Content"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_CREATED_BY_DESC="The user that created this Help Document." COM_QUESTIONSANSWERS_HELP_DOCUMENT_CREATED_BY_DESC="The user that created this Help Document."
COM_QUESTIONSANSWERS_HELP_DOCUMENT_CREATED_BY_LABEL="Created By" COM_QUESTIONSANSWERS_HELP_DOCUMENT_CREATED_BY_LABEL="Created By"
@ -155,12 +182,10 @@ COM_QUESTIONSANSWERS_HELP_DOCUMENT_CREATED_DATE_LABEL="Created Date"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_DETAILS="Details" COM_QUESTIONSANSWERS_HELP_DOCUMENT_DETAILS="Details"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_EDIT="Editing the Help Document" COM_QUESTIONSANSWERS_HELP_DOCUMENT_EDIT="Editing the Help Document"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_ERROR_UNIQUE_ALIAS="Another Help Document has the same alias." COM_QUESTIONSANSWERS_HELP_DOCUMENT_ERROR_UNIQUE_ALIAS="Another Help Document has the same alias."
COM_QUESTIONSANSWERS_HELP_DOCUMENT_GROUPS="Groups"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_GROUPS_DESCRIPTION="Select a group/s" COM_QUESTIONSANSWERS_HELP_DOCUMENT_GROUPS_DESCRIPTION="Select a group/s"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_GROUPS_LABEL="Group/s" COM_QUESTIONSANSWERS_HELP_DOCUMENT_GROUPS_LABEL="Group/s"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_ID="Id" COM_QUESTIONSANSWERS_HELP_DOCUMENT_ID="Id"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_JOOMLA_ARTICLE="Joomla Article" COM_QUESTIONSANSWERS_HELP_DOCUMENT_JOOMLA_ARTICLE="Joomla Article"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_LOCATION="Location"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_LOCATION_DESCRIPTION="Select the help target location." COM_QUESTIONSANSWERS_HELP_DOCUMENT_LOCATION_DESCRIPTION="Select the help target location."
COM_QUESTIONSANSWERS_HELP_DOCUMENT_LOCATION_LABEL="Location" COM_QUESTIONSANSWERS_HELP_DOCUMENT_LOCATION_LABEL="Location"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_MODIFIED_BY_DESC="The last user that modified this Help Document." COM_QUESTIONSANSWERS_HELP_DOCUMENT_MODIFIED_BY_DESC="The last user that modified this Help Document."
@ -174,21 +199,17 @@ COM_QUESTIONSANSWERS_HELP_DOCUMENT_PUBLISHING="Publishing"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Help Document to customise the alias." COM_QUESTIONSANSWERS_HELP_DOCUMENT_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Help Document to customise the alias."
COM_QUESTIONSANSWERS_HELP_DOCUMENT_SELECT_AN_OPTION="Select an option" COM_QUESTIONSANSWERS_HELP_DOCUMENT_SELECT_AN_OPTION="Select an option"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE="Site" COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE="Site"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE_VIEW="Site View"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE_VIEW_DESCRIPTION="Select the view being target." COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE_VIEW_DESCRIPTION="Select the view being target."
COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE_VIEW_LABEL="Site Views" COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE_VIEW_LABEL="Site Views"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_SOME="Some" COM_QUESTIONSANSWERS_HELP_DOCUMENT_SOME="Some"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_STATUS="Status" COM_QUESTIONSANSWERS_HELP_DOCUMENT_STATUS="Status"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_TARGET="Target"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_TARGET_DESCRIPTION="Select the target option in relation to groups." COM_QUESTIONSANSWERS_HELP_DOCUMENT_TARGET_DESCRIPTION="Select the target option in relation to groups."
COM_QUESTIONSANSWERS_HELP_DOCUMENT_TARGET_LABEL="Target Groups" COM_QUESTIONSANSWERS_HELP_DOCUMENT_TARGET_LABEL="Target Groups"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_TEXT="Text" COM_QUESTIONSANSWERS_HELP_DOCUMENT_TEXT="Text"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_TITLE="Title"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_TITLE_DESCRIPTION="Enter Title Here" COM_QUESTIONSANSWERS_HELP_DOCUMENT_TITLE_DESCRIPTION="Enter Title Here"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_TITLE_HINT="Title Here" COM_QUESTIONSANSWERS_HELP_DOCUMENT_TITLE_HINT="Title Here"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_TITLE_LABEL="Title" COM_QUESTIONSANSWERS_HELP_DOCUMENT_TITLE_LABEL="Title"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_TITLE_MESSAGE="Error! Please add title here." COM_QUESTIONSANSWERS_HELP_DOCUMENT_TITLE_MESSAGE="Error! Please add title here."
COM_QUESTIONSANSWERS_HELP_DOCUMENT_TYPE="Type"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_TYPE_DESCRIPTION="Select the help type." COM_QUESTIONSANSWERS_HELP_DOCUMENT_TYPE_DESCRIPTION="Select the help type."
COM_QUESTIONSANSWERS_HELP_DOCUMENT_TYPE_LABEL="Type" COM_QUESTIONSANSWERS_HELP_DOCUMENT_TYPE_LABEL="Type"
COM_QUESTIONSANSWERS_HELP_DOCUMENT_URL="URL" COM_QUESTIONSANSWERS_HELP_DOCUMENT_URL="URL"
@ -312,7 +333,6 @@ COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_N_ITEMS_UNPUBLISHED_1="%s Question an
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_SUBMENU="Questions And Answers Submenu" COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_SUBMENU="Questions And Answers Submenu"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_SUBMENU_DESC="Allows the users in this group to submenu of question and answer" COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_SUBMENU_DESC="Allows the users in this group to submenu of question and answer"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER="Question and Answer" COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER="Question and Answer"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ANSWER="Answer"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ANSWER_DOCUMENTS="Answer Documents" COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ANSWER_DOCUMENTS="Answer Documents"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ANSWER_DOCUMENTS_UPLOADER_DESCRIPTION="<div id='uikittwo-answer-documents-uploader' style='display:none'> COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ANSWER_DOCUMENTS_UPLOADER_DESCRIPTION="<div id='uikittwo-answer-documents-uploader' style='display:none'>
<div id='uikittwo-upload-drop-answer-documents' class='uk-placeholder uk-text-center'> <div id='uikittwo-upload-drop-answer-documents' class='uk-placeholder uk-text-center'>
@ -380,7 +400,6 @@ COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_NEW="A New Question and Answer"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ORDERING_LABEL="Ordering" COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ORDERING_LABEL="Ordering"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_PERMISSION="Permissions" COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_PERMISSION="Permissions"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_PUBLISHING="Publishing" COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_PUBLISHING="Publishing"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_QUESTION="Question"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_QUESTIONS_AND_ANSWERS_CATEGORIES="Questions And Answers Categories" COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_QUESTIONS_AND_ANSWERS_CATEGORIES="Questions And Answers Categories"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_QUESTION_DESCRIPTION="The question being asked" COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_QUESTION_DESCRIPTION="The question being asked"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_QUESTION_HINT="Add Question Here" COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_QUESTION_HINT="Add Question Here"
@ -392,6 +411,8 @@ COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_VERSION_LABEL="Version"
COM_QUESTIONSANSWERS_REMOVE="Remove" COM_QUESTIONSANSWERS_REMOVE="Remove"
COM_QUESTIONSANSWERS_SAVE_SUCCESS="Great! Item successfully saved." COM_QUESTIONSANSWERS_SAVE_SUCCESS="Great! Item successfully saved."
COM_QUESTIONSANSWERS_SAVE_WARNING="The value already existed so please select another." COM_QUESTIONSANSWERS_SAVE_WARNING="The value already existed so please select another."
COM_QUESTIONSANSWERS_SELECT_AN_ADMIN_VIEW="Select an admin view"
COM_QUESTIONSANSWERS_SELECT_A_SITE_VIEW="Select a site view"
COM_QUESTIONSANSWERS_SUBMENU_DASHBOARD="Dashboard" COM_QUESTIONSANSWERS_SUBMENU_DASHBOARD="Dashboard"
COM_QUESTIONSANSWERS_SUBMENU_HELP_DOCUMENTS="Help Documents" COM_QUESTIONSANSWERS_SUBMENU_HELP_DOCUMENTS="Help Documents"
COM_QUESTIONSANSWERS_SUBMENU_QUESTIONS_AND_ANSWERS="Questions and Answers" COM_QUESTIONSANSWERS_SUBMENU_QUESTIONS_AND_ANSWERS="Questions and Answers"
@ -400,6 +421,8 @@ COM_QUESTIONSANSWERS_THE_MAIN_WILL_BE_CROPPED_TO_THIS_SIZE="The main will be cro
COM_QUESTIONSANSWERS_THE_NOTICE_BOARD_IS_LOADING="The notice board is loading" COM_QUESTIONSANSWERS_THE_NOTICE_BOARD_IS_LOADING="The notice board is loading"
COM_QUESTIONSANSWERS_THE_README_IS_LOADING="The readme is loading" COM_QUESTIONSANSWERS_THE_README_IS_LOADING="The readme is loading"
COM_QUESTIONSANSWERS_TRASHED="Trashed" COM_QUESTIONSANSWERS_TRASHED="Trashed"
COM_QUESTIONSANSWERS_TRASHED_ITEMS="Trashed items"
COM_QUESTIONSANSWERS_TRASH_AREA="Trash Area"
COM_QUESTIONSANSWERS_TYPE_HELP_DOCUMENT="Help Document" COM_QUESTIONSANSWERS_TYPE_HELP_DOCUMENT="Help Document"
COM_QUESTIONSANSWERS_TYPE_QUESTION_AND_ANSWER="Question and Answer" COM_QUESTIONSANSWERS_TYPE_QUESTION_AND_ANSWER="Question and Answer"
COM_QUESTIONSANSWERS_USE_BATCH="Use Batch" COM_QUESTIONSANSWERS_USE_BATCH="Use Batch"
@ -408,5 +431,7 @@ COM_QUESTIONSANSWERS_VERSION="Version"
COM_QUESTIONSANSWERS_WARNING_IMPORT_FILE_ERROR="Warning, import file error." COM_QUESTIONSANSWERS_WARNING_IMPORT_FILE_ERROR="Warning, import file error."
COM_QUESTIONSANSWERS_WARNING_IMPORT_UPLOAD_ERROR="Warning, import upload error." COM_QUESTIONSANSWERS_WARNING_IMPORT_UPLOAD_ERROR="Warning, import upload error."
COM_QUESTIONSANSWERS_WEBSITE="Website" COM_QUESTIONSANSWERS_WEBSITE="Website"
COM_QUESTIONSANSWERS_YOU_ARE_CURRENTLY_VIEWING_THE_TRASHED_ITEMS="You are currently viewing the trashed items."
COM_QUESTIONSANSWERS_YOU_ARE_CURRENTLY_VIEWING_THE_TRASH_AREA_AND_YOU_DONT_HAVE_ANY_ITEMS_IN_TRASH_AT_THE_MOMENT="You are currently viewing the trash area, and you don't have any items in trash at the moment!"
COM_QUESTIONSANSWERS_YOU_DO_NOT_HAVE_PERMISSION_TO_REMOVE_THIS_FILE="You do not have permission to remove this file." COM_QUESTIONSANSWERS_YOU_DO_NOT_HAVE_PERMISSION_TO_REMOVE_THIS_FILE="You do not have permission to remove this file."
COM_QUESTIONSANSWERS_YOU_DO_NOT_HAVE_PERMISSION_TO_UPLOAD_AN="You do not have permission to upload an" COM_QUESTIONSANSWERS_YOU_DO_NOT_HAVE_PERMISSION_TO_UPLOAD_AN="You do not have permission to upload an"

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage batchselection.php @subpackage batchselection.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_above.php @subpackage details_above.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_fullwidth.php @subpackage details_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_left.php @subpackage details_left.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_right.php @subpackage details_right.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_under.php @subpackage details_under.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage publishing.php @subpackage publishing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage publlshing.php @subpackage publlshing.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_fullwidth.php @subpackage details_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_rightside.php @subpackage details_rightside.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_under.php @subpackage details_under.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage metadata.php @subpackage metadata.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage publishing.php @subpackage publishing.php

View File

@ -0,0 +1,87 @@
<?php
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
__ __ _ _____ _ _ __ __ _ _ _
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
| |
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
@build 8th February, 2021
@created 30th January, 2017
@package Questions and Answers
@subpackage trashhelper.php
@author Llewellyn van der Merwe <https://www.vdm.io/>
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
Questions &amp; Answers
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
defined('JPATH_BASE') or die('Restricted access');
?>
<?php if ($displayData->state->get('filter.published') == -2 && ($displayData->canState && $displayData->canDelete)) : ?>
<script>
// change the class of the delete button
jQuery("#toolbar-delete button").toggleClass("btn-danger");
// function to empty the trash
function emptyTrash() {
if (document.adminForm.boxchecked.value == 0) {
// select all the items visable
document.adminForm.elements['checkall-toggle'].checked=1;
Joomla.checkAll(document.adminForm.elements['checkall-toggle']);
// check to confirm the deletion
if(confirm('<?= JText::_("COM_QUESTIONSANSWERS_ARE_YOU_SURE_YOU_WANT_TO_DELETE_CONFIRMING_WILL_PERMANENTLY_DELETE_THE_SELECTED_ITEMS") ?>')) {
Joomla.submitbutton('<?= $displayData->get("name") ?>.delete');
} else {
document.adminForm.elements['checkall-toggle'].checked=0;
Joomla.checkAll(document.adminForm.elements['checkall-toggle']);
}
} else {
// confirm deletion of those selected
if (confirm('<?= JText::_("COM_QUESTIONSANSWERS_ARE_YOU_SURE_YOU_WANT_TO_DELETE_CONFIRMING_WILL_PERMANENTLY_DELETE_THE_SELECTED_ITEMS") ?>')) {
Joomla.submitbutton('<?= $displayData->get("name") ?>.delete');
};
}
return false;
}
// function to exit the tash state
function exitTrash() {
document.adminForm.filter_published.selectedIndex = 0;
document.adminForm.submit();
return false;
}
</script>
<div class="alert alert-error">
<?php if (empty($displayData->items)): ?>
<h4 class="alert-heading">
<span class="icon-trash"></span>
<?= JText::_("COM_QUESTIONSANSWERS_TRASH_AREA") ?>
</h4>
<p><?= JText::_("COM_QUESTIONSANSWERS_YOU_ARE_CURRENTLY_VIEWING_THE_TRASH_AREA_AND_YOU_DONT_HAVE_ANY_ITEMS_IN_TRASH_AT_THE_MOMENT") ?></p>
<?php else: ?>
<h4 class="alert-heading">
<span class="icon-trash"></span>
<?= JText::_("COM_QUESTIONSANSWERS_TRASHED_ITEMS") ?>
</h4>
<p><?= JText::_("COM_QUESTIONSANSWERS_YOU_ARE_CURRENTLY_VIEWING_THE_TRASHED_ITEMS") ?></p>
<button onclick="emptyTrash();" class="btn btn-small btn-danger">
<span class="icon-delete" aria-hidden="true"></span>
<?= JText::_("COM_QUESTIONSANSWERS_EMPTY_TRASH") ?>
</button>
<?php endif; ?>
<button onclick="exitTrash();" class="btn btn-small">
<span class="icon-back" aria-hidden="true"></span>
<?= JText::_("COM_QUESTIONSANSWERS_EXIT_TRASH") ?>
</button>
</div>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage ajax.php @subpackage ajax.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage adminviewfolderlist.php @subpackage adminviewfolderlist.php
@ -58,6 +58,10 @@ class JFormFieldAdminviewfolderlist extends JFormFieldList
// now check if there are files in the folder // now check if there are files in the folder
if (JFolder::exists($localfolder) && $folders = JFolder::folders($localfolder)) if (JFolder::exists($localfolder) && $folders = JFolder::folders($localfolder))
{ {
if ($this->multiple === false)
{
$options[] = JHtml::_('select.option', '', JText::_('COM_QUESTIONSANSWERS_SELECT_AN_ADMIN_VIEW'));
}
foreach ($folders as $folder) foreach ($folders as $folder)
{ {
$options[] = JHtml::_('select.option', $folder, QuestionsanswersHelper::safeString($folder, 'W')); $options[] = JHtml::_('select.option', $folder, QuestionsanswersHelper::safeString($folder, 'W'));

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage alloweddocumentformats.php @subpackage alloweddocumentformats.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage allowedimageformats.php @subpackage allowedimageformats.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage articles.php @subpackage articles.php

View File

@ -0,0 +1,85 @@
<?php
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
__ __ _ _____ _ _ __ __ _ _ _
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
| |
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
@build 8th February, 2021
@created 30th January, 2017
@package Questions and Answers
@subpackage helpdocumentsfilterlocation.php
@author Llewellyn van der Merwe <https://www.vdm.io/>
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
Questions &amp; Answers
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// import the list field type
jimport('joomla.form.helper');
JFormHelper::loadFieldClass('list');
/**
* Helpdocumentsfilterlocation Form Field class for the Questionsanswers component
*/
class JFormFieldHelpdocumentsfilterlocation extends JFormFieldList
{
/**
* The helpdocumentsfilterlocation field type.
*
* @var string
*/
public $type = 'helpdocumentsfilterlocation';
/**
* Method to get a list of options for a list input.
*
* @return array An array of JHtml options.
*/
protected function getOptions()
{
// Get a db connection.
$db = JFactory::getDbo();
// Create a new query object.
$query = $db->getQuery(true);
// Select the text.
$query->select($db->quoteName('location'));
$query->from($db->quoteName('#__questionsanswers_help_document'));
$query->order($db->quoteName('location') . ' ASC');
// Reset the query using our newly populated query object.
$db->setQuery($query);
$results = $db->loadColumn();
$_filter = array();
$_filter[] = JHtml::_('select.option', '', '- ' . JText::_('COM_QUESTIONSANSWERS_FILTER_SELECT_LOCATION') . ' -');
if ($results)
{
// get help_documentsmodel
$model = QuestionsanswersHelper::getModel('help_documents');
$results = array_unique($results);
foreach ($results as $location)
{
// Translate the location selection
$text = $model->selectionTranslation($location,'location');
// Now add the location and its text to the options array
$_filter[] = JHtml::_('select.option', $location, JText::_($text));
}
}
return $_filter;
}
}

View File

@ -0,0 +1,85 @@
<?php
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
__ __ _ _____ _ _ __ __ _ _ _
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
| |
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
@build 8th February, 2021
@created 30th January, 2017
@package Questions and Answers
@subpackage helpdocumentsfiltertype.php
@author Llewellyn van der Merwe <https://www.vdm.io/>
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
Questions &amp; Answers
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// import the list field type
jimport('joomla.form.helper');
JFormHelper::loadFieldClass('list');
/**
* Helpdocumentsfiltertype Form Field class for the Questionsanswers component
*/
class JFormFieldHelpdocumentsfiltertype extends JFormFieldList
{
/**
* The helpdocumentsfiltertype field type.
*
* @var string
*/
public $type = 'helpdocumentsfiltertype';
/**
* Method to get a list of options for a list input.
*
* @return array An array of JHtml options.
*/
protected function getOptions()
{
// Get a db connection.
$db = JFactory::getDbo();
// Create a new query object.
$query = $db->getQuery(true);
// Select the text.
$query->select($db->quoteName('type'));
$query->from($db->quoteName('#__questionsanswers_help_document'));
$query->order($db->quoteName('type') . ' ASC');
// Reset the query using our newly populated query object.
$db->setQuery($query);
$results = $db->loadColumn();
$_filter = array();
$_filter[] = JHtml::_('select.option', '', '- ' . JText::_('COM_QUESTIONSANSWERS_FILTER_SELECT_TYPE') . ' -');
if ($results)
{
// get help_documentsmodel
$model = QuestionsanswersHelper::getModel('help_documents');
$results = array_unique($results);
foreach ($results as $type)
{
// Translate the type selection
$text = $model->selectionTranslation($type,'type');
// Now add the type and its text to the options array
$_filter[] = JHtml::_('select.option', $type, JText::_($text));
}
}
return $_filter;
}
}

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage siteviewfolderlist.php @subpackage siteviewfolderlist.php
@ -58,6 +58,10 @@ class JFormFieldSiteviewfolderlist extends JFormFieldList
// now check if there are files in the folder // now check if there are files in the folder
if (JFolder::exists($localfolder) && $folders = JFolder::folders($localfolder)) if (JFolder::exists($localfolder) && $folders = JFolder::folders($localfolder))
{ {
if ($this->multiple === false)
{
$options[] = JHtml::_('select.option', '', JText::_('COM_QUESTIONSANSWERS_SELECT_A_SITE_VIEW'));
}
foreach ($folders as $folder) foreach ($folders as $folder)
{ {
$options[] = JHtml::_('select.option', $folder, QuestionsanswersHelper::safeString($folder, 'W')); $options[] = JHtml::_('select.option', $folder, QuestionsanswersHelper::safeString($folder, 'W'));

View File

@ -0,0 +1,94 @@
<?xml version="1.0" encoding="utf-8"?>
<form
addrulepath="/administrator/components/com_questionsanswers/models/rules"
addfieldpath="/administrator/components/com_questionsanswers/models/fields"
>
<fields name="filter">
<field
type="text"
name="search"
inputmode="search"
label="COM_QUESTIONSANSWERS_FILTER_SEARCH"
description="COM_QUESTIONSANSWERS_FILTER_SEARCH_HELP_DOCUMENTS"
hint="JSEARCH_FILTER"
/>
<field
type="status"
name="published"
label="COM_QUESTIONSANSWERS_FILTER_PUBLISHED"
description="COM_QUESTIONSANSWERS_FILTER_PUBLISHED_HELP_DOCUMENTS"
onchange="this.form.submit();"
>
<option value="">JOPTION_SELECT_PUBLISHED</option>
</field>
<field
type="helpdocumentsfiltertype"
name="type"
label="COM_QUESTIONSANSWERS_HELP_DOCUMENT_TYPE_LABEL"
multiple="false"
onchange="this.form.submit();"
/>
<field
type="helpdocumentsfilterlocation"
name="location"
label="COM_QUESTIONSANSWERS_HELP_DOCUMENT_LOCATION_LABEL"
multiple="false"
onchange="this.form.submit();"
/>
<field
type="adminviewfolderlist"
name="admin_view"
label="COM_QUESTIONSANSWERS_HELP_DOCUMENT_ADMIN_VIEW_LABEL"
multiple="false"
onchange="this.form.submit();"
/>
<field
type="siteviewfolderlist"
name="site_view"
label="COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE_VIEW_LABEL"
multiple="false"
onchange="this.form.submit();"
/>
<input type="hidden" name="form_submited" value="1"/>
</fields>
<fields name="list">
<field
name="fullordering"
type="list"
label="COM_CONTENT_LIST_FULL_ORDERING"
description="COM_CONTENT_LIST_FULL_ORDERING_DESC"
onchange="this.form.submit();"
default="a.id DESC"
validate="options"
>
<option value="">JGLOBAL_SORT_BY</option>
<option value="a.ordering ASC">JGRID_HEADING_ORDERING_ASC</option>
<option value="a.ordering DESC">JGRID_HEADING_ORDERING_DESC</option>
<option value="a.published ASC">JSTATUS_ASC</option>
<option value="a.published DESC">JSTATUS_DESC</option>
<option value="a.title ASC">COM_QUESTIONSANSWERS_FILTER_TITLE_ASCENDING</option>
<option value="a.title DESC">COM_QUESTIONSANSWERS_FILTER_TITLE_DESCENDING</option>
<option value="a.type ASC">COM_QUESTIONSANSWERS_FILTER_TYPE_ASCENDING</option>
<option value="a.type DESC">COM_QUESTIONSANSWERS_FILTER_TYPE_DESCENDING</option>
<option value="a.location ASC">COM_QUESTIONSANSWERS_FILTER_LOCATION_ASCENDING</option>
<option value="a.location DESC">COM_QUESTIONSANSWERS_FILTER_LOCATION_DESCENDING</option>
<option value="g. ASC">COM_QUESTIONSANSWERS_FILTER_ADMIN_VIEWS_ASCENDING</option>
<option value="g. DESC">COM_QUESTIONSANSWERS_FILTER_ADMIN_VIEWS_DESCENDING</option>
<option value="h. ASC">COM_QUESTIONSANSWERS_FILTER_SITE_VIEWS_ASCENDING</option>
<option value="h. DESC">COM_QUESTIONSANSWERS_FILTER_SITE_VIEWS_DESCENDING</option>
<option value="a.id ASC">JGRID_HEADING_ID_ASC</option>
<option value="a.id DESC">JGRID_HEADING_ID_DESC</option>
</field>
<field
name="limit"
type="limitbox"
label="COM_CONTENT_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="input-mini"
default="25"
onchange="this.form.submit();"
/>
</fields>
</form>

View File

@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<form
addrulepath="/administrator/components/com_questionsanswers/models/rules"
addfieldpath="/administrator/components/com_questionsanswers/models/fields"
>
<fields name="filter">
<field
type="text"
name="search"
inputmode="search"
label="COM_QUESTIONSANSWERS_FILTER_SEARCH"
description="COM_QUESTIONSANSWERS_FILTER_SEARCH_QUESTIONS_AND_ANSWERS"
hint="JSEARCH_FILTER"
/>
<field
type="status"
name="published"
label="COM_QUESTIONSANSWERS_FILTER_PUBLISHED"
description="COM_QUESTIONSANSWERS_FILTER_PUBLISHED_QUESTIONS_AND_ANSWERS"
onchange="this.form.submit();"
>
<option value="">JOPTION_SELECT_PUBLISHED</option>
</field>
<field
type="category"
name="category_id"
label="COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_QUESTIONS_AND_ANSWERS_CATEGORIES"
description="JOPTION_FILTER_CATEGORY_DESC"
multiple="true"
class="multipleCategories"
extension="com_questionsanswers.question_and_answer"
onchange="this.form.submit();"
published="0,1,2"
/>
<field
type="accesslevel"
name="access"
label="JFIELD_ACCESS_LABEL"
description="JFIELD_ACCESS_DESC"
multiple="true"
class="multipleAccessLevels"
onchange="this.form.submit();"
/>
<input type="hidden" name="form_submited" value="1"/>
</fields>
<fields name="list">
<field
name="fullordering"
type="list"
label="COM_CONTENT_LIST_FULL_ORDERING"
description="COM_CONTENT_LIST_FULL_ORDERING_DESC"
onchange="this.form.submit();"
default="a.id desc"
validate="options"
>
<option value="">JGLOBAL_SORT_BY</option>
<option value="a.ordering ASC">JGRID_HEADING_ORDERING_ASC</option>
<option value="a.ordering DESC">JGRID_HEADING_ORDERING_DESC</option>
<option value="a.published ASC">JSTATUS_ASC</option>
<option value="a.published DESC">JSTATUS_DESC</option>
<option value="a.question ASC">COM_QUESTIONSANSWERS_FILTER_QUESTION_ASCENDING</option>
<option value="a.question DESC">COM_QUESTIONSANSWERS_FILTER_QUESTION_DESCENDING</option>
<option value="a.answer ASC">COM_QUESTIONSANSWERS_FILTER_ANSWER_ASCENDING</option>
<option value="a.answer DESC">COM_QUESTIONSANSWERS_FILTER_ANSWER_DESCENDING</option>
<option value="category_title ASC">COM_QUESTIONSANSWERS_FILTER_QUESTIONS_AND_ANSWERS_CATEGORIES_ASCENDING</option>
<option value="category_title DESC">COM_QUESTIONSANSWERS_FILTER_QUESTIONS_AND_ANSWERS_CATEGORIES_DESCENDING</option>
<option value="a.id ASC">JGRID_HEADING_ID_ASC</option>
<option value="a.id DESC">JGRID_HEADING_ID_DESC</option>
</field>
<field
name="limit"
type="limitbox"
label="COM_CONTENT_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="input-mini"
default="25"
onchange="this.form.submit();"
/>
</fields>
</form>

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_document.js @subpackage help_document.js

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage question_and_answer.js @subpackage question_and_answer.js

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_document.php @subpackage help_document.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_documents.php @subpackage help_documents.php
@ -75,8 +75,15 @@ class QuestionsanswersModelHelp_documents extends JModelList
$this->context .= '.' . $layout; $this->context .= '.' . $layout;
} }
// Check if the form was submitted
$formSubmited = $app->input->post->get('form_submited');
$access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int');
$this->setState('filter.access', $access); if ($formSubmited)
{
$access = $app->input->post->get('access');
$this->setState('filter.access', $access);
}
$published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', '');
$this->setState('filter.published', $published); $this->setState('filter.published', $published);
@ -94,19 +101,39 @@ class QuestionsanswersModelHelp_documents extends JModelList
$this->setState('filter.search', $search); $this->setState('filter.search', $search);
$type = $this->getUserStateFromRequest($this->context . '.filter.type', 'filter_type'); $type = $this->getUserStateFromRequest($this->context . '.filter.type', 'filter_type');
$this->setState('filter.type', $type); if ($formSubmited)
{
$type = $app->input->post->get('type');
$this->setState('filter.type', $type);
}
$location = $this->getUserStateFromRequest($this->context . '.filter.location', 'filter_location'); $location = $this->getUserStateFromRequest($this->context . '.filter.location', 'filter_location');
$this->setState('filter.location', $location); if ($formSubmited)
{
$location = $app->input->post->get('location');
$this->setState('filter.location', $location);
}
$admin_view = $this->getUserStateFromRequest($this->context . '.filter.admin_view', 'filter_admin_view'); $admin_view = $this->getUserStateFromRequest($this->context . '.filter.admin_view', 'filter_admin_view');
$this->setState('filter.admin_view', $admin_view); if ($formSubmited)
{
$admin_view = $app->input->post->get('admin_view');
$this->setState('filter.admin_view', $admin_view);
}
$site_view = $this->getUserStateFromRequest($this->context . '.filter.site_view', 'filter_site_view'); $site_view = $this->getUserStateFromRequest($this->context . '.filter.site_view', 'filter_site_view');
$this->setState('filter.site_view', $site_view); if ($formSubmited)
{
$site_view = $app->input->post->get('site_view');
$this->setState('filter.site_view', $site_view);
}
$title = $this->getUserStateFromRequest($this->context . '.filter.title', 'filter_title'); $title = $this->getUserStateFromRequest($this->context . '.filter.title', 'filter_title');
$this->setState('filter.title', $title); if ($formSubmited)
{
$title = $app->input->post->get('title');
$this->setState('filter.title', $title);
}
// List state information. // List state information.
parent::populateState($ordering, $direction); parent::populateState($ordering, $direction);

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage import.php @subpackage import.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage question_and_answer.php @subpackage question_and_answer.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questions_and_answers.php @subpackage questions_and_answers.php
@ -76,8 +76,15 @@ class QuestionsanswersModelQuestions_and_answers extends JModelList
$this->context .= '.' . $layout; $this->context .= '.' . $layout;
} }
// Check if the form was submitted
$formSubmited = $app->input->post->get('form_submited');
$access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int');
$this->setState('filter.access', $access); if ($formSubmited)
{
$access = $app->input->post->get('access');
$this->setState('filter.access', $access);
}
$published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', '');
$this->setState('filter.published', $published); $this->setState('filter.published', $published);
@ -101,13 +108,25 @@ class QuestionsanswersModelQuestions_and_answers extends JModelList
$this->setState('filter.category_id', $categoryId); $this->setState('filter.category_id', $categoryId);
$catid = $this->getUserStateFromRequest($this->context . '.filter.catid', 'filter_catid'); $catid = $this->getUserStateFromRequest($this->context . '.filter.catid', 'filter_catid');
$this->setState('filter.catid', $catid); if ($formSubmited)
{
$catid = $app->input->post->get('catid');
$this->setState('filter.catid', $catid);
}
$question = $this->getUserStateFromRequest($this->context . '.filter.question', 'filter_question'); $question = $this->getUserStateFromRequest($this->context . '.filter.question', 'filter_question');
$this->setState('filter.question', $question); if ($formSubmited)
{
$question = $app->input->post->get('question');
$this->setState('filter.question', $question);
}
$answer = $this->getUserStateFromRequest($this->context . '.filter.answer', 'filter_answer'); $answer = $this->getUserStateFromRequest($this->context . '.filter.answer', 'filter_answer');
$this->setState('filter.answer', $answer); if ($formSubmited)
{
$answer = $app->input->post->get('answer');
$this->setState('filter.answer', $answer);
}
// List state information. // List state information.
parent::populateState($ordering, $direction); parent::populateState($ordering, $direction);
@ -403,13 +422,57 @@ class QuestionsanswersModelQuestions_and_answers extends JModelList
$id .= ':' . $this->getState('filter.id'); $id .= ':' . $this->getState('filter.id');
$id .= ':' . $this->getState('filter.search'); $id .= ':' . $this->getState('filter.search');
$id .= ':' . $this->getState('filter.published'); $id .= ':' . $this->getState('filter.published');
$id .= ':' . $this->getState('filter.access'); // Check if the value is an array
$_access = $this->getState('filter.access');
if (QuestionsanswersHelper::checkArray($_access))
{
$id .= ':' . implode(':', $_access);
}
// Check if this is only an number or string
elseif (is_numeric($_access)
|| QuestionsanswersHelper::checkString($_access))
{
$id .= ':' . $_access;
}
$id .= ':' . $this->getState('filter.ordering'); $id .= ':' . $this->getState('filter.ordering');
$id .= ':' . $this->getState('filter.created_by'); $id .= ':' . $this->getState('filter.created_by');
$id .= ':' . $this->getState('filter.modified_by'); $id .= ':' . $this->getState('filter.modified_by');
$id .= ':' . $this->getState('filter.category'); // Check if the value is an array
$id .= ':' . $this->getState('filter.category_id'); $_category = $this->getState('filter.category');
$id .= ':' . $this->getState('filter.catid'); if (QuestionsanswersHelper::checkArray($_category))
{
$id .= ':' . implode(':', $_category);
}
// Check if this is only an number or string
elseif (is_numeric($_category)
|| QuestionsanswersHelper::checkString($_category))
{
$id .= ':' . $_category;
}
// Check if the value is an array
$_category_id = $this->getState('filter.category_id');
if (QuestionsanswersHelper::checkArray($_category_id))
{
$id .= ':' . implode(':', $_category_id);
}
// Check if this is only an number or string
elseif (is_numeric($_category_id)
|| QuestionsanswersHelper::checkString($_category_id))
{
$id .= ':' . $_category_id;
}
// Check if the value is an array
$_catid = $this->getState('filter.catid');
if (QuestionsanswersHelper::checkArray($_catid))
{
$id .= ':' . implode(':', $_catid);
}
// Check if this is only an number or string
elseif (is_numeric($_catid)
|| QuestionsanswersHelper::checkString($_catid))
{
$id .= ':' . $_catid;
}
$id .= ':' . $this->getState('filter.question'); $id .= ':' . $this->getState('filter.question');
$id .= ':' . $this->getState('filter.answer'); $id .= ':' . $this->getState('filter.answer');

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questionsanswers.php @subpackage questionsanswers.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questionsanswers.php @subpackage questionsanswers.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_document.php @subpackage help_document.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage question_and_answer.php @subpackage question_and_answer.php

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage submitbutton.js @subpackage submitbutton.js

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage edit.php @subpackage edit.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage view.html.php @subpackage view.html.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default.php @subpackage default.php
@ -36,23 +36,6 @@ if ($this->saveOrder)
JHtml::_('sortablelist.sortable', 'help_documentList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); JHtml::_('sortablelist.sortable', 'help_documentList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl);
} }
?> ?>
<script type="text/javascript">
Joomla.orderTable = function()
{
table = document.getElementById("sortTable");
direction = document.getElementById("directionTable");
order = table.options[table.selectedIndex].value;
if (order != '<?php echo $this->listOrder; ?>')
{
dirn = 'asc';
}
else
{
dirn = direction.options[direction.selectedIndex].value;
}
Joomla.tableOrdering(order, dirn, '');
}
</script>
<form action="<?php echo JRoute::_('index.php?option=com_questionsanswers&view=help_documents'); ?>" method="post" name="adminForm" id="adminForm"> <form action="<?php echo JRoute::_('index.php?option=com_questionsanswers&view=help_documents'); ?>" method="post" name="adminForm" id="adminForm">
<?php if(!empty( $this->sidebar)): ?> <?php if(!empty( $this->sidebar)): ?>
<div id="j-sidebar-container" class="span2"> <div id="j-sidebar-container" class="span2">
@ -62,13 +45,17 @@ if ($this->saveOrder)
<?php else : ?> <?php else : ?>
<div id="j-main-container"> <div id="j-main-container">
<?php endif; ?> <?php endif; ?>
<?php
// Add the trash helper layout
echo JLayoutHelper::render('trashhelper', $this);
// Add the searchtools
echo JLayoutHelper::render('joomla.searchtools.default', array('view' => $this));
?>
<?php if (empty($this->items)): ?> <?php if (empty($this->items)): ?>
<?php echo $this->loadTemplate('toolbar');?>
<div class="alert alert-no-items"> <div class="alert alert-no-items">
<?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?>
</div> </div>
<?php else : ?> <?php else : ?>
<?php echo $this->loadTemplate('toolbar');?>
<table class="table table-striped" id="help_documentList"> <table class="table table-striped" id="help_documentList">
<thead><?php echo $this->loadTemplate('head');?></thead> <thead><?php echo $this->loadTemplate('head');?></thead>
<tfoot><?php echo $this->loadTemplate('foot');?></tfoot> <tfoot><?php echo $this->loadTemplate('foot');?></tfoot>
@ -86,8 +73,6 @@ if ($this->saveOrder)
$this->loadTemplate('batch_body') $this->loadTemplate('batch_body')
); ?> ); ?>
<?php endif; ?> <?php endif; ?>
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
<input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="boxchecked" value="0" />
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_batch_body.php @subpackage default_batch_body.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_batch_footer.php @subpackage default_batch_footer.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_body.php @subpackage default_body.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_foot.php @subpackage default_foot.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_head.php @subpackage default_head.php
@ -30,7 +30,7 @@ defined('_JEXEC') or die('Restricted access');
<tr> <tr>
<?php if ($this->canEdit&& $this->canState): ?> <?php if ($this->canEdit&& $this->canState): ?>
<th width="1%" class="nowrap center hidden-phone"> <th width="1%" class="nowrap center hidden-phone">
<?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'a.ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?> <?php echo JHtml::_('searchtools.sort', '', 'a.ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING', 'icon-menu-2'); ?>
</th> </th>
<th width="20" class="nowrap center"> <th width="20" class="nowrap center">
<?php echo JHtml::_('grid.checkall'); ?> <?php echo JHtml::_('grid.checkall'); ?>
@ -44,26 +44,26 @@ defined('_JEXEC') or die('Restricted access');
</th> </th>
<?php endif; ?> <?php endif; ?>
<th class="nowrap" > <th class="nowrap" >
<?php echo JHtml::_('grid.sort', 'COM_QUESTIONSANSWERS_HELP_DOCUMENT_TITLE_LABEL', 'a.title', $this->listDirn, $this->listOrder); ?> <?php echo JHtml::_('searchtools.sort', 'COM_QUESTIONSANSWERS_HELP_DOCUMENT_TITLE_LABEL', 'a.title', $this->listDirn, $this->listOrder); ?>
</th> </th>
<th class="nowrap hidden-phone" > <th class="nowrap hidden-phone" >
<?php echo JHtml::_('grid.sort', 'COM_QUESTIONSANSWERS_HELP_DOCUMENT_TYPE_LABEL', 'a.type', $this->listDirn, $this->listOrder); ?> <?php echo JHtml::_('searchtools.sort', 'COM_QUESTIONSANSWERS_HELP_DOCUMENT_TYPE_LABEL', 'a.type', $this->listDirn, $this->listOrder); ?>
</th> </th>
<th class="nowrap hidden-phone" > <th class="nowrap hidden-phone" >
<?php echo JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_GROUPS_LABEL'); ?> <?php echo JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_GROUPS_LABEL'); ?>
</th> </th>
<th class="nowrap hidden-phone" > <th class="nowrap hidden-phone" >
<?php echo JHtml::_('grid.sort', 'COM_QUESTIONSANSWERS_HELP_DOCUMENT_LOCATION_LABEL', 'a.location', $this->listDirn, $this->listOrder); ?> <?php echo JHtml::_('searchtools.sort', 'COM_QUESTIONSANSWERS_HELP_DOCUMENT_LOCATION_LABEL', 'a.location', $this->listDirn, $this->listOrder); ?>
</th> </th>
<th class="nowrap hidden-phone" > <th class="nowrap hidden-phone" >
<?php echo JHtml::_('grid.sort', 'COM_QUESTIONSANSWERS_HELP_DOCUMENT_ADMIN_VIEW_LABEL', 'g.', $this->listDirn, $this->listOrder); ?> <?php echo JHtml::_('searchtools.sort', 'COM_QUESTIONSANSWERS_HELP_DOCUMENT_ADMIN_VIEW_LABEL', 'g.', $this->listDirn, $this->listOrder); ?>
</th> </th>
<th class="nowrap hidden-phone" > <th class="nowrap hidden-phone" >
<?php echo JHtml::_('grid.sort', 'COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE_VIEW_LABEL', 'h.', $this->listDirn, $this->listOrder); ?> <?php echo JHtml::_('searchtools.sort', 'COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE_VIEW_LABEL', 'h.', $this->listDirn, $this->listOrder); ?>
</th> </th>
<?php if ($this->canState): ?> <?php if ($this->canState): ?>
<th width="10" class="nowrap center" > <th width="10" class="nowrap center" >
<?php echo JHtml::_('grid.sort', 'COM_QUESTIONSANSWERS_HELP_DOCUMENT_STATUS', 'a.published', $this->listDirn, $this->listOrder); ?> <?php echo JHtml::_('searchtools.sort', 'COM_QUESTIONSANSWERS_HELP_DOCUMENT_STATUS', 'a.published', $this->listDirn, $this->listOrder); ?>
</th> </th>
<?php else: ?> <?php else: ?>
<th width="10" class="nowrap center" > <th width="10" class="nowrap center" >
@ -71,6 +71,6 @@ defined('_JEXEC') or die('Restricted access');
</th> </th>
<?php endif; ?> <?php endif; ?>
<th width="5" class="nowrap center hidden-phone" > <th width="5" class="nowrap center hidden-phone" >
<?php echo JHtml::_('grid.sort', 'COM_QUESTIONSANSWERS_HELP_DOCUMENT_ID', 'a.id', $this->listDirn, $this->listOrder); ?> <?php echo JHtml::_('searchtools.sort', 'COM_QUESTIONSANSWERS_HELP_DOCUMENT_ID', 'a.id', $this->listDirn, $this->listOrder); ?>
</th> </th>
</tr> </tr>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_toolbar.php @subpackage default_toolbar.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage view.html.php @subpackage view.html.php
@ -48,6 +48,10 @@ class QuestionsanswersViewHelp_documents extends JViewLegacy
$this->pagination = $this->get('Pagination'); $this->pagination = $this->get('Pagination');
$this->state = $this->get('State'); $this->state = $this->get('State');
$this->user = JFactory::getUser(); $this->user = JFactory::getUser();
// Load the filter form from xml.
$this->filterForm = $this->get('FilterForm');
// Load the active filters.
$this->activeFilters = $this->get('ActiveFilters');
// Add the list ordering clause. // Add the list ordering clause.
$this->listOrder = $this->escape($this->state->get('list.ordering', 'a.id')); $this->listOrder = $this->escape($this->state->get('list.ordering', 'a.id'));
$this->listDirn = $this->escape($this->state->get('list.direction', 'DESC')); $this->listDirn = $this->escape($this->state->get('list.direction', 'DESC'));
@ -168,96 +172,6 @@ class QuestionsanswersViewHelp_documents extends JViewLegacy
JToolBarHelper::preferences('com_questionsanswers'); JToolBarHelper::preferences('com_questionsanswers');
} }
// Only load publish filter if state change is allowed
if ($this->canState)
{
JHtmlSidebar::addFilter(
JText::_('JOPTION_SELECT_PUBLISHED'),
'filter_published',
JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true)
);
}
// Set Type Selection
$this->typeOptions = $this->getTheTypeSelections();
// We do some sanitation for Type filter
if (QuestionsanswersHelper::checkArray($this->typeOptions) &&
isset($this->typeOptions[0]->value) &&
!QuestionsanswersHelper::checkString($this->typeOptions[0]->value))
{
unset($this->typeOptions[0]);
}
// Only load Type filter if it has values
if (QuestionsanswersHelper::checkArray($this->typeOptions))
{
// Type Filter
JHtmlSidebar::addFilter(
'- Select '.JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_TYPE_LABEL').' -',
'filter_type',
JHtml::_('select.options', $this->typeOptions, 'value', 'text', $this->state->get('filter.type'))
);
}
// Set Location Selection
$this->locationOptions = $this->getTheLocationSelections();
// We do some sanitation for Location filter
if (QuestionsanswersHelper::checkArray($this->locationOptions) &&
isset($this->locationOptions[0]->value) &&
!QuestionsanswersHelper::checkString($this->locationOptions[0]->value))
{
unset($this->locationOptions[0]);
}
// Only load Location filter if it has values
if (QuestionsanswersHelper::checkArray($this->locationOptions))
{
// Location Filter
JHtmlSidebar::addFilter(
'- Select '.JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_LOCATION_LABEL').' -',
'filter_location',
JHtml::_('select.options', $this->locationOptions, 'value', 'text', $this->state->get('filter.location'))
);
}
// Set Admin View Selection
$this->admin_viewOptions = JFormHelper::loadFieldType('Adminviewfolderlist')->options;
// We do some sanitation for Admin View filter
if (QuestionsanswersHelper::checkArray($this->admin_viewOptions) &&
isset($this->admin_viewOptions[0]->value) &&
!QuestionsanswersHelper::checkString($this->admin_viewOptions[0]->value))
{
unset($this->admin_viewOptions[0]);
}
// Only load Admin View filter if it has values
if (QuestionsanswersHelper::checkArray($this->admin_viewOptions))
{
// Admin View Filter
JHtmlSidebar::addFilter(
'- Select ' . JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_ADMIN_VIEW_LABEL') . ' -',
'filter_admin_view',
JHtml::_('select.options', $this->admin_viewOptions, 'value', 'text', $this->state->get('filter.admin_view'))
);
}
// Set Site View Selection
$this->site_viewOptions = JFormHelper::loadFieldType('Siteviewfolderlist')->options;
// We do some sanitation for Site View filter
if (QuestionsanswersHelper::checkArray($this->site_viewOptions) &&
isset($this->site_viewOptions[0]->value) &&
!QuestionsanswersHelper::checkString($this->site_viewOptions[0]->value))
{
unset($this->site_viewOptions[0]);
}
// Only load Site View filter if it has values
if (QuestionsanswersHelper::checkArray($this->site_viewOptions))
{
// Site View Filter
JHtmlSidebar::addFilter(
'- Select ' . JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE_VIEW_LABEL') . ' -',
'filter_site_view',
JHtml::_('select.options', $this->site_viewOptions, 'value', 'text', $this->state->get('filter.site_view'))
);
}
// Only load published batch if state and batch is allowed // Only load published batch if state and batch is allowed
if ($this->canState && $this->canBatch) if ($this->canState && $this->canBatch)
{ {
@ -271,6 +185,15 @@ class QuestionsanswersViewHelp_documents extends JViewLegacy
// Only load Type batch if create, edit, and batch is allowed // Only load Type batch if create, edit, and batch is allowed
if ($this->canBatch && $this->canCreate && $this->canEdit) if ($this->canBatch && $this->canCreate && $this->canEdit)
{ {
// Set Type Selection
$this->typeOptions = JFormHelper::loadFieldType('helpdocumentsfiltertype')->options;
// We do some sanitation for Type filter
if (QuestionsanswersHelper::checkArray($this->typeOptions) &&
isset($this->typeOptions[0]->value) &&
!QuestionsanswersHelper::checkString($this->typeOptions[0]->value))
{
unset($this->typeOptions[0]);
}
// Type Batch Selection // Type Batch Selection
JHtmlBatch_::addListSelection( JHtmlBatch_::addListSelection(
'- Keep Original '.JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_TYPE_LABEL').' -', '- Keep Original '.JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_TYPE_LABEL').' -',
@ -282,6 +205,15 @@ class QuestionsanswersViewHelp_documents extends JViewLegacy
// Only load Location batch if create, edit, and batch is allowed // Only load Location batch if create, edit, and batch is allowed
if ($this->canBatch && $this->canCreate && $this->canEdit) if ($this->canBatch && $this->canCreate && $this->canEdit)
{ {
// Set Location Selection
$this->locationOptions = JFormHelper::loadFieldType('helpdocumentsfilterlocation')->options;
// We do some sanitation for Location filter
if (QuestionsanswersHelper::checkArray($this->locationOptions) &&
isset($this->locationOptions[0]->value) &&
!QuestionsanswersHelper::checkString($this->locationOptions[0]->value))
{
unset($this->locationOptions[0]);
}
// Location Batch Selection // Location Batch Selection
JHtmlBatch_::addListSelection( JHtmlBatch_::addListSelection(
'- Keep Original '.JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_LOCATION_LABEL').' -', '- Keep Original '.JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_LOCATION_LABEL').' -',
@ -293,6 +225,15 @@ class QuestionsanswersViewHelp_documents extends JViewLegacy
// Only load Admin View batch if create, edit, and batch is allowed // Only load Admin View batch if create, edit, and batch is allowed
if ($this->canBatch && $this->canCreate && $this->canEdit) if ($this->canBatch && $this->canCreate && $this->canEdit)
{ {
// Set Admin View Selection
$this->admin_viewOptions = JFormHelper::loadFieldType('Adminviewfolderlist')->options;
// We do some sanitation for Admin View filter
if (QuestionsanswersHelper::checkArray($this->admin_viewOptions) &&
isset($this->admin_viewOptions[0]->value) &&
!QuestionsanswersHelper::checkString($this->admin_viewOptions[0]->value))
{
unset($this->admin_viewOptions[0]);
}
// Admin View Batch Selection // Admin View Batch Selection
JHtmlBatch_::addListSelection( JHtmlBatch_::addListSelection(
'- Keep Original '.JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_ADMIN_VIEW_LABEL').' -', '- Keep Original '.JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_ADMIN_VIEW_LABEL').' -',
@ -304,6 +245,15 @@ class QuestionsanswersViewHelp_documents extends JViewLegacy
// Only load Site View batch if create, edit, and batch is allowed // Only load Site View batch if create, edit, and batch is allowed
if ($this->canBatch && $this->canCreate && $this->canEdit) if ($this->canBatch && $this->canCreate && $this->canEdit)
{ {
// Set Site View Selection
$this->site_viewOptions = JFormHelper::loadFieldType('Siteviewfolderlist')->options;
// We do some sanitation for Site View filter
if (QuestionsanswersHelper::checkArray($this->site_viewOptions) &&
isset($this->site_viewOptions[0]->value) &&
!QuestionsanswersHelper::checkString($this->site_viewOptions[0]->value))
{
unset($this->site_viewOptions[0]);
}
// Site View Batch Selection // Site View Batch Selection
JHtmlBatch_::addListSelection( JHtmlBatch_::addListSelection(
'- Keep Original '.JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE_VIEW_LABEL').' -', '- Keep Original '.JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE_VIEW_LABEL').' -',
@ -363,75 +313,5 @@ class QuestionsanswersViewHelp_documents extends JViewLegacy
'h.' => JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE_VIEW_LABEL'), 'h.' => JText::_('COM_QUESTIONSANSWERS_HELP_DOCUMENT_SITE_VIEW_LABEL'),
'a.id' => JText::_('JGRID_HEADING_ID') 'a.id' => JText::_('JGRID_HEADING_ID')
); );
}
protected function getTheTypeSelections()
{
// Get a db connection.
$db = JFactory::getDbo();
// Create a new query object.
$query = $db->getQuery(true);
// Select the text.
$query->select($db->quoteName('type'));
$query->from($db->quoteName('#__questionsanswers_help_document'));
$query->order($db->quoteName('type') . ' ASC');
// Reset the query using our newly populated query object.
$db->setQuery($query);
$results = $db->loadColumn();
$_filter = array();
if ($results)
{
// get model
$model = $this->getModel();
$results = array_unique($results);
foreach ($results as $type)
{
// Translate the type selection
$text = $model->selectionTranslation($type,'type');
// Now add the type and its text to the options array
$_filter[] = JHtml::_('select.option', $type, JText::_($text));
}
}
return $_filter;
}
protected function getTheLocationSelections()
{
// Get a db connection.
$db = JFactory::getDbo();
// Create a new query object.
$query = $db->getQuery(true);
// Select the text.
$query->select($db->quoteName('location'));
$query->from($db->quoteName('#__questionsanswers_help_document'));
$query->order($db->quoteName('location') . ' ASC');
// Reset the query using our newly populated query object.
$db->setQuery($query);
$results = $db->loadColumn();
$_filter = array();
if ($results)
{
// get model
$model = $this->getModel();
$results = array_unique($results);
foreach ($results as $location)
{
// Translate the location selection
$text = $model->selectionTranslation($location,'location');
// Now add the location and its text to the options array
$_filter[] = JHtml::_('select.option', $location, JText::_($text));
}
}
return $_filter;
} }
} }

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default.php @subpackage default.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage view.html.php @subpackage view.html.php

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage submitbutton.js @subpackage submitbutton.js

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage edit.php @subpackage edit.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage view.html.php @subpackage view.html.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default.php @subpackage default.php
@ -29,6 +29,8 @@ defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.tooltip'); JHtml::_('behavior.tooltip');
JHtml::_('behavior.multiselect'); JHtml::_('behavior.multiselect');
JHtml::_('dropdown.init'); JHtml::_('dropdown.init');
JHtml::_('formbehavior.chosen', '.multipleCategories', null, array('placeholder_text_multiple' => '- ' . JText::_('COM_QUESTIONSANSWERS_FILTER_SELECT_QUESTIONS_AND_ANSWERS_CATEGORIES') . ' -'));
JHtml::_('formbehavior.chosen', '.multipleAccessLevels', null, array('placeholder_text_multiple' => '- ' . JText::_('COM_QUESTIONSANSWERS_FILTER_SELECT_ACCESS') . ' -'));
JHtml::_('formbehavior.chosen', 'select'); JHtml::_('formbehavior.chosen', 'select');
if ($this->saveOrder) if ($this->saveOrder)
{ {
@ -36,23 +38,6 @@ if ($this->saveOrder)
JHtml::_('sortablelist.sortable', 'question_and_answerList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); JHtml::_('sortablelist.sortable', 'question_and_answerList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl);
} }
?> ?>
<script type="text/javascript">
Joomla.orderTable = function()
{
table = document.getElementById("sortTable");
direction = document.getElementById("directionTable");
order = table.options[table.selectedIndex].value;
if (order != '<?php echo $this->listOrder; ?>')
{
dirn = 'asc';
}
else
{
dirn = direction.options[direction.selectedIndex].value;
}
Joomla.tableOrdering(order, dirn, '');
}
</script>
<form action="<?php echo JRoute::_('index.php?option=com_questionsanswers&view=questions_and_answers'); ?>" method="post" name="adminForm" id="adminForm"> <form action="<?php echo JRoute::_('index.php?option=com_questionsanswers&view=questions_and_answers'); ?>" method="post" name="adminForm" id="adminForm">
<?php if(!empty( $this->sidebar)): ?> <?php if(!empty( $this->sidebar)): ?>
<div id="j-sidebar-container" class="span2"> <div id="j-sidebar-container" class="span2">
@ -62,13 +47,17 @@ if ($this->saveOrder)
<?php else : ?> <?php else : ?>
<div id="j-main-container"> <div id="j-main-container">
<?php endif; ?> <?php endif; ?>
<?php
// Add the trash helper layout
echo JLayoutHelper::render('trashhelper', $this);
// Add the searchtools
echo JLayoutHelper::render('joomla.searchtools.default', array('view' => $this));
?>
<?php if (empty($this->items)): ?> <?php if (empty($this->items)): ?>
<?php echo $this->loadTemplate('toolbar');?>
<div class="alert alert-no-items"> <div class="alert alert-no-items">
<?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?>
</div> </div>
<?php else : ?> <?php else : ?>
<?php echo $this->loadTemplate('toolbar');?>
<table class="table table-striped" id="question_and_answerList"> <table class="table table-striped" id="question_and_answerList">
<thead><?php echo $this->loadTemplate('head');?></thead> <thead><?php echo $this->loadTemplate('head');?></thead>
<tfoot><?php echo $this->loadTemplate('foot');?></tfoot> <tfoot><?php echo $this->loadTemplate('foot');?></tfoot>
@ -86,8 +75,6 @@ if ($this->saveOrder)
$this->loadTemplate('batch_body') $this->loadTemplate('batch_body')
); ?> ); ?>
<?php endif; ?> <?php endif; ?>
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
<input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="boxchecked" value="0" />
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_batch_body.php @subpackage default_batch_body.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_batch_footer.php @subpackage default_batch_footer.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_body.php @subpackage default_body.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_foot.php @subpackage default_foot.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_head.php @subpackage default_head.php
@ -30,7 +30,7 @@ defined('_JEXEC') or die('Restricted access');
<tr> <tr>
<?php if ($this->canEdit&& $this->canState): ?> <?php if ($this->canEdit&& $this->canState): ?>
<th width="1%" class="nowrap center hidden-phone"> <th width="1%" class="nowrap center hidden-phone">
<?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'a.ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?> <?php echo JHtml::_('searchtools.sort', '', 'a.ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING', 'icon-menu-2'); ?>
</th> </th>
<th width="20" class="nowrap center"> <th width="20" class="nowrap center">
<?php echo JHtml::_('grid.checkall'); ?> <?php echo JHtml::_('grid.checkall'); ?>
@ -44,17 +44,17 @@ defined('_JEXEC') or die('Restricted access');
</th> </th>
<?php endif; ?> <?php endif; ?>
<th class="nowrap" > <th class="nowrap" >
<?php echo JHtml::_('grid.sort', 'COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_QUESTION_LABEL', 'a.question', $this->listDirn, $this->listOrder); ?> <?php echo JHtml::_('searchtools.sort', 'COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_QUESTION_LABEL', 'a.question', $this->listDirn, $this->listOrder); ?>
</th> </th>
<th class="nowrap hidden-phone" > <th class="nowrap hidden-phone" >
<?php echo JHtml::_('grid.sort', 'COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ANSWER_LABEL', 'a.answer', $this->listDirn, $this->listOrder); ?> <?php echo JHtml::_('searchtools.sort', 'COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ANSWER_LABEL', 'a.answer', $this->listDirn, $this->listOrder); ?>
</th> </th>
<th class="nowrap" > <th class="nowrap" >
<?php echo JHtml::_('grid.sort', 'COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_QUESTIONS_AND_ANSWERS_CATEGORIES', 'category_title', $this->listDirn, $this->listOrder); ?> <?php echo JHtml::_('searchtools.sort', 'COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_QUESTIONS_AND_ANSWERS_CATEGORIES', 'category_title', $this->listDirn, $this->listOrder); ?>
</th> </th>
<?php if ($this->canState): ?> <?php if ($this->canState): ?>
<th width="10" class="nowrap center" > <th width="10" class="nowrap center" >
<?php echo JHtml::_('grid.sort', 'COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_STATUS', 'a.published', $this->listDirn, $this->listOrder); ?> <?php echo JHtml::_('searchtools.sort', 'COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_STATUS', 'a.published', $this->listDirn, $this->listOrder); ?>
</th> </th>
<?php else: ?> <?php else: ?>
<th width="10" class="nowrap center" > <th width="10" class="nowrap center" >
@ -62,6 +62,6 @@ defined('_JEXEC') or die('Restricted access');
</th> </th>
<?php endif; ?> <?php endif; ?>
<th width="5" class="nowrap center hidden-phone" > <th width="5" class="nowrap center hidden-phone" >
<?php echo JHtml::_('grid.sort', 'COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ID', 'a.id', $this->listDirn, $this->listOrder); ?> <?php echo JHtml::_('searchtools.sort', 'COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ID', 'a.id', $this->listDirn, $this->listOrder); ?>
</th> </th>
</tr> </tr>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_toolbar.php @subpackage default_toolbar.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage view.html.php @subpackage view.html.php
@ -48,6 +48,10 @@ class QuestionsanswersViewQuestions_and_answers extends JViewLegacy
$this->pagination = $this->get('Pagination'); $this->pagination = $this->get('Pagination');
$this->state = $this->get('State'); $this->state = $this->get('State');
$this->user = JFactory::getUser(); $this->user = JFactory::getUser();
// Load the filter form from xml.
$this->filterForm = $this->get('FilterForm');
// Load the active filters.
$this->activeFilters = $this->get('ActiveFilters');
// Add the list ordering clause. // Add the list ordering clause.
$this->listOrder = $this->escape($this->state->get('list.ordering', 'a.id')); $this->listOrder = $this->escape($this->state->get('list.ordering', 'a.id'));
$this->listDirn = $this->escape($this->state->get('list.direction', 'desc')); $this->listDirn = $this->escape($this->state->get('list.direction', 'desc'));
@ -168,29 +172,6 @@ class QuestionsanswersViewQuestions_and_answers extends JViewLegacy
JToolBarHelper::preferences('com_questionsanswers'); JToolBarHelper::preferences('com_questionsanswers');
} }
// Only load publish filter if state change is allowed
if ($this->canState)
{
JHtmlSidebar::addFilter(
JText::_('JOPTION_SELECT_PUBLISHED'),
'filter_published',
JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true)
);
}
JHtmlSidebar::addFilter(
JText::_('JOPTION_SELECT_ACCESS'),
'filter_access',
JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'))
);
// Category Filter.
JHtmlSidebar::addFilter(
JText::_('JOPTION_SELECT_CATEGORY'),
'filter_category_id',
JHtml::_('select.options', JHtml::_('category.options', 'com_questionsanswers.question_and_answer'), 'value', 'text', $this->state->get('filter.category_id'))
);
// Only load published batch if state and batch is allowed // Only load published batch if state and batch is allowed
if ($this->canState && $this->canBatch) if ($this->canState && $this->canBatch)
{ {

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default.php @subpackage default.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_main.php @subpackage default_main.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_readme_information.php @subpackage default_readme_information.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_vast_development_method_notice_board.php @subpackage default_vast_development_method_notice_board.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_vdm.php @subpackage default_vdm.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage view.html.php @subpackage view.html.php

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage A4.print.css @subpackage A4.print.css

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2" method="upgrade"> <extension type="component" version="3.2" method="upgrade">
<name>COM_QUESTIONSANSWERS</name> <name>COM_QUESTIONSANSWERS</name>
<creationDate>6th January, 2021</creationDate> <creationDate>8th February, 2021</creationDate>
<author>Llewellyn van der Merwe</author> <author>Llewellyn van der Merwe</author>
<authorEmail>joomla@vdm.io</authorEmail> <authorEmail>joomla@vdm.io</authorEmail>
<authorUrl>https://www.vdm.io/</authorUrl> <authorUrl>https://www.vdm.io/</authorUrl>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage script.php @subpackage script.php

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage category.css @subpackage category.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage downloads.css @subpackage downloads.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage question_and_answer.css @subpackage question_and_answer.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questions_and_answers.css @subpackage questions_and_answers.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage site.css @subpackage site.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage site.js @subpackage site.js

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage controller.php @subpackage controller.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage ajax.json.php @subpackage ajax.json.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.0.x
@build 6th January, 2021 @build 8th February, 2021
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage download.php @subpackage download.php

Some files were not shown because too many files have changed in this diff Show More