Update the componet with the improvements made to JCB
52
README.md
@ -1,45 +1,31 @@
|
||||
# Support Groups (1.0.3)
|
||||
# Support Groups (1.0.8)
|
||||
|
||||
Support Groups
|
||||
This is a [Joomla 3.x](http://www.joomla.org/) component.
|
||||
|
||||
![Support Groups image](/administrator/components/com_supportgroups/assets/images/vdm-component.jpg "The Support Groups")
|
||||
|
||||
Support Groups component adds the ability to your Joomla website to manage various support groups and their related details. Integration with Google Maps is one of its main features.
|
||||
|
||||
# Build Details
|
||||
|
||||
+ *Company*: [Vast Development Method] (http://www.vdm.io)
|
||||
+ *Author*: [Llewellyn van der Merwe] (mailto:llewellyn@vdm.io)
|
||||
+ *Name*: [Support Groups] (http://www.vdm.io)
|
||||
+ *Company*: [Vast Development Method](http://www.vdm.io)
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
+ *Name*: [Support Groups](http://www.vdm.io)
|
||||
+ *First Build*: 24th February, 2016
|
||||
+ *Last Build*: 6th March, 2016
|
||||
+ *Version*: 1.0.3
|
||||
+ *Last Build*: 5th May, 2018
|
||||
+ *Version*: 1.0.8
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
## Build Time
|
||||
# Component Number
|
||||
|
||||
**120 Hours** or **15 Eight Hour Days** (actual time the author saved -
|
||||
due to [Automated Component Builder] (https://www.vdm.io/joomla-component-builder))
|
||||
+ *Line count*: **66093**
|
||||
+ *File count*: **492**
|
||||
+ *Folder count*: **98**
|
||||
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
> never making one mistake or taking any coffee break.)
|
||||
> This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).
|
||||
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
|
||||
+ *Line count*: **42865**
|
||||
+ *File count*: **331**
|
||||
+ *Folder count*: **76**
|
||||
# Joomla Component Builder
|
||||
|
||||
**79 Hours** or **10 Eight Hour Days** (the actual time the author spent)
|
||||
|
||||
> (with the following break down:
|
||||
> **debugging @30hours** = codingtime / 4;
|
||||
> **planning @17hours** = codingtime / 7;
|
||||
> **mapping @12hours** = codingtime / 10;
|
||||
> **office @20hours** = codingtime / 6;)
|
||||
|
||||
**199 Hours** or **25 Eight Hour Days**
|
||||
(a total of the realistic time frame for this project)
|
||||
|
||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
|
||||
|
||||
Project duration: **5 weeks** or **1 months**
|
||||
|
||||
> This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder).
|
||||
> Developed by [Llewellyn van der Merwe] (mailto:joomla@vdm.io)
|
||||
For more information about JCB visit [VDM](http://vdm.bz/component-builder) Today! The future is here!
|
31
admin/README.txt
Normal file
@ -0,0 +1,31 @@
|
||||
# Support Groups (1.0.8)
|
||||
|
||||
This is a [Joomla 3.x](http://www.joomla.org/) component.
|
||||
|
||||
![Support Groups image](/administrator/components/com_supportgroups/assets/images/vdm-component.jpg "The Support Groups")
|
||||
|
||||
Support Groups component adds the ability to your Joomla website to manage various support groups and their related details. Integration with Google Maps is one of its main features.
|
||||
|
||||
# Build Details
|
||||
|
||||
+ *Company*: [Vast Development Method](http://www.vdm.io)
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
+ *Name*: [Support Groups](http://www.vdm.io)
|
||||
+ *First Build*: 24th February, 2016
|
||||
+ *Last Build*: 5th May, 2018
|
||||
+ *Version*: 1.0.8
|
||||
+ *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*: **66093**
|
||||
+ *File count*: **492**
|
||||
+ *Folder count*: **98**
|
||||
|
||||
> This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).
|
||||
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
|
||||
# Joomla Component Builder
|
||||
|
||||
For more information about JCB visit [VDM](http://vdm.bz/component-builder) Today! The future is here!
|
267
admin/access.xml
@ -15,23 +15,60 @@
|
||||
<action name="core.edit.own" title="JACTION_EDITOWN" description="JACTION_EDITOWN_COMPONENT_DESC" />
|
||||
<action name="core.edit.created_by" title="COM_SUPPORTGROUPS_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="core.edit.created" title="COM_SUPPORTGROUPS_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="clinic.access" title="COM_SUPPORTGROUPS_CLINICS_ACCESS" description="COM_SUPPORTGROUPS_CLINICS_ACCESS_DESC" />
|
||||
<action name="clinic.batch" title="COM_SUPPORTGROUPS_CLINICS_BATCH_USE" description="COM_SUPPORTGROUPS_CLINICS_BATCH_USE_DESC" />
|
||||
<action name="clinic.create" title="COM_SUPPORTGROUPS_CLINICS_CREATE" description="COM_SUPPORTGROUPS_CLINICS_CREATE_DESC" />
|
||||
<action name="clinic.dashboard_list" title="COM_SUPPORTGROUPS_CLINICS_DASHBOARD_LIST" description="COM_SUPPORTGROUPS_CLINICS_DASHBOARD_LIST_DESC" />
|
||||
<action name="clinic.delete" title="COM_SUPPORTGROUPS_CLINICS_DELETE" description="COM_SUPPORTGROUPS_CLINICS_DELETE_DESC" />
|
||||
<action name="clinic.edit" title="COM_SUPPORTGROUPS_CLINICS_EDIT" description="COM_SUPPORTGROUPS_CLINICS_EDIT_DESC" />
|
||||
<action name="clinic.edit.created_by" title="COM_SUPPORTGROUPS_CLINICS_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_CLINICS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="clinic.edit.created" title="COM_SUPPORTGROUPS_CLINICS_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_CLINICS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="clinic.edit.name" title="COM_SUPPORTGROUPS_CLINICS_EDIT_NAME" description="COM_SUPPORTGROUPS_CLINICS_EDIT_NAME_DESC" />
|
||||
<action name="clinic.edit.note_set_area" title="COM_SUPPORTGROUPS_CLINICS_EDIT_NOTE_SET_AREA" description="COM_SUPPORTGROUPS_CLINICS_EDIT_NOTE_SET_AREA_DESC" />
|
||||
<action name="clinic.edit.own" title="COM_SUPPORTGROUPS_CLINICS_EDIT_OWN" description="COM_SUPPORTGROUPS_CLINICS_EDIT_OWN_DESC" />
|
||||
<action name="clinic.edit.phone" title="COM_SUPPORTGROUPS_CLINICS_EDIT_PHONE" description="COM_SUPPORTGROUPS_CLINICS_EDIT_PHONE_DESC" />
|
||||
<action name="clinic.edit.state" title="COM_SUPPORTGROUPS_CLINICS_EDIT_STATE" description="COM_SUPPORTGROUPS_CLINICS_EDIT_STATE_DESC" />
|
||||
<action name="clinic.version" title="COM_SUPPORTGROUPS_CLINICS_EDIT_VERSION" description="COM_SUPPORTGROUPS_CLINICS_EDIT_VERSION_DESC" />
|
||||
<action name="clinic.export" title="COM_SUPPORTGROUPS_CLINICS_EXPORT" description="COM_SUPPORTGROUPS_CLINICS_EXPORT_DESC" />
|
||||
<action name="clinic.import" title="COM_SUPPORTGROUPS_CLINICS_IMPORT" description="COM_SUPPORTGROUPS_CLINICS_IMPORT_DESC" />
|
||||
<action name="clinic.submenu" title="COM_SUPPORTGROUPS_CLINICS_SUBMENU" description="COM_SUPPORTGROUPS_CLINICS_SUBMENU_DESC" />
|
||||
<action name="additional_info.access" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_ACCESS" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_ACCESS_DESC" />
|
||||
<action name="additional_info.batch" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_BATCH_USE" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_BATCH_USE_DESC" />
|
||||
<action name="additional_info.create" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_CREATE" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_CREATE_DESC" />
|
||||
<action name="additional_info.dashboard_add" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_DASHBOARD_ADD" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_DASHBOARD_ADD_DESC" />
|
||||
<action name="additional_info.dashboard_list" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_DASHBOARD_LIST" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_DASHBOARD_LIST_DESC" />
|
||||
<action name="additional_info.delete" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_DELETE" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_DELETE_DESC" />
|
||||
<action name="additional_info.edit" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_DESC" />
|
||||
<action name="additional_info.edit.alias" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_ALIAS" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_ALIAS_DESC" />
|
||||
<action name="additional_info.edit.created_by" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_CREATED_BY_DESC" />
|
||||
<action name="additional_info.edit.created" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="additional_info.edit.details" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_DETAILS" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_DETAILS_DESC" />
|
||||
<action name="additional_info.edit.info_type" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_INFO_TYPE" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_INFO_TYPE_DESC" />
|
||||
<action name="additional_info.edit.name" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_NAME" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_NAME_DESC" />
|
||||
<action name="additional_info.edit.own" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_OWN" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_OWN_DESC" />
|
||||
<action name="additional_info.edit.state" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_STATE" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_STATE_DESC" />
|
||||
<action name="additional_info.version" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_VERSION" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_VERSION_DESC" />
|
||||
<action name="additional_info.export" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EXPORT" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EXPORT_DESC" />
|
||||
<action name="additional_info.import" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_IMPORT" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_IMPORT_DESC" />
|
||||
<action name="additional_info.submenu" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_SUBMENU" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_SUBMENU_DESC" />
|
||||
<action name="area_type.access" title="COM_SUPPORTGROUPS_AREA_TYPES_ACCESS" description="COM_SUPPORTGROUPS_AREA_TYPES_ACCESS_DESC" />
|
||||
<action name="area_type.batch" title="COM_SUPPORTGROUPS_AREA_TYPES_BATCH_USE" description="COM_SUPPORTGROUPS_AREA_TYPES_BATCH_USE_DESC" />
|
||||
<action name="area_type.create" title="COM_SUPPORTGROUPS_AREA_TYPES_CREATE" description="COM_SUPPORTGROUPS_AREA_TYPES_CREATE_DESC" />
|
||||
<action name="area_type.delete" title="COM_SUPPORTGROUPS_AREA_TYPES_DELETE" description="COM_SUPPORTGROUPS_AREA_TYPES_DELETE_DESC" />
|
||||
<action name="area_type.edit" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_DESC" />
|
||||
<action name="area_type.edit.alias" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_ALIAS" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_ALIAS_DESC" />
|
||||
<action name="area_type.edit.created_by" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="area_type.edit.created" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="area_type.edit.name" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_NAME" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_NAME_DESC" />
|
||||
<action name="area_type.edit.own" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_OWN" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_OWN_DESC" />
|
||||
<action name="area_type.edit.state" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_STATE" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_STATE_DESC" />
|
||||
<action name="area_type.version" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_VERSION" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_VERSION_DESC" />
|
||||
<action name="area_type.export" title="COM_SUPPORTGROUPS_AREA_TYPES_EXPORT" description="COM_SUPPORTGROUPS_AREA_TYPES_EXPORT_DESC" />
|
||||
<action name="area_type.import" title="COM_SUPPORTGROUPS_AREA_TYPES_IMPORT" description="COM_SUPPORTGROUPS_AREA_TYPES_IMPORT_DESC" />
|
||||
<action name="area.access" title="COM_SUPPORTGROUPS_AREAS_ACCESS" description="COM_SUPPORTGROUPS_AREAS_ACCESS_DESC" />
|
||||
<action name="area.batch" title="COM_SUPPORTGROUPS_AREAS_BATCH_USE" description="COM_SUPPORTGROUPS_AREAS_BATCH_USE_DESC" />
|
||||
<action name="area.create" title="COM_SUPPORTGROUPS_AREAS_CREATE" description="COM_SUPPORTGROUPS_AREAS_CREATE_DESC" />
|
||||
<action name="area.dashboard_add" title="COM_SUPPORTGROUPS_AREAS_DASHBOARD_ADD" description="COM_SUPPORTGROUPS_AREAS_DASHBOARD_ADD_DESC" />
|
||||
<action name="area.dashboard_list" title="COM_SUPPORTGROUPS_AREAS_DASHBOARD_LIST" description="COM_SUPPORTGROUPS_AREAS_DASHBOARD_LIST_DESC" />
|
||||
<action name="area.delete" title="COM_SUPPORTGROUPS_AREAS_DELETE" description="COM_SUPPORTGROUPS_AREAS_DELETE_DESC" />
|
||||
<action name="area.edit" title="COM_SUPPORTGROUPS_AREAS_EDIT" description="COM_SUPPORTGROUPS_AREAS_EDIT_DESC" />
|
||||
<action name="area.edit.alias" title="COM_SUPPORTGROUPS_AREAS_EDIT_ALIAS" description="COM_SUPPORTGROUPS_AREAS_EDIT_ALIAS_DESC" />
|
||||
<action name="area.edit.area_type" title="COM_SUPPORTGROUPS_AREAS_EDIT_AREA_TYPE" description="COM_SUPPORTGROUPS_AREAS_EDIT_AREA_TYPE_DESC" />
|
||||
<action name="area.edit.color" title="COM_SUPPORTGROUPS_AREAS_EDIT_COLOR" description="COM_SUPPORTGROUPS_AREAS_EDIT_COLOR_DESC" />
|
||||
<action name="area.edit.created_by" title="COM_SUPPORTGROUPS_AREAS_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_AREAS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="area.edit.created" title="COM_SUPPORTGROUPS_AREAS_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_AREAS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="area.edit.details" title="COM_SUPPORTGROUPS_AREAS_EDIT_DETAILS" description="COM_SUPPORTGROUPS_AREAS_EDIT_DETAILS_DESC" />
|
||||
<action name="area.edit.name" title="COM_SUPPORTGROUPS_AREAS_EDIT_NAME" description="COM_SUPPORTGROUPS_AREAS_EDIT_NAME_DESC" />
|
||||
<action name="area.edit.own" title="COM_SUPPORTGROUPS_AREAS_EDIT_OWN" description="COM_SUPPORTGROUPS_AREAS_EDIT_OWN_DESC" />
|
||||
<action name="area.edit.region" title="COM_SUPPORTGROUPS_AREAS_EDIT_REGION" description="COM_SUPPORTGROUPS_AREAS_EDIT_REGION_DESC" />
|
||||
<action name="area.edit.state" title="COM_SUPPORTGROUPS_AREAS_EDIT_STATE" description="COM_SUPPORTGROUPS_AREAS_EDIT_STATE_DESC" />
|
||||
<action name="area.version" title="COM_SUPPORTGROUPS_AREAS_EDIT_VERSION" description="COM_SUPPORTGROUPS_AREAS_EDIT_VERSION_DESC" />
|
||||
<action name="area.export" title="COM_SUPPORTGROUPS_AREAS_EXPORT" description="COM_SUPPORTGROUPS_AREAS_EXPORT_DESC" />
|
||||
<action name="area.import" title="COM_SUPPORTGROUPS_AREAS_IMPORT" description="COM_SUPPORTGROUPS_AREAS_IMPORT_DESC" />
|
||||
<action name="area.submenu" title="COM_SUPPORTGROUPS_AREAS_SUBMENU" description="COM_SUPPORTGROUPS_AREAS_SUBMENU_DESC" />
|
||||
<action name="country.access" title="COM_SUPPORTGROUPS_COUNTRIES_ACCESS" description="COM_SUPPORTGROUPS_COUNTRIES_ACCESS_DESC" />
|
||||
<action name="country.batch" title="COM_SUPPORTGROUPS_COUNTRIES_BATCH_USE" description="COM_SUPPORTGROUPS_COUNTRIES_BATCH_USE_DESC" />
|
||||
<action name="country.create" title="COM_SUPPORTGROUPS_COUNTRIES_CREATE" description="COM_SUPPORTGROUPS_COUNTRIES_CREATE_DESC" />
|
||||
@ -56,6 +93,41 @@
|
||||
<action name="currency.export" title="COM_SUPPORTGROUPS_CURRENCIES_EXPORT" description="COM_SUPPORTGROUPS_CURRENCIES_EXPORT_DESC" />
|
||||
<action name="currency.import" title="COM_SUPPORTGROUPS_CURRENCIES_IMPORT" description="COM_SUPPORTGROUPS_CURRENCIES_IMPORT_DESC" />
|
||||
<action name="currency.submenu" title="COM_SUPPORTGROUPS_CURRENCIES_SUBMENU" description="COM_SUPPORTGROUPS_CURRENCIES_SUBMENU_DESC" />
|
||||
<action name="facility.access" title="COM_SUPPORTGROUPS_FACILITIES_ACCESS" description="COM_SUPPORTGROUPS_FACILITIES_ACCESS_DESC" />
|
||||
<action name="facility.batch" title="COM_SUPPORTGROUPS_FACILITIES_BATCH_USE" description="COM_SUPPORTGROUPS_FACILITIES_BATCH_USE_DESC" />
|
||||
<action name="facility.create" title="COM_SUPPORTGROUPS_FACILITIES_CREATE" description="COM_SUPPORTGROUPS_FACILITIES_CREATE_DESC" />
|
||||
<action name="facility.dashboard_add" title="COM_SUPPORTGROUPS_FACILITIES_DASHBOARD_ADD" description="COM_SUPPORTGROUPS_FACILITIES_DASHBOARD_ADD_DESC" />
|
||||
<action name="facility.dashboard_list" title="COM_SUPPORTGROUPS_FACILITIES_DASHBOARD_LIST" description="COM_SUPPORTGROUPS_FACILITIES_DASHBOARD_LIST_DESC" />
|
||||
<action name="facility.delete" title="COM_SUPPORTGROUPS_FACILITIES_DELETE" description="COM_SUPPORTGROUPS_FACILITIES_DELETE_DESC" />
|
||||
<action name="facility.edit" title="COM_SUPPORTGROUPS_FACILITIES_EDIT" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_DESC" />
|
||||
<action name="facility.edit.alias" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_ALIAS" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_ALIAS_DESC" />
|
||||
<action name="facility.edit.created_by" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="facility.edit.created" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="facility.edit.details" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_DETAILS" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_DETAILS_DESC" />
|
||||
<action name="facility.edit.facility_type" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_FACILITY_TYPE" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_FACILITY_TYPE_DESC" />
|
||||
<action name="facility.edit.name" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_NAME" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_NAME_DESC" />
|
||||
<action name="facility.edit.note_set_marker" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_NOTE_SET_MARKER" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_NOTE_SET_MARKER_DESC" />
|
||||
<action name="facility.edit.own" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_OWN" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_OWN_DESC" />
|
||||
<action name="facility.edit.phone" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_PHONE" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_PHONE_DESC" />
|
||||
<action name="facility.edit.state" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_STATE" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_STATE_DESC" />
|
||||
<action name="facility.version" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_VERSION" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_VERSION_DESC" />
|
||||
<action name="facility.export" title="COM_SUPPORTGROUPS_FACILITIES_EXPORT" description="COM_SUPPORTGROUPS_FACILITIES_EXPORT_DESC" />
|
||||
<action name="facility.import" title="COM_SUPPORTGROUPS_FACILITIES_IMPORT" description="COM_SUPPORTGROUPS_FACILITIES_IMPORT_DESC" />
|
||||
<action name="facility.submenu" title="COM_SUPPORTGROUPS_FACILITIES_SUBMENU" description="COM_SUPPORTGROUPS_FACILITIES_SUBMENU_DESC" />
|
||||
<action name="facility_type.access" title="COM_SUPPORTGROUPS_FACILITY_TYPES_ACCESS" description="COM_SUPPORTGROUPS_FACILITY_TYPES_ACCESS_DESC" />
|
||||
<action name="facility_type.batch" title="COM_SUPPORTGROUPS_FACILITY_TYPES_BATCH_USE" description="COM_SUPPORTGROUPS_FACILITY_TYPES_BATCH_USE_DESC" />
|
||||
<action name="facility_type.create" title="COM_SUPPORTGROUPS_FACILITY_TYPES_CREATE" description="COM_SUPPORTGROUPS_FACILITY_TYPES_CREATE_DESC" />
|
||||
<action name="facility_type.delete" title="COM_SUPPORTGROUPS_FACILITY_TYPES_DELETE" description="COM_SUPPORTGROUPS_FACILITY_TYPES_DELETE_DESC" />
|
||||
<action name="facility_type.edit" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_DESC" />
|
||||
<action name="facility_type.edit.alias" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_ALIAS" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_ALIAS_DESC" />
|
||||
<action name="facility_type.edit.created_by" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="facility_type.edit.created" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="facility_type.edit.name" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_NAME" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_NAME_DESC" />
|
||||
<action name="facility_type.edit.own" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_OWN" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_OWN_DESC" />
|
||||
<action name="facility_type.edit.state" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_STATE" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_STATE_DESC" />
|
||||
<action name="facility_type.version" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_VERSION" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_VERSION_DESC" />
|
||||
<action name="facility_type.export" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EXPORT" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EXPORT_DESC" />
|
||||
<action name="facility_type.import" title="COM_SUPPORTGROUPS_FACILITY_TYPES_IMPORT" description="COM_SUPPORTGROUPS_FACILITY_TYPES_IMPORT_DESC" />
|
||||
<action name="help_document.access" title="COM_SUPPORTGROUPS_HELP_DOCUMENTS_ACCESS" description="COM_SUPPORTGROUPS_HELP_DOCUMENTS_ACCESS_DESC" />
|
||||
<action name="help_document.batch" title="COM_SUPPORTGROUPS_HELP_DOCUMENTS_BATCH_USE" description="COM_SUPPORTGROUPS_HELP_DOCUMENTS_BATCH_USE_DESC" />
|
||||
<action name="help_document.create" title="COM_SUPPORTGROUPS_HELP_DOCUMENTS_CREATE" description="COM_SUPPORTGROUPS_HELP_DOCUMENTS_CREATE_DESC" />
|
||||
@ -68,22 +140,21 @@
|
||||
<action name="help_document.export" title="COM_SUPPORTGROUPS_HELP_DOCUMENTS_EXPORT" description="COM_SUPPORTGROUPS_HELP_DOCUMENTS_EXPORT_DESC" />
|
||||
<action name="help_document.import" title="COM_SUPPORTGROUPS_HELP_DOCUMENTS_IMPORT" description="COM_SUPPORTGROUPS_HELP_DOCUMENTS_IMPORT_DESC" />
|
||||
<action name="help_document.submenu" title="COM_SUPPORTGROUPS_HELP_DOCUMENTS_SUBMENU" description="COM_SUPPORTGROUPS_HELP_DOCUMENTS_SUBMENU_DESC" />
|
||||
<action name="location.access" title="COM_SUPPORTGROUPS_LOCATIONS_ACCESS" description="COM_SUPPORTGROUPS_LOCATIONS_ACCESS_DESC" />
|
||||
<action name="location.batch" title="COM_SUPPORTGROUPS_LOCATIONS_BATCH_USE" description="COM_SUPPORTGROUPS_LOCATIONS_BATCH_USE_DESC" />
|
||||
<action name="location.create" title="COM_SUPPORTGROUPS_LOCATIONS_CREATE" description="COM_SUPPORTGROUPS_LOCATIONS_CREATE_DESC" />
|
||||
<action name="location.dashboard_list" title="COM_SUPPORTGROUPS_LOCATIONS_DASHBOARD_LIST" description="COM_SUPPORTGROUPS_LOCATIONS_DASHBOARD_LIST_DESC" />
|
||||
<action name="location.delete" title="COM_SUPPORTGROUPS_LOCATIONS_DELETE" description="COM_SUPPORTGROUPS_LOCATIONS_DELETE_DESC" />
|
||||
<action name="location.edit" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_DESC" />
|
||||
<action name="location.edit.created_by" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="location.edit.created" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="location.edit.name" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT_NAME" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_NAME_DESC" />
|
||||
<action name="location.edit.own" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT_OWN" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_OWN_DESC" />
|
||||
<action name="location.edit.region" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT_REGION" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_REGION_DESC" />
|
||||
<action name="location.edit.state" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT_STATE" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_STATE_DESC" />
|
||||
<action name="location.version" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT_VERSION" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_VERSION_DESC" />
|
||||
<action name="location.export" title="COM_SUPPORTGROUPS_LOCATIONS_EXPORT" description="COM_SUPPORTGROUPS_LOCATIONS_EXPORT_DESC" />
|
||||
<action name="location.import" title="COM_SUPPORTGROUPS_LOCATIONS_IMPORT" description="COM_SUPPORTGROUPS_LOCATIONS_IMPORT_DESC" />
|
||||
<action name="location.submenu" title="COM_SUPPORTGROUPS_LOCATIONS_SUBMENU" description="COM_SUPPORTGROUPS_LOCATIONS_SUBMENU_DESC" />
|
||||
<action name="info_type.access" title="COM_SUPPORTGROUPS_INFO_TYPES_ACCESS" description="COM_SUPPORTGROUPS_INFO_TYPES_ACCESS_DESC" />
|
||||
<action name="info_type.batch" title="COM_SUPPORTGROUPS_INFO_TYPES_BATCH_USE" description="COM_SUPPORTGROUPS_INFO_TYPES_BATCH_USE_DESC" />
|
||||
<action name="info_type.create" title="COM_SUPPORTGROUPS_INFO_TYPES_CREATE" description="COM_SUPPORTGROUPS_INFO_TYPES_CREATE_DESC" />
|
||||
<action name="info_type.delete" title="COM_SUPPORTGROUPS_INFO_TYPES_DELETE" description="COM_SUPPORTGROUPS_INFO_TYPES_DELETE_DESC" />
|
||||
<action name="info_type.edit" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_DESC" />
|
||||
<action name="info_type.edit.alias" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_ALIAS" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_ALIAS_DESC" />
|
||||
<action name="info_type.edit.created_by" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="info_type.edit.created" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="info_type.edit.name" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_NAME" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_NAME_DESC" />
|
||||
<action name="info_type.edit.own" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_OWN" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_OWN_DESC" />
|
||||
<action name="info_type.edit.state" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_STATE" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_STATE_DESC" />
|
||||
<action name="info_type.version" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_VERSION" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_VERSION_DESC" />
|
||||
<action name="info_type.export" title="COM_SUPPORTGROUPS_INFO_TYPES_EXPORT" description="COM_SUPPORTGROUPS_INFO_TYPES_EXPORT_DESC" />
|
||||
<action name="info_type.import" title="COM_SUPPORTGROUPS_INFO_TYPES_IMPORT" description="COM_SUPPORTGROUPS_INFO_TYPES_IMPORT_DESC" />
|
||||
<action name="site.map.access" title="COM_SUPPORTGROUPS_MAP_ACCESS_SITE" description="COM_SUPPORTGROUPS_MAP_ACCESS_SITE_DESC" />
|
||||
<action name="payment.access" title="COM_SUPPORTGROUPS_PAYMENTS_ACCESS" description="COM_SUPPORTGROUPS_PAYMENTS_ACCESS_DESC" />
|
||||
<action name="payment.batch" title="COM_SUPPORTGROUPS_PAYMENTS_BATCH_USE" description="COM_SUPPORTGROUPS_PAYMENTS_BATCH_USE_DESC" />
|
||||
<action name="payment.create" title="COM_SUPPORTGROUPS_PAYMENTS_CREATE" description="COM_SUPPORTGROUPS_PAYMENTS_CREATE_DESC" />
|
||||
@ -105,9 +176,11 @@
|
||||
<action name="region.access" title="COM_SUPPORTGROUPS_REGIONS_ACCESS" description="COM_SUPPORTGROUPS_REGIONS_ACCESS_DESC" />
|
||||
<action name="region.batch" title="COM_SUPPORTGROUPS_REGIONS_BATCH_USE" description="COM_SUPPORTGROUPS_REGIONS_BATCH_USE_DESC" />
|
||||
<action name="region.create" title="COM_SUPPORTGROUPS_REGIONS_CREATE" description="COM_SUPPORTGROUPS_REGIONS_CREATE_DESC" />
|
||||
<action name="region.dashboard_add" title="COM_SUPPORTGROUPS_REGIONS_DASHBOARD_ADD" description="COM_SUPPORTGROUPS_REGIONS_DASHBOARD_ADD_DESC" />
|
||||
<action name="region.dashboard_list" title="COM_SUPPORTGROUPS_REGIONS_DASHBOARD_LIST" description="COM_SUPPORTGROUPS_REGIONS_DASHBOARD_LIST_DESC" />
|
||||
<action name="region.delete" title="COM_SUPPORTGROUPS_REGIONS_DELETE" description="COM_SUPPORTGROUPS_REGIONS_DELETE_DESC" />
|
||||
<action name="region.edit" title="COM_SUPPORTGROUPS_REGIONS_EDIT" description="COM_SUPPORTGROUPS_REGIONS_EDIT_DESC" />
|
||||
<action name="region.edit.alias" title="COM_SUPPORTGROUPS_REGIONS_EDIT_ALIAS" description="COM_SUPPORTGROUPS_REGIONS_EDIT_ALIAS_DESC" />
|
||||
<action name="region.edit.country" title="COM_SUPPORTGROUPS_REGIONS_EDIT_COUNTRY" description="COM_SUPPORTGROUPS_REGIONS_EDIT_COUNTRY_DESC" />
|
||||
<action name="region.edit.created_by" title="COM_SUPPORTGROUPS_REGIONS_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_REGIONS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="region.edit.created" title="COM_SUPPORTGROUPS_REGIONS_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_REGIONS_EDIT_CREATED_DATE_DESC" />
|
||||
@ -118,19 +191,24 @@
|
||||
<action name="region.export" title="COM_SUPPORTGROUPS_REGIONS_EXPORT" description="COM_SUPPORTGROUPS_REGIONS_EXPORT_DESC" />
|
||||
<action name="region.import" title="COM_SUPPORTGROUPS_REGIONS_IMPORT" description="COM_SUPPORTGROUPS_REGIONS_IMPORT_DESC" />
|
||||
<action name="region.submenu" title="COM_SUPPORTGROUPS_REGIONS_SUBMENU" description="COM_SUPPORTGROUPS_REGIONS_SUBMENU_DESC" />
|
||||
<action name="support_group.smart_export" title="COM_SUPPORTGROUPS_SUPPORT_GROUP_SMART_EXPORT_BUTTON_ACCESS" description="COM_SUPPORTGROUPS_SUPPORT_GROUP_SMART_EXPORT_BUTTON_ACCESS_DESC" />
|
||||
<action name="support_group.access" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS_DESC" />
|
||||
<action name="site.supportgroups.access" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS_SITE" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS_SITE_DESC" />
|
||||
<action name="support_group.batch" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_BATCH_USE" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_BATCH_USE_DESC" />
|
||||
<action name="support_group.create" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_CREATE" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_CREATE_DESC" />
|
||||
<action name="support_group.dashboard_add" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_DASHBOARD_ADD" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_DASHBOARD_ADD_DESC" />
|
||||
<action name="support_group.dashboard_list" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_DASHBOARD_LIST" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_DASHBOARD_LIST_DESC" />
|
||||
<action name="support_group.delete" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_DELETE" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_DELETE_DESC" />
|
||||
<action name="support_group.edit" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_DESC" />
|
||||
<action name="support_group.edit.clinic" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_CLINIC" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_CLINIC_DESC" />
|
||||
<action name="support_group.edit.alias" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_ALIAS" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_ALIAS_DESC" />
|
||||
<action name="support_group.edit.area" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_AREA" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_AREA_DESC" />
|
||||
<action name="support_group.edit.created_by" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="support_group.edit.created" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="support_group.edit.details" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_DETAILS" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_DETAILS_DESC" />
|
||||
<action name="support_group.edit.facility" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FACILITY" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FACILITY_DESC" />
|
||||
<action name="support_group.edit.female" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FEMALE" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FEMALE_DESC" />
|
||||
<action name="support_group.edit.female_art" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FEMALE_ART" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FEMALE_ART_DESC" />
|
||||
<action name="support_group.edit.location" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_LOCATION" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_LOCATION_DESC" />
|
||||
<action name="support_group.edit.info" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_INFO" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_INFO_DESC" />
|
||||
<action name="support_group.edit.male" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_DESC" />
|
||||
<action name="support_group.edit.male_art" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_ART" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_ART_DESC" />
|
||||
<action name="support_group.edit.male_children" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_CHILDREN" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_CHILDREN_DESC" />
|
||||
@ -154,13 +232,16 @@
|
||||
<action name="support_group.access" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_ACCESS_DESC" />
|
||||
<action name="support_group.edit.name" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_NAME" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_NAME_DESC" />
|
||||
<action name="support_group.edit.phone" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_PHONE" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_PHONE_DESC" />
|
||||
<action name="support_group.edit.location" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_LOCATION" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_LOCATION_DESC" />
|
||||
<action name="support_group.edit.clinic" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_CLINIC" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_CLINIC_DESC" />
|
||||
<action name="support_group.edit.area" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_AREA" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_AREA_DESC" />
|
||||
<action name="support_group.edit.facility" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FACILITY" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FACILITY_DESC" />
|
||||
<action name="support_group.edit.male" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_DESC" />
|
||||
<action name="support_group.edit.female" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FEMALE" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FEMALE_DESC" />
|
||||
<action name="support_group.edit.alias" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_ALIAS" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_ALIAS_DESC" />
|
||||
<action name="support_group.edit.details" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_DETAILS" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_DETAILS_DESC" />
|
||||
<action name="support_group.edit.female_art" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FEMALE_ART" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FEMALE_ART_DESC" />
|
||||
<action name="support_group.edit.male_art" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_ART" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_ART_DESC" />
|
||||
<action name="support_group.edit.male_children" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_CHILDREN" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_CHILDREN_DESC" />
|
||||
<action name="support_group.edit.info" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_INFO" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_INFO_DESC" />
|
||||
<action name="support_group.version" title="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_VERSION" description="COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="payment">
|
||||
@ -177,32 +258,93 @@
|
||||
<action name="payment.edit.amount" title="COM_SUPPORTGROUPS_PAYMENTS_EDIT_AMOUNT" description="COM_SUPPORTGROUPS_PAYMENTS_EDIT_AMOUNT_DESC" />
|
||||
<action name="payment.version" title="COM_SUPPORTGROUPS_PAYMENTS_EDIT_VERSION" description="COM_SUPPORTGROUPS_PAYMENTS_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="clinic">
|
||||
<action name="clinic.edit" title="COM_SUPPORTGROUPS_CLINICS_EDIT" description="COM_SUPPORTGROUPS_CLINICS_EDIT_DESC" />
|
||||
<action name="clinic.edit.own" title="COM_SUPPORTGROUPS_CLINICS_EDIT_OWN" description="COM_SUPPORTGROUPS_CLINICS_EDIT_OWN_DESC" />
|
||||
<action name="clinic.edit.state" title="COM_SUPPORTGROUPS_CLINICS_EDIT_STATE" description="COM_SUPPORTGROUPS_CLINICS_EDIT_STATE_DESC" />
|
||||
<action name="clinic.edit.created_by" title="COM_SUPPORTGROUPS_CLINICS_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_CLINICS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="clinic.edit.created" title="COM_SUPPORTGROUPS_CLINICS_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_CLINICS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="clinic.create" title="COM_SUPPORTGROUPS_CLINICS_CREATE" description="COM_SUPPORTGROUPS_CLINICS_CREATE_DESC" />
|
||||
<action name="clinic.delete" title="COM_SUPPORTGROUPS_CLINICS_DELETE" description="COM_SUPPORTGROUPS_CLINICS_DELETE_DESC" />
|
||||
<action name="clinic.access" title="COM_SUPPORTGROUPS_CLINICS_ACCESS" description="COM_SUPPORTGROUPS_CLINICS_ACCESS_DESC" />
|
||||
<action name="clinic.edit.name" title="COM_SUPPORTGROUPS_CLINICS_EDIT_NAME" description="COM_SUPPORTGROUPS_CLINICS_EDIT_NAME_DESC" />
|
||||
<action name="clinic.edit.phone" title="COM_SUPPORTGROUPS_CLINICS_EDIT_PHONE" description="COM_SUPPORTGROUPS_CLINICS_EDIT_PHONE_DESC" />
|
||||
<action name="clinic.edit.note_set_area" title="COM_SUPPORTGROUPS_CLINICS_EDIT_NOTE_SET_AREA" description="COM_SUPPORTGROUPS_CLINICS_EDIT_NOTE_SET_AREA_DESC" />
|
||||
<action name="clinic.version" title="COM_SUPPORTGROUPS_CLINICS_EDIT_VERSION" description="COM_SUPPORTGROUPS_CLINICS_EDIT_VERSION_DESC" />
|
||||
<section name="facility">
|
||||
<action name="facility.edit" title="COM_SUPPORTGROUPS_FACILITIES_EDIT" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_DESC" />
|
||||
<action name="facility.edit.own" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_OWN" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_OWN_DESC" />
|
||||
<action name="facility.edit.state" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_STATE" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_STATE_DESC" />
|
||||
<action name="facility.edit.created_by" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="facility.edit.created" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="facility.create" title="COM_SUPPORTGROUPS_FACILITIES_CREATE" description="COM_SUPPORTGROUPS_FACILITIES_CREATE_DESC" />
|
||||
<action name="facility.delete" title="COM_SUPPORTGROUPS_FACILITIES_DELETE" description="COM_SUPPORTGROUPS_FACILITIES_DELETE_DESC" />
|
||||
<action name="facility.access" title="COM_SUPPORTGROUPS_FACILITIES_ACCESS" description="COM_SUPPORTGROUPS_FACILITIES_ACCESS_DESC" />
|
||||
<action name="facility.edit.name" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_NAME" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_NAME_DESC" />
|
||||
<action name="facility.edit.facility_type" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_FACILITY_TYPE" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_FACILITY_TYPE_DESC" />
|
||||
<action name="facility.edit.phone" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_PHONE" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_PHONE_DESC" />
|
||||
<action name="facility.edit.details" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_DETAILS" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_DETAILS_DESC" />
|
||||
<action name="facility.edit.note_set_marker" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_NOTE_SET_MARKER" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_NOTE_SET_MARKER_DESC" />
|
||||
<action name="facility.edit.alias" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_ALIAS" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_ALIAS_DESC" />
|
||||
<action name="facility.version" title="COM_SUPPORTGROUPS_FACILITIES_EDIT_VERSION" description="COM_SUPPORTGROUPS_FACILITIES_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="location">
|
||||
<action name="location.edit" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_DESC" />
|
||||
<action name="location.edit.own" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT_OWN" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_OWN_DESC" />
|
||||
<action name="location.edit.state" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT_STATE" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_STATE_DESC" />
|
||||
<action name="location.edit.created_by" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="location.edit.created" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="location.create" title="COM_SUPPORTGROUPS_LOCATIONS_CREATE" description="COM_SUPPORTGROUPS_LOCATIONS_CREATE_DESC" />
|
||||
<action name="location.delete" title="COM_SUPPORTGROUPS_LOCATIONS_DELETE" description="COM_SUPPORTGROUPS_LOCATIONS_DELETE_DESC" />
|
||||
<action name="location.access" title="COM_SUPPORTGROUPS_LOCATIONS_ACCESS" description="COM_SUPPORTGROUPS_LOCATIONS_ACCESS_DESC" />
|
||||
<action name="location.edit.name" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT_NAME" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_NAME_DESC" />
|
||||
<action name="location.edit.region" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT_REGION" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_REGION_DESC" />
|
||||
<action name="location.version" title="COM_SUPPORTGROUPS_LOCATIONS_EDIT_VERSION" description="COM_SUPPORTGROUPS_LOCATIONS_EDIT_VERSION_DESC" />
|
||||
<section name="facility_type">
|
||||
<action name="facility_type.edit" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_DESC" />
|
||||
<action name="facility_type.edit.own" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_OWN" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_OWN_DESC" />
|
||||
<action name="facility_type.edit.state" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_STATE" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_STATE_DESC" />
|
||||
<action name="facility_type.edit.created_by" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="facility_type.edit.created" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="facility_type.create" title="COM_SUPPORTGROUPS_FACILITY_TYPES_CREATE" description="COM_SUPPORTGROUPS_FACILITY_TYPES_CREATE_DESC" />
|
||||
<action name="facility_type.delete" title="COM_SUPPORTGROUPS_FACILITY_TYPES_DELETE" description="COM_SUPPORTGROUPS_FACILITY_TYPES_DELETE_DESC" />
|
||||
<action name="facility_type.access" title="COM_SUPPORTGROUPS_FACILITY_TYPES_ACCESS" description="COM_SUPPORTGROUPS_FACILITY_TYPES_ACCESS_DESC" />
|
||||
<action name="facility_type.edit.name" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_NAME" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_NAME_DESC" />
|
||||
<action name="facility_type.edit.alias" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_ALIAS" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_ALIAS_DESC" />
|
||||
<action name="facility_type.version" title="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_VERSION" description="COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="additional_info">
|
||||
<action name="additional_info.edit" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_DESC" />
|
||||
<action name="additional_info.edit.own" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_OWN" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_OWN_DESC" />
|
||||
<action name="additional_info.edit.state" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_STATE" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_STATE_DESC" />
|
||||
<action name="additional_info.edit.created_by" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_CREATED_BY_DESC" />
|
||||
<action name="additional_info.edit.created" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="additional_info.create" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_CREATE" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_CREATE_DESC" />
|
||||
<action name="additional_info.delete" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_DELETE" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_DELETE_DESC" />
|
||||
<action name="additional_info.access" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_ACCESS" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_ACCESS_DESC" />
|
||||
<action name="additional_info.edit.name" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_NAME" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_NAME_DESC" />
|
||||
<action name="additional_info.edit.info_type" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_INFO_TYPE" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_INFO_TYPE_DESC" />
|
||||
<action name="additional_info.edit.details" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_DETAILS" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_DETAILS_DESC" />
|
||||
<action name="additional_info.edit.alias" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_ALIAS" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_ALIAS_DESC" />
|
||||
<action name="additional_info.version" title="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_VERSION" description="COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="info_type">
|
||||
<action name="info_type.edit" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_DESC" />
|
||||
<action name="info_type.edit.own" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_OWN" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_OWN_DESC" />
|
||||
<action name="info_type.edit.state" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_STATE" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_STATE_DESC" />
|
||||
<action name="info_type.edit.created_by" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="info_type.edit.created" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="info_type.create" title="COM_SUPPORTGROUPS_INFO_TYPES_CREATE" description="COM_SUPPORTGROUPS_INFO_TYPES_CREATE_DESC" />
|
||||
<action name="info_type.delete" title="COM_SUPPORTGROUPS_INFO_TYPES_DELETE" description="COM_SUPPORTGROUPS_INFO_TYPES_DELETE_DESC" />
|
||||
<action name="info_type.access" title="COM_SUPPORTGROUPS_INFO_TYPES_ACCESS" description="COM_SUPPORTGROUPS_INFO_TYPES_ACCESS_DESC" />
|
||||
<action name="info_type.edit.name" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_NAME" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_NAME_DESC" />
|
||||
<action name="info_type.edit.alias" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_ALIAS" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_ALIAS_DESC" />
|
||||
<action name="info_type.version" title="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_VERSION" description="COM_SUPPORTGROUPS_INFO_TYPES_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="area">
|
||||
<action name="area.edit" title="COM_SUPPORTGROUPS_AREAS_EDIT" description="COM_SUPPORTGROUPS_AREAS_EDIT_DESC" />
|
||||
<action name="area.edit.own" title="COM_SUPPORTGROUPS_AREAS_EDIT_OWN" description="COM_SUPPORTGROUPS_AREAS_EDIT_OWN_DESC" />
|
||||
<action name="area.edit.state" title="COM_SUPPORTGROUPS_AREAS_EDIT_STATE" description="COM_SUPPORTGROUPS_AREAS_EDIT_STATE_DESC" />
|
||||
<action name="area.edit.created_by" title="COM_SUPPORTGROUPS_AREAS_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_AREAS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="area.edit.created" title="COM_SUPPORTGROUPS_AREAS_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_AREAS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="area.create" title="COM_SUPPORTGROUPS_AREAS_CREATE" description="COM_SUPPORTGROUPS_AREAS_CREATE_DESC" />
|
||||
<action name="area.delete" title="COM_SUPPORTGROUPS_AREAS_DELETE" description="COM_SUPPORTGROUPS_AREAS_DELETE_DESC" />
|
||||
<action name="area.access" title="COM_SUPPORTGROUPS_AREAS_ACCESS" description="COM_SUPPORTGROUPS_AREAS_ACCESS_DESC" />
|
||||
<action name="area.edit.name" title="COM_SUPPORTGROUPS_AREAS_EDIT_NAME" description="COM_SUPPORTGROUPS_AREAS_EDIT_NAME_DESC" />
|
||||
<action name="area.edit.area_type" title="COM_SUPPORTGROUPS_AREAS_EDIT_AREA_TYPE" description="COM_SUPPORTGROUPS_AREAS_EDIT_AREA_TYPE_DESC" />
|
||||
<action name="area.edit.region" title="COM_SUPPORTGROUPS_AREAS_EDIT_REGION" description="COM_SUPPORTGROUPS_AREAS_EDIT_REGION_DESC" />
|
||||
<action name="area.edit.details" title="COM_SUPPORTGROUPS_AREAS_EDIT_DETAILS" description="COM_SUPPORTGROUPS_AREAS_EDIT_DETAILS_DESC" />
|
||||
<action name="area.edit.color" title="COM_SUPPORTGROUPS_AREAS_EDIT_COLOR" description="COM_SUPPORTGROUPS_AREAS_EDIT_COLOR_DESC" />
|
||||
<action name="area.edit.alias" title="COM_SUPPORTGROUPS_AREAS_EDIT_ALIAS" description="COM_SUPPORTGROUPS_AREAS_EDIT_ALIAS_DESC" />
|
||||
<action name="area.version" title="COM_SUPPORTGROUPS_AREAS_EDIT_VERSION" description="COM_SUPPORTGROUPS_AREAS_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="area_type">
|
||||
<action name="area_type.edit" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_DESC" />
|
||||
<action name="area_type.edit.own" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_OWN" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_OWN_DESC" />
|
||||
<action name="area_type.edit.state" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_STATE" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_STATE_DESC" />
|
||||
<action name="area_type.edit.created_by" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_CREATED_BY" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="area_type.edit.created" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_CREATED_DATE" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="area_type.create" title="COM_SUPPORTGROUPS_AREA_TYPES_CREATE" description="COM_SUPPORTGROUPS_AREA_TYPES_CREATE_DESC" />
|
||||
<action name="area_type.delete" title="COM_SUPPORTGROUPS_AREA_TYPES_DELETE" description="COM_SUPPORTGROUPS_AREA_TYPES_DELETE_DESC" />
|
||||
<action name="area_type.access" title="COM_SUPPORTGROUPS_AREA_TYPES_ACCESS" description="COM_SUPPORTGROUPS_AREA_TYPES_ACCESS_DESC" />
|
||||
<action name="area_type.edit.name" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_NAME" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_NAME_DESC" />
|
||||
<action name="area_type.edit.alias" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_ALIAS" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_ALIAS_DESC" />
|
||||
<action name="area_type.version" title="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_VERSION" description="COM_SUPPORTGROUPS_AREA_TYPES_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="region">
|
||||
<action name="region.edit" title="COM_SUPPORTGROUPS_REGIONS_EDIT" description="COM_SUPPORTGROUPS_REGIONS_EDIT_DESC" />
|
||||
@ -215,6 +357,7 @@
|
||||
<action name="region.access" title="COM_SUPPORTGROUPS_REGIONS_ACCESS" description="COM_SUPPORTGROUPS_REGIONS_ACCESS_DESC" />
|
||||
<action name="region.edit.name" title="COM_SUPPORTGROUPS_REGIONS_EDIT_NAME" description="COM_SUPPORTGROUPS_REGIONS_EDIT_NAME_DESC" />
|
||||
<action name="region.edit.country" title="COM_SUPPORTGROUPS_REGIONS_EDIT_COUNTRY" description="COM_SUPPORTGROUPS_REGIONS_EDIT_COUNTRY_DESC" />
|
||||
<action name="region.edit.alias" title="COM_SUPPORTGROUPS_REGIONS_EDIT_ALIAS" description="COM_SUPPORTGROUPS_REGIONS_EDIT_ALIAS_DESC" />
|
||||
<action name="region.version" title="COM_SUPPORTGROUPS_REGIONS_EDIT_VERSION" description="COM_SUPPORTGROUPS_REGIONS_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="country">
|
||||
|
27
admin/assets/css/additional_info.css
Normal file
@ -0,0 +1,27 @@
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 16 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 9th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage additional_info.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
27
admin/assets/css/additional_information.css
Normal file
@ -0,0 +1,27 @@
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 16 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 9th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage additional_information.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage admin.css
|
||||
|
@ -9,11 +9,11 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 32 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 4th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage clinics.css
|
||||
@subpackage area.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
@ -9,11 +9,11 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @first version of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 2nd April, 2016
|
||||
@package Support Groups
|
||||
@subpackage locations.css
|
||||
@subpackage area_type.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
27
admin/assets/css/area_types.css
Normal file
@ -0,0 +1,27 @@
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @first version of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 2nd April, 2016
|
||||
@package Support Groups
|
||||
@subpackage area_types.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
@ -9,11 +9,11 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 32 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 4th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage location.css
|
||||
@subpackage areas.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
@ -9,9 +9,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 4 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 5th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage countries.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -9,9 +9,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 4 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 5th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage country.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -9,9 +9,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 19 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 8th July, 2015
|
||||
@package Support Groups
|
||||
@subpackage currencies.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -9,9 +9,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 19 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 8th July, 2015
|
||||
@package Support Groups
|
||||
@subpackage currency.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage dashboard.css
|
||||
|
27
admin/assets/css/facilities.css
Normal file
@ -0,0 +1,27 @@
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 13 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 6th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage facilities.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
32
admin/assets/css/facility.css
Normal file
@ -0,0 +1,32 @@
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 13 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 6th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage facility.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
||||
#map
|
||||
{
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
}
|
27
admin/assets/css/facility_type.css
Normal file
@ -0,0 +1,27 @@
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 2 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 1st April, 2016
|
||||
@package Support Groups
|
||||
@subpackage facility_type.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
27
admin/assets/css/facility_types.css
Normal file
@ -0,0 +1,27 @@
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 2 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 1st April, 2016
|
||||
@package Support Groups
|
||||
@subpackage facility_types.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
@ -9,9 +9,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 20 of this MVC
|
||||
@build 13th April, 2018
|
||||
@created 13th July, 2015
|
||||
@package Support Groups
|
||||
@subpackage help_document.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -9,9 +9,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 20 of this MVC
|
||||
@build 13th April, 2018
|
||||
@created 13th July, 2015
|
||||
@package Support Groups
|
||||
@subpackage help_documents.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
27
admin/assets/css/info_type.css
Normal file
@ -0,0 +1,27 @@
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 3 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 2nd April, 2016
|
||||
@package Support Groups
|
||||
@subpackage info_type.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
27
admin/assets/css/info_types.css
Normal file
@ -0,0 +1,27 @@
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 3 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 2nd April, 2016
|
||||
@package Support Groups
|
||||
@subpackage info_types.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
@ -9,9 +9,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 5 of this MVC
|
||||
@build 27th April, 2016
|
||||
@created 6th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage payment.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -9,9 +9,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 5 of this MVC
|
||||
@build 27th April, 2016
|
||||
@created 6th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage payments.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -9,9 +9,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 11 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 15th May, 2016
|
||||
@package Support Groups
|
||||
@subpackage region.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -9,9 +9,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 11 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 15th May, 2016
|
||||
@package Support Groups
|
||||
@subpackage regions.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -9,9 +9,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 36 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 4th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage support_group.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -24,4 +24,9 @@
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
||||
|
||||
#map
|
||||
{
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
}
|
||||
|
@ -9,9 +9,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 36 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 4th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage support_groups.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
Before Width: | Height: | Size: 43 KiB |
BIN
admin/assets/images/icons/additional_info_add.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
admin/assets/images/icons/additional_information.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
admin/assets/images/icons/area_add.png
Normal file
After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 16 KiB |
BIN
admin/assets/images/icons/facilities.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
admin/assets/images/icons/facility_add.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
admin/assets/images/icons/region_add.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
admin/assets/images/vdm-component.jpg
Normal file
After Width: | Height: | Size: 41 KiB |
@ -0,0 +1,25 @@
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage admin.js
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* JS Document */
|
186
admin/config.xml
@ -1,6 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<config>
|
||||
<fieldset
|
||||
addrulepath="/administrator/components/com_supportgroups/models/rules"
|
||||
addfieldpath="/administrator/components/com_supportgroups/models/fields"
|
||||
name="global_config"
|
||||
label="COM_SUPPORTGROUPS_CONFIG_GLOBAL_LABEL"
|
||||
description="COM_SUPPORTGROUPS_CONFIG_GLOBAL_DESC">
|
||||
@ -44,6 +46,60 @@
|
||||
default="10"
|
||||
/>
|
||||
<field type="spacer" name="spacerHistory" hr="true" />
|
||||
|
||||
<!-- Set_browser_storage Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="set_browser_storage"
|
||||
label="COM_SUPPORTGROUPS_CONFIG_SET_BROWSER_STORAGE_LABEL"
|
||||
description="COM_SUPPORTGROUPS_CONFIG_SET_BROWSER_STORAGE_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_SUPPORTGROUPS_CONFIG_ACTIVE</option>
|
||||
<option value="0">
|
||||
COM_SUPPORTGROUPS_CONFIG_INACTIVE</option>
|
||||
</field>
|
||||
<!-- Storage_time_to_live Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="storage_time_to_live"
|
||||
label="COM_SUPPORTGROUPS_CONFIG_STORAGE_TIME_TO_LIVE_LABEL"
|
||||
description="COM_SUPPORTGROUPS_CONFIG_STORAGE_TIME_TO_LIVE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="global"
|
||||
showon="set_browser_storage:1">
|
||||
<!-- Option Set. -->
|
||||
<option value="global">
|
||||
COM_SUPPORTGROUPS_CONFIG_EVERY_SESSION</option>
|
||||
<option value="30">
|
||||
COM_SUPPORTGROUPS_CONFIG_EVERY_THIRTY_SECONDS</option>
|
||||
<option value="60">
|
||||
COM_SUPPORTGROUPS_CONFIG_EVERY_MINUTE</option>
|
||||
<option value="300">
|
||||
COM_SUPPORTGROUPS_CONFIG_EVERY_FIVE_MINUTES</option>
|
||||
<option value="900">
|
||||
COM_SUPPORTGROUPS_CONFIG_EVERY_FIFTEEN_MINUTES</option>
|
||||
<option value="1800">
|
||||
COM_SUPPORTGROUPS_CONFIG_EVERY_THIRTY_MINUTES</option>
|
||||
<option value="3600">
|
||||
COM_SUPPORTGROUPS_CONFIG_EVERY_HOUR</option>
|
||||
<option value="18000">
|
||||
COM_SUPPORTGROUPS_CONFIG_EVERY_FIVE_HOURS</option>
|
||||
<option value="36000">
|
||||
COM_SUPPORTGROUPS_CONFIG_EVERY_TEN_HOURS</option>
|
||||
<option value="86400">
|
||||
COM_SUPPORTGROUPS_CONFIG_EVERY_DAY</option>
|
||||
<option value="604800">
|
||||
COM_SUPPORTGROUPS_CONFIG_EVERY_WEEK</option>
|
||||
<option value="0">
|
||||
COM_SUPPORTGROUPS_CONFIG_NEVER_UPDATE</option>
|
||||
</field>
|
||||
<!-- Spacer_hr Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||
<field type="spacer" name="spacer_hr" hr="true" class="spacer_hr" />
|
||||
<field name="autorTitle"
|
||||
type="spacer"
|
||||
label="COM_SUPPORTGROUPS_CONFIG_AUTHOR"
|
||||
@ -62,7 +118,7 @@
|
||||
label="COM_SUPPORTGROUPS_CONFIG_AUTHOR_EMAIL_LABEL"
|
||||
description="COM_SUPPORTGROUPS_CONFIG_AUTHOR_EMAIL_DESC"
|
||||
size="60"
|
||||
default="llewellyn@vdm.io"
|
||||
default="joomla@vdm.io"
|
||||
readonly="true"
|
||||
class="readonly"
|
||||
/>
|
||||
@ -113,6 +169,134 @@
|
||||
<option value=".gradient">
|
||||
COM_SUPPORTGROUPS_CONFIG_GRADIANT_LOAD</option>"
|
||||
</field>
|
||||
</fieldset>
|
||||
<fieldset
|
||||
name="google_maps_custom_config"
|
||||
label="COM_SUPPORTGROUPS_CONFIG_GOOGLE_MAPS">
|
||||
|
||||
<!-- Note_google_api Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_google_api" label="COM_SUPPORTGROUPS_CONFIG_NOTE_GOOGLE_API_LABEL" description="COM_SUPPORTGROUPS_CONFIG_NOTE_GOOGLE_API_DESCRIPTION" heading="h2" class="note_google_api" />
|
||||
<!-- Api_key Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="api_key"
|
||||
label="COM_SUPPORTGROUPS_CONFIG_API_KEY_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
description="COM_SUPPORTGROUPS_CONFIG_API_KEY_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="STRING"
|
||||
message="COM_SUPPORTGROUPS_CONFIG_API_KEY_MESSAGE"
|
||||
hint="COM_SUPPORTGROUPS_CONFIG_API_KEY_HINT"
|
||||
/>
|
||||
<!-- Maptype Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="maptype"
|
||||
label="COM_SUPPORTGROUPS_CONFIG_MAPTYPE_LABEL"
|
||||
description="COM_SUPPORTGROUPS_CONFIG_MAPTYPE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="WORD"
|
||||
required="true"
|
||||
default="roadmap">
|
||||
<!-- Option Set. -->
|
||||
<option value="roadmap">
|
||||
COM_SUPPORTGROUPS_CONFIG_ROAD</option>
|
||||
<option value="satellite">
|
||||
COM_SUPPORTGROUPS_CONFIG_SATELLITE</option>
|
||||
<option value="hybrid">
|
||||
COM_SUPPORTGROUPS_CONFIG_HYBRID</option>
|
||||
<option value="terrain">
|
||||
COM_SUPPORTGROUPS_CONFIG_TERRAIN</option>
|
||||
</field>
|
||||
<!-- Maxzoom Field. Type: Integer. (joomla) -->
|
||||
<field
|
||||
type="integer"
|
||||
name="maxzoom"
|
||||
label="COM_SUPPORTGROUPS_CONFIG_MAXZOOM_LABEL"
|
||||
default="6"
|
||||
description="COM_SUPPORTGROUPS_CONFIG_MAXZOOM_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
first="1"
|
||||
last="20"
|
||||
step="1"
|
||||
/>
|
||||
<!-- Gotozoom Field. Type: Integer. (joomla) -->
|
||||
<field
|
||||
type="integer"
|
||||
name="gotozoom"
|
||||
label="COM_SUPPORTGROUPS_CONFIG_GOTOZOOM_LABEL"
|
||||
default="8"
|
||||
description="COM_SUPPORTGROUPS_CONFIG_GOTOZOOM_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
first="1"
|
||||
last="20"
|
||||
step="1"
|
||||
/>
|
||||
<!-- Cluster Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="cluster"
|
||||
label="COM_SUPPORTGROUPS_CONFIG_CLUSTER_LABEL"
|
||||
description="COM_SUPPORTGROUPS_CONFIG_CLUSTER_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_SUPPORTGROUPS_CONFIG_YES</option>
|
||||
<option value="0">
|
||||
COM_SUPPORTGROUPS_CONFIG_NO</option>
|
||||
</field>
|
||||
<!-- Cluster_at Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="cluster_at"
|
||||
label="COM_SUPPORTGROUPS_CONFIG_CLUSTER_AT_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
default="300"
|
||||
description="COM_SUPPORTGROUPS_CONFIG_CLUSTER_AT_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="INT"
|
||||
message="COM_SUPPORTGROUPS_CONFIG_CLUSTER_AT_MESSAGE"
|
||||
hint="COM_SUPPORTGROUPS_CONFIG_CLUSTER_AT_HINT"
|
||||
showon="cluster:1"
|
||||
onchange="if(!jQuery(this).val().match(/^\d+$/)){jQuery(this).val('')};"
|
||||
/>
|
||||
<!-- Clustergridsize Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="clustergridsize"
|
||||
label="COM_SUPPORTGROUPS_CONFIG_CLUSTERGRIDSIZE_LABEL"
|
||||
size="10"
|
||||
maxlength="50"
|
||||
default="100"
|
||||
description="COM_SUPPORTGROUPS_CONFIG_CLUSTERGRIDSIZE_DESCRIPTION"
|
||||
class="text_area"
|
||||
filter="INT"
|
||||
message="COM_SUPPORTGROUPS_CONFIG_CLUSTERGRIDSIZE_MESSAGE"
|
||||
hint="COM_SUPPORTGROUPS_CONFIG_CLUSTERGRIDSIZE_HINT"
|
||||
showon="cluster:1"
|
||||
onchange="if(!jQuery(this).val().match(/^\d+$/)){jQuery(this).val('')};"
|
||||
/>
|
||||
<!-- Clustermaxzoom Field. Type: Integer. (joomla) -->
|
||||
<field
|
||||
type="integer"
|
||||
name="clustermaxzoom"
|
||||
label="COM_SUPPORTGROUPS_CONFIG_CLUSTERMAXZOOM_LABEL"
|
||||
default="7"
|
||||
description="COM_SUPPORTGROUPS_CONFIG_CLUSTERMAXZOOM_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
first="1"
|
||||
last="20"
|
||||
step="1"
|
||||
showon="cluster:1"
|
||||
/>
|
||||
</fieldset>
|
||||
<fieldset
|
||||
name="permissions"
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage controller.php
|
||||
@ -34,80 +34,105 @@ jimport('joomla.application.component.controller');
|
||||
*/
|
||||
class SupportgroupsController extends JControllerLegacy
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $config An optional associative array of configuration settings.
|
||||
* Recognized key values include 'name', 'default_task', 'model_path', and
|
||||
* 'view_path' (this list is not meant to be comprehensive).
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
// set the default view
|
||||
$config['default_view'] = 'supportgroups';
|
||||
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* display task
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function display($cachable = false, $urlparams = false)
|
||||
function display($cachable = false, $urlparams = false)
|
||||
{
|
||||
// set default view if not set
|
||||
$view = $this->input->getCmd('view', 'Supportgroups');
|
||||
$view = $this->input->getCmd('view', 'supportgroups');
|
||||
$data = $this->getViewRelation($view);
|
||||
$layout = $this->input->get('layout', null, 'WORD');
|
||||
$id = $this->input->getInt('id');
|
||||
|
||||
// Check for edit form.
|
||||
if(SupportgroupsHelper::checkArray($data))
|
||||
{
|
||||
if ($data['edit'] && $layout == 'edit' && !$this->checkEditId('com_supportgroups.edit.'.$data['view'], $id))
|
||||
{
|
||||
// Somehow the person just went to the form - we don't allow that.
|
||||
$this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id));
|
||||
$this->setMessage($this->getError(), 'error');
|
||||
// check if item was opend from other then its own list view
|
||||
$ref = $this->input->getCmd('ref', 0);
|
||||
$refid = $this->input->getInt('refid', 0);
|
||||
// set redirect
|
||||
if ($refid > 0 && SupportgroupsHelper::checkString($ref))
|
||||
{
|
||||
// redirect to item of ref
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false));
|
||||
}
|
||||
elseif (SupportgroupsHelper::checkString($ref))
|
||||
{
|
||||
if(SupportgroupsHelper::checkArray($data))
|
||||
{
|
||||
if ($data['edit'] && $layout == 'edit' && !$this->checkEditId('com_supportgroups.edit.'.$data['view'], $id))
|
||||
{
|
||||
// Somehow the person just went to the form - we don't allow that.
|
||||
$this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id));
|
||||
$this->setMessage($this->getError(), 'error');
|
||||
// check if item was opend from other then its own list view
|
||||
$ref = $this->input->getCmd('ref', 0);
|
||||
$refid = $this->input->getInt('refid', 0);
|
||||
// set redirect
|
||||
if ($refid > 0 && SupportgroupsHelper::checkString($ref))
|
||||
{
|
||||
// redirect to item of ref
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false));
|
||||
}
|
||||
elseif (SupportgroupsHelper::checkString($ref))
|
||||
{
|
||||
|
||||
// redirect to ref
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view='.(string)$ref, false));
|
||||
}
|
||||
else
|
||||
{
|
||||
// normal redirect back to the list view
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view='.$data['views'], false));
|
||||
}
|
||||
// redirect to ref
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view='.(string)$ref, false));
|
||||
}
|
||||
else
|
||||
{
|
||||
// normal redirect back to the list view
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view='.$data['views'], false));
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return parent::display($cachable, $urlparams);
|
||||
}
|
||||
|
||||
protected function getViewRelation($view)
|
||||
{
|
||||
if (SupportgroupsHelper::checkString($view))
|
||||
{
|
||||
$views = array(
|
||||
// check the we have a value
|
||||
if (SupportgroupsHelper::checkString($view))
|
||||
{
|
||||
// the view relationships
|
||||
$views = array(
|
||||
'support_group' => 'support_groups',
|
||||
'payment' => 'payments',
|
||||
'clinic' => 'clinics',
|
||||
'location' => 'locations',
|
||||
'facility' => 'facilities',
|
||||
'facility_type' => 'facility_types',
|
||||
'additional_info' => 'additional_information',
|
||||
'info_type' => 'info_types',
|
||||
'area' => 'areas',
|
||||
'area_type' => 'area_types',
|
||||
'region' => 'regions',
|
||||
'country' => 'countries',
|
||||
'currency' => 'currencies',
|
||||
'help_document' => 'help_documents'
|
||||
);
|
||||
// check if this is a list view
|
||||
if (in_array($view,$views))
|
||||
{
|
||||
return array('edit' => false, 'view' => array_search($view,$views), 'views' => $view);
|
||||
}
|
||||
// check if it is an edit view
|
||||
elseif (array_key_exists($view,$views))
|
||||
{
|
||||
return array('edit' => true, 'view' => $view, 'views' => $views[$view]);
|
||||
}
|
||||
}
|
||||
);
|
||||
// check if this is a list view
|
||||
if (in_array($view, $views))
|
||||
{
|
||||
// this is a list view
|
||||
return array('edit' => false, 'view' => array_search($view,$views), 'views' => $view);
|
||||
}
|
||||
// check if it is an edit view
|
||||
elseif (array_key_exists($view, $views))
|
||||
{
|
||||
// this is a edit view
|
||||
return array('edit' => true, 'view' => $view, 'views' => $views[$view]);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
326
admin/controllers/additional_info.php
Normal file
@ -0,0 +1,326 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 16 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 9th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage additional_info.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// import Joomla controllerform library
|
||||
jimport('joomla.application.component.controllerform');
|
||||
|
||||
/**
|
||||
* Additional_info Controller
|
||||
*/
|
||||
class SupportgroupsControllerAdditional_info extends JControllerForm
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Additional_information'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Access check.
|
||||
$access = JFactory::getUser()->authorise('additional_info.access', 'com_supportgroups');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return JFactory::getUser()->authorise('additional_info.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('additional_info.access', 'com_supportgroups.additional_info.' . (int) $recordId) && $user->authorise('additional_info.access', 'com_supportgroups'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('additional_info.edit', 'com_supportgroups.additional_info.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('additional_info.edit.own', 'com_supportgroups.additional_info.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('additional_info.edit.own', 'com_supportgroups'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('additional_info.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
$tmpl = $this->input->get('tmpl');
|
||||
$layout = $this->input->get('layout', 'edit', 'string');
|
||||
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Setup redirect info.
|
||||
|
||||
$append = '';
|
||||
|
||||
if ($refid)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
$append .= '&tmpl=' . $tmpl;
|
||||
}
|
||||
|
||||
if ($layout)
|
||||
{
|
||||
$append .= '&layout=' . $layout;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
$append .= '&' . $urlVar . '=' . $recordId;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Additional_info', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=additional_information' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referal details
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if ($cancel)
|
||||
{
|
||||
if ($this->refid)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Redirect to the items screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referal details
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
if ($this->refid && $saved)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref && $saved)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
111
admin/controllers/additional_information.php
Normal file
@ -0,0 +1,111 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 16 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 9th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage additional_information.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// import Joomla controlleradmin library
|
||||
jimport('joomla.application.component.controlleradmin');
|
||||
|
||||
/**
|
||||
* Additional_information Controller
|
||||
*/
|
||||
class SupportgroupsControllerAdditional_information extends JControllerAdmin
|
||||
{
|
||||
protected $text_prefix = 'COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION';
|
||||
/**
|
||||
* Proxy for getModel.
|
||||
* @since 2.5
|
||||
*/
|
||||
public function getModel($name = 'Additional_info', $prefix = 'SupportgroupsModel', $config = array())
|
||||
{
|
||||
$model = parent::getModel($name, $prefix, array('ignore_request' => true));
|
||||
|
||||
return $model;
|
||||
}
|
||||
|
||||
public function exportData()
|
||||
{
|
||||
// Check for request forgeries
|
||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||
// check if export is allowed for this user.
|
||||
$user = JFactory::getUser();
|
||||
if ($user->authorise('additional_info.export', 'com_supportgroups') && $user->authorise('core.export', 'com_supportgroups'))
|
||||
{
|
||||
// Get the input
|
||||
$input = JFactory::getApplication()->input;
|
||||
$pks = $input->post->get('cid', array(), 'array');
|
||||
// Sanitize the input
|
||||
JArrayHelper::toInteger($pks);
|
||||
// Get the model
|
||||
$model = $this->getModel('Additional_information');
|
||||
// get the data to export
|
||||
$data = $model->getExportData($pks);
|
||||
if (SupportgroupsHelper::checkArray($data))
|
||||
{
|
||||
// now set the data to the spreadsheet
|
||||
$date = JFactory::getDate();
|
||||
SupportgroupsHelper::xls($data,'Additional_information_'.$date->format('jS_F_Y'),'Additional information exported ('.$date->format('jS F, Y').')','additional information');
|
||||
}
|
||||
}
|
||||
// Redirect to the list screen with error.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_EXPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=additional_information', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
public function importData()
|
||||
{
|
||||
// Check for request forgeries
|
||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||
// check if import is allowed for this user.
|
||||
$user = JFactory::getUser();
|
||||
if ($user->authorise('additional_info.import', 'com_supportgroups') && $user->authorise('core.import', 'com_supportgroups'))
|
||||
{
|
||||
// Get the import model
|
||||
$model = $this->getModel('Additional_information');
|
||||
// get the headers to import
|
||||
$headers = $model->getExImPortHeaders();
|
||||
if (SupportgroupsHelper::checkObject($headers))
|
||||
{
|
||||
// Load headers to session.
|
||||
$session = JFactory::getSession();
|
||||
$headers = json_encode($headers);
|
||||
$session->set('additional_info_VDM_IMPORTHEADERS', $headers);
|
||||
$session->set('backto_VDM_IMPORT', 'additional_information');
|
||||
$session->set('dataType_VDM_IMPORTINTO', 'additional_info');
|
||||
// Redirect to import view.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_SELECT_FILE_FOR_ADDITIONAL_INFORMATION');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=import', false), $message);
|
||||
return;
|
||||
}
|
||||
}
|
||||
// Redirect to the list screen with error.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=additional_information', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
151
admin/controllers/ajax.json.php
Normal file
@ -0,0 +1,151 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage ajax.json.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// import Joomla controllerform library
|
||||
jimport('joomla.application.component.controller');
|
||||
|
||||
/**
|
||||
* Supportgroups Ajax Controller
|
||||
*/
|
||||
class SupportgroupsControllerAjax extends JControllerLegacy
|
||||
{
|
||||
public function __construct($config)
|
||||
{
|
||||
parent::__construct($config);
|
||||
// make sure all json stuff are set
|
||||
JFactory::getDocument()->setMimeEncoding( 'application/json' );
|
||||
JResponse::setHeader('Content-Disposition','attachment;filename="getajax.json"');
|
||||
JResponse::setHeader("Access-Control-Allow-Origin", "*");
|
||||
// load the tasks
|
||||
$this->registerTask('isNew', 'ajax');
|
||||
$this->registerTask('isRead', 'ajax');
|
||||
}
|
||||
|
||||
public function ajax()
|
||||
{
|
||||
$user = JFactory::getUser();
|
||||
$jinput = JFactory::getApplication()->input;
|
||||
// Check Token!
|
||||
$token = JSession::getFormToken();
|
||||
$call_token = $jinput->get('token', 0, 'ALNUM');
|
||||
if($token == $call_token)
|
||||
{
|
||||
$task = $this->getTask();
|
||||
switch($task)
|
||||
{
|
||||
case 'isNew':
|
||||
try
|
||||
{
|
||||
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
|
||||
$noticeValue = $jinput->get('notice', NULL, 'STRING');
|
||||
if($noticeValue && $user->id != 0)
|
||||
{
|
||||
$result = $this->getModel('ajax')->isNew($noticeValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = false;
|
||||
}
|
||||
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||
{
|
||||
echo $callback . "(".json_encode($result).");";
|
||||
}
|
||||
elseif($returnRaw)
|
||||
{
|
||||
echo json_encode($result);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "(".json_encode($result).");";
|
||||
}
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||
{
|
||||
echo $callback."(".json_encode($e).");";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "(".json_encode($e).");";
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'isRead':
|
||||
try
|
||||
{
|
||||
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
|
||||
$noticeValue = $jinput->get('notice', NULL, 'STRING');
|
||||
if($noticeValue && $user->id != 0)
|
||||
{
|
||||
$result = $this->getModel('ajax')->isRead($noticeValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = false;
|
||||
}
|
||||
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||
{
|
||||
echo $callback . "(".json_encode($result).");";
|
||||
}
|
||||
elseif($returnRaw)
|
||||
{
|
||||
echo json_encode($result);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "(".json_encode($result).");";
|
||||
}
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||
{
|
||||
echo $callback."(".json_encode($e).");";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "(".json_encode($e).");";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||
{
|
||||
echo $callback."(".json_encode(false).");";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "(".json_encode(false).");";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -10,11 +10,11 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 32 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 4th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage clinic.php
|
||||
@subpackage area.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
@ -30,9 +30,9 @@ defined('_JEXEC') or die('Restricted access');
|
||||
jimport('joomla.application.component.controllerform');
|
||||
|
||||
/**
|
||||
* Clinic Controller
|
||||
* Area Controller
|
||||
*/
|
||||
class SupportgroupsControllerClinic extends JControllerForm
|
||||
class SupportgroupsControllerArea extends JControllerForm
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
@ -45,7 +45,7 @@ class SupportgroupsControllerClinic extends JControllerForm
|
||||
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Clinics'; // safeguard for setting the return view listing to the main view.
|
||||
$this->view_list = 'Areas'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
@ -61,13 +61,13 @@ class SupportgroupsControllerClinic extends JControllerForm
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Access check.
|
||||
$access = JFactory::getUser()->authorise('clinic.access', 'com_supportgroups');
|
||||
$access = JFactory::getUser()->authorise('area.access', 'com_supportgroups');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return JFactory::getUser()->authorise('clinic.create', $this->option);
|
||||
return JFactory::getUser()->authorise('area.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -89,7 +89,7 @@ class SupportgroupsControllerClinic extends JControllerForm
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('clinic.access', 'com_supportgroups.clinic.' . (int) $recordId) && $user->authorise('clinic.access', 'com_supportgroups'));
|
||||
$access = ($user->authorise('area.access', 'com_supportgroups.area.' . (int) $recordId) && $user->authorise('area.access', 'com_supportgroups'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
@ -98,10 +98,10 @@ class SupportgroupsControllerClinic extends JControllerForm
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('clinic.edit', 'com_supportgroups.clinic.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
$permission = $user->authorise('area.edit', 'com_supportgroups.area.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('clinic.edit.own', 'com_supportgroups.clinic.' . $recordId))
|
||||
if ($user->authorise('area.edit.own', 'com_supportgroups.area.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
@ -120,7 +120,7 @@ class SupportgroupsControllerClinic extends JControllerForm
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('clinic.edit.own', 'com_supportgroups'))
|
||||
if ($user->authorise('area.edit.own', 'com_supportgroups'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -130,7 +130,7 @@ class SupportgroupsControllerClinic extends JControllerForm
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('clinic.edit', $this->option);
|
||||
return $user->authorise('area.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -159,10 +159,10 @@ class SupportgroupsControllerClinic extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -196,10 +196,10 @@ class SupportgroupsControllerClinic extends JControllerForm
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Clinic', '', array());
|
||||
$model = $this->getModel('Area', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=clinics' . $this->getRedirectToListAppend(), false));
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=areas' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
@ -274,11 +274,11 @@ class SupportgroupsControllerClinic extends JControllerForm
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
326
admin/controllers/area_type.php
Normal file
@ -0,0 +1,326 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @first version of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 2nd April, 2016
|
||||
@package Support Groups
|
||||
@subpackage area_type.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// import Joomla controllerform library
|
||||
jimport('joomla.application.component.controllerform');
|
||||
|
||||
/**
|
||||
* Area_type Controller
|
||||
*/
|
||||
class SupportgroupsControllerArea_type extends JControllerForm
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Area_types'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Access check.
|
||||
$access = JFactory::getUser()->authorise('area_type.access', 'com_supportgroups');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return JFactory::getUser()->authorise('area_type.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('area_type.access', 'com_supportgroups.area_type.' . (int) $recordId) && $user->authorise('area_type.access', 'com_supportgroups'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('area_type.edit', 'com_supportgroups.area_type.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('area_type.edit.own', 'com_supportgroups.area_type.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('area_type.edit.own', 'com_supportgroups'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('area_type.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
$tmpl = $this->input->get('tmpl');
|
||||
$layout = $this->input->get('layout', 'edit', 'string');
|
||||
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Setup redirect info.
|
||||
|
||||
$append = '';
|
||||
|
||||
if ($refid)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
$append .= '&tmpl=' . $tmpl;
|
||||
}
|
||||
|
||||
if ($layout)
|
||||
{
|
||||
$append .= '&layout=' . $layout;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
$append .= '&' . $urlVar . '=' . $recordId;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Area_type', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=area_types' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referal details
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if ($cancel)
|
||||
{
|
||||
if ($this->refid)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Redirect to the items screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referal details
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
if ($this->refid && $saved)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref && $saved)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
111
admin/controllers/area_types.php
Normal file
@ -0,0 +1,111 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @first version of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 2nd April, 2016
|
||||
@package Support Groups
|
||||
@subpackage area_types.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// import Joomla controlleradmin library
|
||||
jimport('joomla.application.component.controlleradmin');
|
||||
|
||||
/**
|
||||
* Area_types Controller
|
||||
*/
|
||||
class SupportgroupsControllerArea_types extends JControllerAdmin
|
||||
{
|
||||
protected $text_prefix = 'COM_SUPPORTGROUPS_AREA_TYPES';
|
||||
/**
|
||||
* Proxy for getModel.
|
||||
* @since 2.5
|
||||
*/
|
||||
public function getModel($name = 'Area_type', $prefix = 'SupportgroupsModel', $config = array())
|
||||
{
|
||||
$model = parent::getModel($name, $prefix, array('ignore_request' => true));
|
||||
|
||||
return $model;
|
||||
}
|
||||
|
||||
public function exportData()
|
||||
{
|
||||
// Check for request forgeries
|
||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||
// check if export is allowed for this user.
|
||||
$user = JFactory::getUser();
|
||||
if ($user->authorise('area_type.export', 'com_supportgroups') && $user->authorise('core.export', 'com_supportgroups'))
|
||||
{
|
||||
// Get the input
|
||||
$input = JFactory::getApplication()->input;
|
||||
$pks = $input->post->get('cid', array(), 'array');
|
||||
// Sanitize the input
|
||||
JArrayHelper::toInteger($pks);
|
||||
// Get the model
|
||||
$model = $this->getModel('Area_types');
|
||||
// get the data to export
|
||||
$data = $model->getExportData($pks);
|
||||
if (SupportgroupsHelper::checkArray($data))
|
||||
{
|
||||
// now set the data to the spreadsheet
|
||||
$date = JFactory::getDate();
|
||||
SupportgroupsHelper::xls($data,'Area_types_'.$date->format('jS_F_Y'),'Area types exported ('.$date->format('jS F, Y').')','area types');
|
||||
}
|
||||
}
|
||||
// Redirect to the list screen with error.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_EXPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=area_types', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
public function importData()
|
||||
{
|
||||
// Check for request forgeries
|
||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||
// check if import is allowed for this user.
|
||||
$user = JFactory::getUser();
|
||||
if ($user->authorise('area_type.import', 'com_supportgroups') && $user->authorise('core.import', 'com_supportgroups'))
|
||||
{
|
||||
// Get the import model
|
||||
$model = $this->getModel('Area_types');
|
||||
// get the headers to import
|
||||
$headers = $model->getExImPortHeaders();
|
||||
if (SupportgroupsHelper::checkObject($headers))
|
||||
{
|
||||
// Load headers to session.
|
||||
$session = JFactory::getSession();
|
||||
$headers = json_encode($headers);
|
||||
$session->set('area_type_VDM_IMPORTHEADERS', $headers);
|
||||
$session->set('backto_VDM_IMPORT', 'area_types');
|
||||
$session->set('dataType_VDM_IMPORTINTO', 'area_type');
|
||||
// Redirect to import view.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_SELECT_FILE_FOR_AREA_TYPES');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=import', false), $message);
|
||||
return;
|
||||
}
|
||||
}
|
||||
// Redirect to the list screen with error.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=area_types', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
@ -10,11 +10,11 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 32 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 4th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage clinics.php
|
||||
@subpackage areas.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
@ -30,16 +30,16 @@ defined('_JEXEC') or die('Restricted access');
|
||||
jimport('joomla.application.component.controlleradmin');
|
||||
|
||||
/**
|
||||
* Clinics Controller
|
||||
* Areas Controller
|
||||
*/
|
||||
class SupportgroupsControllerClinics extends JControllerAdmin
|
||||
class SupportgroupsControllerAreas extends JControllerAdmin
|
||||
{
|
||||
protected $text_prefix = 'COM_SUPPORTGROUPS_CLINICS';
|
||||
protected $text_prefix = 'COM_SUPPORTGROUPS_AREAS';
|
||||
/**
|
||||
* Proxy for getModel.
|
||||
* @since 2.5
|
||||
*/
|
||||
public function getModel($name = 'Clinic', $prefix = 'SupportgroupsModel', $config = array())
|
||||
public function getModel($name = 'Area', $prefix = 'SupportgroupsModel', $config = array())
|
||||
{
|
||||
$model = parent::getModel($name, $prefix, array('ignore_request' => true));
|
||||
|
||||
@ -52,7 +52,7 @@ class SupportgroupsControllerClinics extends JControllerAdmin
|
||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||
// check if export is allowed for this user.
|
||||
$user = JFactory::getUser();
|
||||
if ($user->authorise('clinic.export', 'com_supportgroups') && $user->authorise('core.export', 'com_supportgroups'))
|
||||
if ($user->authorise('area.export', 'com_supportgroups') && $user->authorise('core.export', 'com_supportgroups'))
|
||||
{
|
||||
// Get the input
|
||||
$input = JFactory::getApplication()->input;
|
||||
@ -60,19 +60,19 @@ class SupportgroupsControllerClinics extends JControllerAdmin
|
||||
// Sanitize the input
|
||||
JArrayHelper::toInteger($pks);
|
||||
// Get the model
|
||||
$model = $this->getModel('Clinics');
|
||||
$model = $this->getModel('Areas');
|
||||
// get the data to export
|
||||
$data = $model->getExportData($pks);
|
||||
if (SupportgroupsHelper::checkArray($data))
|
||||
{
|
||||
// now set the data to the spreadsheet
|
||||
$date = JFactory::getDate();
|
||||
SupportgroupsHelper::xls($data,'Clinics_'.$date->format('jS_F_Y'),'Clinics exported ('.$date->format('jS F, Y').')','clinics');
|
||||
SupportgroupsHelper::xls($data,'Areas_'.$date->format('jS_F_Y'),'Areas exported ('.$date->format('jS F, Y').')','areas');
|
||||
}
|
||||
}
|
||||
// Redirect to the list screen with error.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_EXPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=clinics', false), $message, 'error');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=areas', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
|
||||
@ -83,10 +83,10 @@ class SupportgroupsControllerClinics extends JControllerAdmin
|
||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||
// check if import is allowed for this user.
|
||||
$user = JFactory::getUser();
|
||||
if ($user->authorise('clinic.import', 'com_supportgroups') && $user->authorise('core.import', 'com_supportgroups'))
|
||||
if ($user->authorise('area.import', 'com_supportgroups') && $user->authorise('core.import', 'com_supportgroups'))
|
||||
{
|
||||
// Get the import model
|
||||
$model = $this->getModel('Clinics');
|
||||
$model = $this->getModel('Areas');
|
||||
// get the headers to import
|
||||
$headers = $model->getExImPortHeaders();
|
||||
if (SupportgroupsHelper::checkObject($headers))
|
||||
@ -94,18 +94,18 @@ class SupportgroupsControllerClinics extends JControllerAdmin
|
||||
// Load headers to session.
|
||||
$session = JFactory::getSession();
|
||||
$headers = json_encode($headers);
|
||||
$session->set('clinic_VDM_IMPORTHEADERS', $headers);
|
||||
$session->set('backto_VDM_IMPORT', 'clinics');
|
||||
$session->set('dataType_VDM_IMPORTINTO', 'clinic');
|
||||
$session->set('area_VDM_IMPORTHEADERS', $headers);
|
||||
$session->set('backto_VDM_IMPORT', 'areas');
|
||||
$session->set('dataType_VDM_IMPORTINTO', 'area');
|
||||
// Redirect to import view.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_SELECT_FILE_FOR_CLINICS');
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_SELECT_FILE_FOR_AREAS');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=import', false), $message);
|
||||
return;
|
||||
}
|
||||
}
|
||||
// Redirect to the list screen with error.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=clinics', false), $message, 'error');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=areas', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
@ -10,9 +10,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 4 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 5th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage countries.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -107,5 +107,5 @@ class SupportgroupsControllerCountries extends JControllerAdmin
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=countries', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,9 +10,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 4 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 5th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage country.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -99,7 +99,7 @@ class SupportgroupsControllerCountry extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('country.edit', 'com_supportgroups.country.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('country.edit.own', 'com_supportgroups.country.' . $recordId))
|
||||
{
|
||||
@ -159,10 +159,10 @@ class SupportgroupsControllerCountry extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -274,11 +274,11 @@ class SupportgroupsControllerCountry extends JControllerForm
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
|
@ -10,9 +10,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 19 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 8th July, 2015
|
||||
@package Support Groups
|
||||
@subpackage currencies.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -107,5 +107,5 @@ class SupportgroupsControllerCurrencies extends JControllerAdmin
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=currencies', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,9 +10,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 19 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 8th July, 2015
|
||||
@package Support Groups
|
||||
@subpackage currency.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -99,7 +99,7 @@ class SupportgroupsControllerCurrency extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('currency.edit', 'com_supportgroups.currency.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('currency.edit.own', 'com_supportgroups.currency.' . $recordId))
|
||||
{
|
||||
@ -159,10 +159,10 @@ class SupportgroupsControllerCurrency extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -274,11 +274,11 @@ class SupportgroupsControllerCurrency extends JControllerForm
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
|
@ -10,11 +10,11 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 13 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 6th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage locations.php
|
||||
@subpackage facilities.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
@ -30,16 +30,16 @@ defined('_JEXEC') or die('Restricted access');
|
||||
jimport('joomla.application.component.controlleradmin');
|
||||
|
||||
/**
|
||||
* Locations Controller
|
||||
* Facilities Controller
|
||||
*/
|
||||
class SupportgroupsControllerLocations extends JControllerAdmin
|
||||
class SupportgroupsControllerFacilities extends JControllerAdmin
|
||||
{
|
||||
protected $text_prefix = 'COM_SUPPORTGROUPS_LOCATIONS';
|
||||
protected $text_prefix = 'COM_SUPPORTGROUPS_FACILITIES';
|
||||
/**
|
||||
* Proxy for getModel.
|
||||
* @since 2.5
|
||||
*/
|
||||
public function getModel($name = 'Location', $prefix = 'SupportgroupsModel', $config = array())
|
||||
public function getModel($name = 'Facility', $prefix = 'SupportgroupsModel', $config = array())
|
||||
{
|
||||
$model = parent::getModel($name, $prefix, array('ignore_request' => true));
|
||||
|
||||
@ -52,7 +52,7 @@ class SupportgroupsControllerLocations extends JControllerAdmin
|
||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||
// check if export is allowed for this user.
|
||||
$user = JFactory::getUser();
|
||||
if ($user->authorise('location.export', 'com_supportgroups') && $user->authorise('core.export', 'com_supportgroups'))
|
||||
if ($user->authorise('facility.export', 'com_supportgroups') && $user->authorise('core.export', 'com_supportgroups'))
|
||||
{
|
||||
// Get the input
|
||||
$input = JFactory::getApplication()->input;
|
||||
@ -60,19 +60,19 @@ class SupportgroupsControllerLocations extends JControllerAdmin
|
||||
// Sanitize the input
|
||||
JArrayHelper::toInteger($pks);
|
||||
// Get the model
|
||||
$model = $this->getModel('Locations');
|
||||
$model = $this->getModel('Facilities');
|
||||
// get the data to export
|
||||
$data = $model->getExportData($pks);
|
||||
if (SupportgroupsHelper::checkArray($data))
|
||||
{
|
||||
// now set the data to the spreadsheet
|
||||
$date = JFactory::getDate();
|
||||
SupportgroupsHelper::xls($data,'Locations_'.$date->format('jS_F_Y'),'Locations exported ('.$date->format('jS F, Y').')','locations');
|
||||
SupportgroupsHelper::xls($data,'Facilities_'.$date->format('jS_F_Y'),'Facilities exported ('.$date->format('jS F, Y').')','facilities');
|
||||
}
|
||||
}
|
||||
// Redirect to the list screen with error.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_EXPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=locations', false), $message, 'error');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=facilities', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
|
||||
@ -83,10 +83,10 @@ class SupportgroupsControllerLocations extends JControllerAdmin
|
||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||
// check if import is allowed for this user.
|
||||
$user = JFactory::getUser();
|
||||
if ($user->authorise('location.import', 'com_supportgroups') && $user->authorise('core.import', 'com_supportgroups'))
|
||||
if ($user->authorise('facility.import', 'com_supportgroups') && $user->authorise('core.import', 'com_supportgroups'))
|
||||
{
|
||||
// Get the import model
|
||||
$model = $this->getModel('Locations');
|
||||
$model = $this->getModel('Facilities');
|
||||
// get the headers to import
|
||||
$headers = $model->getExImPortHeaders();
|
||||
if (SupportgroupsHelper::checkObject($headers))
|
||||
@ -94,18 +94,18 @@ class SupportgroupsControllerLocations extends JControllerAdmin
|
||||
// Load headers to session.
|
||||
$session = JFactory::getSession();
|
||||
$headers = json_encode($headers);
|
||||
$session->set('location_VDM_IMPORTHEADERS', $headers);
|
||||
$session->set('backto_VDM_IMPORT', 'locations');
|
||||
$session->set('dataType_VDM_IMPORTINTO', 'location');
|
||||
$session->set('facility_VDM_IMPORTHEADERS', $headers);
|
||||
$session->set('backto_VDM_IMPORT', 'facilities');
|
||||
$session->set('dataType_VDM_IMPORTINTO', 'facility');
|
||||
// Redirect to import view.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_SELECT_FILE_FOR_LOCATIONS');
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_SELECT_FILE_FOR_FACILITIES');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=import', false), $message);
|
||||
return;
|
||||
}
|
||||
}
|
||||
// Redirect to the list screen with error.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=locations', false), $message, 'error');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=facilities', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
@ -10,11 +10,11 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 13 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 6th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage location.php
|
||||
@subpackage facility.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
@ -30,9 +30,9 @@ defined('_JEXEC') or die('Restricted access');
|
||||
jimport('joomla.application.component.controllerform');
|
||||
|
||||
/**
|
||||
* Location Controller
|
||||
* Facility Controller
|
||||
*/
|
||||
class SupportgroupsControllerLocation extends JControllerForm
|
||||
class SupportgroupsControllerFacility extends JControllerForm
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
@ -45,7 +45,7 @@ class SupportgroupsControllerLocation extends JControllerForm
|
||||
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Locations'; // safeguard for setting the return view listing to the main view.
|
||||
$this->view_list = 'Facilities'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
@ -61,13 +61,13 @@ class SupportgroupsControllerLocation extends JControllerForm
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Access check.
|
||||
$access = JFactory::getUser()->authorise('location.access', 'com_supportgroups');
|
||||
$access = JFactory::getUser()->authorise('facility.access', 'com_supportgroups');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return JFactory::getUser()->authorise('location.create', $this->option);
|
||||
return JFactory::getUser()->authorise('facility.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -89,7 +89,7 @@ class SupportgroupsControllerLocation extends JControllerForm
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('location.access', 'com_supportgroups.location.' . (int) $recordId) && $user->authorise('location.access', 'com_supportgroups'));
|
||||
$access = ($user->authorise('facility.access', 'com_supportgroups.facility.' . (int) $recordId) && $user->authorise('facility.access', 'com_supportgroups'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
@ -98,10 +98,10 @@ class SupportgroupsControllerLocation extends JControllerForm
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('location.edit', 'com_supportgroups.location.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
$permission = $user->authorise('facility.edit', 'com_supportgroups.facility.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('location.edit.own', 'com_supportgroups.location.' . $recordId))
|
||||
if ($user->authorise('facility.edit.own', 'com_supportgroups.facility.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
@ -120,7 +120,7 @@ class SupportgroupsControllerLocation extends JControllerForm
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('location.edit.own', 'com_supportgroups'))
|
||||
if ($user->authorise('facility.edit.own', 'com_supportgroups'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -130,7 +130,7 @@ class SupportgroupsControllerLocation extends JControllerForm
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('location.edit', $this->option);
|
||||
return $user->authorise('facility.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -159,10 +159,10 @@ class SupportgroupsControllerLocation extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -196,10 +196,10 @@ class SupportgroupsControllerLocation extends JControllerForm
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Location', '', array());
|
||||
$model = $this->getModel('Facility', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=locations' . $this->getRedirectToListAppend(), false));
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=facilities' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
@ -274,11 +274,11 @@ class SupportgroupsControllerLocation extends JControllerForm
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
326
admin/controllers/facility_type.php
Normal file
@ -0,0 +1,326 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 2 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 1st April, 2016
|
||||
@package Support Groups
|
||||
@subpackage facility_type.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// import Joomla controllerform library
|
||||
jimport('joomla.application.component.controllerform');
|
||||
|
||||
/**
|
||||
* Facility_type Controller
|
||||
*/
|
||||
class SupportgroupsControllerFacility_type extends JControllerForm
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Facility_types'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Access check.
|
||||
$access = JFactory::getUser()->authorise('facility_type.access', 'com_supportgroups');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return JFactory::getUser()->authorise('facility_type.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('facility_type.access', 'com_supportgroups.facility_type.' . (int) $recordId) && $user->authorise('facility_type.access', 'com_supportgroups'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('facility_type.edit', 'com_supportgroups.facility_type.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('facility_type.edit.own', 'com_supportgroups.facility_type.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('facility_type.edit.own', 'com_supportgroups'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('facility_type.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
$tmpl = $this->input->get('tmpl');
|
||||
$layout = $this->input->get('layout', 'edit', 'string');
|
||||
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Setup redirect info.
|
||||
|
||||
$append = '';
|
||||
|
||||
if ($refid)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
$append .= '&tmpl=' . $tmpl;
|
||||
}
|
||||
|
||||
if ($layout)
|
||||
{
|
||||
$append .= '&layout=' . $layout;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
$append .= '&' . $urlVar . '=' . $recordId;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Facility_type', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=facility_types' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referal details
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if ($cancel)
|
||||
{
|
||||
if ($this->refid)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Redirect to the items screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referal details
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
if ($this->refid && $saved)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref && $saved)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
111
admin/controllers/facility_types.php
Normal file
@ -0,0 +1,111 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 2 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 1st April, 2016
|
||||
@package Support Groups
|
||||
@subpackage facility_types.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// import Joomla controlleradmin library
|
||||
jimport('joomla.application.component.controlleradmin');
|
||||
|
||||
/**
|
||||
* Facility_types Controller
|
||||
*/
|
||||
class SupportgroupsControllerFacility_types extends JControllerAdmin
|
||||
{
|
||||
protected $text_prefix = 'COM_SUPPORTGROUPS_FACILITY_TYPES';
|
||||
/**
|
||||
* Proxy for getModel.
|
||||
* @since 2.5
|
||||
*/
|
||||
public function getModel($name = 'Facility_type', $prefix = 'SupportgroupsModel', $config = array())
|
||||
{
|
||||
$model = parent::getModel($name, $prefix, array('ignore_request' => true));
|
||||
|
||||
return $model;
|
||||
}
|
||||
|
||||
public function exportData()
|
||||
{
|
||||
// Check for request forgeries
|
||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||
// check if export is allowed for this user.
|
||||
$user = JFactory::getUser();
|
||||
if ($user->authorise('facility_type.export', 'com_supportgroups') && $user->authorise('core.export', 'com_supportgroups'))
|
||||
{
|
||||
// Get the input
|
||||
$input = JFactory::getApplication()->input;
|
||||
$pks = $input->post->get('cid', array(), 'array');
|
||||
// Sanitize the input
|
||||
JArrayHelper::toInteger($pks);
|
||||
// Get the model
|
||||
$model = $this->getModel('Facility_types');
|
||||
// get the data to export
|
||||
$data = $model->getExportData($pks);
|
||||
if (SupportgroupsHelper::checkArray($data))
|
||||
{
|
||||
// now set the data to the spreadsheet
|
||||
$date = JFactory::getDate();
|
||||
SupportgroupsHelper::xls($data,'Facility_types_'.$date->format('jS_F_Y'),'Facility types exported ('.$date->format('jS F, Y').')','facility types');
|
||||
}
|
||||
}
|
||||
// Redirect to the list screen with error.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_EXPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=facility_types', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
public function importData()
|
||||
{
|
||||
// Check for request forgeries
|
||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||
// check if import is allowed for this user.
|
||||
$user = JFactory::getUser();
|
||||
if ($user->authorise('facility_type.import', 'com_supportgroups') && $user->authorise('core.import', 'com_supportgroups'))
|
||||
{
|
||||
// Get the import model
|
||||
$model = $this->getModel('Facility_types');
|
||||
// get the headers to import
|
||||
$headers = $model->getExImPortHeaders();
|
||||
if (SupportgroupsHelper::checkObject($headers))
|
||||
{
|
||||
// Load headers to session.
|
||||
$session = JFactory::getSession();
|
||||
$headers = json_encode($headers);
|
||||
$session->set('facility_type_VDM_IMPORTHEADERS', $headers);
|
||||
$session->set('backto_VDM_IMPORT', 'facility_types');
|
||||
$session->set('dataType_VDM_IMPORTINTO', 'facility_type');
|
||||
// Redirect to import view.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_SELECT_FILE_FOR_FACILITY_TYPES');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=import', false), $message);
|
||||
return;
|
||||
}
|
||||
}
|
||||
// Redirect to the list screen with error.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=facility_types', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage help.php
|
||||
@ -48,7 +48,8 @@ class SupportgroupsControllerHelp extends JControllerLegacy
|
||||
// Check Token!
|
||||
$token = JSession::getFormToken();
|
||||
$call_token = $jinput->get('token', 0, 'ALNUM');
|
||||
if($user->id != 0 && $token == $call_token){
|
||||
if($user->id != 0 && $token == $call_token)
|
||||
{
|
||||
$task = $this->getTask();
|
||||
switch($task){
|
||||
case 'getText':
|
||||
@ -64,25 +65,25 @@ class SupportgroupsControllerHelp extends JControllerLegacy
|
||||
$result = '';
|
||||
}
|
||||
echo $result;
|
||||
// stop execution gracefully
|
||||
jexit();
|
||||
// stop execution gracefully
|
||||
jexit();
|
||||
}
|
||||
catch(Exception $e)
|
||||
catch(Exception $e)
|
||||
{
|
||||
// stop execution gracefully
|
||||
// stop execution gracefully
|
||||
jexit();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// stop execution gracefully
|
||||
else
|
||||
{
|
||||
// stop execution gracefully
|
||||
jexit();
|
||||
}
|
||||
}
|
||||
|
||||
protected function getHelpDocumentText($id)
|
||||
protected function getHelpDocumentText($id)
|
||||
{
|
||||
$db = JFactory::getDbo();
|
||||
$query = $db->getQuery(true);
|
||||
|
@ -10,9 +10,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 20 of this MVC
|
||||
@build 13th April, 2018
|
||||
@created 13th July, 2015
|
||||
@package Support Groups
|
||||
@subpackage help_document.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -99,7 +99,7 @@ class SupportgroupsControllerHelp_document extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('help_document.edit', 'com_supportgroups.help_document.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('help_document.edit.own', 'com_supportgroups.help_document.' . $recordId))
|
||||
{
|
||||
@ -159,10 +159,10 @@ class SupportgroupsControllerHelp_document extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -274,11 +274,11 @@ class SupportgroupsControllerHelp_document extends JControllerForm
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
|
@ -10,9 +10,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 20 of this MVC
|
||||
@build 13th April, 2018
|
||||
@created 13th July, 2015
|
||||
@package Support Groups
|
||||
@subpackage help_documents.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -107,5 +107,5 @@ class SupportgroupsControllerHelp_documents extends JControllerAdmin
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=help_documents', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage import.php
|
||||
|
326
admin/controllers/info_type.php
Normal file
@ -0,0 +1,326 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 3 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 2nd April, 2016
|
||||
@package Support Groups
|
||||
@subpackage info_type.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// import Joomla controllerform library
|
||||
jimport('joomla.application.component.controllerform');
|
||||
|
||||
/**
|
||||
* Info_type Controller
|
||||
*/
|
||||
class SupportgroupsControllerInfo_type extends JControllerForm
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Info_types'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Access check.
|
||||
$access = JFactory::getUser()->authorise('info_type.access', 'com_supportgroups');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return JFactory::getUser()->authorise('info_type.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('info_type.access', 'com_supportgroups.info_type.' . (int) $recordId) && $user->authorise('info_type.access', 'com_supportgroups'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('info_type.edit', 'com_supportgroups.info_type.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('info_type.edit.own', 'com_supportgroups.info_type.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('info_type.edit.own', 'com_supportgroups'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('info_type.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
$tmpl = $this->input->get('tmpl');
|
||||
$layout = $this->input->get('layout', 'edit', 'string');
|
||||
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Setup redirect info.
|
||||
|
||||
$append = '';
|
||||
|
||||
if ($refid)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
$append .= '&tmpl=' . $tmpl;
|
||||
}
|
||||
|
||||
if ($layout)
|
||||
{
|
||||
$append .= '&layout=' . $layout;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
$append .= '&' . $urlVar . '=' . $recordId;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Info_type', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=info_types' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referal details
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if ($cancel)
|
||||
{
|
||||
if ($this->refid)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Redirect to the items screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referal details
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
if ($this->refid && $saved)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref && $saved)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
111
admin/controllers/info_types.php
Normal file
@ -0,0 +1,111 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 3 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 2nd April, 2016
|
||||
@package Support Groups
|
||||
@subpackage info_types.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// import Joomla controlleradmin library
|
||||
jimport('joomla.application.component.controlleradmin');
|
||||
|
||||
/**
|
||||
* Info_types Controller
|
||||
*/
|
||||
class SupportgroupsControllerInfo_types extends JControllerAdmin
|
||||
{
|
||||
protected $text_prefix = 'COM_SUPPORTGROUPS_INFO_TYPES';
|
||||
/**
|
||||
* Proxy for getModel.
|
||||
* @since 2.5
|
||||
*/
|
||||
public function getModel($name = 'Info_type', $prefix = 'SupportgroupsModel', $config = array())
|
||||
{
|
||||
$model = parent::getModel($name, $prefix, array('ignore_request' => true));
|
||||
|
||||
return $model;
|
||||
}
|
||||
|
||||
public function exportData()
|
||||
{
|
||||
// Check for request forgeries
|
||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||
// check if export is allowed for this user.
|
||||
$user = JFactory::getUser();
|
||||
if ($user->authorise('info_type.export', 'com_supportgroups') && $user->authorise('core.export', 'com_supportgroups'))
|
||||
{
|
||||
// Get the input
|
||||
$input = JFactory::getApplication()->input;
|
||||
$pks = $input->post->get('cid', array(), 'array');
|
||||
// Sanitize the input
|
||||
JArrayHelper::toInteger($pks);
|
||||
// Get the model
|
||||
$model = $this->getModel('Info_types');
|
||||
// get the data to export
|
||||
$data = $model->getExportData($pks);
|
||||
if (SupportgroupsHelper::checkArray($data))
|
||||
{
|
||||
// now set the data to the spreadsheet
|
||||
$date = JFactory::getDate();
|
||||
SupportgroupsHelper::xls($data,'Info_types_'.$date->format('jS_F_Y'),'Info types exported ('.$date->format('jS F, Y').')','info types');
|
||||
}
|
||||
}
|
||||
// Redirect to the list screen with error.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_EXPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=info_types', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
public function importData()
|
||||
{
|
||||
// Check for request forgeries
|
||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||
// check if import is allowed for this user.
|
||||
$user = JFactory::getUser();
|
||||
if ($user->authorise('info_type.import', 'com_supportgroups') && $user->authorise('core.import', 'com_supportgroups'))
|
||||
{
|
||||
// Get the import model
|
||||
$model = $this->getModel('Info_types');
|
||||
// get the headers to import
|
||||
$headers = $model->getExImPortHeaders();
|
||||
if (SupportgroupsHelper::checkObject($headers))
|
||||
{
|
||||
// Load headers to session.
|
||||
$session = JFactory::getSession();
|
||||
$headers = json_encode($headers);
|
||||
$session->set('info_type_VDM_IMPORTHEADERS', $headers);
|
||||
$session->set('backto_VDM_IMPORT', 'info_types');
|
||||
$session->set('dataType_VDM_IMPORTINTO', 'info_type');
|
||||
// Redirect to import view.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_SELECT_FILE_FOR_INFO_TYPES');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=import', false), $message);
|
||||
return;
|
||||
}
|
||||
}
|
||||
// Redirect to the list screen with error.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=info_types', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
@ -10,9 +10,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 5 of this MVC
|
||||
@build 27th April, 2016
|
||||
@created 6th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage payment.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -99,7 +99,7 @@ class SupportgroupsControllerPayment extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('payment.edit', 'com_supportgroups.payment.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('payment.edit.own', 'com_supportgroups.payment.' . $recordId))
|
||||
{
|
||||
@ -159,10 +159,10 @@ class SupportgroupsControllerPayment extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -274,11 +274,11 @@ class SupportgroupsControllerPayment extends JControllerForm
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
|
@ -10,9 +10,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 5 of this MVC
|
||||
@build 27th April, 2016
|
||||
@created 6th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage payments.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -107,5 +107,5 @@ class SupportgroupsControllerPayments extends JControllerAdmin
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=payments', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,9 +10,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 11 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 15th May, 2016
|
||||
@package Support Groups
|
||||
@subpackage region.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -99,7 +99,7 @@ class SupportgroupsControllerRegion extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('region.edit', 'com_supportgroups.region.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('region.edit.own', 'com_supportgroups.region.' . $recordId))
|
||||
{
|
||||
@ -159,10 +159,10 @@ class SupportgroupsControllerRegion extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -274,11 +274,11 @@ class SupportgroupsControllerRegion extends JControllerForm
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
|
@ -10,9 +10,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 11 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 15th May, 2016
|
||||
@package Support Groups
|
||||
@subpackage regions.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -107,5 +107,5 @@ class SupportgroupsControllerRegions extends JControllerAdmin
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=regions', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,9 +10,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 36 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 4th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage support_group.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -99,7 +99,7 @@ class SupportgroupsControllerSupport_group extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('support_group.edit', 'com_supportgroups.support_group.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('support_group.edit.own', 'com_supportgroups.support_group.' . $recordId))
|
||||
{
|
||||
@ -159,10 +159,10 @@ class SupportgroupsControllerSupport_group extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -274,11 +274,11 @@ class SupportgroupsControllerSupport_group extends JControllerForm
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
if ($this->ref || $this->refid)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
|
@ -10,9 +10,9 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@created 24th February, 2016
|
||||
@version @update number 36 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 4th March, 2016
|
||||
@package Support Groups
|
||||
@subpackage support_groups.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -107,5 +107,35 @@ class SupportgroupsControllerSupport_groups extends JControllerAdmin
|
||||
$message = JText::_('COM_SUPPORTGROUPS_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=support_groups', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
public function smartExport()
|
||||
{
|
||||
// Check for request forgeries
|
||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||
// check if export is allowed for this user.
|
||||
$user = JFactory::getUser();
|
||||
if ($user->authorise('support_group.smart_export', 'com_supportgroups') && $user->authorise('core.export', 'com_supportgroups'))
|
||||
{
|
||||
// Get the input
|
||||
$input = JFactory::getApplication()->input;
|
||||
$pks = $input->post->get('cid', array(), 'array');
|
||||
// Sanitize the input
|
||||
JArrayHelper::toInteger($pks);
|
||||
// Get the model
|
||||
$model = $this->getModel('Support_groups');
|
||||
// get the data to export
|
||||
$data = $model->getSmartExport($pks);
|
||||
if (SupportgroupsHelper::checkArray($data))
|
||||
{
|
||||
// now set the data to the spreadsheet
|
||||
$date = JFactory::getDate();
|
||||
SupportgroupsHelper::xls($data,'Support_groups_'.$date->format('jS_F_Y'),'Support groups exported ('.$date->format('jS F, Y').')','support groups');
|
||||
}
|
||||
}
|
||||
// Redirect to the list screen with error.
|
||||
$message = JText::_('COM_SUPPORTGROUPS_EXPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_supportgroups&view=support_groups', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage supportgroups.php
|
||||
|
49
admin/helpers/PHPExcel/Reader/ChunkReadFilter.php
Normal file
@ -0,0 +1,49 @@
|
||||
<?php
|
||||
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/** PHPExcel root directory */
|
||||
if (!defined('PHPEXCEL_ROOT')) {
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../');
|
||||
require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
|
||||
}
|
||||
|
||||
class PHPExcel_Reader_chunkReadFilter implements PHPExcel_Reader_IReadFilter
|
||||
{
|
||||
private $_startRow = 0;
|
||||
private $_endRow = 0;
|
||||
|
||||
/** Set the list of rows that we want to read */
|
||||
public function setRows($startRow, $chunkSize)
|
||||
{
|
||||
$this->_startRow = $startRow;
|
||||
$this->_endRow = $startRow + $chunkSize;
|
||||
}
|
||||
|
||||
public function readCell($column, $row, $worksheetName = '')
|
||||
{
|
||||
// Only read the heading row, and the rows that are configured in $this->_startRow and $this->_endRow
|
||||
if (($row == 1) || ($row >= $this->_startRow && $row < $this->_endRow)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
85
admin/helpers/headercheck.php
Normal file
@ -0,0 +1,85 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage headercheck.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
class supportgroupsHeaderCheck
|
||||
{
|
||||
function js_loaded($script_name)
|
||||
{
|
||||
// UIkit check point
|
||||
if (strpos($script_name,'uikit') !== false)
|
||||
{
|
||||
$app = JFactory::getApplication();
|
||||
$getTemplateName = $app->getTemplate('template')->template;
|
||||
|
||||
if (strpos($getTemplateName,'yoo') !== false)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
$document = JFactory::getDocument();
|
||||
$head_data = $document->getHeadData();
|
||||
foreach (array_keys($head_data['scripts']) as $script)
|
||||
{
|
||||
if (stristr($script, $script_name))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function css_loaded($script_name)
|
||||
{
|
||||
// UIkit check point
|
||||
if (strpos($script_name,'uikit') !== false)
|
||||
{
|
||||
$app = JFactory::getApplication();
|
||||
$getTemplateName = $app->getTemplate('template')->template;
|
||||
|
||||
if (strpos($getTemplateName,'yoo') !== false)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
$document = JFactory::getDocument();
|
||||
$head_data = $document->getHeadData();
|
||||
|
||||
foreach (array_keys($head_data['styleSheets']) as $script)
|
||||
{
|
||||
if (stristr($script, $script_name))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage batch_.php
|
||||
|
@ -1,8 +1,436 @@
|
||||
COM_SUPPORTGROUPS="Support Groups"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_ACCESS="Additional Information Access"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_ACCESS_DESC="Allows the users in this group to access access additional information"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_BATCH_USE="Additional Information Batch Use"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch additional information"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_CREATE="Additional Information Create"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_CREATE_DESC="Allows the users in this group to create create additional information"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_DASHBOARD_ADD="Additional Information Dashboard Add"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the additional info"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_DASHBOARD_LIST="Additional Information Dashboard List"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the additional info"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_DELETE="Additional Information Delete"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_DELETE_DESC="Allows the users in this group to delete delete additional information"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT="Additional Information Edit"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_ALIAS="Additional Information Edit Alias"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_ALIAS_DESC="Allows the users in this group to update the edit alias of the additional info"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_CREATED_BY="Additional Information Edit Created By"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by additional information"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_CREATED_DATE="Additional Information Edit Created Date"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created additional information"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_DESC="Allows the users in this group to edit the additional info"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_DETAILS="Additional Information Edit Details"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_DETAILS_DESC="Allows the users in this group to update the edit details of the additional info"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_INFO_TYPE="Additional Information Edit Info Type"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_INFO_TYPE_DESC="Allows the users in this group to update the edit info type of the additional info"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_NAME="Additional Information Edit Name"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_NAME_DESC="Allows the users in this group to update the edit name of the additional info"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_OWN="Additional Information Edit Own"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_OWN_DESC="Allows the users in this group to edit edit own additional information created by them"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_STATE="Additional Information Edit State"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_STATE_DESC="Allows the users in this group to update the state of the additional info"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_VERSION="Additional Information Edit Version"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EDIT_VERSION_DESC="Allows users in this group to edit versions of version additional information"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EXPORT="Additional Information Export"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_EXPORT_DESC="Allows the users in this group to export export additional information"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_IMPORT="Additional Information Import"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_IMPORT_DESC="Allows the users in this group to import import additional information"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_SUBMENU="Additional Information Submenu"
|
||||
COM_SUPPORTGROUPS_ADDITIONAL_INFORMATION_SUBMENU_DESC="Allows the users in this group to update the submenu of the additional info"
|
||||
COM_SUPPORTGROUPS_AREAS_ACCESS="Areas Access"
|
||||
COM_SUPPORTGROUPS_AREAS_ACCESS_DESC="Allows the users in this group to access access areas"
|
||||
COM_SUPPORTGROUPS_AREAS_BATCH_USE="Areas Batch Use"
|
||||
COM_SUPPORTGROUPS_AREAS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch areas"
|
||||
COM_SUPPORTGROUPS_AREAS_CREATE="Areas Create"
|
||||
COM_SUPPORTGROUPS_AREAS_CREATE_DESC="Allows the users in this group to create create areas"
|
||||
COM_SUPPORTGROUPS_AREAS_DASHBOARD_ADD="Areas Dashboard Add"
|
||||
COM_SUPPORTGROUPS_AREAS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the area"
|
||||
COM_SUPPORTGROUPS_AREAS_DASHBOARD_LIST="Areas Dashboard List"
|
||||
COM_SUPPORTGROUPS_AREAS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the area"
|
||||
COM_SUPPORTGROUPS_AREAS_DELETE="Areas Delete"
|
||||
COM_SUPPORTGROUPS_AREAS_DELETE_DESC="Allows the users in this group to delete delete areas"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT="Areas Edit"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_ALIAS="Areas Edit Alias"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_ALIAS_DESC="Allows the users in this group to update the edit alias of the area"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_AREA_TYPE="Areas Edit Area Type"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_AREA_TYPE_DESC="Allows the users in this group to update the edit area type of the area"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_COLOR="Areas Edit Color"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_COLOR_DESC="Allows the users in this group to update the edit color of the area"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_CREATED_BY="Areas Edit Created By"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by areas"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_CREATED_DATE="Areas Edit Created Date"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created areas"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_DESC="Allows the users in this group to edit the area"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_DETAILS="Areas Edit Details"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_DETAILS_DESC="Allows the users in this group to update the edit details of the area"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_NAME="Areas Edit Name"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_NAME_DESC="Allows the users in this group to update the edit name of the area"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_OWN="Areas Edit Own"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_OWN_DESC="Allows the users in this group to edit edit own areas created by them"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_REGION="Areas Edit Region"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_REGION_DESC="Allows the users in this group to update the edit region of the area"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_STATE="Areas Edit State"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_STATE_DESC="Allows the users in this group to update the state of the area"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_VERSION="Areas Edit Version"
|
||||
COM_SUPPORTGROUPS_AREAS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version areas"
|
||||
COM_SUPPORTGROUPS_AREAS_EXPORT="Areas Export"
|
||||
COM_SUPPORTGROUPS_AREAS_EXPORT_DESC="Allows the users in this group to export export areas"
|
||||
COM_SUPPORTGROUPS_AREAS_IMPORT="Areas Import"
|
||||
COM_SUPPORTGROUPS_AREAS_IMPORT_DESC="Allows the users in this group to import import areas"
|
||||
COM_SUPPORTGROUPS_AREAS_SUBMENU="Areas Submenu"
|
||||
COM_SUPPORTGROUPS_AREAS_SUBMENU_DESC="Allows the users in this group to update the submenu of the area"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_ACCESS="Area Types Access"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_ACCESS_DESC="Allows the users in this group to access access area types"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_BATCH_USE="Area Types Batch Use"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch area types"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_CREATE="Area Types Create"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_CREATE_DESC="Allows the users in this group to create create area types"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_DELETE="Area Types Delete"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_DELETE_DESC="Allows the users in this group to delete delete area types"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT="Area Types Edit"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_ALIAS="Area Types Edit Alias"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_ALIAS_DESC="Allows the users in this group to update the edit alias of the area type"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_CREATED_BY="Area Types Edit Created By"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by area types"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_CREATED_DATE="Area Types Edit Created Date"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created area types"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_DESC="Allows the users in this group to edit the area type"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_NAME="Area Types Edit Name"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_NAME_DESC="Allows the users in this group to update the edit name of the area type"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_OWN="Area Types Edit Own"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_OWN_DESC="Allows the users in this group to edit edit own area types created by them"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_STATE="Area Types Edit State"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_STATE_DESC="Allows the users in this group to update the state of the area type"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_VERSION="Area Types Edit Version"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version area types"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EXPORT="Area Types Export"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_EXPORT_DESC="Allows the users in this group to export export area types"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_IMPORT="Area Types Import"
|
||||
COM_SUPPORTGROUPS_AREA_TYPES_IMPORT_DESC="Allows the users in this group to import import area types"
|
||||
COM_SUPPORTGROUPS_CONFIGURATION="Support Groups Configuration"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_ACCESS="Countries Access"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_ACCESS_DESC="Allows the users in this group to access access countries"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_BATCH_USE="Countries Batch Use"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch countries"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_CREATE="Countries Create"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_CREATE_DESC="Allows the users in this group to create create countries"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_DASHBOARD_LIST="Countries Dashboard List"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the country"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_DELETE="Countries Delete"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_DELETE_DESC="Allows the users in this group to delete delete countries"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_EDIT="Countries Edit"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_EDIT_DESC="Allows the users in this group to edit the country"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_EDIT_OWN="Countries Edit Own"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_EDIT_OWN_DESC="Allows the users in this group to edit edit own countries created by them"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_EDIT_STATE="Countries Edit State"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_EDIT_STATE_DESC="Allows the users in this group to update the state of the country"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_EDIT_VERSION="Countries Edit Version"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version countries"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_EXPORT="Countries Export"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_EXPORT_DESC="Allows the users in this group to export export countries"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_IMPORT="Countries Import"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_IMPORT_DESC="Allows the users in this group to import import countries"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_SUBMENU="Countries Submenu"
|
||||
COM_SUPPORTGROUPS_COUNTRIES_SUBMENU_DESC="Allows the users in this group to update the submenu of the country"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_ACCESS="Currencies Access"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_ACCESS_DESC="Allows the users in this group to access access currencies"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_BATCH_USE="Currencies Batch Use"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch currencies"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_CREATE="Currencies Create"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_CREATE_DESC="Allows the users in this group to create create currencies"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_DASHBOARD_LIST="Currencies Dashboard List"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the currency"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_DELETE="Currencies Delete"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_DELETE_DESC="Allows the users in this group to delete delete currencies"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_EDIT="Currencies Edit"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_EDIT_DESC="Allows the users in this group to edit the currency"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_EDIT_OWN="Currencies Edit Own"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_EDIT_OWN_DESC="Allows the users in this group to edit edit own currencies created by them"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_EDIT_STATE="Currencies Edit State"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_EDIT_STATE_DESC="Allows the users in this group to update the state of the currency"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_EDIT_VERSION="Currencies Edit Version"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version currencies"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_EXPORT="Currencies Export"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_EXPORT_DESC="Allows the users in this group to export export currencies"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_IMPORT="Currencies Import"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_IMPORT_DESC="Allows the users in this group to import import currencies"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_SUBMENU="Currencies Submenu"
|
||||
COM_SUPPORTGROUPS_CURRENCIES_SUBMENU_DESC="Allows the users in this group to update the submenu of the 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_DATE="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_EXPORT_DATA="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"
|
||||
COM_SUPPORTGROUPS_FACILITIES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch facilities"
|
||||
COM_SUPPORTGROUPS_FACILITIES_CREATE="Facilities Create"
|
||||
COM_SUPPORTGROUPS_FACILITIES_CREATE_DESC="Allows the users in this group to create create facilities"
|
||||
COM_SUPPORTGROUPS_FACILITIES_DASHBOARD_ADD="Facilities Dashboard Add"
|
||||
COM_SUPPORTGROUPS_FACILITIES_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the facility"
|
||||
COM_SUPPORTGROUPS_FACILITIES_DASHBOARD_LIST="Facilities Dashboard List"
|
||||
COM_SUPPORTGROUPS_FACILITIES_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the facility"
|
||||
COM_SUPPORTGROUPS_FACILITIES_DELETE="Facilities Delete"
|
||||
COM_SUPPORTGROUPS_FACILITIES_DELETE_DESC="Allows the users in this group to delete delete facilities"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT="Facilities Edit"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_ALIAS="Facilities Edit Alias"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_ALIAS_DESC="Allows the users in this group to update the edit alias of the facility"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_CREATED_BY="Facilities Edit Created By"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by facilities"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_CREATED_DATE="Facilities Edit Created Date"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created facilities"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_DESC="Allows the users in this group to edit the facility"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_DETAILS="Facilities Edit Details"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_DETAILS_DESC="Allows the users in this group to update the edit details of the facility"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_FACILITY_TYPE="Facilities Edit Facility Type"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_FACILITY_TYPE_DESC="Allows the users in this group to update the edit facility type of the facility"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_NAME="Facilities Edit Name"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_NAME_DESC="Allows the users in this group to update the edit name of the facility"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_NOTE_SET_MARKER="Facilities Edit Note Set Marker"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_NOTE_SET_MARKER_DESC="Allows the users in this group to update the edit note set marker of the facility"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_OWN="Facilities Edit Own"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_OWN_DESC="Allows the users in this group to edit edit own facilities created by them"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_PHONE="Facilities Edit Phone"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_PHONE_DESC="Allows the users in this group to update the edit phone of the facility"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_STATE="Facilities Edit State"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_STATE_DESC="Allows the users in this group to update the state of the facility"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_VERSION="Facilities Edit Version"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version facilities"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EXPORT="Facilities Export"
|
||||
COM_SUPPORTGROUPS_FACILITIES_EXPORT_DESC="Allows the users in this group to export export facilities"
|
||||
COM_SUPPORTGROUPS_FACILITIES_IMPORT="Facilities Import"
|
||||
COM_SUPPORTGROUPS_FACILITIES_IMPORT_DESC="Allows the users in this group to import import facilities"
|
||||
COM_SUPPORTGROUPS_FACILITIES_SUBMENU="Facilities Submenu"
|
||||
COM_SUPPORTGROUPS_FACILITIES_SUBMENU_DESC="Allows the users in this group to update the submenu of the facility"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_ACCESS="Facility Types Access"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_ACCESS_DESC="Allows the users in this group to access access facility types"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_BATCH_USE="Facility Types Batch Use"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch facility types"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_CREATE="Facility Types Create"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_CREATE_DESC="Allows the users in this group to create create facility types"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_DELETE="Facility Types Delete"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_DELETE_DESC="Allows the users in this group to delete delete facility types"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT="Facility Types Edit"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_ALIAS="Facility Types Edit Alias"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_ALIAS_DESC="Allows the users in this group to update the edit alias of the facility type"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_CREATED_BY="Facility Types Edit Created By"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by facility types"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_CREATED_DATE="Facility Types Edit Created Date"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created facility types"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_DESC="Allows the users in this group to edit the facility type"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_NAME="Facility Types Edit Name"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_NAME_DESC="Allows the users in this group to update the edit name of the facility type"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_OWN="Facility Types Edit Own"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_OWN_DESC="Allows the users in this group to edit edit own facility types created by them"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_STATE="Facility Types Edit State"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_STATE_DESC="Allows the users in this group to update the state of the facility type"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_VERSION="Facility Types Edit Version"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version facility types"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EXPORT="Facility Types Export"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_EXPORT_DESC="Allows the users in this group to export export facility types"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_IMPORT="Facility Types Import"
|
||||
COM_SUPPORTGROUPS_FACILITY_TYPES_IMPORT_DESC="Allows the users in this group to import import facility types"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_ACCESS="Help Documents Access"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_ACCESS_DESC="Allows the users in this group to access access help documents"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_BATCH_USE="Help Documents Batch Use"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch help documents"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_CREATE="Help Documents Create"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_CREATE_DESC="Allows the users in this group to create create help documents"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_DASHBOARD_LIST="Help Documents Dashboard List"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the help document"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_DELETE="Help Documents Delete"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_DELETE_DESC="Allows the users in this group to delete delete help documents"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_EDIT="Help Documents Edit"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_EDIT_DESC="Allows the users in this group to edit the help document"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_EDIT_OWN="Help Documents Edit Own"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_EDIT_OWN_DESC="Allows the users in this group to edit edit own help documents created by them"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_EDIT_STATE="Help Documents Edit State"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the help document"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_EDIT_VERSION="Help Documents Edit Version"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version help documents"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_EXPORT="Help Documents Export"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_EXPORT_DESC="Allows the users in this group to export export help documents"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_IMPORT="Help Documents Import"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_IMPORT_DESC="Allows the users in this group to import import help documents"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_SUBMENU="Help Documents Submenu"
|
||||
COM_SUPPORTGROUPS_HELP_DOCUMENTS_SUBMENU_DESC="Allows the users in this group to update the submenu of the help document"
|
||||
COM_SUPPORTGROUPS_IMPORT_DATA="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"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch info types"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_CREATE="Info Types Create"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_CREATE_DESC="Allows the users in this group to create create info types"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_DELETE="Info Types Delete"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_DELETE_DESC="Allows the users in this group to delete delete info types"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT="Info Types Edit"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_ALIAS="Info Types Edit Alias"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_ALIAS_DESC="Allows the users in this group to update the edit alias of the info type"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_CREATED_BY="Info Types Edit Created By"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by info types"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_CREATED_DATE="Info Types Edit Created Date"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created info types"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_DESC="Allows the users in this group to edit the info type"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_NAME="Info Types Edit Name"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_NAME_DESC="Allows the users in this group to update the edit name of the info type"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_OWN="Info Types Edit Own"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_OWN_DESC="Allows the users in this group to edit edit own info types created by them"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_STATE="Info Types Edit State"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_STATE_DESC="Allows the users in this group to update the state of the info type"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_VERSION="Info Types Edit Version"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version info types"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EXPORT="Info Types Export"
|
||||
COM_SUPPORTGROUPS_INFO_TYPES_EXPORT_DESC="Allows the users in this group to export export info types"
|
||||
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_MENU="» Support Groups"
|
||||
COM_SUPPORTGROUPS_MENU_CLINICS="Clinics"
|
||||
COM_SUPPORTGROUPS_MENU_LOCATIONS="Locations"
|
||||
COM_SUPPORTGROUPS_MENU_AREAS="Areas"
|
||||
COM_SUPPORTGROUPS_MENU_FACILITIES="Facilities"
|
||||
COM_SUPPORTGROUPS_MENU_MAP_DESC="Map of support groups"
|
||||
COM_SUPPORTGROUPS_MENU_MAP_OPTION="Map"
|
||||
COM_SUPPORTGROUPS_MENU_MAP_TITLE="Map"
|
||||
COM_SUPPORTGROUPS_MENU_PAYMENTS="Payments"
|
||||
COM_SUPPORTGROUPS_MENU_REGIONS="Regions"
|
||||
COM_SUPPORTGROUPS_MENU_SUPPORTGROUPS_DESC="List all support groups"
|
||||
COM_SUPPORTGROUPS_MENU_SUPPORTGROUPS_OPTION="Support Groups"
|
||||
COM_SUPPORTGROUPS_MENU_SUPPORTGROUPS_TITLE="Support Groups"
|
||||
COM_SUPPORTGROUPS_MENU_SUPPORT_GROUPS="Support Groups"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_ACCESS="Payments Access"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_ACCESS_DESC="Allows the users in this group to access access payments"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_BATCH_USE="Payments Batch Use"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch payments"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_CREATE="Payments Create"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_CREATE_DESC="Allows the users in this group to create create payments"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_DASHBOARD_ADD="Payments Dashboard Add"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the payment"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_DASHBOARD_LIST="Payments Dashboard List"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the payment"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_DELETE="Payments Delete"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_DELETE_DESC="Allows the users in this group to delete delete payments"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT="Payments Edit"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_AMOUNT="Payments Edit Amount"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_AMOUNT_DESC="Allows the users in this group to update the edit amount of the payment"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_CREATED_BY="Payments Edit Created By"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by payments"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_CREATED_DATE="Payments Edit Created Date"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created payments"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_DESC="Allows the users in this group to edit the payment"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_OWN="Payments Edit Own"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_OWN_DESC="Allows the users in this group to edit edit own payments created by them"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_STATE="Payments Edit State"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the payment"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_SUPPORT_GROUP="Payments Edit Support Group"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_SUPPORT_GROUP_DESC="Allows the users in this group to update the edit support group of the payment"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_VERSION="Payments Edit Version"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version payments"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_YEAR="Payments Edit Year"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EDIT_YEAR_DESC="Allows the users in this group to update the edit year of the payment"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EXPORT="Payments Export"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_EXPORT_DESC="Allows the users in this group to export export payments"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_IMPORT="Payments Import"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_IMPORT_DESC="Allows the users in this group to import import payments"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_SUBMENU="Payments Submenu"
|
||||
COM_SUPPORTGROUPS_PAYMENTS_SUBMENU_DESC="Allows the users in this group to update the submenu of the payment"
|
||||
COM_SUPPORTGROUPS_REGIONS_ACCESS="Regions Access"
|
||||
COM_SUPPORTGROUPS_REGIONS_ACCESS_DESC="Allows the users in this group to access access regions"
|
||||
COM_SUPPORTGROUPS_REGIONS_BATCH_USE="Regions Batch Use"
|
||||
COM_SUPPORTGROUPS_REGIONS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch regions"
|
||||
COM_SUPPORTGROUPS_REGIONS_CREATE="Regions Create"
|
||||
COM_SUPPORTGROUPS_REGIONS_CREATE_DESC="Allows the users in this group to create create regions"
|
||||
COM_SUPPORTGROUPS_REGIONS_DASHBOARD_ADD="Regions Dashboard Add"
|
||||
COM_SUPPORTGROUPS_REGIONS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the region"
|
||||
COM_SUPPORTGROUPS_REGIONS_DASHBOARD_LIST="Regions Dashboard List"
|
||||
COM_SUPPORTGROUPS_REGIONS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the region"
|
||||
COM_SUPPORTGROUPS_REGIONS_DELETE="Regions Delete"
|
||||
COM_SUPPORTGROUPS_REGIONS_DELETE_DESC="Allows the users in this group to delete delete regions"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT="Regions Edit"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_ALIAS="Regions Edit Alias"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_ALIAS_DESC="Allows the users in this group to update the edit alias of the region"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_COUNTRY="Regions Edit Country"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_COUNTRY_DESC="Allows the users in this group to update the edit country of the region"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_CREATED_BY="Regions Edit Created By"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by regions"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_CREATED_DATE="Regions Edit Created Date"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created regions"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_DESC="Allows the users in this group to edit the region"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_NAME="Regions Edit Name"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_NAME_DESC="Allows the users in this group to update the edit name of the region"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_OWN="Regions Edit Own"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_OWN_DESC="Allows the users in this group to edit edit own regions created by them"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_STATE="Regions Edit State"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_STATE_DESC="Allows the users in this group to update the state of the region"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_VERSION="Regions Edit Version"
|
||||
COM_SUPPORTGROUPS_REGIONS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version regions"
|
||||
COM_SUPPORTGROUPS_REGIONS_EXPORT="Regions Export"
|
||||
COM_SUPPORTGROUPS_REGIONS_EXPORT_DESC="Allows the users in this group to export export regions"
|
||||
COM_SUPPORTGROUPS_REGIONS_IMPORT="Regions Import"
|
||||
COM_SUPPORTGROUPS_REGIONS_IMPORT_DESC="Allows the users in this group to import import regions"
|
||||
COM_SUPPORTGROUPS_REGIONS_SUBMENU="Regions Submenu"
|
||||
COM_SUPPORTGROUPS_REGIONS_SUBMENU_DESC="Allows the users in this group to update the submenu of the region"
|
||||
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_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"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_CREATE_DESC="Allows the users in this group to create create support groups"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_DASHBOARD_ADD="Support Groups Dashboard Add"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_DASHBOARD_LIST="Support Groups Dashboard List"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_DELETE="Support Groups Delete"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_DELETE_DESC="Allows the users in this group to delete delete support groups"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT="Support Groups Edit"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_ALIAS="Support Groups Edit Alias"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_ALIAS_DESC="Allows the users in this group to update the edit alias of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_AREA="Support Groups Edit Area"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_AREA_DESC="Allows the users in this group to update the edit area of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_CREATED_BY="Support Groups Edit Created By"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by support groups"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_CREATED_DATE="Support Groups Edit Created Date"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created support groups"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_DESC="Allows the users in this group to edit the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_DETAILS="Support Groups Edit Details"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_DETAILS_DESC="Allows the users in this group to update the edit details of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FACILITY="Support Groups Edit Facility"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FACILITY_DESC="Allows the users in this group to update the edit facility of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FEMALE="Support Groups Edit Female"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FEMALE_ART="Support Groups Edit Female Art"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FEMALE_ART_DESC="Allows the users in this group to update the edit female art of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_FEMALE_DESC="Allows the users in this group to update the edit female of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_INFO="Support Groups Edit Info"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_INFO_DESC="Allows the users in this group to update the edit info of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE="Support Groups Edit Male"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_ART="Support Groups Edit Male Art"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_ART_DESC="Allows the users in this group to update the edit male art of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_CHILDREN="Support Groups Edit Male Children"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_CHILDREN_DESC="Allows the users in this group to update the edit male children of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_MALE_DESC="Allows the users in this group to update the edit male of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_NAME="Support Groups Edit Name"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_NAME_DESC="Allows the users in this group to update the edit name of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_OWN="Support Groups Edit Own"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_OWN_DESC="Allows the users in this group to edit edit own support groups created by them"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_PHONE="Support Groups Edit Phone"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_PHONE_DESC="Allows the users in this group to update the edit phone of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_STATE="Support Groups Edit State"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_STATE_DESC="Allows the users in this group to update the state of the support group"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_VERSION="Support Groups Edit Version"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version support groups"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EXPORT="Support Groups Export"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_EXPORT_DESC="Allows the users in this group to export export support groups"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_IMPORT="Support Groups Import"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_IMPORT_DESC="Allows the users in this group to import import support groups"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_SUBMENU="Support Groups Submenu"
|
||||
COM_SUPPORTGROUPS_SUPPORT_GROUPS_SUBMENU_DESC="Allows the users in this group to update the submenu of the 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_USE_BATCH="Use Batch"
|
||||
COM_SUPPORTGROUPS_USE_BATCH_DESC=" Allows users in this group to use batch copy/update method."
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage metadata.php
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage publishing.php
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage settings_above.php
|
||||
@ -31,7 +31,7 @@ $form = $displayData->getForm();
|
||||
|
||||
$fields = array(
|
||||
'name',
|
||||
'region'
|
||||
'alias'
|
||||
);
|
||||
|
||||
?>
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage settings_fullwidth.php
|
||||
@ -30,8 +30,7 @@ defined('_JEXEC') or die('Restricted access');
|
||||
$form = $displayData->getForm();
|
||||
|
||||
$fields = $displayData->get('fields') ?: array(
|
||||
'note_set_area',
|
||||
'area'
|
||||
'details'
|
||||
);
|
||||
|
||||
?>
|
54
admin/layouts/additional_info/settings_left.php
Normal file
@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage settings_left.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
$form = $displayData->getForm();
|
||||
|
||||
$fields = $displayData->get('fields') ?: array(
|
||||
'info_type'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
foreach ($fields as $field)
|
||||
{
|
||||
$field = is_array($field) ? $field : array($field);
|
||||
foreach ($field as $f)
|
||||
{
|
||||
if ($form->getField($f))
|
||||
{
|
||||
if (in_array($f, $hiddenFields))
|
||||
{
|
||||
$form->setFieldAttribute($f, 'type', 'hidden');
|
||||
}
|
||||
|
||||
echo $form->renderField($f);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
146
admin/layouts/additional_info/support_groups_fullwidth.php
Normal file
@ -0,0 +1,146 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage support_groups_fullwidth.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->vvwsupport_groups;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_supportgroups&view=support_groups&task=support_group.edit";
|
||||
|
||||
?>
|
||||
<div class="form-vertical">
|
||||
<?php if (SupportgroupsHelper::checkArray($items)): ?>
|
||||
<table class="footable table data support_groups" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-type="html" data-sort-use="text">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_NAME_LABEL'); ?>
|
||||
</th>
|
||||
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_PHONE_LABEL'); ?>
|
||||
</th>
|
||||
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_AREA_LABEL'); ?>
|
||||
</th>
|
||||
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_FACILITY_LABEL'); ?>
|
||||
</th>
|
||||
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_MALE_LABEL'); ?>
|
||||
</th>
|
||||
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_FEMALE_LABEL'); ?>
|
||||
</th>
|
||||
<th width="10" data-breakpoints="xs sm md">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_STATUS'); ?>
|
||||
</th>
|
||||
<th width="5" data-type="number" data-breakpoints="xs sm md">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_ID'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($items as $i => $item): ?>
|
||||
<?php
|
||||
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0;
|
||||
$userChkOut = JFactory::getUser($item->checked_out);
|
||||
$canDo = SupportgroupsHelper::getActions('support_group',$item,'support_groups');
|
||||
?>
|
||||
<tr>
|
||||
<td class="nowrap">
|
||||
<?php if ($canDo->get('support_group.edit')): ?>
|
||||
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>&ref=additional_info&refid=<?php echo $id; ?>"><?php echo $displayData->escape($item->name); ?></a>
|
||||
<?php if ($item->checked_out): ?>
|
||||
<?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'support_groups.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<div class="name"><?php echo $displayData->escape($item->name); ?></div>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $displayData->escape($item->phone); ?>
|
||||
</td>
|
||||
<td class="nowrap">
|
||||
<?php if ($user->authorise('area.edit', 'com_supportgroups.area.' . (int)$item->area)): ?>
|
||||
<a href="index.php?option=com_supportgroups&view=areas&task=area.edit&id=<?php echo $item->area; ?>&ref=additional_info&refid=<?php echo $id; ?>"><?php echo $displayData->escape($item->area_name); ?></a>
|
||||
<?php else: ?>
|
||||
<div class="name"><?php echo $displayData->escape($item->area_name); ?></div>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="nowrap">
|
||||
<?php if ($user->authorise('facility.edit', 'com_supportgroups.facility.' . (int)$item->facility)): ?>
|
||||
<a href="index.php?option=com_supportgroups&view=facilities&task=facility.edit&id=<?php echo $item->facility; ?>&ref=additional_info&refid=<?php echo $id; ?>"><?php echo $displayData->escape($item->facility_name); ?></a>
|
||||
<?php else: ?>
|
||||
<div class="name"><?php echo $displayData->escape($item->facility_name); ?></div>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $displayData->escape($item->male); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $displayData->escape($item->female); ?>
|
||||
</td>
|
||||
<?php if ($item->published == 1):?>
|
||||
<td class="center" data-sort-value="1">
|
||||
<span class="status-metro status-published" title="<?php echo JText::_('COM_SUPPORTGROUPS_PUBLISHED'); ?>">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_PUBLISHED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == 0):?>
|
||||
<td class="center" data-sort-value="2">
|
||||
<span class="status-metro status-inactive" title="<?php echo JText::_('COM_SUPPORTGROUPS_INACTIVE'); ?>">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_INACTIVE'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == 2):?>
|
||||
<td class="center" data-sort-value="3">
|
||||
<span class="status-metro status-archived" title="<?php echo JText::_('COM_SUPPORTGROUPS_ARCHIVED'); ?>">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_ARCHIVED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == -2):?>
|
||||
<td class="center" data-sort-value="4">
|
||||
<span class="status-metro status-trashed" title="<?php echo JText::_('COM_SUPPORTGROUPS_TRASHED'); ?>">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_TRASHED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
<td class="nowrap center hidden-phone">
|
||||
<?php echo $item->id; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php else: ?>
|
||||
<div class="alert alert-no-items">
|
||||
<?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage metadata.php
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage publishing.php
|
43
admin/layouts/area/settings_above.php
Normal file
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage settings_above.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
$form = $displayData->getForm();
|
||||
|
||||
$fields = array(
|
||||
'name',
|
||||
'alias',
|
||||
'area_type'
|
||||
);
|
||||
|
||||
?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<?php foreach($fields as $field){
|
||||
echo $form->renderField($field);
|
||||
} ?>
|
||||
</div>
|
48
admin/layouts/area/settings_fullwidth.php
Normal file
@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage settings_fullwidth.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
$form = $displayData->getForm();
|
||||
|
||||
$fields = $displayData->get('fields') ?: array(
|
||||
'details'
|
||||
);
|
||||
|
||||
?>
|
||||
<div class="form-vertical">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<div class="control-group">
|
||||
<div class="control-label">
|
||||
<?php echo $form->getLabel($field); ?>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<?php echo $form->getInput($field); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage settings_left.php
|
||||
@ -30,7 +30,7 @@ defined('_JEXEC') or die('Restricted access');
|
||||
$form = $displayData->getForm();
|
||||
|
||||
$fields = $displayData->get('fields') ?: array(
|
||||
'name'
|
||||
'region'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage settings_right.php
|
||||
@ -30,7 +30,7 @@ defined('_JEXEC') or die('Restricted access');
|
||||
$form = $displayData->getForm();
|
||||
|
||||
$fields = $displayData->get('fields') ?: array(
|
||||
'country'
|
||||
'color'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage support_groups_fullwidth.php
|
||||
@ -28,13 +28,13 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->vvwsupport_groups;
|
||||
$items = $displayData->vvxsupport_groups;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_supportgroups&view=support_groups&task=support_group.edit";
|
||||
$ref = ($id) ? "&ref=location&refid=".$id : "";
|
||||
$new = "index.php?option=com_supportgroups&view=support_group&layout=edit".$ref;
|
||||
$can = SupportgroupsHelper::getActions('support_group');
|
||||
$edit = "index.php?option=com_supportgroups&view=support_groups&task=support_group.edit";
|
||||
$ref = ($id) ? "&ref=area&refid=".$id : "";
|
||||
$new = "index.php?option=com_supportgroups&view=support_group&layout=edit".$ref;
|
||||
$can = SupportgroupsHelper::getActions('support_group');
|
||||
|
||||
?>
|
||||
<div class="form-vertical">
|
||||
@ -42,31 +42,31 @@ $can = SupportgroupsHelper::getActions('support_group');
|
||||
<a class="btn btn-small btn-success" href="<?php echo $new; ?>"><span class="icon-new icon-white"></span> <?php echo JText::_('COM_SUPPORTGROUPS_NEW'); ?></a><br /><br />
|
||||
<?php endif; ?>
|
||||
<?php if (SupportgroupsHelper::checkArray($items)): ?>
|
||||
<table class="footable table data support_groups metro-blue" data-filter="#filter_support_groups" data-page-size="20">
|
||||
<table class="footable table data support_groups" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-toggle="true">
|
||||
<th data-type="html" data-sort-use="text">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_NAME_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone">
|
||||
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_PHONE_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_LOCATION_LABEL'); ?>
|
||||
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_AREA_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone,tablet">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_CLINIC_LABEL'); ?>
|
||||
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_FACILITY_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone,tablet">
|
||||
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_MALE_LABEL'); ?>
|
||||
</th>
|
||||
<th data-hide="phone,tablet">
|
||||
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_FEMALE_LABEL'); ?>
|
||||
</th>
|
||||
<th width="10" data-hide="phone,tablet">
|
||||
<th width="10" data-breakpoints="xs sm md">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_STATUS'); ?>
|
||||
</th>
|
||||
<th width="5" data-type="numeric" data-hide="phone,tablet">
|
||||
<th width="5" data-type="number" data-breakpoints="xs sm md">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_SUPPORT_GROUP_ID'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
@ -81,7 +81,7 @@ $can = SupportgroupsHelper::getActions('support_group');
|
||||
<tr>
|
||||
<td class="nowrap">
|
||||
<?php if ($canDo->get('support_group.edit')): ?>
|
||||
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>&ref=location&refid=<?php echo $id; ?>"><?php echo $displayData->escape($item->name); ?></a>
|
||||
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>&ref=area&refid=<?php echo $id; ?>"><?php echo $displayData->escape($item->name); ?></a>
|
||||
<?php if ($item->checked_out): ?>
|
||||
<?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'support_groups.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
@ -93,13 +93,13 @@ $can = SupportgroupsHelper::getActions('support_group');
|
||||
<?php echo $displayData->escape($item->phone); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $displayData->escape($item->location_name); ?>
|
||||
<?php echo $displayData->escape($item->area_name); ?>
|
||||
</td>
|
||||
<td class="nowrap">
|
||||
<?php if ($user->authorise('clinic.edit', 'com_supportgroups.clinic.' . (int)$item->clinic)): ?>
|
||||
<a href="index.php?option=com_supportgroups&view=clinics&task=clinic.edit&id=<?php echo $item->clinic; ?>&ref=location&refid=<?php echo $id; ?>"><?php echo $displayData->escape($item->clinic_name); ?></a>
|
||||
<?php if ($user->authorise('facility.edit', 'com_supportgroups.facility.' . (int)$item->facility)): ?>
|
||||
<a href="index.php?option=com_supportgroups&view=facilities&task=facility.edit&id=<?php echo $item->facility; ?>&ref=area&refid=<?php echo $id; ?>"><?php echo $displayData->escape($item->facility_name); ?></a>
|
||||
<?php else: ?>
|
||||
<div class="name"><?php echo $displayData->escape($item->clinic_name); ?></div>
|
||||
<div class="name"><?php echo $displayData->escape($item->facility_name); ?></div>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td>
|
||||
@ -109,27 +109,27 @@ $can = SupportgroupsHelper::getActions('support_group');
|
||||
<?php echo $displayData->escape($item->female); ?>
|
||||
</td>
|
||||
<?php if ($item->published == 1):?>
|
||||
<td class="center" data-value="1">
|
||||
<span class="status-metro status-published" title="<?php echo JText::_('PUBLISHED'); ?>">
|
||||
<?php echo JText::_('PUBLISHED'); ?>
|
||||
<td class="center" data-sort-value="1">
|
||||
<span class="status-metro status-published" title="<?php echo JText::_('COM_SUPPORTGROUPS_PUBLISHED'); ?>">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_PUBLISHED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == 0):?>
|
||||
<td class="center" data-value="2">
|
||||
<span class="status-metro status-inactive" title="<?php echo JText::_('INACTIVE'); ?>">
|
||||
<?php echo JText::_('INACTIVE'); ?>
|
||||
<td class="center" data-sort-value="2">
|
||||
<span class="status-metro status-inactive" title="<?php echo JText::_('COM_SUPPORTGROUPS_INACTIVE'); ?>">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_INACTIVE'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == 2):?>
|
||||
<td class="center" data-value="3">
|
||||
<span class="status-metro status-archived" title="<?php echo JText::_('ARCHIVED'); ?>">
|
||||
<?php echo JText::_('ARCHIVED'); ?>
|
||||
<td class="center" data-sort-value="3">
|
||||
<span class="status-metro status-archived" title="<?php echo JText::_('COM_SUPPORTGROUPS_ARCHIVED'); ?>">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_ARCHIVED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php elseif ($item->published == -2):?>
|
||||
<td class="center" data-value="4">
|
||||
<span class="status-metro status-trashed" title="<?php echo JText::_('ARCHIVED'); ?>">
|
||||
<?php echo JText::_('ARCHIVED'); ?>
|
||||
<td class="center" data-sort-value="4">
|
||||
<span class="status-metro status-trashed" title="<?php echo JText::_('COM_SUPPORTGROUPS_TRASHED'); ?>">
|
||||
<?php echo JText::_('COM_SUPPORTGROUPS_TRASHED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
@ -139,13 +139,6 @@ $can = SupportgroupsHelper::getActions('support_group');
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
<tfoot class="hide-if-no-paging">
|
||||
<tr>
|
||||
<td colspan="8">
|
||||
<div class="pagination pagination-centered"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<?php else: ?>
|
||||
<div class="alert alert-no-items">
|
54
admin/layouts/area_type/details_left.php
Normal file
@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage details_left.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
$form = $displayData->getForm();
|
||||
|
||||
$fields = $displayData->get('fields') ?: array(
|
||||
'name'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
foreach ($fields as $field)
|
||||
{
|
||||
$field = is_array($field) ? $field : array($field);
|
||||
foreach ($field as $f)
|
||||
{
|
||||
if ($form->getField($f))
|
||||
{
|
||||
if (in_array($f, $hiddenFields))
|
||||
{
|
||||
$form->setFieldAttribute($f, 'type', 'hidden');
|
||||
}
|
||||
|
||||
echo $form->renderField($f);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
54
admin/layouts/area_type/details_right.php
Normal file
@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage details_right.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
$form = $displayData->getForm();
|
||||
|
||||
$fields = $displayData->get('fields') ?: array(
|
||||
'alias'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
foreach ($fields as $field)
|
||||
{
|
||||
$field = is_array($field) ? $field : array($field);
|
||||
foreach ($field as $f)
|
||||
{
|
||||
if ($form->getField($f))
|
||||
{
|
||||
if (in_array($f, $hiddenFields))
|
||||
{
|
||||
$form->setFieldAttribute($f, 'type', 'hidden');
|
||||
}
|
||||
|
||||
echo $form->renderField($f);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
58
admin/layouts/area_type/publishing.php
Normal file
@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage publishing.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
$form = $displayData->getForm();
|
||||
|
||||
$fields = $displayData->get('fields') ?: array(
|
||||
'created',
|
||||
'created_by',
|
||||
'modified',
|
||||
'modified_by'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
foreach ($fields as $field)
|
||||
{
|
||||
$field = is_array($field) ? $field : array($field);
|
||||
foreach ($field as $f)
|
||||
{
|
||||
if ($form->getField($f))
|
||||
{
|
||||
if (in_array($f, $hiddenFields))
|
||||
{
|
||||
$form->setFieldAttribute($f, 'type', 'hidden');
|
||||
}
|
||||
|
||||
echo $form->renderField($f);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
60
admin/layouts/area_type/publlshing.php
Normal file
@ -0,0 +1,60 @@
|
||||
<?php
|
||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
||||
__ __ _ _____ _ _ __ __ _ _ _
|
||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
||||
| |
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage publlshing.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Support Groups
|
||||
|
||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
$form = $displayData->getForm();
|
||||
|
||||
$fields = $displayData->get('fields') ?: array(
|
||||
'published',
|
||||
'ordering',
|
||||
'access',
|
||||
'version',
|
||||
'hits',
|
||||
'id'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
foreach ($fields as $field)
|
||||
{
|
||||
$field = is_array($field) ? $field : array($field);
|
||||
foreach ($field as $f)
|
||||
{
|
||||
if ($form->getField($f))
|
||||
{
|
||||
if (in_array($f, $hiddenFields))
|
||||
{
|
||||
$form->setFieldAttribute($f, 'type', 'hidden');
|
||||
}
|
||||
|
||||
echo $form->renderField($f);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage batchselection.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage metadata.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 1.0.3
|
||||
@build 6th March, 2016
|
||||
@version 1.0.8
|
||||
@build 5th May, 2018
|
||||
@created 24th February, 2016
|
||||
@package Support Groups
|
||||
@subpackage publishing.php
|
||||
|