Updated with JCB v2.10.0

This commit is contained in:
Llewellyn van der Merwe 2019-08-14 03:50:35 +02:00
parent 03df925635
commit 99b62b36bc
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
574 changed files with 2179 additions and 1254 deletions

View File

@ -12,14 +12,14 @@ Support Groups component adds the ability to your Joomla website to manage vario
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
+ *Name*: [Support Groups](http://www.vdm.io)
+ *First Build*: 24th February, 2016
+ *Last Build*: 4th April, 2019
+ *Last Build*: 14th August, 2019
+ *Version*: 1.0.10
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
# Component Number
+ *Line count*: **66697**
+ *Line count*: **67827**
+ *File count*: **494**
+ *Folder count*: **98**

View File

@ -12,14 +12,14 @@ Support Groups component adds the ability to your Joomla website to manage vario
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
+ *Name*: [Support Groups](http://www.vdm.io)
+ *First Build*: 24th February, 2016
+ *Last Build*: 4th April, 2019
+ *Last Build*: 14th August, 2019
+ *Version*: 1.0.10
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
# Component Number
+ *Line count*: **66697**
+ *Line count*: **67827**
+ *File count*: **494**
+ *Folder count*: **98**

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage additional_info.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage additional_information.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage admin.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage area.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage area_type.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage area_types.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage areas.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage countries.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage country.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage currencies.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage currency.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage dashboard.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage facilities.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage facility.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage facility_type.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage facility_types.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage help_document.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage help_documents.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage info_type.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage info_types.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage payment.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage payments.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage region.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage regions.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage support_group.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage support_groups.css

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage admin.js

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage controller.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage additional_info.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage additional_information.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage ajax.json.php
@ -50,7 +50,7 @@ class SupportgroupsControllerAjax extends JControllerLegacy
// Check Token!
$token = JSession::getFormToken();
$call_token = $jinput->get('token', 0, 'ALNUM');
if($token == $call_token)
if($jinput->get($token, 0, 'ALNUM') || $token === $call_token)
{
$task = $this->getTask();
switch($task)

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage area.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage area_type.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage area_types.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage areas.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage countries.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage country.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage currencies.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage currency.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage facilities.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage facility.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage facility_type.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage facility_types.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage help.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage help_document.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage help_documents.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage import.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage info_type.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage info_types.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage payment.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage payments.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage region.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage regions.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage support_group.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage support_groups.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage supportgroups.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage headercheck.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage batch_.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage supportgroups.php
@ -1118,38 +1118,42 @@ abstract class SupportgroupsHelper
/**
* Get any component's model
**/
public static function getModel($name, $path = JPATH_COMPONENT_ADMINISTRATOR, $component = 'Supportgroups', $config = array())
public static function getModel($name, $path = JPATH_COMPONENT_ADMINISTRATOR, $Component = 'Supportgroups', $config = array())
{
// fix the name
$name = self::safeString($name);
// full path
$fullPath = $path . '/models';
// set prefix
$prefix = $component.'Model';
// full path to models
$fullPathModels = $path . '/models';
// load the model file
JModelLegacy::addIncludePath($fullPath, $prefix);
JModelLegacy::addIncludePath($fullPathModels, $Component . 'Model');
// make sure the table path is loaded
if (!isset($config['table_path']) || !self::checkString($config['table_path']))
{
// This is the JCB default path to tables in Joomla 3.x
$config['table_path'] = JPATH_ADMINISTRATOR . '/components/com_' . strtolower($Component) . '/tables';
}
// get instance
$model = JModelLegacy::getInstance($name, $prefix, $config);
$model = JModelLegacy::getInstance($name, $Component . 'Model', $config);
// if model not found (strange)
if ($model == false)
{
jimport('joomla.filesystem.file');
// get file path
$filePath = $path.'/'.$name.'.php';
$fullPath = $fullPath.'/'.$name.'.php';
$filePath = $path . '/' . $name . '.php';
$fullPathModel = $fullPathModels . '/' . $name . '.php';
// check if it exists
if (JFile::exists($filePath))
{
// get the file
require_once $filePath;
}
elseif (JFile::exists($fullPath))
elseif (JFile::exists($fullPathModel))
{
// get the file
require_once $fullPath;
require_once $fullPathModel;
}
// build class names
$modelClass = $prefix.$name;
$modelClass = $Component . 'Model' . $name;
if (class_exists($modelClass))
{
// initialize the model

View File

@ -546,12 +546,12 @@ COM_SUPPORTGROUPS_CURRENCY_CREATED_BY_LABEL="Created By"
COM_SUPPORTGROUPS_CURRENCY_CREATED_DATE_DESC="The date this Currency was created."
COM_SUPPORTGROUPS_CURRENCY_CREATED_DATE_LABEL="Created Date"
COM_SUPPORTGROUPS_CURRENCY_DECIMALPLACE="Decimalplace"
COM_SUPPORTGROUPS_CURRENCY_DECIMALPLACE_DESCRIPTION=" The position of a digit to the right of a decimal point, usually identified by successive ascending ordinal numbers with the digit immediately to the right of the decimal point being first: a figure accurate to the third decimal place."
COM_SUPPORTGROUPS_CURRENCY_DECIMALPLACE_DESCRIPTION="The position of a digit to the right of a decimal point, usually identified by successive ascending ordinal numbers with the digit immediately to the right of the decimal point being first: a figure accurate to the third decimal place."
COM_SUPPORTGROUPS_CURRENCY_DECIMALPLACE_HINT="2"
COM_SUPPORTGROUPS_CURRENCY_DECIMALPLACE_LABEL="Decimal place"
COM_SUPPORTGROUPS_CURRENCY_DECIMALPLACE_MESSAGE="Error! Please add currency decimal place here."
COM_SUPPORTGROUPS_CURRENCY_DECIMALSYMBOL="Decimalsymbol"
COM_SUPPORTGROUPS_CURRENCY_DECIMALSYMBOL_DESCRIPTION=" The symbol used to separate the integer part of a decimal number from its fractional part is called the decimal point."
COM_SUPPORTGROUPS_CURRENCY_DECIMALSYMBOL_DESCRIPTION="The symbol used to separate the integer part of a decimal number from its fractional part is called the decimal point."
COM_SUPPORTGROUPS_CURRENCY_DECIMALSYMBOL_HINT="."
COM_SUPPORTGROUPS_CURRENCY_DECIMALSYMBOL_LABEL="Decimal symbol"
COM_SUPPORTGROUPS_CURRENCY_DECIMALSYMBOL_MESSAGE="Error! Please add currency decimal symbol here."
@ -595,7 +595,7 @@ COM_SUPPORTGROUPS_CURRENCY_SYMBOL_HINT="N$"
COM_SUPPORTGROUPS_CURRENCY_SYMBOL_LABEL="Symbol"
COM_SUPPORTGROUPS_CURRENCY_SYMBOL_MESSAGE="Error! Please add currency symbol here."
COM_SUPPORTGROUPS_CURRENCY_THOUSANDS="Thousands"
COM_SUPPORTGROUPS_CURRENCY_THOUSANDS_HINT=" "
COM_SUPPORTGROUPS_CURRENCY_THOUSANDS_HINT=""
COM_SUPPORTGROUPS_CURRENCY_THOUSANDS_LABEL="Thousands separator"
COM_SUPPORTGROUPS_CURRENCY_THOUSANDS_MESSAGE="Error! Please add currency thousands separator here."
COM_SUPPORTGROUPS_CURRENCY_VERSION_DESC="A count of the number of times this Currency has been revised."
@ -621,14 +621,14 @@ COM_SUPPORTGROUPS_DATE="Date"
COM_SUPPORTGROUPS_DRAG_ME_TO_THE_CLINIC_LOCATION="Drag me to the Clinic Location!"
COM_SUPPORTGROUPS_DRAG_ME_TO_THE_GROUP_LOCATION="Drag me to the Group Location!"
COM_SUPPORTGROUPS_EDIT_CREATED_BY="Edit Created By"
COM_SUPPORTGROUPS_EDIT_CREATED_BY_DESC=" Allows users in this group to edit created by."
COM_SUPPORTGROUPS_EDIT_CREATED_BY_DESC="Allows users in this group to edit created by."
COM_SUPPORTGROUPS_EDIT_CREATED_DATE="Edit Created Date"
COM_SUPPORTGROUPS_EDIT_CREATED_DATE_DESC=" Allows users in this group to edit created date."
COM_SUPPORTGROUPS_EDIT_CREATED_DATE_DESC="Allows users in this group to edit created date."
COM_SUPPORTGROUPS_EDIT_S="Edit %s"
COM_SUPPORTGROUPS_EDIT_VERSIONS="Edit Version"
COM_SUPPORTGROUPS_EDIT_VERSIONS_DESC=" Allows users in this group to edit versions."
COM_SUPPORTGROUPS_EDIT_VERSIONS_DESC="Allows users in this group to edit versions."
COM_SUPPORTGROUPS_EXPORT_DATA="Export Data"
COM_SUPPORTGROUPS_EXPORT_DATA_DESC=" Allows users in this group to export data."
COM_SUPPORTGROUPS_EXPORT_DATA_DESC="Allows users in this group to export data."
COM_SUPPORTGROUPS_EXPORT_FAILED="Export Failed"
COM_SUPPORTGROUPS_FACILITIES="Facilities"
COM_SUPPORTGROUPS_FACILITIES_ACCESS="Facilities Access"
@ -913,7 +913,7 @@ COM_SUPPORTGROUPS_HELP_DOCUMENT_TITLE_MESSAGE="Error! Please add title here."
COM_SUPPORTGROUPS_HELP_DOCUMENT_TYPE="Type"
COM_SUPPORTGROUPS_HELP_DOCUMENT_TYPE_DESCRIPTION="Select the help type."
COM_SUPPORTGROUPS_HELP_DOCUMENT_TYPE_LABEL="Type"
COM_SUPPORTGROUPS_HELP_DOCUMENT_URL="Url"
COM_SUPPORTGROUPS_HELP_DOCUMENT_URL="URL"
COM_SUPPORTGROUPS_HELP_DOCUMENT_URL_DESCRIPTION="Enter url"
COM_SUPPORTGROUPS_HELP_DOCUMENT_URL_HINT="http://www.example.com"
COM_SUPPORTGROUPS_HELP_DOCUMENT_URL_LABEL="URL"
@ -923,7 +923,7 @@ COM_SUPPORTGROUPS_HELP_DOCUMENT_VERSION_LABEL="Revision"
COM_SUPPORTGROUPS_HELP_MANAGER="Help"
COM_SUPPORTGROUPS_IMPORT_CONTINUE="Continue"
COM_SUPPORTGROUPS_IMPORT_DATA="Import Data"
COM_SUPPORTGROUPS_IMPORT_DATA_DESC=" Allows users in this group to import data."
COM_SUPPORTGROUPS_IMPORT_DATA_DESC="Allows users in this group to import data."
COM_SUPPORTGROUPS_IMPORT_ERROR="Import error."
COM_SUPPORTGROUPS_IMPORT_FAILED="Import Failed"
COM_SUPPORTGROUPS_IMPORT_FILE_COLUMNS="File Columns"
@ -1051,7 +1051,7 @@ COM_SUPPORTGROUPS_KEEP_ORIGINAL_CATEGORY="- Keep Original Category -"
COM_SUPPORTGROUPS_KEEP_ORIGINAL_STATE="- Keep Original State -"
COM_SUPPORTGROUPS_LICENSE="License"
COM_SUPPORTGROUPS_MAP_ACCESS_SITE="Map (Site) Access"
COM_SUPPORTGROUPS_MAP_ACCESS_SITE_DESC=" Allows the users in this group to access site map."
COM_SUPPORTGROUPS_MAP_ACCESS_SITE_DESC="Allows the users in this group to access site map."
COM_SUPPORTGROUPS_NEW="New"
COM_SUPPORTGROUPS_NOT_FOUND_OR_ACCESS_DENIED="Not found or access denied!"
COM_SUPPORTGROUPS_NO_ACCESS_GRANTED="No Access Granted!"
@ -1286,7 +1286,7 @@ COM_SUPPORTGROUPS_SUPPORT_GROUPS="Support Groups"
COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS="Support Groups Access"
COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS_DESC="Allows the users in this group to access access support groups"
COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS_SITE="Support Groups (Site) Access"
COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS_SITE_DESC=" Allows the users in this group to access site support groups."
COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS_SITE_DESC="Allows the users in this group to access site support groups."
COM_SUPPORTGROUPS_SUPPORT_GROUPS_BATCH_OPTIONS="Batch process the selected Support Groups"
COM_SUPPORTGROUPS_SUPPORT_GROUPS_BATCH_TIP="All changes will be applied to all selected Support Groups"
COM_SUPPORTGROUPS_SUPPORT_GROUPS_BATCH_USE="Support Groups Batch Use"
@ -1434,7 +1434,7 @@ COM_SUPPORTGROUPS_SUPPORT_GROUP_PHONE_MESSAGE="Error! Please add phone number he
COM_SUPPORTGROUPS_SUPPORT_GROUP_PUBLISHING="Publishing"
COM_SUPPORTGROUPS_SUPPORT_GROUP_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Support Group to customise the alias."
COM_SUPPORTGROUPS_SUPPORT_GROUP_SMART_EXPORT_BUTTON_ACCESS="Support Group Smart Export Button Access"
COM_SUPPORTGROUPS_SUPPORT_GROUP_SMART_EXPORT_BUTTON_ACCESS_DESC=" Allows the users in this group to access the smart export button."
COM_SUPPORTGROUPS_SUPPORT_GROUP_SMART_EXPORT_BUTTON_ACCESS_DESC="Allows the users in this group to access the smart export button."
COM_SUPPORTGROUPS_SUPPORT_GROUP_STATUS="Status"
COM_SUPPORTGROUPS_SUPPORT_GROUP_VERSION_DESC="A count of the number of times this Support Group has been revised."
COM_SUPPORTGROUPS_SUPPORT_GROUP_VERSION_LABEL="Revision"
@ -1443,6 +1443,6 @@ COM_SUPPORTGROUPS_THE_README_IS_LOADING="The readme is loading"
COM_SUPPORTGROUPS_TRASHED="Trashed"
COM_SUPPORTGROUPS_UNDER_GOOGLE_API_TAP="under (Google API) tap."
COM_SUPPORTGROUPS_USE_BATCH="Use Batch"
COM_SUPPORTGROUPS_USE_BATCH_DESC=" Allows users in this group to use batch copy/update method."
COM_SUPPORTGROUPS_USE_BATCH_DESC="Allows users in this group to use batch copy/update method."
COM_SUPPORTGROUPS_VERSION="Version"
COM_SUPPORTGROUPS_WEBSITE="Website"

View File

@ -193,13 +193,13 @@ COM_SUPPORTGROUPS_CURRENCIES_IMPORT_DESC="Allows the users in this group to impo
COM_SUPPORTGROUPS_CURRENCIES_SUBMENU="Currencies Submenu"
COM_SUPPORTGROUPS_CURRENCIES_SUBMENU_DESC="Allows the users in this group to submenu of currency"
COM_SUPPORTGROUPS_EDIT_CREATED_BY="Edit Created By"
COM_SUPPORTGROUPS_EDIT_CREATED_BY_DESC=" Allows users in this group to edit created by."
COM_SUPPORTGROUPS_EDIT_CREATED_BY_DESC="Allows users in this group to edit created by."
COM_SUPPORTGROUPS_EDIT_CREATED_DATE="Edit Created Date"
COM_SUPPORTGROUPS_EDIT_CREATED_DATE_DESC=" Allows users in this group to edit created date."
COM_SUPPORTGROUPS_EDIT_CREATED_DATE_DESC="Allows users in this group to edit created date."
COM_SUPPORTGROUPS_EDIT_VERSIONS="Edit Version"
COM_SUPPORTGROUPS_EDIT_VERSIONS_DESC=" Allows users in this group to edit versions."
COM_SUPPORTGROUPS_EDIT_VERSIONS_DESC="Allows users in this group to edit versions."
COM_SUPPORTGROUPS_EXPORT_DATA="Export Data"
COM_SUPPORTGROUPS_EXPORT_DATA_DESC=" Allows users in this group to export data."
COM_SUPPORTGROUPS_EXPORT_DATA_DESC="Allows users in this group to export data."
COM_SUPPORTGROUPS_FACILITIES_ACCESS="Facilities Access"
COM_SUPPORTGROUPS_FACILITIES_ACCESS_DESC="Allows the users in this group to access access facilities"
COM_SUPPORTGROUPS_FACILITIES_BATCH_USE="Facilities Batch Use"
@ -295,7 +295,7 @@ COM_SUPPORTGROUPS_HELP_DOCUMENTS_IMPORT_DESC="Allows the users in this group to
COM_SUPPORTGROUPS_HELP_DOCUMENTS_SUBMENU="Help Documents Submenu"
COM_SUPPORTGROUPS_HELP_DOCUMENTS_SUBMENU_DESC="Allows the users in this group to submenu of help document"
COM_SUPPORTGROUPS_IMPORT_DATA="Import Data"
COM_SUPPORTGROUPS_IMPORT_DATA_DESC=" Allows users in this group to import data."
COM_SUPPORTGROUPS_IMPORT_DATA_DESC="Allows users in this group to import data."
COM_SUPPORTGROUPS_INFO_TYPES_ACCESS="Info Types Access"
COM_SUPPORTGROUPS_INFO_TYPES_ACCESS_DESC="Allows the users in this group to access access info types"
COM_SUPPORTGROUPS_INFO_TYPES_BATCH_USE="Info Types Batch Use"
@ -325,7 +325,7 @@ COM_SUPPORTGROUPS_INFO_TYPES_EXPORT_DESC="Allows the users in this group to expo
COM_SUPPORTGROUPS_INFO_TYPES_IMPORT="Info Types Import"
COM_SUPPORTGROUPS_INFO_TYPES_IMPORT_DESC="Allows the users in this group to import import info types"
COM_SUPPORTGROUPS_MAP_ACCESS_SITE="Map (Site) Access"
COM_SUPPORTGROUPS_MAP_ACCESS_SITE_DESC=" Allows the users in this group to access site map."
COM_SUPPORTGROUPS_MAP_ACCESS_SITE_DESC="Allows the users in this group to access site map."
COM_SUPPORTGROUPS_MENU="» Support Groups"
COM_SUPPORTGROUPS_MENU_AREAS="Areas"
COM_SUPPORTGROUPS_MENU_FACILITIES="Facilities"
@ -425,7 +425,7 @@ COM_SUPPORTGROUPS_REGIONS_VIEW_NAME_DESC="Allows the users in this group to view
COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS="Support Groups Access"
COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS_DESC="Allows the users in this group to access access support groups"
COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS_SITE="Support Groups (Site) Access"
COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS_SITE_DESC=" Allows the users in this group to access site support groups."
COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS_SITE_DESC="Allows the users in this group to access site support groups."
COM_SUPPORTGROUPS_SUPPORT_GROUPS_BATCH_USE="Support Groups Batch Use"
COM_SUPPORTGROUPS_SUPPORT_GROUPS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch support groups"
COM_SUPPORTGROUPS_SUPPORT_GROUPS_CREATE="Support Groups Create"
@ -479,6 +479,6 @@ COM_SUPPORTGROUPS_SUPPORT_GROUPS_IMPORT_DESC="Allows the users in this group to
COM_SUPPORTGROUPS_SUPPORT_GROUPS_SUBMENU="Support Groups Submenu"
COM_SUPPORTGROUPS_SUPPORT_GROUPS_SUBMENU_DESC="Allows the users in this group to submenu of support group"
COM_SUPPORTGROUPS_SUPPORT_GROUP_SMART_EXPORT_BUTTON_ACCESS="Support Group Smart Export Button Access"
COM_SUPPORTGROUPS_SUPPORT_GROUP_SMART_EXPORT_BUTTON_ACCESS_DESC=" Allows the users in this group to access the smart export button."
COM_SUPPORTGROUPS_SUPPORT_GROUP_SMART_EXPORT_BUTTON_ACCESS_DESC="Allows the users in this group to access the smart export button."
COM_SUPPORTGROUPS_USE_BATCH="Use Batch"
COM_SUPPORTGROUPS_USE_BATCH_DESC=" Allows users in this group to use batch copy/update method."
COM_SUPPORTGROUPS_USE_BATCH_DESC="Allows users in this group to use batch copy/update method."

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage metadata.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage publishing.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'created',
'created_by',
'modified',
@ -44,9 +55,11 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_above.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'name',
'alias'
);
@ -36,6 +47,7 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header">
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
@ -44,3 +56,4 @@ $hiddenFields = $displayData->get('hidden_fields') ?: array();
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
</div>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_fullwidth.php
@ -26,15 +26,27 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'details'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<div class="form-vertical">
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
@ -43,3 +55,4 @@ $hiddenFields = $displayData->get('hidden_fields') ?: array();
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
</div>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_left.php
@ -26,18 +26,31 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'info_type'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage support_groups_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage metadata.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage publishing.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'created',
'created_by',
'modified',
@ -44,9 +55,11 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_above.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'name',
'alias',
'area_type'
@ -37,6 +48,7 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header">
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
@ -45,3 +57,4 @@ $hiddenFields = $displayData->get('hidden_fields') ?: array();
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
</div>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_fullwidth.php
@ -26,15 +26,27 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'details'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<div class="form-vertical">
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
@ -43,3 +55,4 @@ $hiddenFields = $displayData->get('hidden_fields') ?: array();
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
</div>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_left.php
@ -26,18 +26,31 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'region'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_right.php
@ -26,18 +26,31 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'color'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage support_groups_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage details_left.php
@ -26,18 +26,31 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'name'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage details_right.php
@ -26,18 +26,31 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'alias'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage publishing.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'created',
'created_by',
'modified',
@ -38,9 +49,11 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage publlshing.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'published',
'ordering',
'access',
@ -40,9 +51,11 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage batchselection.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage metadata.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage publishing.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'created',
'created_by',
'modified',
@ -44,9 +55,11 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage regions_fullwidth.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_above.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'name',
'alias'
);
@ -36,6 +47,7 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header">
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
@ -44,3 +56,4 @@ $hiddenFields = $displayData->get('hidden_fields') ?: array();
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
</div>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_left.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'currency',
'worldzone'
);
@ -36,9 +47,11 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_right.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'codethree',
'codetwo'
);
@ -36,9 +47,11 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage details_above.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'name',
'alias'
);
@ -36,6 +47,7 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header">
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
@ -44,3 +56,4 @@ $hiddenFields = $displayData->get('hidden_fields') ?: array();
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
</div>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage details_left.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'codethree',
'numericcode',
'symbol',
@ -38,9 +49,11 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage details_right.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'decimalplace',
'decimalsymbol',
'positivestyle',
@ -38,9 +49,11 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage metadata.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage publishing.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'created',
'created_by',
'modified',
@ -44,9 +55,11 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage location_fullwidth.php
@ -26,15 +26,27 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'note_set_marker'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<div class="form-vertical">
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
@ -43,3 +55,4 @@ $hiddenFields = $displayData->get('hidden_fields') ?: array();
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
</div>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage metadata.php

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage publishing.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'created',
'created_by',
'modified',
@ -44,9 +55,11 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_above.php
@ -26,9 +26,20 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'name',
'alias'
);
@ -36,6 +47,7 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header">
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
@ -44,3 +56,4 @@ $hiddenFields = $displayData->get('hidden_fields') ?: array();
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
</div>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_fullwidth.php
@ -26,15 +26,27 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'details'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<div class="form-vertical">
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
@ -43,3 +55,4 @@ $hiddenFields = $displayData->get('hidden_fields') ?: array();
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
</div>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_left.php
@ -26,18 +26,31 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'facility_type'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_right.php
@ -26,18 +26,31 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'phone'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
<?php endif; ?>

View File

@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.10
@build 4th April, 2019
@build 14th August, 2019
@created 24th February, 2016
@package Support Groups
@subpackage settings_under.php
@ -26,15 +26,27 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// get the form
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
// get the layout fields override method name (from layout path/ID)
$layout_path_array = explode('.', $this->getLayoutId());
// Since we cannot pass the layout and tab names as parameters to the model method
// this name combination of tab and layout in the method name is the only work around
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
// example of layout name: details_left.php
// example of method name: getFields_details_left()
$fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields
$fields = $displayData->get($fields_tab_layout) ?: array(
'marker'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header">
<?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?>
@ -43,3 +55,4 @@ $hiddenFields = $displayData->get('hidden_fields') ?: array();
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
<?php endforeach; ?>
</div>
<?php endif; ?>

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