+
+ Upload Your answer by dropping the file here or
+
+
+ selecting the file from your device (formats allowed: )
+
+
+
+
+"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ANSWER_DOCUMENTS_UPLOADER_LABEL="Answer Documents"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ANSWER_LABEL="Answer"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_CATID_DESCRIPTION="select one of the following categories"
@@ -338,7 +360,29 @@ COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_EDIT="Editing the Question and Answer"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ERROR_UNIQUE_ALIAS="Another Question and Answer has the same alias."
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_ID="Id"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_MAIN_IMAGE="Main Image"
-COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_MAIN_IMAGE_UPLOADER_DESCRIPTION="
+
+ Upload Your main image by dropping the file here or
+
+
+ selecting the file from your computer (formats allowed: )
+
+
+
+
+"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_MAIN_IMAGE_UPLOADER_LABEL="Image"
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_MODIFIED_BY_DESC="The last user that modified this Question and Answer."
COM_QUESTIONSANSWERS_QUESTION_AND_ANSWER_MODIFIED_BY_LABEL="Modified By"
diff --git a/admin/language/en-GB/en-GB.com_questionsanswers.sys.ini b/admin/language/en-GB/en-GB.com_questionsanswers.sys.ini
index 135588e..4b05e8d 100644
--- a/admin/language/en-GB/en-GB.com_questionsanswers.sys.ini
+++ b/admin/language/en-GB/en-GB.com_questionsanswers.sys.ini
@@ -15,7 +15,7 @@ COM_QUESTIONSANSWERS_HELP_DOCUMENTS_BATCH_USE_DESC="Allows users in this group t
COM_QUESTIONSANSWERS_HELP_DOCUMENTS_CREATE="Help Documents Create"
COM_QUESTIONSANSWERS_HELP_DOCUMENTS_CREATE_DESC="Allows the users in this group to create create help documents"
COM_QUESTIONSANSWERS_HELP_DOCUMENTS_DASHBOARD_LIST="Help Documents Dashboard List"
-COM_QUESTIONSANSWERS_HELP_DOCUMENTS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the help document"
+COM_QUESTIONSANSWERS_HELP_DOCUMENTS_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of help document"
COM_QUESTIONSANSWERS_HELP_DOCUMENTS_DELETE="Help Documents Delete"
COM_QUESTIONSANSWERS_HELP_DOCUMENTS_DELETE_DESC="Allows the users in this group to delete delete help documents"
COM_QUESTIONSANSWERS_HELP_DOCUMENTS_EDIT="Help Documents Edit"
@@ -31,7 +31,7 @@ COM_QUESTIONSANSWERS_HELP_DOCUMENTS_EXPORT_DESC="Allows the users in this group
COM_QUESTIONSANSWERS_HELP_DOCUMENTS_IMPORT="Help Documents Import"
COM_QUESTIONSANSWERS_HELP_DOCUMENTS_IMPORT_DESC="Allows the users in this group to import import help documents"
COM_QUESTIONSANSWERS_HELP_DOCUMENTS_SUBMENU="Help Documents Submenu"
-COM_QUESTIONSANSWERS_HELP_DOCUMENTS_SUBMENU_DESC="Allows the users in this group to update the submenu of the help document"
+COM_QUESTIONSANSWERS_HELP_DOCUMENTS_SUBMENU_DESC="Allows the users in this group to submenu of help document"
COM_QUESTIONSANSWERS_IMPORT_DATA="Import Data"
COM_QUESTIONSANSWERS_IMPORT_DATA_DESC=" Allows users in this group to import data."
COM_QUESTIONSANSWERS_MENU="Questions and Answers"
@@ -52,29 +52,29 @@ COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_BATCH_USE_DESC="Allows users in this
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_CREATE="Questions And Answers Create"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_CREATE_DESC="Allows the users in this group to create create questions and answers"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_DASHBOARD_ADD="Questions And Answers Dashboard Add"
-COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the question and answer"
+COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_DASHBOARD_ADD_DESC="Allows the users in this group to dashboard add of question and answer"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_DASHBOARD_LIST="Questions And Answers Dashboard List"
-COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the question and answer"
+COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of question and answer"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_DELETE="Questions And Answers Delete"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_DELETE_DESC="Allows the users in this group to delete delete questions and answers"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT="Questions And Answers Edit"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_ANSWER="Questions And Answers Edit Answer"
-COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_ANSWER_DESC="Allows the users in this group to update the edit answer of the question and answer"
+COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_ANSWER_DESC="Allows the users in this group to edit answer of question and answer"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_ANSWER_DOCUMENTS="Questions And Answers Edit Answer Documents"
-COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_ANSWER_DOCUMENTS_DESC="Allows the users in this group to update the edit answer documents of the question and answer"
+COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_ANSWER_DOCUMENTS_DESC="Allows the users in this group to edit answer documents of question and answer"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_CATID="Questions And Answers Edit Catid"
-COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_CATID_DESC="Allows the users in this group to update the edit catid of the question and answer"
+COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_CATID_DESC="Allows the users in this group to edit catid of question and answer"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_CREATED_BY="Questions And Answers Edit Created By"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by questions and answers"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_CREATED_DATE="Questions And Answers Edit Created Date"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created questions and answers"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_DESC="Allows the users in this group to edit the question and answer"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_MAIN_IMAGE_UPLOADER="Questions And Answers Edit Main Image Uploader"
-COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_MAIN_IMAGE_UPLOADER_DESC="Allows the users in this group to update the edit main image uploader of the question and answer"
+COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_MAIN_IMAGE_UPLOADER_DESC="Allows the users in this group to edit main image uploader of question and answer"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_OWN="Questions And Answers Edit Own"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_OWN_DESC="Allows the users in this group to edit edit own questions and answers created by them"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_QUESTION="Questions And Answers Edit Question"
-COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_QUESTION_DESC="Allows the users in this group to update the edit question of the question and answer"
+COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_QUESTION_DESC="Allows the users in this group to edit question of question and answer"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_STATE="Questions And Answers Edit State"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the question and answer"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EDIT_VERSION="Questions And Answers Edit Version"
@@ -84,6 +84,6 @@ COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_EXPORT_DESC="Allows the users in this
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_IMPORT="Questions And Answers Import"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_IMPORT_DESC="Allows the users in this group to import import questions and answers"
COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_SUBMENU="Questions And Answers Submenu"
-COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_SUBMENU_DESC="Allows the users in this group to update the submenu of the question and answer"
+COM_QUESTIONSANSWERS_QUESTIONS_AND_ANSWERS_SUBMENU_DESC="Allows the users in this group to submenu of question and answer"
COM_QUESTIONSANSWERS_USE_BATCH="Use Batch"
COM_QUESTIONSANSWERS_USE_BATCH_DESC=" Allows users in this group to use batch copy/update method."
\ No newline at end of file
diff --git a/admin/layouts/batchselection.php b/admin/layouts/batchselection.php
index 5492a00..6f1eddb 100644
--- a/admin/layouts/batchselection.php
+++ b/admin/layouts/batchselection.php
@@ -6,29 +6,29 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage batchselection.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
defined('JPATH_BASE') or die;
JHtmlBehavior::core();
-$divWrapper = range(1,120,2);
-$counter = 0;
+$divWrapper = range(1,120,2);
+$counter = 0;
?>
ListSelection) : ?>
diff --git a/admin/layouts/help_document/details_above.php b/admin/layouts/help_document/details_above.php
index 7dd82b0..2d0eeb1 100644
--- a/admin/layouts/help_document/details_above.php
+++ b/admin/layouts/help_document/details_above.php
@@ -6,25 +6,24 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage details_above.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
-
defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
diff --git a/admin/layouts/help_document/details_fullwidth.php b/admin/layouts/help_document/details_fullwidth.php
index 31149b1..bf3e575 100644
--- a/admin/layouts/help_document/details_fullwidth.php
+++ b/admin/layouts/help_document/details_fullwidth.php
@@ -6,25 +6,24 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage details_fullwidth.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
-
defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
diff --git a/admin/layouts/help_document/details_left.php b/admin/layouts/help_document/details_left.php
index d86270c..1c040bf 100644
--- a/admin/layouts/help_document/details_left.php
+++ b/admin/layouts/help_document/details_left.php
@@ -6,25 +6,24 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage details_left.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
-
defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
diff --git a/admin/layouts/help_document/details_right.php b/admin/layouts/help_document/details_right.php
index 45fdb45..d516860 100644
--- a/admin/layouts/help_document/details_right.php
+++ b/admin/layouts/help_document/details_right.php
@@ -6,25 +6,24 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage details_right.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
-
defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
diff --git a/admin/layouts/help_document/details_under.php b/admin/layouts/help_document/details_under.php
index fb6a0dc..e04d520 100644
--- a/admin/layouts/help_document/details_under.php
+++ b/admin/layouts/help_document/details_under.php
@@ -6,25 +6,24 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage details_under.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
-
defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
diff --git a/admin/layouts/help_document/publishing.php b/admin/layouts/help_document/publishing.php
index 4135ae0..c229060 100644
--- a/admin/layouts/help_document/publishing.php
+++ b/admin/layouts/help_document/publishing.php
@@ -6,25 +6,24 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage publishing.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
-
defined('_JEXEC') or die('Restricted access');
$app = JFactory::getApplication();
diff --git a/admin/layouts/help_document/publlshing.php b/admin/layouts/help_document/publlshing.php
index 7e7109a..7b2c7c2 100644
--- a/admin/layouts/help_document/publlshing.php
+++ b/admin/layouts/help_document/publlshing.php
@@ -6,25 +6,24 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage publlshing.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
-
defined('_JEXEC') or die('Restricted access');
$app = JFactory::getApplication();
diff --git a/admin/layouts/question_and_answer/details_fullwidth.php b/admin/layouts/question_and_answer/details_fullwidth.php
index 138446b..14a973c 100644
--- a/admin/layouts/question_and_answer/details_fullwidth.php
+++ b/admin/layouts/question_and_answer/details_fullwidth.php
@@ -6,25 +6,24 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage details_fullwidth.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
-
defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
diff --git a/admin/layouts/question_and_answer/details_rightside.php b/admin/layouts/question_and_answer/details_rightside.php
index b57a062..a7ba948 100644
--- a/admin/layouts/question_and_answer/details_rightside.php
+++ b/admin/layouts/question_and_answer/details_rightside.php
@@ -6,25 +6,24 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage details_rightside.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
-
defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
diff --git a/admin/layouts/question_and_answer/details_under.php b/admin/layouts/question_and_answer/details_under.php
index 614eed6..efa74ba 100644
--- a/admin/layouts/question_and_answer/details_under.php
+++ b/admin/layouts/question_and_answer/details_under.php
@@ -6,25 +6,24 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage details_under.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
-
defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
diff --git a/admin/layouts/question_and_answer/metadata.php b/admin/layouts/question_and_answer/metadata.php
index 34d0c0a..ba29c78 100644
--- a/admin/layouts/question_and_answer/metadata.php
+++ b/admin/layouts/question_and_answer/metadata.php
@@ -6,25 +6,24 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage metadata.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
-
defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
diff --git a/admin/layouts/question_and_answer/publishing.php b/admin/layouts/question_and_answer/publishing.php
index 8e915b6..994d125 100644
--- a/admin/layouts/question_and_answer/publishing.php
+++ b/admin/layouts/question_and_answer/publishing.php
@@ -6,25 +6,24 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage publishing.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
-
defined('_JEXEC') or die('Restricted access');
$app = JFactory::getApplication();
diff --git a/admin/models/ajax.php b/admin/models/ajax.php
index 38223a4..b9a3759 100644
--- a/admin/models/ajax.php
+++ b/admin/models/ajax.php
@@ -6,28 +6,26 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage ajax.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-jimport('joomla.application.component.helper');
-
/**
* Questionsanswers Ajax Model
*/
@@ -56,6 +54,7 @@ class QuestionsanswersModelAjax extends JModelList
$vdm = $jinput->get('vdm', null, 'WORD');
if ($vdm)
{
+ // set view and id
if ($view = QuestionsanswersHelper::get($vdm))
{
$current = (array) explode('__', $view);
@@ -68,6 +67,14 @@ class QuestionsanswersModelAjax extends JModelList
);
}
}
+ // set return if found
+ if ($return = QuestionsanswersHelper::get($vdm . '__return'))
+ {
+ if (QuestionsanswersHelper::checkString($return))
+ {
+ $this->viewid[$call]['a_return'] = $return;
+ }
+ }
}
}
if (isset($this->viewid[$call]))
diff --git a/admin/models/fields/adminviewfolderlist.php b/admin/models/fields/adminviewfolderlist.php
index 01aa83c..052f28d 100644
--- a/admin/models/fields/adminviewfolderlist.php
+++ b/admin/models/fields/adminviewfolderlist.php
@@ -6,21 +6,21 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage adminviewfolderlist.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
@@ -45,9 +45,9 @@ class JFormFieldAdminviewfolderlist extends JFormFieldList
/**
* Method to get a list of options for a list input.
*
- * @return array An array of JHtml options.
+ * @return array An array of JHtml options.
*/
- public function getOptions()
+ protected function getOptions()
{
// get custom folder files
$localfolder = JPATH_COMPONENT_ADMINISTRATOR.'/views';
diff --git a/admin/models/fields/articles.php b/admin/models/fields/articles.php
index b870a64..5e99fae 100644
--- a/admin/models/fields/articles.php
+++ b/admin/models/fields/articles.php
@@ -6,21 +6,21 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage articles.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
@@ -45,9 +45,9 @@ class JFormFieldArticles extends JFormFieldList
/**
* Method to get a list of options for a list input.
*
- * @return array An array of JHtml options.
+ * @return array An array of JHtml options.
*/
- public function getOptions()
+ protected function getOptions()
{
$db = JFactory::getDBO();
$query = $db->getQuery(true);
diff --git a/admin/models/fields/siteviewfolderlist.php b/admin/models/fields/siteviewfolderlist.php
index 5bf561b..cf5d46d 100644
--- a/admin/models/fields/siteviewfolderlist.php
+++ b/admin/models/fields/siteviewfolderlist.php
@@ -6,21 +6,21 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage siteviewfolderlist.php
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
@@ -45,9 +45,9 @@ class JFormFieldSiteviewfolderlist extends JFormFieldList
/**
* Method to get a list of options for a list input.
*
- * @return array An array of JHtml options.
+ * @return array An array of JHtml options.
*/
- public function getOptions()
+ protected function getOptions()
{
// get custom folder files
$localfolder = JPATH_COMPONENT_SITE.'/views';
diff --git a/admin/models/forms/help_document.js b/admin/models/forms/help_document.js
index 28a924c..4ee28f1 100644
--- a/admin/models/forms/help_document.js
+++ b/admin/models/forms/help_document.js
@@ -5,21 +5,21 @@
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
- | |
- |_|
+ | |
+ |_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x
- @build 5th May, 2018
+ @build 27th December, 2018
@created 30th January, 2017
@package Questions and Answers
@subpackage help_document.js
- @author Llewellyn van der Merwe
+ @author Llewellyn van der Merwe
@copyright Copyright (C) 2015. All Rights Reserved
- @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
-
- Questions & Answers
-
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Questions & Answers
+
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
@@ -59,6 +59,7 @@ function vvvvvvv(location_vvvvvvv)
if (location_vvvvvvv == 1)
{
jQuery('#jform_admin_view').closest('.control-group').show();
+ // add required attribute to admin_view field
if (jform_vvvvvvvvvv_required)
{
updateFieldRequired('admin_view',0);
@@ -67,11 +68,11 @@ function vvvvvvv(location_vvvvvvv)
jQuery('#jform_admin_view').addClass('required');
jform_vvvvvvvvvv_required = false;
}
-
}
else
{
jQuery('#jform_admin_view').closest('.control-group').hide();
+ // remove required attribute from admin_view field
if (!jform_vvvvvvvvvv_required)
{
updateFieldRequired('admin_view',1);
@@ -90,6 +91,7 @@ function vvvvvvw(location_vvvvvvw)
if (location_vvvvvvw == 2)
{
jQuery('#jform_site_view').closest('.control-group').show();
+ // add required attribute to site_view field
if (jform_vvvvvvwvvw_required)
{
updateFieldRequired('site_view',0);
@@ -98,11 +100,11 @@ function vvvvvvw(location_vvvvvvw)
jQuery('#jform_site_view').addClass('required');
jform_vvvvvvwvvw_required = false;
}
-
}
else
{
jQuery('#jform_site_view').closest('.control-group').hide();
+ // remove required attribute from site_view field
if (!jform_vvvvvvwvvw_required)
{
updateFieldRequired('site_view',1);
@@ -134,6 +136,7 @@ function vvvvvvx(type_vvvvvvx)
if (type)
{
jQuery('#jform_url').closest('.control-group').show();
+ // add required attribute to url field
if (jform_vvvvvvxvvx_required)
{
updateFieldRequired('url',0);
@@ -142,11 +145,11 @@ function vvvvvvx(type_vvvvvvx)
jQuery('#jform_url').addClass('required');
jform_vvvvvvxvvx_required = false;
}
-
}
else
{
jQuery('#jform_url').closest('.control-group').hide();
+ // remove required attribute from url field
if (!jform_vvvvvvxvvx_required)
{
updateFieldRequired('url',1);
@@ -189,6 +192,7 @@ function vvvvvvy(type_vvvvvvy)
if (type)
{
jQuery('#jform_article').closest('.control-group').show();
+ // add required attribute to article field
if (jform_vvvvvvyvvy_required)
{
updateFieldRequired('article',0);
@@ -197,11 +201,11 @@ function vvvvvvy(type_vvvvvvy)
jQuery('#jform_article').addClass('required');
jform_vvvvvvyvvy_required = false;
}
-
}
else
{
jQuery('#jform_article').closest('.control-group').hide();
+ // remove required attribute from article field
if (!jform_vvvvvvyvvy_required)
{
updateFieldRequired('article',1);
@@ -244,6 +248,7 @@ function vvvvvvz(type_vvvvvvz)
if (type)
{
jQuery('#jform_content-lbl').closest('.control-group').show();
+ // add required attribute to content field
if (jform_vvvvvvzvvz_required)
{
updateFieldRequired('content',0);
@@ -252,11 +257,11 @@ function vvvvvvz(type_vvvvvvz)
jQuery('#jform_content').addClass('required');
jform_vvvvvvzvvz_required = false;
}
-
}
else
{
jQuery('#jform_content-lbl').closest('.control-group').hide();
+ // remove required attribute from content field
if (!jform_vvvvvvzvvz_required)
{
updateFieldRequired('content',1);
@@ -286,6 +291,7 @@ function vvvvvwa(target_vvvvvwa)
if (target_vvvvvwa == 1)
{
jQuery('#jform_groups').closest('.control-group').show();
+ // add required attribute to groups field
if (jform_vvvvvwavwa_required)
{
updateFieldRequired('groups',0);
@@ -294,11 +300,11 @@ function vvvvvwa(target_vvvvvwa)
jQuery('#jform_groups').addClass('required');
jform_vvvvvwavwa_required = false;
}
-
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
+ // remove required attribute from groups field
if (!jform_vvvvvwavwa_required)
{
updateFieldRequired('groups',1);
diff --git a/admin/models/forms/help_document.xml b/admin/models/forms/help_document.xml
index 0867a01..ed4f813 100644
--- a/admin/models/forms/help_document.xml
+++ b/admin/models/forms/help_document.xml
@@ -101,7 +101,8 @@
description="COM_QUESTIONSANSWERS_HELP_DOCUMENT_TYPE_DESCRIPTION"
class="list_class"
multiple="false"
- required="true">
+ required="true"
+ default="">
@@ -128,6 +129,7 @@
label="COM_QUESTIONSANSWERS_HELP_DOCUMENT_LOCATION_LABEL"
description="COM_QUESTIONSANSWERS_HELP_DOCUMENT_LOCATION_DESCRIPTION"
class="btn-group"
+ default=""
required="true">