Update the componet with the improvements made to JCB
This commit is contained in:
parent
96e7964fa9
commit
5cf79ed1b2
26
README.md
26
README.md
@ -1,10 +1,10 @@
|
||||
# Cost Benefit Projection (3.4.2)
|
||||
# Cost Benefit Projection (3.4.3)
|
||||
|
||||
This is a [Joomla 3.x] (http://www.joomla.org/) component.
|
||||
This is a [Joomla 3.x](http://www.joomla.org/) component.
|
||||
|
||||
![Cost Benefit Projection image] (https://raw.githubusercontent.com/namibia/CBP-Joomla-3-Component/master/admin/assets/images/component-300.png "The Cost Benefit Projection")
|
||||
![Cost Benefit Projection image](https://raw.githubusercontent.com/namibia/CBP-Joomla-3-Component/master/admin/assets/images/vdm-component.png "The Cost Benefit Projection")
|
||||
|
||||
[Create Epidemiological Profiles] (https://www.staffhealthcbp.com/) for diseases and risks affecting your company. Detailed information on projected work days lost and costs. Create and edit activities and wellness responses for your workplace. Access to Small Business Modelling. Results displayed by gender. Network with other companies and wellness professionals.
|
||||
Create Epidemiological Profiles for diseases and risks affecting your company. Detailed information on projected work days lost and costs. Create and edit activities and wellness responses for your workplace. Access to Small Business Modeling. Results displayed by gender. Network with other companies and wellness professionals.
|
||||
|
||||
Having seen the health priorities for your workforce, the tool outputs projections for how the interventions – which you have designed - are expected to benefit the company financially.
|
||||
|
||||
@ -18,17 +18,17 @@ max_input_vars = 5000
|
||||
```
|
||||
# Build Details
|
||||
|
||||
+ *Company*: [Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb] (https://www.staffhealthcbp.com/)
|
||||
+ *Author*: [Llewellyn van der Merwe] (mailto:llewellyn@vdm.io)
|
||||
+ *Name*: [Cost Benefit Projection] (https://www.staffhealthcbp.com/)
|
||||
+ *Company*: [Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb](https://www.staffhealthcbp.com/)
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
+ *Name*: [Cost Benefit Projection](https://www.staffhealthcbp.com/)
|
||||
+ *First Build*: 15th June, 2012
|
||||
+ *Last Build*: 16th August, 2016
|
||||
+ *Version*: 3.4.2
|
||||
+ *Last Build*: 5th May, 2018
|
||||
+ *Version*: 3.4.3
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
+ *Line count*: **91716**
|
||||
+ *File count*: **572**
|
||||
+ *Line count*: **91257**
|
||||
+ *File count*: **584**
|
||||
+ *Folder count*: **103**
|
||||
|
||||
> 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)
|
||||
> 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)
|
34
admin/README.txt
Normal file
34
admin/README.txt
Normal file
@ -0,0 +1,34 @@
|
||||
# Cost Benefit Projection (3.4.3)
|
||||
|
||||
This is a [Joomla 3.x](http://www.joomla.org/) component.
|
||||
|
||||
![Cost Benefit Projection image](https://raw.githubusercontent.com/namibia/CBP-Joomla-3-Component/master/admin/assets/images/vdm-component.png "The Cost Benefit Projection")
|
||||
|
||||
Create Epidemiological Profiles for diseases and risks affecting your company. Detailed information on projected work days lost and costs. Create and edit activities and wellness responses for your workplace. Access to Small Business Modeling. Results displayed by gender. Network with other companies and wellness professionals.
|
||||
|
||||
Having seen the health priorities for your workforce, the tool outputs projections for how the interventions – which you have designed - are expected to benefit the company financially.
|
||||
|
||||
Benefits are calculated based on the model projecting reductions in workdays lost due to sickness, presenteeism and death.
|
||||
|
||||
# Requirements
|
||||
|
||||
Due to the size of the permissional structure, you will need to increase max_input_vars until the permissions are able to save.
|
||||
```
|
||||
max_input_vars = 5000
|
||||
```
|
||||
# Build Details
|
||||
|
||||
+ *Company*: [Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb](https://www.staffhealthcbp.com/)
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
+ *Name*: [Cost Benefit Projection](https://www.staffhealthcbp.com/)
|
||||
+ *First Build*: 15th June, 2012
|
||||
+ *Last Build*: 5th May, 2018
|
||||
+ *Version*: 3.4.3
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
+ *Line count*: **91257**
|
||||
+ *File count*: **584**
|
||||
+ *Folder count*: **103**
|
||||
|
||||
> 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)
|
@ -131,7 +131,6 @@
|
||||
<action name="intervention.export" title="COM_COSTBENEFITPROJECTION_INTERVENTIONS_EXPORT" description="COM_COSTBENEFITPROJECTION_INTERVENTIONS_EXPORT_DESC" />
|
||||
<action name="intervention.import" title="COM_COSTBENEFITPROJECTION_INTERVENTIONS_IMPORT" description="COM_COSTBENEFITPROJECTION_INTERVENTIONS_IMPORT_DESC" />
|
||||
<action name="intervention.submenu" title="COM_COSTBENEFITPROJECTION_INTERVENTIONS_SUBMENU" description="COM_COSTBENEFITPROJECTION_INTERVENTIONS_SUBMENU_DESC" />
|
||||
<action name="site.publicresults.access" title="COM_COSTBENEFITPROJECTION_PUBLIC_RESULTS_ACCESS_SITE" description="COM_COSTBENEFITPROJECTION_PUBLIC_RESULTS_ACCESS_SITE_DESC" />
|
||||
<action name="scaling_factor.access" title="COM_COSTBENEFITPROJECTION_SCALING_FACTORS_ACCESS" description="COM_COSTBENEFITPROJECTION_SCALING_FACTORS_ACCESS_DESC" />
|
||||
<action name="scaling_factor.batch" title="COM_COSTBENEFITPROJECTION_SCALING_FACTORS_BATCH_USE" description="COM_COSTBENEFITPROJECTION_SCALING_FACTORS_BATCH_USE_DESC" />
|
||||
<action name="scaling_factor.create" title="COM_COSTBENEFITPROJECTION_SCALING_FACTORS_CREATE" description="COM_COSTBENEFITPROJECTION_SCALING_FACTORS_CREATE_DESC" />
|
||||
@ -174,8 +173,8 @@
|
||||
<action name="company.edit.country" title="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_COUNTRY" description="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_COUNTRY_DESC" />
|
||||
<action name="company.edit.service_provider" title="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_SERVICE_PROVIDER" description="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_SERVICE_PROVIDER_DESC" />
|
||||
<action name="company.edit.per" title="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_PER" description="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_PER_DESC" />
|
||||
<action name="company.edit.percentfemale" title="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_PERCENTFEMALE" description="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_PERCENTFEMALE_DESC" />
|
||||
<action name="company.edit.causesrisks" title="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_CAUSESRISKS" description="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_CAUSESRISKS_DESC" />
|
||||
<action name="company.edit.percentfemale" title="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_PERCENTFEMALE" description="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_PERCENTFEMALE_DESC" />
|
||||
<action name="company.edit.datayear" title="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_DATAYEAR" description="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_DATAYEAR_DESC" />
|
||||
<action name="company.edit.percentmale" title="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_PERCENTMALE" description="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_PERCENTMALE_DESC" />
|
||||
<action name="company.version" title="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_VERSION" description="COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_VERSION_DESC" />
|
||||
@ -217,10 +216,10 @@
|
||||
<action name="health_data.edit.causerisk" title="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_CAUSERISK" description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_CAUSERISK_DESC" />
|
||||
<action name="health_data.edit.year" title="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_YEAR" description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_YEAR_DESC" />
|
||||
<action name="health_data.edit.country" title="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_COUNTRY" description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_COUNTRY_DESC" />
|
||||
<action name="health_data.edit.femaleyld" title="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_FEMALEYLD" description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_FEMALEYLD_DESC" />
|
||||
<action name="health_data.edit.femaledeath" title="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_FEMALEDEATH" description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_FEMALEDEATH_DESC" />
|
||||
<action name="health_data.edit.maleyld" title="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_MALEYLD" description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_MALEYLD_DESC" />
|
||||
<action name="health_data.edit.maledeath" title="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_MALEDEATH" description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_MALEDEATH_DESC" />
|
||||
<action name="health_data.edit.femaleyld" title="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_FEMALEYLD" description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_FEMALEYLD_DESC" />
|
||||
<action name="health_data.version" title="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_VERSION" description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="scaling_factor">
|
||||
|
@ -2,8 +2,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage admin.css
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 20 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage causerisk.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 20 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage causesrisks.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 22 of this MVC
|
||||
@build 14th October, 2017
|
||||
@created 3rd October, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage combinedresults.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 101 of this MVC
|
||||
@build 29th June, 2016
|
||||
@created 15th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage companies.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 101 of this MVC
|
||||
@build 29th June, 2016
|
||||
@created 15th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage company.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 60 of this MVC
|
||||
@build 14th October, 2017
|
||||
@created 13th August, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage companyresults.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 52 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 25th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage countries.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 52 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 25th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage country.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -18,4 +18,7 @@
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
||||
|
||||
input[type="checkbox"] {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 19 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage currencies.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 19 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage currency.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,8 +2,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage dashboard.css
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 109 of this MVC
|
||||
@build 23rd May, 2016
|
||||
@created 15th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage health_data.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 109 of this MVC
|
||||
@build 23rd May, 2016
|
||||
@created 15th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage health_data_sets.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 20 of this MVC
|
||||
@build 13th April, 2018
|
||||
@created 13th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage help_document.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 20 of this MVC
|
||||
@build 13th April, 2018
|
||||
@created 13th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage help_documents.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 71 of this MVC
|
||||
@build 12th November, 2016
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage intervention.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 71 of this MVC
|
||||
@build 12th November, 2016
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage interventions.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@version @update number 21 of this MVC
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage scaling_factor.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@version @update number 21 of this MVC
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage scaling_factors.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 35 of this MVC
|
||||
@build 22nd March, 2016
|
||||
@created 25th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage service_provider.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -2,9 +2,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 35 of this MVC
|
||||
@build 22nd March, 2016
|
||||
@created 25th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage service_providers.css
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| www.giz.de |----/
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage admin.js
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@owner Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
Cost Benefit Projection Tool.
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* JS Document */
|
@ -64,7 +64,7 @@
|
||||
label="COM_COSTBENEFITPROJECTION_CONFIG_AUTHOR_EMAIL_LABEL"
|
||||
description="COM_COSTBENEFITPROJECTION_CONFIG_AUTHOR_EMAIL_DESC"
|
||||
size="60"
|
||||
default="llewellyn@vdm.io"
|
||||
default="joomla@vdm.io"
|
||||
readonly="true"
|
||||
class="readonly"
|
||||
/>
|
||||
@ -364,7 +364,7 @@
|
||||
label="COM_COSTBENEFITPROJECTION_CONFIG_MEMBERBASICGROUP_LABEL"
|
||||
description="COM_COSTBENEFITPROJECTION_CONFIG_MEMBERBASICGROUP_DESCRIPTION"
|
||||
multiple="true"
|
||||
/>
|
||||
/>
|
||||
<!-- Advancedmembergroup Field. Type: Usergroup. (joomla) -->
|
||||
<field
|
||||
type="usergroup"
|
||||
@ -662,11 +662,11 @@
|
||||
name="encryption_config"
|
||||
label="COM_COSTBENEFITPROJECTION_CONFIG_ENCRYPTION_LABEL"
|
||||
description="COM_COSTBENEFITPROJECTION_CONFIG_ENCRYPTION_DESC">
|
||||
<field type="note" name="vdm_key_note" class="alert alert-info" label="COM_COSTBENEFITPROJECTION_CONFIG_VDM_KEY_NOTE_LABEL" description="COM_COSTBENEFITPROJECTION_CONFIG_VDM_KEY_NOTE_DESC" />
|
||||
<field type="note" name="whmcs_key_note" class="alert alert-info" label="COM_COSTBENEFITPROJECTION_CONFIG_WHMCS_KEY_NOTE_LABEL" description="COM_COSTBENEFITPROJECTION_CONFIG_WHMCS_KEY_NOTE_DESC" />
|
||||
<field name="advanced_key"
|
||||
type="text"
|
||||
label="COM_COSTBENEFITPROJECTION_CONFIG_VDM_KEY_LABEL"
|
||||
description="COM_COSTBENEFITPROJECTION_CONFIG_VDM_KEY_DESC"
|
||||
label="COM_COSTBENEFITPROJECTION_CONFIG_WHMCS_KEY_LABEL"
|
||||
description="COM_COSTBENEFITPROJECTION_CONFIG_WHMCS_KEY_DESC"
|
||||
size="60"
|
||||
default=""
|
||||
/>
|
||||
@ -682,7 +682,7 @@
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="PATH"
|
||||
message="Error! Please add the path where the result json should be sotred here."
|
||||
message="COM_COSTBENEFITPROJECTION_CONFIG_RESULTPATH_MESSAGE"
|
||||
hint="COM_COSTBENEFITPROJECTION_CONFIG_RESULTPATH_HINT"
|
||||
/>
|
||||
</fieldset>
|
||||
@ -701,7 +701,7 @@
|
||||
class="text_area"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="Error! Please add information url here."
|
||||
message="COM_COSTBENEFITPROJECTION_CONFIG_INFORMATION_URL_MESSAGE"
|
||||
hint="COM_COSTBENEFITPROJECTION_CONFIG_INFORMATION_URL_HINT"
|
||||
/>
|
||||
</fieldset>
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage controller.php
|
||||
@ -28,60 +28,79 @@ jimport('joomla.application.component.controller');
|
||||
*/
|
||||
class CostbenefitprojectionController 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'] = 'costbenefitprojection';
|
||||
|
||||
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', 'Costbenefitprojection');
|
||||
$view = $this->input->getCmd('view', 'costbenefitprojection');
|
||||
$data = $this->getViewRelation($view);
|
||||
$layout = $this->input->get('layout', null, 'WORD');
|
||||
$id = $this->input->getInt('id');
|
||||
|
||||
// Check for edit form.
|
||||
if(CostbenefitprojectionHelper::checkArray($data))
|
||||
{
|
||||
if ($data['edit'] && $layout == 'edit' && !$this->checkEditId('com_costbenefitprojection.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 && CostbenefitprojectionHelper::checkString($ref))
|
||||
{
|
||||
// redirect to item of ref
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false));
|
||||
}
|
||||
elseif (CostbenefitprojectionHelper::checkString($ref))
|
||||
{
|
||||
if(CostbenefitprojectionHelper::checkArray($data))
|
||||
{
|
||||
if ($data['edit'] && $layout == 'edit' && !$this->checkEditId('com_costbenefitprojection.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 && CostbenefitprojectionHelper::checkString($ref))
|
||||
{
|
||||
// redirect to item of ref
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false));
|
||||
}
|
||||
elseif (CostbenefitprojectionHelper::checkString($ref))
|
||||
{
|
||||
|
||||
// redirect to ref
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view='.(string)$ref, false));
|
||||
}
|
||||
else
|
||||
{
|
||||
// normal redirect back to the list view
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view='.$data['views'], false));
|
||||
}
|
||||
// redirect to ref
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view='.(string)$ref, false));
|
||||
}
|
||||
else
|
||||
{
|
||||
// normal redirect back to the list view
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view='.$data['views'], false));
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return parent::display($cachable, $urlparams);
|
||||
}
|
||||
|
||||
protected function getViewRelation($view)
|
||||
{
|
||||
if (CostbenefitprojectionHelper::checkString($view))
|
||||
{
|
||||
$views = array(
|
||||
// check the we have a value
|
||||
if (CostbenefitprojectionHelper::checkString($view))
|
||||
{
|
||||
// the view relationships
|
||||
$views = array(
|
||||
'company' => 'companies',
|
||||
'service_provider' => 'service_providers',
|
||||
'country' => 'countries',
|
||||
@ -91,18 +110,20 @@ class CostbenefitprojectionController extends JControllerLegacy
|
||||
'intervention' => 'interventions',
|
||||
'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;
|
||||
}
|
||||
}
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage ajax.json.php
|
||||
@ -38,7 +38,9 @@ class CostbenefitprojectionControllerAjax extends JControllerLegacy
|
||||
// load the tasks
|
||||
$this->registerTask('calculatedResult', 'ajax');
|
||||
$this->registerTask('interventionBuildTable', 'ajax');
|
||||
$this->registerTask('getClusterData', 'ajax');
|
||||
$this->registerTask('getClusterData', 'ajax');
|
||||
$this->registerTask('isNew', 'ajax');
|
||||
$this->registerTask('isRead', 'ajax');
|
||||
}
|
||||
|
||||
public function ajax()
|
||||
@ -49,17 +51,17 @@ class CostbenefitprojectionControllerAjax extends JControllerLegacy
|
||||
$token = JSession::getFormToken();
|
||||
$call_token = $jinput->get('token', 0, 'ALNUM');
|
||||
if($token == $call_token)
|
||||
{
|
||||
{
|
||||
$task = $this->getTask();
|
||||
switch($task)
|
||||
{
|
||||
{
|
||||
case 'calculatedResult':
|
||||
try
|
||||
{
|
||||
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
|
||||
$idValue = $jinput->get('id', NULL, 'INT');
|
||||
$dataValue = $jinput->get('data', NULL, 'BASE64');
|
||||
if($idValue && $dataValue && $user->id != 0)
|
||||
if($idValue && $dataValue)
|
||||
{
|
||||
$result = $this->getModel('ajax')->getCalculatedResult($idValue, $dataValue);
|
||||
}
|
||||
@ -170,17 +172,93 @@ class CostbenefitprojectionControllerAjax extends JControllerLegacy
|
||||
echo "(".json_encode($e).");";
|
||||
}
|
||||
}
|
||||
break;
|
||||
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
|
||||
{
|
||||
else
|
||||
{
|
||||
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||
{
|
||||
{
|
||||
echo $callback."(".json_encode(false).");";
|
||||
}
|
||||
else
|
||||
{
|
||||
else
|
||||
{
|
||||
echo "(".json_encode(false).");";
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 20 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage causerisk.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -93,7 +93,7 @@ class CostbenefitprojectionControllerCauserisk extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('causerisk.edit', 'com_costbenefitprojection.causerisk.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('causerisk.edit.own', 'com_costbenefitprojection.causerisk.' . $recordId))
|
||||
{
|
||||
@ -153,10 +153,10 @@ class CostbenefitprojectionControllerCauserisk extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -268,11 +268,11 @@ class CostbenefitprojectionControllerCauserisk 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);
|
||||
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 20 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage causesrisks.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -101,5 +101,5 @@ class CostbenefitprojectionControllerCausesrisks extends JControllerAdmin
|
||||
$message = JText::_('COM_COSTBENEFITPROJECTION_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view=causesrisks', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 22 of this MVC
|
||||
@build 14th October, 2017
|
||||
@created 3rd October, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage combinedresults.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 101 of this MVC
|
||||
@build 29th June, 2016
|
||||
@created 15th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage companies.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -125,5 +125,5 @@ class CostbenefitprojectionControllerCompanies extends JControllerAdmin
|
||||
$message = JText::_('COM_COSTBENEFITPROJECTION_ACCESS_TO_COMBINEDRESULTS_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view=companies', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 101 of this MVC
|
||||
@build 29th June, 2016
|
||||
@created 15th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage company.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -108,7 +108,7 @@ class CostbenefitprojectionControllerCompany extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('company.edit', 'com_costbenefitprojection.company.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('company.edit.own', 'com_costbenefitprojection.company.' . $recordId))
|
||||
{
|
||||
@ -168,10 +168,10 @@ class CostbenefitprojectionControllerCompany extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -283,11 +283,11 @@ class CostbenefitprojectionControllerCompany 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);
|
||||
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 60 of this MVC
|
||||
@build 14th October, 2017
|
||||
@created 13th August, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage companyresults.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -33,7 +33,7 @@ class CostbenefitprojectionControllerCompanyresults extends JControllerLegacy
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
public function dashboard()
|
||||
public function dashboard()
|
||||
{
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection', false));
|
||||
return;
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage costbenefitprojection.php
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 52 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 25th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage countries.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -101,5 +101,5 @@ class CostbenefitprojectionControllerCountries extends JControllerAdmin
|
||||
$message = JText::_('COM_COSTBENEFITPROJECTION_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view=countries', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 52 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 25th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage country.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -102,7 +102,7 @@ class CostbenefitprojectionControllerCountry extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('country.edit', 'com_costbenefitprojection.country.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('country.edit.own', 'com_costbenefitprojection.country.' . $recordId))
|
||||
{
|
||||
@ -162,10 +162,10 @@ class CostbenefitprojectionControllerCountry extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -277,11 +277,11 @@ class CostbenefitprojectionControllerCountry 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);
|
||||
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 19 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage currencies.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -101,5 +101,5 @@ class CostbenefitprojectionControllerCurrencies extends JControllerAdmin
|
||||
$message = JText::_('COM_COSTBENEFITPROJECTION_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view=currencies', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 19 of this MVC
|
||||
@build 25th October, 2017
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage currency.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -93,7 +93,7 @@ class CostbenefitprojectionControllerCurrency extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('currency.edit', 'com_costbenefitprojection.currency.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('currency.edit.own', 'com_costbenefitprojection.currency.' . $recordId))
|
||||
{
|
||||
@ -153,10 +153,10 @@ class CostbenefitprojectionControllerCurrency extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -268,11 +268,11 @@ class CostbenefitprojectionControllerCurrency 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);
|
||||
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 109 of this MVC
|
||||
@build 23rd May, 2016
|
||||
@created 15th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage health_data.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -103,7 +103,7 @@ class CostbenefitprojectionControllerHealth_data extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('health_data.edit', 'com_costbenefitprojection.health_data.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('health_data.edit.own', 'com_costbenefitprojection.health_data.' . $recordId))
|
||||
{
|
||||
@ -163,10 +163,10 @@ class CostbenefitprojectionControllerHealth_data extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -278,11 +278,11 @@ class CostbenefitprojectionControllerHealth_data 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);
|
||||
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 109 of this MVC
|
||||
@build 23rd May, 2016
|
||||
@created 15th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage health_data_sets.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -101,5 +101,5 @@ class CostbenefitprojectionControllerHealth_data_sets extends JControllerAdmin
|
||||
$message = JText::_('COM_COSTBENEFITPROJECTION_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view=health_data_sets', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage help.php
|
||||
@ -42,7 +42,8 @@ class CostbenefitprojectionControllerHelp 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':
|
||||
@ -58,25 +59,25 @@ class CostbenefitprojectionControllerHelp 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);
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 20 of this MVC
|
||||
@build 13th April, 2018
|
||||
@created 13th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage help_document.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -93,7 +93,7 @@ class CostbenefitprojectionControllerHelp_document extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('help_document.edit', 'com_costbenefitprojection.help_document.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('help_document.edit.own', 'com_costbenefitprojection.help_document.' . $recordId))
|
||||
{
|
||||
@ -153,10 +153,10 @@ class CostbenefitprojectionControllerHelp_document extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -268,11 +268,11 @@ class CostbenefitprojectionControllerHelp_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);
|
||||
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 20 of this MVC
|
||||
@build 13th April, 2018
|
||||
@created 13th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage help_documents.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -101,5 +101,5 @@ class CostbenefitprojectionControllerHelp_documents extends JControllerAdmin
|
||||
$message = JText::_('COM_COSTBENEFITPROJECTION_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view=help_documents', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage import.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage import_health_data_sets.php
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 71 of this MVC
|
||||
@build 12th November, 2016
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage intervention.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -108,7 +108,7 @@ class CostbenefitprojectionControllerIntervention extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('intervention.edit', 'com_costbenefitprojection.intervention.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('intervention.edit.own', 'com_costbenefitprojection.intervention.' . $recordId))
|
||||
{
|
||||
@ -168,10 +168,10 @@ class CostbenefitprojectionControllerIntervention extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -283,11 +283,11 @@ class CostbenefitprojectionControllerIntervention 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);
|
||||
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 71 of this MVC
|
||||
@build 12th November, 2016
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage interventions.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -101,5 +101,5 @@ class CostbenefitprojectionControllerInterventions extends JControllerAdmin
|
||||
$message = JText::_('COM_COSTBENEFITPROJECTION_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view=interventions', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@version @update number 21 of this MVC
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage scaling_factor.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -102,7 +102,7 @@ class CostbenefitprojectionControllerScaling_factor extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('scaling_factor.edit', 'com_costbenefitprojection.scaling_factor.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('scaling_factor.edit.own', 'com_costbenefitprojection.scaling_factor.' . $recordId))
|
||||
{
|
||||
@ -162,10 +162,10 @@ class CostbenefitprojectionControllerScaling_factor extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -277,11 +277,11 @@ class CostbenefitprojectionControllerScaling_factor 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);
|
||||
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@version @update number 21 of this MVC
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@created 8th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage scaling_factors.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -101,5 +101,5 @@ class CostbenefitprojectionControllerScaling_factors extends JControllerAdmin
|
||||
$message = JText::_('COM_COSTBENEFITPROJECTION_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view=scaling_factors', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 35 of this MVC
|
||||
@build 22nd March, 2016
|
||||
@created 25th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage service_provider.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -101,7 +101,7 @@ class CostbenefitprojectionControllerService_provider extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('service_provider.edit', 'com_costbenefitprojection.service_provider.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('service_provider.edit.own', 'com_costbenefitprojection.service_provider.' . $recordId))
|
||||
{
|
||||
@ -161,10 +161,10 @@ class CostbenefitprojectionControllerService_provider extends JControllerForm
|
||||
{
|
||||
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
elseif ($ref)
|
||||
{
|
||||
$append .= '&ref='.(string)$ref;
|
||||
}
|
||||
}
|
||||
|
||||
if ($tmpl)
|
||||
{
|
||||
@ -276,11 +276,11 @@ class CostbenefitprojectionControllerService_provider 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);
|
||||
|
||||
|
@ -3,9 +3,9 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@created 15th June, 2012
|
||||
@version @update number 35 of this MVC
|
||||
@build 22nd March, 2016
|
||||
@created 25th July, 2015
|
||||
@package Cost Benefit Projection
|
||||
@subpackage service_providers.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@ -101,5 +101,5 @@ class CostbenefitprojectionControllerService_providers extends JControllerAdmin
|
||||
$message = JText::_('COM_COSTBENEFITPROJECTION_IMPORT_FAILED');
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_costbenefitprojection&view=service_providers', false), $message, 'error');
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage costbenefitprojection.php
|
||||
|
239
admin/helpers/aes.php
Normal file
239
admin/helpers/aes.php
Normal file
@ -0,0 +1,239 @@
|
||||
<?php
|
||||
/**
|
||||
* @package FrameworkOnFramework
|
||||
* @subpackage encrypt
|
||||
* @copyright Copyright (C) 2010 - 2015 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
/**
|
||||
* A simple implementation of AES-128, AES-192 and AES-256 encryption using the
|
||||
* high performance mcrypt library.
|
||||
*
|
||||
* @package FrameworkOnFramework
|
||||
* @since 1.0
|
||||
*/
|
||||
class LEGACYFOFEncryptAes
|
||||
{
|
||||
/** @var string The AES cipher to use (this is an mcrypt identifier, not the bit strength) */
|
||||
private $_cipherType = 0;
|
||||
|
||||
/** @var string Cipher mode. Can be CBC or ECB. We recommend using CBC */
|
||||
private $_cipherMode = 0;
|
||||
|
||||
/** @var string The cipher key (password) */
|
||||
private $_keyString = '';
|
||||
|
||||
/**
|
||||
* Initialise the AES encryption object
|
||||
*
|
||||
* @param string $key The encryption key (password). It can be a raw key (32 bytes) or a passphrase.
|
||||
* @param int $strength Bit strength (128, 192 or 256)
|
||||
* @param string $mode Ecnryption mode. Can be ebc or cbc. We recommend using cbc.
|
||||
*/
|
||||
public function __construct($key, $strength = 256, $mode = 'cbc')
|
||||
{
|
||||
$this->_keyString = $key;
|
||||
|
||||
switch ($strength)
|
||||
{
|
||||
case 256:
|
||||
default:
|
||||
$this->_cipherType = MCRYPT_RIJNDAEL_256;
|
||||
break;
|
||||
|
||||
case 192:
|
||||
$this->_cipherType = MCRYPT_RIJNDAEL_192;
|
||||
break;
|
||||
|
||||
case 128:
|
||||
$this->_cipherType = MCRYPT_RIJNDAEL_128;
|
||||
break;
|
||||
}
|
||||
|
||||
switch (strtoupper($mode))
|
||||
{
|
||||
case 'ECB':
|
||||
$this->_cipherMode = MCRYPT_MODE_ECB;
|
||||
break;
|
||||
|
||||
case 'CBC':
|
||||
$this->_cipherMode = MCRYPT_MODE_CBC;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Encrypts a string using AES
|
||||
*
|
||||
* @param string $stringToEncrypt The plaintext to encrypt
|
||||
* @param bool $base64encoded Should I Base64-encode the result?
|
||||
*
|
||||
* @return string The cryptotext. Please note that the first 16 bytes of
|
||||
* the raw string is the IV (initialisation vector) which
|
||||
* is necessary for decoding the string.
|
||||
*/
|
||||
public function encryptString($stringToEncrypt, $base64encoded = true)
|
||||
{
|
||||
if (strlen($this->_keyString) != 32)
|
||||
{
|
||||
$key = hash('sha256', $this->_keyString, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
$key = $this->_keyString;
|
||||
}
|
||||
|
||||
// Set up the IV (Initialization Vector)
|
||||
$iv_size = mcrypt_get_iv_size($this->_cipherType, $this->_cipherMode);
|
||||
$iv = mcrypt_create_iv($iv_size, MCRYPT_DEV_URANDOM);
|
||||
|
||||
if (empty($iv))
|
||||
{
|
||||
$iv = mcrypt_create_iv($iv_size, MCRYPT_DEV_RANDOM);
|
||||
}
|
||||
|
||||
if (empty($iv))
|
||||
{
|
||||
$iv = mcrypt_create_iv($iv_size, MCRYPT_RAND);
|
||||
}
|
||||
|
||||
// Encrypt the data
|
||||
$cipherText = mcrypt_encrypt($this->_cipherType, $key, $stringToEncrypt, $this->_cipherMode, $iv);
|
||||
|
||||
// Prepend the IV to the ciphertext
|
||||
$cipherText = $iv . $cipherText;
|
||||
|
||||
// Optionally pass the result through Base64 encoding
|
||||
if ($base64encoded)
|
||||
{
|
||||
$cipherText = base64_encode($cipherText);
|
||||
}
|
||||
|
||||
// Return the result
|
||||
return $cipherText;
|
||||
}
|
||||
|
||||
/**
|
||||
* Decrypts a ciphertext into a plaintext string using AES
|
||||
*
|
||||
* @param string $stringToDecrypt The ciphertext to decrypt. The first 16 bytes of the raw string must contain the IV (initialisation vector).
|
||||
* @param bool $base64encoded Should I Base64-decode the data before decryption?
|
||||
*
|
||||
* @return string The plain text string
|
||||
*/
|
||||
public function decryptString($stringToDecrypt, $base64encoded = true)
|
||||
{
|
||||
if (strlen($this->_keyString) != 32)
|
||||
{
|
||||
$key = hash('sha256', $this->_keyString, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
$key = $this->_keyString;
|
||||
}
|
||||
|
||||
if ($base64encoded)
|
||||
{
|
||||
$stringToDecrypt = base64_decode($stringToDecrypt);
|
||||
}
|
||||
|
||||
// Calculate the IV size
|
||||
$iv_size = mcrypt_get_iv_size($this->_cipherType, $this->_cipherMode);
|
||||
|
||||
// Extract IV
|
||||
$iv = substr($stringToDecrypt, 0, $iv_size);
|
||||
$stringToDecrypt = substr($stringToDecrypt, $iv_size);
|
||||
|
||||
// Decrypt the data
|
||||
$plainText = mcrypt_decrypt($this->_cipherType, $key, $stringToDecrypt, $this->_cipherMode, $iv);
|
||||
|
||||
return $plainText;
|
||||
}
|
||||
|
||||
/**
|
||||
* Is AES encryption supported by this PHP installation?
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public static function isSupported()
|
||||
{
|
||||
if (!function_exists('mcrypt_get_key_size'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!function_exists('mcrypt_get_iv_size'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!function_exists('mcrypt_create_iv'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!function_exists('mcrypt_encrypt'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!function_exists('mcrypt_decrypt'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!function_exists('mcrypt_list_algorithms'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!function_exists('hash'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!function_exists('hash_algos'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!function_exists('base64_encode'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!function_exists('base64_decode'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
$algorightms = mcrypt_list_algorithms();
|
||||
|
||||
if (!in_array('rijndael-128', $algorightms))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!in_array('rijndael-192', $algorightms))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!in_array('rijndael-256', $algorightms))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
$algorightms = hash_algos();
|
||||
|
||||
if (!in_array('sha256', $algorightms))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage costbenefitprojection.php
|
||||
@ -720,13 +720,66 @@ abstract class CostbenefitprojectionHelper
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* The user notice info File Name
|
||||
**/
|
||||
protected static $usernotice = false;
|
||||
|
||||
public static function getFilePath($type, $name = 'listing', $key = '', $fileType = '.json', $PATH = JPATH_COMPONENT_SITE)
|
||||
{
|
||||
if (!self::checkString(self::${$type.$name}))
|
||||
{
|
||||
// Get local key
|
||||
$localkey = self::getLocalKey();
|
||||
// set the name
|
||||
$fileName = md5($type.$name.$localkey.$key);
|
||||
// set file path
|
||||
self::${$type.$name} = $PATH.'/helpers/'.$fileName.$fileType;
|
||||
}
|
||||
// return the path
|
||||
return self::${$type.$name};
|
||||
}
|
||||
|
||||
/**
|
||||
* get the localkey
|
||||
**/
|
||||
protected static $localkey = false;
|
||||
|
||||
public static function getLocalKey()
|
||||
{
|
||||
if (!self::$localkey)
|
||||
{
|
||||
// get the main key
|
||||
self::$localkey = md5(JComponentHelper::getParams('com_costbenefitprojection')->get('basic', 'localKey34fdWEkl'));
|
||||
}
|
||||
return self::$localkey;
|
||||
}
|
||||
/**
|
||||
* Load the Component xml manifest.
|
||||
**/
|
||||
public static function manifest()
|
||||
public static function manifest()
|
||||
{
|
||||
$manifestUrl = JPATH_ADMINISTRATOR."/components/com_costbenefitprojection/costbenefitprojection.xml";
|
||||
return simplexml_load_file($manifestUrl);
|
||||
$manifestUrl = JPATH_ADMINISTRATOR."/components/com_costbenefitprojection/costbenefitprojection.xml";
|
||||
return simplexml_load_file($manifestUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Joomla version object
|
||||
**/
|
||||
protected static $JVersion;
|
||||
|
||||
/**
|
||||
* set/get Joomla version
|
||||
**/
|
||||
public static function jVersion()
|
||||
{
|
||||
// check if set
|
||||
if (!self::checkObject(self::$JVersion))
|
||||
{
|
||||
self::$JVersion = new JVersion();
|
||||
}
|
||||
return self::$JVersion;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -741,22 +794,22 @@ abstract class CostbenefitprojectionHelper
|
||||
// get all Contributors (max 20)
|
||||
$searchArray = range('0','20');
|
||||
foreach($searchArray as $nr)
|
||||
{
|
||||
{
|
||||
if ((NULL !== $params->get("showContributor".$nr)) && ($params->get("showContributor".$nr) == 1 || $params->get("showContributor".$nr) == 3))
|
||||
{
|
||||
{
|
||||
// set link based of selected option
|
||||
if($params->get("useContributor".$nr) == 1)
|
||||
{
|
||||
{
|
||||
$link_front = '<a href="mailto:'.$params->get("emailContributor".$nr).'" target="_blank">';
|
||||
$link_back = '</a>';
|
||||
}
|
||||
elseif($params->get("useContributor".$nr) == 2)
|
||||
{
|
||||
elseif($params->get("useContributor".$nr) == 2)
|
||||
{
|
||||
$link_front = '<a href="'.$params->get("linkContributor".$nr).'" target="_blank">';
|
||||
$link_back = '</a>';
|
||||
}
|
||||
else
|
||||
{
|
||||
else
|
||||
{
|
||||
$link_front = '';
|
||||
$link_back = '';
|
||||
}
|
||||
@ -844,45 +897,45 @@ abstract class CostbenefitprojectionHelper
|
||||
**/
|
||||
public static function addSubmenu($submenu)
|
||||
{
|
||||
// load user for access menus
|
||||
$user = JFactory::getUser();
|
||||
// load the submenus to sidebar
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_DASHBOARD'), 'index.php?option=com_costbenefitprojection&view=costbenefitprojection', $submenu == 'costbenefitprojection');
|
||||
// load user for access menus
|
||||
$user = JFactory::getUser();
|
||||
// load the submenus to sidebar
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_DASHBOARD'), 'index.php?option=com_costbenefitprojection&view=costbenefitprojection', $submenu === 'costbenefitprojection');
|
||||
if ($user->authorise('company.access', 'com_costbenefitprojection') && $user->authorise('company.submenu', 'com_costbenefitprojection'))
|
||||
{
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_COMPANIES'), 'index.php?option=com_costbenefitprojection&view=companies', $submenu == 'companies');
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_COMPANIES'), 'index.php?option=com_costbenefitprojection&view=companies', $submenu === 'companies');
|
||||
}
|
||||
if ($user->authorise('service_provider.access', 'com_costbenefitprojection') && $user->authorise('service_provider.submenu', 'com_costbenefitprojection'))
|
||||
{
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_SERVICE_PROVIDERS'), 'index.php?option=com_costbenefitprojection&view=service_providers', $submenu == 'service_providers');
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_SERVICE_PROVIDERS'), 'index.php?option=com_costbenefitprojection&view=service_providers', $submenu === 'service_providers');
|
||||
}
|
||||
if ($user->authorise('country.access', 'com_costbenefitprojection') && $user->authorise('country.submenu', 'com_costbenefitprojection'))
|
||||
{
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_COUNTRIES'), 'index.php?option=com_costbenefitprojection&view=countries', $submenu == 'countries');
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_COUNTRIES'), 'index.php?option=com_costbenefitprojection&view=countries', $submenu === 'countries');
|
||||
}
|
||||
if ($user->authorise('causerisk.access', 'com_costbenefitprojection') && $user->authorise('causerisk.submenu', 'com_costbenefitprojection'))
|
||||
{
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_CAUSESRISKS'), 'index.php?option=com_costbenefitprojection&view=causesrisks', $submenu == 'causesrisks');
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_CAUSESRISKS'), 'index.php?option=com_costbenefitprojection&view=causesrisks', $submenu === 'causesrisks');
|
||||
}
|
||||
if ($user->authorise('health_data.access', 'com_costbenefitprojection') && $user->authorise('health_data.submenu', 'com_costbenefitprojection'))
|
||||
{
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_HEALTH_DATA_SETS'), 'index.php?option=com_costbenefitprojection&view=health_data_sets', $submenu == 'health_data_sets');
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_HEALTH_DATA_SETS'), 'index.php?option=com_costbenefitprojection&view=health_data_sets', $submenu === 'health_data_sets');
|
||||
}
|
||||
if ($user->authorise('scaling_factor.access', 'com_costbenefitprojection') && $user->authorise('scaling_factor.submenu', 'com_costbenefitprojection'))
|
||||
{
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_SCALING_FACTORS'), 'index.php?option=com_costbenefitprojection&view=scaling_factors', $submenu == 'scaling_factors');
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_SCALING_FACTORS'), 'index.php?option=com_costbenefitprojection&view=scaling_factors', $submenu === 'scaling_factors');
|
||||
}
|
||||
if ($user->authorise('intervention.access', 'com_costbenefitprojection') && $user->authorise('intervention.submenu', 'com_costbenefitprojection'))
|
||||
{
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_INTERVENTIONS'), 'index.php?option=com_costbenefitprojection&view=interventions', $submenu == 'interventions');
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_INTERVENTIONS'), 'index.php?option=com_costbenefitprojection&view=interventions', $submenu === 'interventions');
|
||||
}
|
||||
if ($user->authorise('currency.access', 'com_costbenefitprojection') && $user->authorise('currency.submenu', 'com_costbenefitprojection'))
|
||||
{
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_CURRENCIES'), 'index.php?option=com_costbenefitprojection&view=currencies', $submenu == 'currencies');
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_CURRENCIES'), 'index.php?option=com_costbenefitprojection&view=currencies', $submenu === 'currencies');
|
||||
}
|
||||
if ($user->authorise('help_document.access', 'com_costbenefitprojection') && $user->authorise('help_document.submenu', 'com_costbenefitprojection'))
|
||||
{
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_HELP_DOCUMENTS'), 'index.php?option=com_costbenefitprojection&view=help_documents', $submenu == 'help_documents');
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COSTBENEFITPROJECTION_SUBMENU_HELP_DOCUMENTS'), 'index.php?option=com_costbenefitprojection&view=help_documents', $submenu === 'help_documents');
|
||||
}
|
||||
}
|
||||
|
||||
@ -917,14 +970,10 @@ abstract class CostbenefitprojectionHelper
|
||||
$password = self::randomkey(8);
|
||||
$password2 = $password;
|
||||
}
|
||||
// set username
|
||||
if (isset($new['username']) && self::checkString($new['username']))
|
||||
// set username if not set
|
||||
if (!isset($new['username']) || !self::checkString($new['username']))
|
||||
{
|
||||
$new['username'] = self::safeString($new['username']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$new['username'] = self::safeString($new['name']);
|
||||
$new['username'] = self::safeString($new['name']);
|
||||
}
|
||||
// linup new user data
|
||||
$data = array(
|
||||
@ -1210,7 +1259,7 @@ abstract class CostbenefitprojectionHelper
|
||||
$objPHPExcel->getActiveSheet()->getColumnDimension($a)->setAutoSize(true);
|
||||
$objPHPExcel->getActiveSheet()->getStyle($a.$i)->applyFromArray($headerStyles);
|
||||
$objPHPExcel->getActiveSheet()->getStyle($a.$i)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
|
||||
} elseif ($a == 'A'){
|
||||
} elseif ($a === 'A'){
|
||||
$objPHPExcel->getActiveSheet()->getStyle($a.$i)->applyFromArray($sideStyles);
|
||||
} else {
|
||||
$objPHPExcel->getActiveSheet()->getStyle($a.$i)->applyFromArray($normalStyles);
|
||||
@ -1300,6 +1349,19 @@ abstract class CostbenefitprojectionHelper
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a Variable
|
||||
*
|
||||
* @param string $table The table from which to get the variable
|
||||
* @param string $where The value where
|
||||
* @param string $whereString The target/field string where/name
|
||||
* @param string $what The return field
|
||||
* @param string $operator The operator between $whereString/field and $where/value
|
||||
* @param string $main The component in which the table is found
|
||||
*
|
||||
* @return mix string/int/float
|
||||
*
|
||||
*/
|
||||
public static function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = 'costbenefitprojection')
|
||||
{
|
||||
if(!$where)
|
||||
@ -1340,6 +1402,20 @@ abstract class CostbenefitprojectionHelper
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get array of variables
|
||||
*
|
||||
* @param string $table The table from which to get the variables
|
||||
* @param string $where The value where
|
||||
* @param string $whereString The target/field string where/name
|
||||
* @param string $what The return field
|
||||
* @param string $operator The operator between $whereString/field and $where/value
|
||||
* @param string $main The component in which the table is found
|
||||
* @param bool $unique The switch to return a unique array
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
*/
|
||||
public static function getVars($table, $where = null, $whereString = 'user', $what = 'id', $operator = 'IN', $main = 'costbenefitprojection', $unique = true)
|
||||
{
|
||||
if(!$where)
|
||||
@ -1354,13 +1430,25 @@ abstract class CostbenefitprojectionHelper
|
||||
|
||||
if (self::checkArray($where))
|
||||
{
|
||||
// prep main <-- why? well if $main='' is empty then $table can be categories or users
|
||||
if (self::checkString($main))
|
||||
{
|
||||
$main = '_'.ltrim($main, '_');
|
||||
}
|
||||
// Get a db connection.
|
||||
$db = JFactory::getDbo();
|
||||
// Create a new query object.
|
||||
$query = $db->getQuery(true);
|
||||
|
||||
$query->select($db->quoteName(array($what)));
|
||||
$query->from($db->quoteName('#__'.$main.'_'.$table));
|
||||
if (empty($table))
|
||||
{
|
||||
$query->from($db->quoteName('#__'.$main));
|
||||
}
|
||||
else
|
||||
{
|
||||
$query->from($db->quoteName('#_'.$main.'_'.$table));
|
||||
}
|
||||
$query->where($db->quoteName($whereString) . ' '.$operator.' (' . implode(',',$where) . ')');
|
||||
$db->setQuery($query);
|
||||
$db->execute();
|
||||
@ -1376,11 +1464,18 @@ abstract class CostbenefitprojectionHelper
|
||||
return false;
|
||||
}
|
||||
|
||||
public static function jsonToString($value, $sperator = ", ", $table = null)
|
||||
public static function jsonToString($value, $sperator = ", ", $table = null, $id = 'id', $name = 'name')
|
||||
{
|
||||
// check if string is JSON
|
||||
$result = json_decode($value, true);
|
||||
if (json_last_error() === JSON_ERROR_NONE)
|
||||
// do some table foot work
|
||||
$external = false;
|
||||
if (strpos($table, '#__') !== false)
|
||||
{
|
||||
$external = true;
|
||||
$table = str_replace('#__', '', $table);
|
||||
}
|
||||
// check if string is JSON
|
||||
$result = json_decode($value, true);
|
||||
if (json_last_error() === JSON_ERROR_NONE)
|
||||
{
|
||||
// is JSON
|
||||
if (self::checkArray($result))
|
||||
@ -1390,9 +1485,19 @@ abstract class CostbenefitprojectionHelper
|
||||
$names = array();
|
||||
foreach ($result as $val)
|
||||
{
|
||||
if ($name = self::getVar($table, $val, 'id', 'name'))
|
||||
if ($external)
|
||||
{
|
||||
$names[] = $name;
|
||||
if ($name = self::getVar(null, $val, $id, $name, '=', $table))
|
||||
{
|
||||
$names[] = $name;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($name = self::getVar($table, $val, $id, $name))
|
||||
{
|
||||
$names[] = $name;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (self::checkArray($names))
|
||||
@ -1402,15 +1507,15 @@ abstract class CostbenefitprojectionHelper
|
||||
}
|
||||
return (string) implode($sperator,$result);
|
||||
}
|
||||
return (string) json_decode($value);
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
return (string) json_decode($value);
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
public static function isPublished($id,$type)
|
||||
{
|
||||
if ($type == 'raw')
|
||||
{
|
||||
{
|
||||
$type = 'item';
|
||||
}
|
||||
$db = JFactory::getDbo();
|
||||
@ -1423,7 +1528,7 @@ abstract class CostbenefitprojectionHelper
|
||||
$db->execute();
|
||||
$found = $db->getNumRows();
|
||||
if($found)
|
||||
{
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@ -1440,40 +1545,40 @@ abstract class CostbenefitprojectionHelper
|
||||
$db->execute();
|
||||
$found = $db->getNumRows();
|
||||
if($found)
|
||||
{
|
||||
{
|
||||
return $db->loadResult();
|
||||
}
|
||||
return $id;
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Get the actions permissions
|
||||
**/
|
||||
public static function getActions($view,&$record = null,$views = null)
|
||||
public static function getActions($view,&$record = null,$views = null)
|
||||
{
|
||||
jimport('joomla.access.access');
|
||||
|
||||
$user = JFactory::getUser();
|
||||
$result = new JObject;
|
||||
$view = self::safeString($view);
|
||||
if (self::checkString($views))
|
||||
{
|
||||
if (self::checkString($views))
|
||||
{
|
||||
$views = self::safeString($views);
|
||||
}
|
||||
}
|
||||
// get all actions from component
|
||||
$actions = JAccess::getActions('com_costbenefitprojection', 'component');
|
||||
// set acctions only set in component settiongs
|
||||
$componentActions = array('core.admin','core.manage','core.options','core.export');
|
||||
// set acctions only set in component settiongs
|
||||
$componentActions = array('core.admin','core.manage','core.options','core.export');
|
||||
// loop the actions and set the permissions
|
||||
foreach ($actions as $action)
|
||||
{
|
||||
{
|
||||
// set to use component default
|
||||
$fallback= true;
|
||||
if (self::checkObject($record) && isset($record->id) && $record->id > 0 && !in_array($action->name,$componentActions))
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise($action->name, 'com_costbenefitprojection.'.$view.'.' . (int) $record->id);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission) // TODO removed && !is_null($permission)
|
||||
{
|
||||
if ($action->name == 'core.edit' || $action->name == $view.'.edit')
|
||||
{
|
||||
@ -1545,17 +1650,17 @@ abstract class CostbenefitprojectionHelper
|
||||
}
|
||||
elseif (self::checkString($views) && isset($record->catid) && $record->catid > 0)
|
||||
{
|
||||
// make sure we use the core. action check for the categories
|
||||
if (strpos($action->name,$view) !== false && strpos($action->name,'core.') === false ) {
|
||||
$coreCheck = explode('.',$action->name);
|
||||
$coreCheck[0] = 'core';
|
||||
$categoryCheck = implode('.',$coreCheck);
|
||||
}
|
||||
else
|
||||
{
|
||||
$categoryCheck = $action->name;
|
||||
}
|
||||
// The record has a category. Check the category permissions.
|
||||
// make sure we use the core. action check for the categories
|
||||
if (strpos($action->name,$view) !== false && strpos($action->name,'core.') === false ) {
|
||||
$coreCheck = explode('.',$action->name);
|
||||
$coreCheck[0] = 'core';
|
||||
$categoryCheck = implode('.',$coreCheck);
|
||||
}
|
||||
else
|
||||
{
|
||||
$categoryCheck = $action->name;
|
||||
}
|
||||
// The record has a category. Check the category permissions.
|
||||
$catpermission = $user->authorise($categoryCheck, 'com_costbenefitprojection.'.$views.'.category.' . (int) $record->catid);
|
||||
if (!$catpermission && !is_null($catpermission))
|
||||
{
|
||||
@ -1641,16 +1746,47 @@ abstract class CostbenefitprojectionHelper
|
||||
/**
|
||||
* Get any component's model
|
||||
**/
|
||||
public static function getModel($name, $path = JPATH_COMPONENT_ADMINISTRATOR, $component = 'costbenefitprojection')
|
||||
public static function getModel($name, $path = JPATH_COMPONENT_ADMINISTRATOR, $component = 'Costbenefitprojection', $config = array())
|
||||
{
|
||||
// load some joomla helpers
|
||||
JLoader::import('joomla.application.component.model');
|
||||
// fix the name
|
||||
$name = self::safeString($name);
|
||||
// full path
|
||||
$fullPath = $path . '/models';
|
||||
// set prefix
|
||||
$prefix = $component.'Model';
|
||||
// load the model file
|
||||
JLoader::import( $name, $path . '/models' );
|
||||
// return instance
|
||||
return JModelLegacy::getInstance( $name, $component.'Model' );
|
||||
JModelLegacy::addIncludePath($fullPath, $prefix);
|
||||
// get instance
|
||||
$model = JModelLegacy::getInstance($name, $prefix, $config);
|
||||
// if model not found (strange)
|
||||
if ($model == false)
|
||||
{
|
||||
jimport('joomla.filesystem.file');
|
||||
// get file path
|
||||
$filePath = $path.'/'.$name.'.php';
|
||||
$fullPath = $fullPath.'/'.$name.'.php';
|
||||
// check if it exists
|
||||
if (JFile::exists($filePath))
|
||||
{
|
||||
// get the file
|
||||
require_once $filePath;
|
||||
}
|
||||
elseif (JFile::exists($fullPath))
|
||||
{
|
||||
// get the file
|
||||
require_once $fullPath;
|
||||
}
|
||||
// build class names
|
||||
$modelClass = $prefix.$name;
|
||||
if (class_exists($modelClass))
|
||||
{
|
||||
// initialize the model
|
||||
return new $modelClass($config);
|
||||
}
|
||||
}
|
||||
return $model;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add to asset Table
|
||||
*/
|
||||
@ -1712,7 +1848,7 @@ abstract class CostbenefitprojectionHelper
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the default asset Rules for a component/view.
|
||||
*/
|
||||
@ -1765,30 +1901,150 @@ abstract class CostbenefitprojectionHelper
|
||||
return JAccess::getAssetRules(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* xmlAppend
|
||||
*
|
||||
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
||||
* @param mixed $node A SimpleXMLElement node to append to the XML element reference, or a stdClass object containing a comment attribute to be injected before the XML node and a fieldXML attribute containing a SimpleXMLElement
|
||||
*
|
||||
* @return null
|
||||
*
|
||||
*/
|
||||
public static function xmlAppend(&$xml, $node)
|
||||
{
|
||||
if (!$node)
|
||||
{
|
||||
// element was not returned
|
||||
return;
|
||||
}
|
||||
switch (get_class($node))
|
||||
{
|
||||
case 'stdClass':
|
||||
if (property_exists($node, 'comment'))
|
||||
{
|
||||
self::xmlComment($xml, $node->comment);
|
||||
}
|
||||
if (property_exists($node, 'fieldXML'))
|
||||
{
|
||||
self::xmlAppend($xml, $node->fieldXML);
|
||||
}
|
||||
break;
|
||||
case 'SimpleXMLElement':
|
||||
$domXML = dom_import_simplexml($xml);
|
||||
$domNode = dom_import_simplexml($node);
|
||||
$domXML->appendChild($domXML->ownerDocument->importNode($domNode, true));
|
||||
$xml = simplexml_import_dom($domXML);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* xmlComment
|
||||
*
|
||||
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
||||
* @param string $comment The comment to inject
|
||||
*
|
||||
* @return null
|
||||
*
|
||||
*/
|
||||
public static function xmlComment(&$xml, $comment)
|
||||
{
|
||||
$domXML = dom_import_simplexml($xml);
|
||||
$domComment = new DOMComment($comment);
|
||||
$nodeTarget = $domXML->ownerDocument->importNode($domComment, true);
|
||||
$domXML->appendChild($nodeTarget);
|
||||
$xml = simplexml_import_dom($domXML);
|
||||
}
|
||||
|
||||
/**
|
||||
* xmlAddAttributes
|
||||
*
|
||||
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
||||
* @param array $attributes The attributes to apply to the XML element
|
||||
*
|
||||
* @return null
|
||||
*
|
||||
*/
|
||||
public static function xmlAddAttributes(&$xml, $attributes = array())
|
||||
{
|
||||
foreach ($attributes as $key => $value)
|
||||
{
|
||||
$xml->addAttribute($key, $value);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* xmlAddOptions
|
||||
*
|
||||
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
||||
* @param array $options The options to apply to the XML element
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
*/
|
||||
public static function xmlAddOptions(&$xml, $options = array())
|
||||
{
|
||||
foreach ($options as $key => $value)
|
||||
{
|
||||
$addOption = $xml->addChild('option');
|
||||
$addOption->addAttribute('value', $key);
|
||||
$addOption[] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Render Bool Button
|
||||
*
|
||||
* @param array $args All the args for the button
|
||||
* 0) name
|
||||
* 1) additional (options class) // not used at this time
|
||||
* 2) default
|
||||
* 3) yes (name)
|
||||
* 4) no (name)
|
||||
*
|
||||
* @return string The input html of the button
|
||||
*
|
||||
*/
|
||||
public static function renderBoolButton()
|
||||
{
|
||||
$args = func_get_args();
|
||||
// check if there is additional button class
|
||||
$additional = isset($args[1]) ? (string) $args[1] : ''; // not used at this time
|
||||
// start the xml
|
||||
$buttonXML = new SimpleXMLElement('<field/>');
|
||||
// button attributes
|
||||
$buttonAttributes = array(
|
||||
'type' => 'radio',
|
||||
'name' => isset($args[0]) ? self::htmlEscape($args[0]) : 'bool_button',
|
||||
'label' => isset($args[0]) ? self::safeString(self::htmlEscape($args[0]), 'Ww') : 'Bool Button', // not seen anyway
|
||||
'class' => 'btn-group',
|
||||
'filter' => 'INT',
|
||||
'default' => isset($args[2]) ? (int) $args[2] : 0);
|
||||
// load the haskey attributes
|
||||
self::xmlAddAttributes($buttonXML, $buttonAttributes);
|
||||
// set the button options
|
||||
$buttonOptions = array(
|
||||
'1' => isset($args[3]) ? self::htmlEscape($args[3]) : 'JYES',
|
||||
'0' => isset($args[4]) ? self::htmlEscape($args[4]) : 'JNO');
|
||||
// load the button options
|
||||
self::xmlAddOptions($buttonXML, $buttonOptions);
|
||||
|
||||
// get the radio element
|
||||
$button = JFormHelper::loadFieldType('radio');
|
||||
|
||||
// setup the properties
|
||||
$name = self::htmlEscape($args[0]);
|
||||
$additional = isset($args[1]) ? (string) $args[1] : '';
|
||||
$value = $args[2];
|
||||
$yes = isset($args[3]) ? self::htmlEscape($args[3]) : 'JYES';
|
||||
$no = isset($args[4]) ? self::htmlEscape($args[4]) : 'JNO';
|
||||
|
||||
// prepare the xml
|
||||
$element = new SimpleXMLElement('<field name="'.$name.'" type="radio" class="btn-group"><option '.$additional.' value="0">'.$no.'</option><option '.$additional.' value="1">'.$yes.'</option></field>');
|
||||
|
||||
// run
|
||||
$button->setup($element, $value);
|
||||
$button->setup($buttonXML, $buttonAttributes['default']);
|
||||
|
||||
return $button->input;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check if have an json string
|
||||
*
|
||||
* @input string The json string to check
|
||||
*
|
||||
* @returns bool true on success
|
||||
**/
|
||||
public static function checkJson($string)
|
||||
{
|
||||
if (self::checkString($string))
|
||||
@ -1799,24 +2055,57 @@ abstract class CostbenefitprojectionHelper
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if have an object with a length
|
||||
*
|
||||
* @input object The object to check
|
||||
*
|
||||
* @returns bool true on success
|
||||
**/
|
||||
public static function checkObject($object)
|
||||
{
|
||||
if (isset($object) && is_object($object) && count($object) > 0)
|
||||
if (isset($object) && is_object($object))
|
||||
{
|
||||
return true;
|
||||
return count((array)$object) > 0;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static function checkArray($array)
|
||||
/**
|
||||
* Check if have an array with a length
|
||||
*
|
||||
* @input array The array to check
|
||||
*
|
||||
* @returns bool true on success
|
||||
**/
|
||||
public static function checkArray($array, $removeEmptyString = false)
|
||||
{
|
||||
if (isset($array) && is_array($array) && count($array) > 0)
|
||||
{
|
||||
// also make sure the empty strings are removed
|
||||
if ($removeEmptyString)
|
||||
{
|
||||
foreach ($array as $key => $string)
|
||||
{
|
||||
if (empty($string))
|
||||
{
|
||||
unset($array[$key]);
|
||||
}
|
||||
}
|
||||
return self::checkArray($array, false);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if have a string with a length
|
||||
*
|
||||
* @input string The string to check
|
||||
*
|
||||
* @returns bool true on success
|
||||
**/
|
||||
public static function checkString($string)
|
||||
{
|
||||
if (isset($string) && is_string($string) && strlen($string) > 0)
|
||||
@ -1826,6 +2115,38 @@ abstract class CostbenefitprojectionHelper
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if we are connected
|
||||
* Thanks https://stackoverflow.com/a/4860432/1429677
|
||||
*
|
||||
* @returns bool true on success
|
||||
**/
|
||||
public static function isConnected()
|
||||
{
|
||||
// If example.com is down, then probably the whole internet is down, since IANA maintains the domain. Right?
|
||||
$connected = @fsockopen("www.example.com", 80);
|
||||
// website, port (try 80 or 443)
|
||||
if ($connected)
|
||||
{
|
||||
//action when connected
|
||||
$is_conn = true;
|
||||
fclose($connected);
|
||||
}
|
||||
else
|
||||
{
|
||||
//action in connection failure
|
||||
$is_conn = false;
|
||||
}
|
||||
return $is_conn;
|
||||
}
|
||||
|
||||
/**
|
||||
* Merge an array of array's
|
||||
*
|
||||
* @input array The arrays you would like to merge
|
||||
*
|
||||
* @returns array on success
|
||||
**/
|
||||
public static function mergeArrays($arrays)
|
||||
{
|
||||
if(self::checkArray($arrays))
|
||||
@ -1843,10 +2164,23 @@ abstract class CostbenefitprojectionHelper
|
||||
return false;
|
||||
}
|
||||
|
||||
// typo sorry!
|
||||
public static function sorten($string, $length = 40, $addTip = true)
|
||||
{
|
||||
return self::shorten($string, $length, $addTip);
|
||||
}
|
||||
|
||||
/**
|
||||
* Shorten a string
|
||||
*
|
||||
* @input string The you would like to shorten
|
||||
*
|
||||
* @returns string on success
|
||||
**/
|
||||
public static function shorten($string, $length = 40, $addTip = true)
|
||||
{
|
||||
if (self::checkString($string))
|
||||
{
|
||||
{
|
||||
$initial = strlen($string);
|
||||
$words = preg_split('/([\s\n\r]+)/', $string, null, PREG_SPLIT_DELIM_CAPTURE);
|
||||
$words_count = count($words);
|
||||
@ -1866,7 +2200,7 @@ abstract class CostbenefitprojectionHelper
|
||||
$final = strlen($newString);
|
||||
if ($initial != $final && $addTip)
|
||||
{
|
||||
$title = self::sorten($string, 400 , false);
|
||||
$title = self::shorten($string, 400 , false);
|
||||
return '<span class="hasTip" title="'.$title.'" style="cursor:help">'.trim($newString).'...</span>';
|
||||
}
|
||||
elseif ($initial != $final && !$addTip)
|
||||
@ -1877,80 +2211,117 @@ abstract class CostbenefitprojectionHelper
|
||||
return $string;
|
||||
}
|
||||
|
||||
public static function safeString($string, $type = 'L', $spacer = '_')
|
||||
/**
|
||||
* Making strings safe (various ways)
|
||||
*
|
||||
* @input string The you would like to make safe
|
||||
*
|
||||
* @returns string on success
|
||||
**/
|
||||
public static function safeString($string, $type = 'L', $spacer = '_', $replaceNumbers = true)
|
||||
{
|
||||
// remove all numbers and replace with english text version (works well only up to a thousand)
|
||||
$string = self::replaceNumbers($string);
|
||||
|
||||
if (self::checkString($string))
|
||||
{
|
||||
// remove all other characters
|
||||
$string = trim($string);
|
||||
$string = preg_replace('/'.$spacer.'+/', ' ', $string);
|
||||
$string = preg_replace('/\s+/', ' ', $string);
|
||||
$string = preg_replace("/[^A-Za-z ]/", '', $string);
|
||||
// return a string with all first letter of each word uppercase(no undersocre)
|
||||
if ($type == 'W')
|
||||
{
|
||||
return ucwords(strtolower($string));
|
||||
}
|
||||
elseif ($type == 'w')
|
||||
{
|
||||
return strtolower($string);
|
||||
}
|
||||
elseif ($type == 'Ww')
|
||||
{
|
||||
return ucfirst(strtolower($string));
|
||||
}
|
||||
elseif ($type == 'WW')
|
||||
{
|
||||
return strtoupper($string);
|
||||
}
|
||||
elseif ($type == 'U')
|
||||
{
|
||||
// replace white space with underscore
|
||||
$string = preg_replace('/\s+/', $spacer, $string);
|
||||
// return all upper
|
||||
return strtoupper($string);
|
||||
}
|
||||
elseif ($type == 'F')
|
||||
{
|
||||
// replace white space with underscore
|
||||
$string = preg_replace('/\s+/', $spacer, $string);
|
||||
// return with first caracter to upper
|
||||
return ucfirst(strtolower($string));
|
||||
}
|
||||
elseif ($type == 'L')
|
||||
{
|
||||
// replace white space with underscore
|
||||
$string = preg_replace('/\s+/', $spacer, $string);
|
||||
// default is to return lower
|
||||
return strtolower($string);
|
||||
}
|
||||
|
||||
// return string
|
||||
return $string;
|
||||
}
|
||||
// not a string
|
||||
return '';
|
||||
if ($replaceNumbers === true)
|
||||
{
|
||||
// remove all numbers and replace with english text version (works well only up to millions)
|
||||
$string = self::replaceNumbers($string);
|
||||
}
|
||||
// 0nly continue if we have a string
|
||||
if (self::checkString($string))
|
||||
{
|
||||
// create file name without the extention that is safe
|
||||
if ($type === 'filename')
|
||||
{
|
||||
// make sure VDM is not in the string
|
||||
$string = str_replace('VDM', 'vDm', $string);
|
||||
// Remove anything which isn't a word, whitespace, number
|
||||
// or any of the following caracters -_()
|
||||
// If you don't need to handle multi-byte characters
|
||||
// you can use preg_replace rather than mb_ereg_replace
|
||||
// Thanks @Łukasz Rysiak!
|
||||
// $string = mb_ereg_replace("([^\w\s\d\-_\(\)])", '', $string);
|
||||
$string = preg_replace("([^\w\s\d\-_\(\)])", '', $string);
|
||||
// http://stackoverflow.com/a/2021729/1429677
|
||||
return preg_replace('/\s+/', ' ', $string);
|
||||
}
|
||||
// remove all other characters
|
||||
$string = trim($string);
|
||||
$string = preg_replace('/'.$spacer.'+/', ' ', $string);
|
||||
$string = preg_replace('/\s+/', ' ', $string);
|
||||
$string = preg_replace("/[^A-Za-z ]/", '', $string);
|
||||
// select final adaptations
|
||||
if ($type === 'L' || $type === 'strtolower')
|
||||
{
|
||||
// replace white space with underscore
|
||||
$string = preg_replace('/\s+/', $spacer, $string);
|
||||
// default is to return lower
|
||||
return strtolower($string);
|
||||
}
|
||||
elseif ($type === 'W')
|
||||
{
|
||||
// return a string with all first letter of each word uppercase(no undersocre)
|
||||
return ucwords(strtolower($string));
|
||||
}
|
||||
elseif ($type === 'w' || $type === 'word')
|
||||
{
|
||||
// return a string with all lowercase(no undersocre)
|
||||
return strtolower($string);
|
||||
}
|
||||
elseif ($type === 'Ww' || $type === 'Word')
|
||||
{
|
||||
// return a string with first letter of the first word uppercase and all the rest lowercase(no undersocre)
|
||||
return ucfirst(strtolower($string));
|
||||
}
|
||||
elseif ($type === 'WW' || $type === 'WORD')
|
||||
{
|
||||
// return a string with all the uppercase(no undersocre)
|
||||
return strtoupper($string);
|
||||
}
|
||||
elseif ($type === 'U' || $type === 'strtoupper')
|
||||
{
|
||||
// replace white space with underscore
|
||||
$string = preg_replace('/\s+/', $spacer, $string);
|
||||
// return all upper
|
||||
return strtoupper($string);
|
||||
}
|
||||
elseif ($type === 'F' || $type === 'ucfirst')
|
||||
{
|
||||
// replace white space with underscore
|
||||
$string = preg_replace('/\s+/', $spacer, $string);
|
||||
// return with first caracter to upper
|
||||
return ucfirst(strtolower($string));
|
||||
}
|
||||
elseif ($type === 'cA' || $type === 'cAmel' || $type === 'camelcase')
|
||||
{
|
||||
// convert all words to first letter uppercase
|
||||
$string = ucwords(strtolower($string));
|
||||
// remove white space
|
||||
$string = preg_replace('/\s+/', '', $string);
|
||||
// now return first letter lowercase
|
||||
return lcfirst($string);
|
||||
}
|
||||
// return string
|
||||
return $string;
|
||||
}
|
||||
// not a string
|
||||
return '';
|
||||
}
|
||||
|
||||
public static function htmlEscape($var, $charset = 'UTF-8', $sorten = false, $length = 40)
|
||||
public static function htmlEscape($var, $charset = 'UTF-8', $shorten = false, $length = 40)
|
||||
{
|
||||
if (self::checkString($var))
|
||||
{
|
||||
$filter = new JFilterInput();
|
||||
$string = $filter->clean(html_entity_decode(htmlentities($var, ENT_COMPAT, $charset)), 'HTML');
|
||||
if ($sorten)
|
||||
if ($shorten)
|
||||
{
|
||||
return self::sorten($string,$length);
|
||||
return self::shorten($string,$length);
|
||||
}
|
||||
return $string;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static function replaceNumbers($string)
|
||||
@ -1974,7 +2345,7 @@ abstract class CostbenefitprojectionHelper
|
||||
// return the string with no numbers remaining.
|
||||
return $string;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Convert an integer into an English word string
|
||||
* Thanks to Tom Nicholson <http://php.net/manual/en/function.strval.php#41988>
|
||||
@ -2084,23 +2455,34 @@ abstract class CostbenefitprojectionHelper
|
||||
return implode($key);
|
||||
}
|
||||
|
||||
public static function getCryptKey($type)
|
||||
/**
|
||||
* Get The Encryption Keys
|
||||
*
|
||||
* @param string $type The type of key
|
||||
* @param string/bool $default The return value if no key was found
|
||||
*
|
||||
* @return string On success
|
||||
*
|
||||
**/
|
||||
public static function getCryptKey($type, $default = false)
|
||||
{
|
||||
if ('advanced' == $type)
|
||||
// Get the global params
|
||||
$params = JComponentHelper::getParams('com_costbenefitprojection', true);
|
||||
// WHMCS Encryption Type
|
||||
if ('whmcs' === $type || 'advanced' === $type)
|
||||
{
|
||||
// Get the global params
|
||||
$params = JComponentHelper::getParams('com_costbenefitprojection', true);
|
||||
$advanced_key = $params->get('advanced_key', null);
|
||||
if ($advanced_key)
|
||||
$key = $params->get('advanced_key', $default);
|
||||
if (self::checkString($key))
|
||||
{
|
||||
// load the file
|
||||
JLoader::import( 'vdm', JPATH_COMPONENT_ADMINISTRATOR);
|
||||
JLoader::import( 'whmcs', JPATH_COMPONENT_ADMINISTRATOR);
|
||||
|
||||
$the = new VDM($advanced_key);
|
||||
$the = new WHMCS($key);
|
||||
|
||||
return $the->_key;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
return $default;
|
||||
}
|
||||
}
|
||||
|
79
admin/helpers/headercheck.php
Normal file
79
admin/helpers/headercheck.php
Normal file
@ -0,0 +1,79 @@
|
||||
<?php
|
||||
/*----------------------------------------------------------------------------------| www.giz.de |----/
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage headercheck.php
|
||||
@author Llewellyn van der Merwe <http://www.vdm.io>
|
||||
@owner Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
Cost Benefit Projection Tool.
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
class costbenefitprojectionHeaderCheck
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage batch_.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage sum.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage sumcombine.php
|
||||
|
@ -1,10 +1,16 @@
|
||||
COM_COSTBENEFITPROJECTION="Cost Benefit Projection"
|
||||
COM_COSTBENEFITPROJECTION_ACCESS_DENIED="Access denied!"
|
||||
COM_COSTBENEFITPROJECTION_ACCESS_TO_COMBINEDRESULTS_FAILED="Access to combinedresults was denied."
|
||||
COM_COSTBENEFITPROJECTION_ADVANCED_METHOD="Advanced Method"
|
||||
COM_COSTBENEFITPROJECTION_AGE_ID="Age id"
|
||||
COM_COSTBENEFITPROJECTION_AGE_NAME="Age name"
|
||||
COM_COSTBENEFITPROJECTION_ALL_IS_GOOD_PLEASE_CHECK_AGAIN_LATTER="All is good, please check again latter."
|
||||
COM_COSTBENEFITPROJECTION_ALL_NUMBERS_IN_BRACKETS_ARE_THE_RELATED_EMPLOYEES="All numbers in brackets are the related employees."
|
||||
COM_COSTBENEFITPROJECTION_ARCHIVED="Archived"
|
||||
COM_COSTBENEFITPROJECTION_AUTHOR="Author"
|
||||
COM_COSTBENEFITPROJECTION_A_COUNTRY="A Country"
|
||||
COM_COSTBENEFITPROJECTION_A_FEW_CLOSED_ISSUES_FROM_GITHUB_IS_LOADING="A few closed issues from Github is loading"
|
||||
COM_COSTBENEFITPROJECTION_A_FEW_OPEN_ISSUES_FROM_GITHUB_IS_LOADING="A few open issues from Github is loading"
|
||||
COM_COSTBENEFITPROJECTION_BACK="Back"
|
||||
COM_COSTBENEFITPROJECTION_BASIC_METHOD="Basic Method"
|
||||
COM_COSTBENEFITPROJECTION_BENEFIT="Benefit"
|
||||
@ -30,9 +36,11 @@ COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORTNAME="Importname"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORTNAME_DESCRIPTION="Enter Import Name Here"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORTNAME_HINT="Import Name Here"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORTNAME_LABEL="Import Name"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORTNAME_MESSAGE="Error! Please add import name here."
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORT_ID="Import Id"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORT_ID_DESCRIPTION="This is the id that is used during import of the health data."
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORT_ID_LABEL="Import ID"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_IMPORT_ID_MESSAGE="Error! Please add some the import ID here."
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_MODIFIED_BY_DESC="The last user that modified this Cause/Risk."
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_MODIFIED_BY_LABEL="Modified By"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_MODIFIED_DATE_DESC="The date this Cause/Risk was modified."
|
||||
@ -41,6 +49,7 @@ COM_COSTBENEFITPROJECTION_CAUSERISK_NAME="Name"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_NAME_DESCRIPTION="Enter Name Here"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_NAME_HINT="Name Here"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_NAME_LABEL="Name"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_NAME_MESSAGE="Error! Please add name here."
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_NEW="A New Cause/Risk"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_ORDERING_LABEL="Ordering"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_PERMISSION="Permissions"
|
||||
@ -49,6 +58,7 @@ COM_COSTBENEFITPROJECTION_CAUSERISK_REF="Ref"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_REF_DESCRIPTION="The reference number for this cause/risk"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_REF_HINT="Ref Number Here"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_REF_LABEL="Ref Nr"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_REF_MESSAGE="Error! Please add the reference number here."
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Cause/Risk to customise the alias."
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_STATUS="Status"
|
||||
COM_COSTBENEFITPROJECTION_CAUSERISK_VERSION_DESC="A count of the number of times this Cause/Risk has been revised."
|
||||
@ -103,10 +113,11 @@ COM_COSTBENEFITPROJECTION_CAUSE_ID="Cause id"
|
||||
COM_COSTBENEFITPROJECTION_CAUSE_NAME="Cause name"
|
||||
COM_COSTBENEFITPROJECTION_CHARTS_MENU="Charts Menu"
|
||||
COM_COSTBENEFITPROJECTION_CHARTS_QUICK_LINKS="Charts ›› Quick Links"
|
||||
COM_COSTBENEFITPROJECTION_CLOSE_NEW="Close & New"
|
||||
COM_COSTBENEFITPROJECTION_COMBINEDRESULTS="Combined results"
|
||||
COM_COSTBENEFITPROJECTION_COMBINEDRESULTS_DESC="The companies combine results"
|
||||
COM_COSTBENEFITPROJECTION_COMBINED_RESULTS_ACCESS="Combined Results Access"
|
||||
COM_COSTBENEFITPROJECTION_COMBINED_RESULTS_ACCESS_DESC=" Allows the users in this group to access combined results."
|
||||
COM_COSTBENEFITPROJECTION_COMBINED_RESULTS_ACCESS_DESC="Allows the users in this group to access Combined Results"
|
||||
COM_COSTBENEFITPROJECTION_COMBINED_RESULTS_ACCESS_SITE="Combined Results (Site) Access"
|
||||
COM_COSTBENEFITPROJECTION_COMBINED_RESULTS_ACCESS_SITE_DESC=" Allows the users in this group to access site combined results."
|
||||
COM_COSTBENEFITPROJECTION_COMBINED_RESULTS_COMPANIES_BUTTON_ACCESS="Combined Results Companies Button Access"
|
||||
@ -216,11 +227,13 @@ COM_COSTBENEFITPROJECTION_COMPANY_EMAIL="Email"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_EMAIL_DESCRIPTION="Enter Email"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_EMAIL_HINT="demo@example.com"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_EMAIL_LABEL="Email"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_EMAIL_MESSAGE="Error! Please add email address here."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_ERROR_UNIQUE_ALIAS="Another Company has the same alias."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_FEMALES="Females"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_FEMALES_DESCRIPTION="The Total Number of Female Employees."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_FEMALES_HINT="Just A Number"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_FEMALES_LABEL="Total Female Employees"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_FEMALES_MESSAGE="Error! Please add total female employees here."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_FIFTEENNINETEEN="15-19"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_FIFTYFIFTY_FOUR="50-54"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_FIFTY_FIVEFIFTY_NINE="55-59"
|
||||
@ -233,14 +246,17 @@ COM_COSTBENEFITPROJECTION_COMPANY_MALES="Males"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MALES_DESCRIPTION="The Total Number of Male Employees."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MALES_HINT="Just A Number"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MALES_LABEL="Total Male Employees"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MALES_MESSAGE="Error! Please add total male employees here."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MEDICAL_TURNOVERS_FEMALES="Medical Turnovers Females"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MEDICAL_TURNOVERS_FEMALES_DESCRIPTION="The total number of medical turnovers for females per/year."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MEDICAL_TURNOVERS_FEMALES_HINT="per/year"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MEDICAL_TURNOVERS_FEMALES_LABEL="Total Number Medical Turnovers Female"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MEDICAL_TURNOVERS_FEMALES_MESSAGE="Error! Please add total number of medical turnovers for females here."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MEDICAL_TURNOVERS_MALES="Medical Turnovers Males"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MEDICAL_TURNOVERS_MALES_DESCRIPTION="The total number of medical turnovers for males per/year."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MEDICAL_TURNOVERS_MALES_HINT="per/year"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MEDICAL_TURNOVERS_MALES_LABEL="Total Number Medical Turnovers Male"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MEDICAL_TURNOVERS_MALES_MESSAGE="Error! Please add total number of medical turnovers for males here."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MODIFIED_BY_DESC="The last user that modified this Company."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MODIFIED_BY_LABEL="Modified By"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_MODIFIED_DATE_DESC="The date this Company was modified."
|
||||
@ -249,6 +265,7 @@ COM_COSTBENEFITPROJECTION_COMPANY_NAME="Name"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_NAME_DESCRIPTION="Enter Company Name Here"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_NAME_HINT="Company Name Here"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_NAME_LABEL="Company Name"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_NAME_MESSAGE="Error! Please add company name here."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_NEW="A New Company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_NOT_REQUIRED="Not Required"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_OPEN="Open"
|
||||
@ -256,12 +273,15 @@ COM_COSTBENEFITPROJECTION_COMPANY_ORDERING_LABEL="Ordering"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PER="Per"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PERCENTFEMALE="Percentfemale"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PERCENTFEMALE_DESCRIPTION="Here you can add females age groups percent."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PERCENTFEMALE_LABEL="Set Females Age Groups Percent"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PERCENTFEMALE_SELECT="Edit/Add"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PERCENTMALE="Percentmale"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PERCENTMALE_DESCRIPTION="Here you can add males age groups percent."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PERCENTMALE_LABEL="Set Males Age Groups Percent"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PERCENTMALE_SELECT="Edit/Add"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PERCENT_HINT="Percent Here"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PERCENT_LABEL="Percent"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PERCENT_MESSAGE="Error! Please add percent here."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PERMISSION="Permissions"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PER_DESCRIPTION="Select your profile access status"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PER_LABEL="Profile Status"
|
||||
@ -269,9 +289,10 @@ COM_COSTBENEFITPROJECTION_COMPANY_PRODUCTIVITY_LOSSES="Productivity Losses"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PRODUCTIVITY_LOSSES_DESCRIPTION="The proportion of annual salary that it costs to replace an employee for medical reasons."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PRODUCTIVITY_LOSSES_HINT="0.05"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PRODUCTIVITY_LOSSES_LABEL="Medical Turnover Cost Factor"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PRODUCTIVITY_LOSSES_MESSAGE="Error! Please add medical turnover cost factor here."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_PUBLISHING="Publishing"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_RESULTS_ACCESS="Company Results Access"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_RESULTS_ACCESS_DESC=" Allows the users in this group to access company results."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_RESULTS_ACCESS_DESC="Allows the users in this group to access Company Results"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_RESULTS_ACCESS_SITE="Company results (Site) Access"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_RESULTS_ACCESS_SITE_DESC=" Allows the users in this group to access site company results."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_RESULTS_COMPANIES_BUTTON_ACCESS="Company Results Companies Button Access"
|
||||
@ -286,10 +307,12 @@ COM_COSTBENEFITPROJECTION_COMPANY_SICK_LEAVE_FEMALES="Sick Leave Females"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_SICK_LEAVE_FEMALES_DESCRIPTION="The total number of sick leave days for females per/year."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_SICK_LEAVE_FEMALES_HINT="per/year"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_SICK_LEAVE_FEMALES_LABEL="Total Number Sick Leave Days Females"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_SICK_LEAVE_FEMALES_MESSAGE="Error! Please add total number of sick leave days for females here."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_SICK_LEAVE_MALES="Sick Leave Males"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_SICK_LEAVE_MALES_DESCRIPTION="The total number of sick leave days for males per/year."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_SICK_LEAVE_MALES_HINT="per/year"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_SICK_LEAVE_MALES_LABEL="Total Number Sick Leave Days Males"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_SICK_LEAVE_MALES_MESSAGE="Error! Please add total number of sick leave days for males here."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_SIXTYSIXTY_FOUR="60-64"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_STATUS="Status"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_THIRTYTHIRTY_FOUR="30-34"
|
||||
@ -298,10 +321,12 @@ COM_COSTBENEFITPROJECTION_COMPANY_TOTAL_HEALTHCARE="Total Healthcare"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_TOTAL_HEALTHCARE_DESCRIPTION="The total healthcare payed per/year"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_TOTAL_HEALTHCARE_HINT="per/year"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_TOTAL_HEALTHCARE_LABEL="Total Healthcare Costs"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_TOTAL_HEALTHCARE_MESSAGE="Error! Please add total healthcare costs here."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_TOTAL_SALARY="Total Salary"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_TOTAL_SALARY_DESCRIPTION="The total salary payed per/year"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_TOTAL_SALARY_HINT="per/year"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_TOTAL_SALARY_LABEL="Total Salary"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_TOTAL_SALARY_MESSAGE="Error! Please add total salary here."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_TURNOVER_COMMENT="Turnover Comment"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_TURNOVER_COMMENT_DESCRIPTION="Here you can explain how many deaths your company has had over any given period. This will help us understand how you came to the numbers used above in the male and female medical turnovers."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_TURNOVER_COMMENT_HINT="You can make a comment here to indicate how you arrived at the given numbers above for male and female medical turnovers."
|
||||
@ -374,7 +399,7 @@ COM_COSTBENEFITPROJECTION_CONFIG_CONTRIBUTOR_USE_NONE="None"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_CONTRIBUTOR_USE_WWW="Website"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_CPANEL="cPanel"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_DONT_LOAD="Not"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_ENCRYPTION_DESC="The encription key for the field encryption is set here."
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_ENCRYPTION_DESC="The encryption key for the field encryption is set here."
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_ENCRYPTION_LABEL="Encryption Settings"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_FLAT_LOAD="Flat"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_FORCE_LOAD="Force"
|
||||
@ -390,6 +415,7 @@ COM_COSTBENEFITPROJECTION_CONFIG_HAXISTITLETEXTSTYLEFONTCOLOR_LABEL="hAxis Title
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_INFORMATION_URL_DESCRIPTION="Enter the URL where more information is found about the CPB tool."
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_INFORMATION_URL_HINT="http://www.yourwebsite.com/"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_INFORMATION_URL_LABEL="Information URL"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_INFORMATION_URL_MESSAGE="Error! Please add information url here."
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_LEGENDTEXTSTYLEFONTCOLOR_DESC="Select the legend font color."
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_LEGENDTEXTSTYLEFONTCOLOR_LABEL="Legend Font Color"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_LEGENDTEXTSTYLEFONTSIZE_DESC="Set in pixels the font size of the legend"
|
||||
@ -405,12 +431,13 @@ COM_COSTBENEFITPROJECTION_CONFIG_ONLY_EXTRA="Only Extra"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_RESULTPATH_DESCRIPTION="Please set the path where the result json files should be stored, make sure it is outside the public folder."
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_RESULTPATH_HINT="/home/username/temp"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_RESULTPATH_LABEL="Result Path"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_RESULTPATH_MESSAGE="Error! Please add the path where the result json should be sotred here."
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_SITE_CHART_NOTE_DESC="The following settings are used on the front-end of the site called (site)."
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_SITE_CHART_NOTE_LABEL="Site Settings"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_TARGET_GROUP_DESC="Set the group/s being targeted by this user type."
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_UIKIT_DESC="<b>The Parameters for the uikit are set here.</b><br />Uikit is a lightweight and modular front-end framework
|
||||
for developing fast and powerful web interfaces. For more info visit <a href="http://getuikit.com/" >http://getuikit.com/</a>"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_UIKIT_LABEL="Uikit Settings"
|
||||
for developing fast and powerful web interfaces. For more info visit <a href="https://getuikit.com/v2/" target="_blank">https://getuikit.com/v2/</a>"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_UIKIT_LABEL="Uikit2 Settings"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_UIKIT_LOAD_DESC="Set the uikit loading option."
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_UIKIT_LOAD_LABEL="Loading Options"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_UIKIT_MIN_DESC="Should the minified version of uikit files be loaded?"
|
||||
@ -419,10 +446,10 @@ COM_COSTBENEFITPROJECTION_CONFIG_UIKIT_STYLE_DESC="Set the css style that should
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_UIKIT_STYLE_LABEL="css Style"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_VAXISTEXTSTYLEFONTCOLOR_DESC="Select the vertical axis font color."
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_VAXISTEXTSTYLEFONTCOLOR_LABEL="vAxis Font Color"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_VDM_KEY_DESC="Add the advanced key here."
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_VDM_KEY_LABEL="Advanced Key <small>(advanced encryption)</small>"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_VDM_KEY_NOTE_DESC="When using the advanced encryption you need to get an advanced key from Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb.<br />Never change this advanced key once it is set! <b>DATA WILL GET CORRUPTED IF YOU DO!</b>"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_VDM_KEY_NOTE_LABEL="Advanced Encryption"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_WHMCS_KEY_DESC="Add the key you recieved from Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb here."
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_WHMCS_KEY_LABEL="WHMCS Key"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_WHMCS_KEY_NOTE_DESC="When using this (whmcs) encryption you need to get a key from Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb.<br />Never change this key once it is set! <b>DATA WILL GET CORRUPTED IF YOU DO!</b>"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_WHMCS_KEY_NOTE_LABEL="Field Encryption (whmcs)"
|
||||
COM_COSTBENEFITPROJECTION_CONFIG_YES="Yes"
|
||||
COM_COSTBENEFITPROJECTION_CONTRIBUTION_TO_COSTS="Contribution to Costs"
|
||||
COM_COSTBENEFITPROJECTION_CONTRIBUTOR="Contributor"
|
||||
@ -438,7 +465,7 @@ COM_COSTBENEFITPROJECTION_COST_MORTALITY="Cost Mortality"
|
||||
COM_COSTBENEFITPROJECTION_COST_OF_INTERVENTION="Cost of Intervention"
|
||||
COM_COSTBENEFITPROJECTION_COST_OF_PROBLEM="Cost of Problem"
|
||||
COM_COSTBENEFITPROJECTION_COST_PERCENT="Cost Percent"
|
||||
COM_COSTBENEFITPROJECTION_COST_PER_EMPLOYEE="Cost per Employee"
|
||||
COM_COSTBENEFITPROJECTION_COST_PER_EMPLOYEE="Cost Per Employee"
|
||||
COM_COSTBENEFITPROJECTION_COST_PRESENTEEISM_DUE_TO_MORBIDITY="Cost Presenteeism (due to morbidity)"
|
||||
COM_COSTBENEFITPROJECTION_COST_SUMMARY="Cost Summary"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES="Countries"
|
||||
@ -498,10 +525,12 @@ COM_COSTBENEFITPROJECTION_COUNTRY_CODETHREE="Codethree"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_CODETHREE_DESCRIPTION="ISO 3166-1 alpha-3 codes are three-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_CODETHREE_HINT="NAM"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_CODETHREE_LABEL="Code Three"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_CODETHREE_MESSAGE="Error! Please add three-letter country code here."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_CODETWO="Codetwo"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_CODETWO_DESCRIPTION="ISO 3166-1 alpha-2 codes are two-letter country codes defined in ISO 3166-1, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), to represent countries, dependent territories, and special areas of geographical interest."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_CODETWO_HINT="NA"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_CODETWO_LABEL="Code Two"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_CODETWO_MESSAGE="Error! Please add two-letter country code here."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_COMPANIES="Companies"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_CREATED_BY_DESC="The user that created this Country."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_CREATED_BY_LABEL="Created By"
|
||||
@ -518,9 +547,11 @@ COM_COSTBENEFITPROJECTION_COUNTRY_EDIT="Editing the Country"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_ERROR_UNIQUE_ALIAS="Another Country has the same alias."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_FEMALEDEATH="Femaledeath"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_FEMALEDEATH_DESCRIPTION="Here you can add total females death data."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_FEMALEDEATH_LABEL="Set Females Total Deaths"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_FEMALEDEATH_SELECT="Edit/Add"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_FEMALEYLD="Femaleyld"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_FEMALEYLD_DESCRIPTION="Here you can add females total YLD data."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_FEMALEYLD_LABEL="Set Females Total YLDs"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_FEMALEYLD_SELECT="Edit/Add"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_FIFTEENNINETEEN="15-19"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_FIFTYFIFTY_FOUR="50-54"
|
||||
@ -531,19 +562,23 @@ COM_COSTBENEFITPROJECTION_COUNTRY_HEALTHCARE="Healthcare"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_HEALTHCARE_DESCRIPTION="The healthcare costs as a % of total salary costs. This figure is used for the calculations as default."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_HEALTHCARE_HINT="10"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_HEALTHCARE_LABEL="Default Healthcare Costs"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_HEALTHCARE_MESSAGE="Error! Please add healthcare cost here."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_HEALTH_DATA_TOTALS="Health Data Totals"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_ID="Id"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_INTERVENTIONS="Interventions"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MALEDEATH="Maledeath"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MALEDEATH_DESCRIPTION="Here you can add males total death data."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MALEDEATH_LABEL="Set Males Total Deaths"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MALEDEATH_SELECT="Edit/Add"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MALEYLD="Maleyld"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MALEYLD_DESCRIPTION="Here you can add males total YLD data."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MALEYLD_LABEL="Set Males Total YLDs"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MALEYLD_SELECT="Edit/Add"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MEDICAL_TURNOVERS="Medical Turnovers"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MEDICAL_TURNOVERS_DESCRIPTION="The average medical turnover per/100,000."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MEDICAL_TURNOVERS_HINT="12"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MEDICAL_TURNOVERS_LABEL="Default Ave. Medical Turnover"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MEDICAL_TURNOVERS_MESSAGE="Error! Please add ave. medical turnover here."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MODIFIED_BY_DESC="The last user that modified this Country."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MODIFIED_BY_LABEL="Modified By"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_MODIFIED_DATE_DESC="The date this Country was modified."
|
||||
@ -552,41 +587,51 @@ COM_COSTBENEFITPROJECTION_COUNTRY_NAME="Name"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_NAME_DESCRIPTION="Enter Name Here"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_NAME_HINT="Name Here"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_NAME_LABEL="Name"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_NAME_MESSAGE="Error! Please add name here."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_NEW="A New Country"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_NUMBER_HINT="Number Here"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_NUMBER_LABEL="Number"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_NUMBER_MESSAGE="Error! Please add number here."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_ORDERING_LABEL="Ordering"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PERCENTFEMALE="Percentfemale"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PERCENTFEMALE_DESCRIPTION="Here you can add females age groups percent."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PERCENTFEMALE_LABEL="Set Females Age Groups Percent"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PERCENTFEMALE_SELECT="Edit/Add"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PERCENTMALE="Percentmale"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PERCENTMALE_DESCRIPTION="Here you can add males age groups percent."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PERCENTMALE_LABEL="Set Males Age Groups Percent"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PERCENTMALE_SELECT="Edit/Add"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PERCENT_HINT="Percent Here"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PERCENT_LABEL="Percent"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PERCENT_MESSAGE="Error! Please add percent here."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PERMISSION="Permissions"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PRESENTEEISM="Presenteeism"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PRESENTEEISM_DESCRIPTION="The presenteeism constant."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PRESENTEEISM_HINT="0.25"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PRESENTEEISM_LABEL="Presenteeism Constant"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PRESENTEEISM_MESSAGE="Error! Please add presenteeism constant here."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PRODUCTIVITY_LOSSES="Productivity Losses"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PRODUCTIVITY_LOSSES_DESCRIPTION="The interim number between 0 and 1 reflecting the amount of a year in lost productivity due to medical retirement/death of an employee. This figure is used for the default."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PRODUCTIVITY_LOSSES_HINT="0.5"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PRODUCTIVITY_LOSSES_LABEL="Default Productivity Losses"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PRODUCTIVITY_LOSSES_MESSAGE="Error! Please add productivity losses here."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICADDRESS="Publicaddress"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICADDRESS_LABEL="Public Address"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICEMAIL="Publicemail"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICEMAIL_DESCRIPTION="The email we may use publicly"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICEMAIL_HINT="Public Email Here"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICEMAIL_LABEL="Public Email"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICEMAIL_MESSAGE="Error! Please public email address here."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICNAME="Publicname"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICNAME_DESCRIPTION="The name we may use publicly"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICNAME_HINT="Public Name Here"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICNAME_LABEL="Public Name"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICNAME_MESSAGE="Error! Please add public name here."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICNUMBER="Publicnumber"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICNUMBER_DESCRIPTION="The phone number we may use publicly"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICNUMBER_HINT="Public Phone Here"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICNUMBER_LABEL="Public Phone"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLICNUMBER_MESSAGE="Error! Please add public phone number here."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLIC_DETAILS="Public Details"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_PUBLISHING="Publishing"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Country to customise the alias."
|
||||
@ -596,6 +641,7 @@ COM_COSTBENEFITPROJECTION_COUNTRY_SICK_LEAVE="Sick Leave"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_SICK_LEAVE_DESCRIPTION="The average sick leave days per/person."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_SICK_LEAVE_HINT="12"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_SICK_LEAVE_LABEL="Default Ave. Sick Leave"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_SICK_LEAVE_MESSAGE="Error! Please add ave. sick leave here."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_SIXTYSIXTY_FOUR="60-64"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_STATUS="Status"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_THIRTYTHIRTY_FOUR="30-34"
|
||||
@ -629,6 +675,7 @@ COM_COSTBENEFITPROJECTION_COUNTRY_WORLDZONE="Worldzone"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_WORLDZONE_DESCRIPTION="The zone this country belongs to"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_WORLDZONE_HINT="only number"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_WORLDZONE_LABEL="Worldzone"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_WORLDZONE_MESSAGE="Error! Please add zone code here."
|
||||
COM_COSTBENEFITPROJECTION_COUNTRY_YEAR_LABEL="Data Year"
|
||||
COM_COSTBENEFITPROJECTION_COVERAGE_S="Coverage: %s"
|
||||
COM_COSTBENEFITPROJECTION_CPANEL_ACCESS_SITE="cPanel (Site) Access"
|
||||
@ -688,6 +735,7 @@ COM_COSTBENEFITPROJECTION_CURRENCY_CODETHREE="Codethree"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_CODETHREE_DESCRIPTION="The following is a list of active codes of official ISO 4217 currency names."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_CODETHREE_HINT="NAD"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_CODETHREE_LABEL="Code Three"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_CODETHREE_MESSAGE="Error! Please add three-letter currency code here."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_CREATED_BY_DESC="The user that created this Currency."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_CREATED_BY_LABEL="Created By"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_CREATED_DATE_DESC="The date this Currency was created."
|
||||
@ -696,10 +744,12 @@ COM_COSTBENEFITPROJECTION_CURRENCY_DECIMALPLACE="Decimalplace"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_DECIMALPLACE_DESCRIPTION=" The position of a digit to the right of a decimal point, usually identified by successive ascending ordinal numbers with the digit immediately to the right of the decimal point being first: a figure accurate to the third decimal place."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_DECIMALPLACE_HINT="2"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_DECIMALPLACE_LABEL="Decimal place"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_DECIMALPLACE_MESSAGE="Error! Please add currency decimal place here."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_DECIMALSYMBOL="Decimalsymbol"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_DECIMALSYMBOL_DESCRIPTION=" The symbol used to separate the integer part of a decimal number from its fractional part is called the decimal point."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_DECIMALSYMBOL_HINT="."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_DECIMALSYMBOL_LABEL="Decimal symbol"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_DECIMALSYMBOL_MESSAGE="Error! Please add currency decimal symbol here."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_DETAILS="Details"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_EDIT="Editing the Currency"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_ERROR_UNIQUE_ALIAS="Another Currency has the same alias."
|
||||
@ -712,21 +762,25 @@ COM_COSTBENEFITPROJECTION_CURRENCY_NAME="Name"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NAME_DESCRIPTION="Enter Name Here"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NAME_HINT="Name Here"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NAME_LABEL="Name"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NAME_MESSAGE="Error! Please add name here."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NEGATIVESTYLE="Negativestyle"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NEGATIVESTYLE_DESCRIPTION="Please use the following placeholders {sign}{number} {symbol} to build the currency negative style."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NEGATIVESTYLE_HINT="{sign}{number} {symbol}"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NEGATIVESTYLE_LABEL="Negative style"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NEGATIVESTYLE_MESSAGE="Error! Please add currency negative style here."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NEW="A New Currency"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NUMERICCODE="Numericcode"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NUMERICCODE_DESCRIPTION="There is also a three-digit code number assigned to each currency, in the same manner as there is also a three-digit code number assigned to each country as part of ISO 3166. This numeric code is usually the same as the ISO 3166-1 numeric code. For example, USD (United States dollar) has code 840 which is also the numeric code for the US (United States)."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NUMERICCODE_HINT="516"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NUMERICCODE_LABEL="Numeric Code"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_NUMERICCODE_MESSAGE="Error! Please add numeric code here."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_ORDERING_LABEL="Ordering"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_PERMISSION="Permissions"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_POSITIVESTYLE="Positivestyle"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_POSITIVESTYLE_DESCRIPTION="Please use the following placeholders {number} {symbol} to build the currency positive style."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_POSITIVESTYLE_HINT="{number} {symbol}"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_POSITIVESTYLE_LABEL="Positive style"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_POSITIVESTYLE_MESSAGE="Error! Please add currency positive style here."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_PUBLISHING="Publishing"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Currency to customise the alias."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_STATUS="Status"
|
||||
@ -734,9 +788,11 @@ COM_COSTBENEFITPROJECTION_CURRENCY_SYMBOL="Symbol"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_SYMBOL_DESCRIPTION="A currency symbol is a graphic symbol used as a shorthand for a currency's name, especially in reference to amounts of money."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_SYMBOL_HINT="N$"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_SYMBOL_LABEL="Symbol"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_SYMBOL_MESSAGE="Error! Please add currency symbol here."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_THOUSANDS="Thousands"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_THOUSANDS_HINT=" "
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_THOUSANDS_LABEL="Thousands separator"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_THOUSANDS_MESSAGE="Error! Please add currency thousands separator here."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_VERSION_DESC="A count of the number of times this Currency has been revised."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCY_VERSION_LABEL="Revision"
|
||||
COM_COSTBENEFITPROJECTION_DASH="Dashboard"
|
||||
@ -797,9 +853,11 @@ COM_COSTBENEFITPROJECTION_HEALTH_DATA_EDIT="Editing the Health Data"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_ERROR_UNIQUE_ALIAS="Another Health Data has the same alias."
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FEMALEDEATH="Femaledeath"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FEMALEDEATH_DESCRIPTION="Here you can add females death data."
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FEMALEDEATH_LABEL="Set Females Death"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FEMALEDEATH_SELECT="Edit/Add"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FEMALEYLD="Femaleyld"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FEMALEYLD_DESCRIPTION="Here you can add females YLD data."
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FEMALEYLD_LABEL="Set Females YLD"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FEMALEYLD_SELECT="Edit/Add"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FIFTEENNINETEEN="15-19"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FIFTYFIFTY_FOUR="50-54"
|
||||
@ -809,9 +867,11 @@ COM_COSTBENEFITPROJECTION_HEALTH_DATA_FORTY_FIVEFORTY_NINE="45-49"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_ID="Id"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_MALEDEATH="Maledeath"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_MALEDEATH_DESCRIPTION="Here you can add males death data."
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_MALEDEATH_LABEL="Set Males Death"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_MALEDEATH_SELECT="Edit/Add"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_MALEYLD="Maleyld"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_MALEYLD_DESCRIPTION="Here you can add males YLD data."
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_MALEYLD_LABEL="Set Males YLD"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_MALEYLD_SELECT="Edit/Add"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_MODIFIED_BY_DESC="The last user that modified this Health Data."
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_MODIFIED_BY_LABEL="Modified By"
|
||||
@ -820,6 +880,7 @@ COM_COSTBENEFITPROJECTION_HEALTH_DATA_MODIFIED_DATE_LABEL="Modified Date"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_NEW="A New Health Data"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_NUMBER_HINT="Number Here"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_NUMBER_LABEL="Number"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_NUMBER_MESSAGE="Error! Please add number here."
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_ORDERING_LABEL="Ordering"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_PERMISSION="Permissions"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_PUBLISHING="Publishing"
|
||||
@ -955,7 +1016,7 @@ COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_SUBMENU="Help Documents Submenu"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_SUBMENU_DESC="Allows the users in this group to update the submenu of the help document"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_ADMIN="Admin"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_ADMIN_VIEW="Admin View"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_ADMIN_VIEW_DESCRIPTION="Select the view being targeted"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_ADMIN_VIEW_DESCRIPTION="Select the view being target."
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_ADMIN_VIEW_LABEL="Admin Views"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_ALIAS="Alias"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_ALIAS_HINT="Auto-generated from name"
|
||||
@ -993,7 +1054,7 @@ COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_SAVE_WARNING="Alias already existed so a
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_SELECT_AN_OPTION="Select an option"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_SITE="Site"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_SITE_VIEW="Site View"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_SITE_VIEW_DESCRIPTION="Select the view being targeted"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_SITE_VIEW_DESCRIPTION="Select the view being target."
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_SITE_VIEW_LABEL="Site Views"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_SOME="Some"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_STATUS="Status"
|
||||
@ -1005,6 +1066,7 @@ COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_TITLE="Title"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_TITLE_DESCRIPTION="Enter Title Here"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_TITLE_HINT="Title Here"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_TITLE_LABEL="Title"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_TITLE_MESSAGE="Error! Please add title here."
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_TYPE="Type"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_TYPE_DESCRIPTION="Select the help type."
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_TYPE_LABEL="Type"
|
||||
@ -1012,6 +1074,7 @@ COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_URL="Url"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_URL_DESCRIPTION="Enter url"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_URL_HINT="http://www.example.com"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_URL_LABEL="URL"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_URL_MESSAGE="Error! Please add url here."
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_VERSION_DESC="A count of the number of times this Help Document has been revised."
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENT_VERSION_LABEL="Revision"
|
||||
COM_COSTBENEFITPROJECTION_HELP_MANAGER="Help"
|
||||
@ -1060,6 +1123,7 @@ COM_COSTBENEFITPROJECTION_IMPORT_TITLE="Data Importer"
|
||||
COM_COSTBENEFITPROJECTION_IMPORT_UNABLE_TO_FIND_IMPORT_PACKAGE="Package to import not found."
|
||||
COM_COSTBENEFITPROJECTION_IMPORT_UPDATE_DATA="Import Data"
|
||||
COM_COSTBENEFITPROJECTION_IMPORT_UPLOAD_BOTTON="Upload File"
|
||||
COM_COSTBENEFITPROJECTION_INACTIVE="Inactive"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION="Intervention"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS="Interventions"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_ACCESS="Interventions Access"
|
||||
@ -1142,6 +1206,7 @@ COM_COSTBENEFITPROJECTION_INTERVENTION_INTERVENTION="Intervention"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION_INTERVENTIONS="Interventions"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION_INTERVENTIONS_LABEL="Interventions"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION_INTERVENTION_DESCRIPTION="Here you can add & edit interventions."
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION_INTERVENTION_LABEL="Set Intervention"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION_INTERVENTION_SELECT="Edit/Add"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION_MBR_DESCRIPTION="Percentage estimate"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION_MBR_LABEL="Morbidity Reduction"
|
||||
@ -1155,6 +1220,7 @@ COM_COSTBENEFITPROJECTION_INTERVENTION_NAME="Name"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION_NAME_DESCRIPTION="Enter Intervention Name Here"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION_NAME_HINT="Name Here"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION_NAME_LABEL="Name"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION_NAME_MESSAGE="Error! Please add intervention name here."
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION_NET_BENEFIT="Intervention Net Benefit"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION_NEW="A New Intervention"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTION_NOT_REQUIRED="Not Required"
|
||||
@ -1195,25 +1261,30 @@ COM_COSTBENEFITPROJECTION_MORTALITY_REDUCTION="Mortality Reduction"
|
||||
COM_COSTBENEFITPROJECTION_NBSPNBSPLARRNBSPEASYBRNBSPNBSPNBSPNBSPNAVIGATIONBRNBSPNBSPNBSPNBSPMENU=" ← easy<br/> navigation<br/> menu"
|
||||
COM_COSTBENEFITPROJECTION_NET_BENEFIT="Net Benefit"
|
||||
COM_COSTBENEFITPROJECTION_NEW="New"
|
||||
COM_COSTBENEFITPROJECTION_NEW_ISSUE="New Issue"
|
||||
COM_COSTBENEFITPROJECTION_NONE_LOADED="None Loaded..."
|
||||
COM_COSTBENEFITPROJECTION_NOT_FOUND_OR_ACCESS_DENIED="Not found, or access denied."
|
||||
COM_COSTBENEFITPROJECTION_NOT_FOUND_OR_ACCESS_DENIED="Not found or access denied!"
|
||||
COM_COSTBENEFITPROJECTION_NO_ACCESS_GRANTED="No Access Granted!"
|
||||
COM_COSTBENEFITPROJECTION_NO_CAUSERISK_SELECTED="No Cause/Risk Selected"
|
||||
COM_COSTBENEFITPROJECTION_NO_COMPANIES_SELECTED="No companies selected!"
|
||||
COM_COSTBENEFITPROJECTION_NO_DISEASERISK_SELECTED="No Disease/Risk Selected"
|
||||
COM_COSTBENEFITPROJECTION_NO_INTERVENTION_SELECTED="No Intervention Selected"
|
||||
COM_COSTBENEFITPROJECTION_NUMBER_OF_WORK_DAYS_LOST="Number of work days lost"
|
||||
COM_COSTBENEFITPROJECTION_ONLY_USE_THE_ADVANCED_IMPORT_WHEN_IMPORTING_THE_CSV_FILES_FROM_HTTPGHDXHEALTHDATAORG="Only use the advanced import when importing the CSV files from http://ghdx.healthdata.org"
|
||||
COM_COSTBENEFITPROJECTION_OPENED_BY="opened by"
|
||||
COM_COSTBENEFITPROJECTION_PERCENT_OF_BESTIMATED_BURDENB_BEING_TARGETED_BY_THIS_DISEASERISK_SELECTION="Percent of <b>Estimated Burden</b> being targeted by this Disease/Risk selection"
|
||||
COM_COSTBENEFITPROJECTION_PERCENT_OF_TOTAL_COST="Percent of Total Cost"
|
||||
COM_COSTBENEFITPROJECTION_PERCENT_OF_TOTAL_DAYS_LOST="Percent of Total Days Lost"
|
||||
COM_COSTBENEFITPROJECTION_PLEASE_CHECK_AGAIN_LATTER="Please check again latter."
|
||||
COM_COSTBENEFITPROJECTION_PLEASE_NOTE_THAT_ADVANCE_IMPORT_ONLY_WORKS_WITH_THE_FOLLOWING_FORMAT="Please note that advance import only works with the following format:"
|
||||
COM_COSTBENEFITPROJECTION_PLEASE_WAIT="please wait"
|
||||
COM_COSTBENEFITPROJECTION_PRESENTEEISM_MORBIDITY="Presenteeism (morbidity)"
|
||||
COM_COSTBENEFITPROJECTION_PUBLIC_RESULTS_ACCESS_SITE="Public results (Site) Access"
|
||||
COM_COSTBENEFITPROJECTION_PUBLIC_RESULTS_ACCESS_SITE_DESC=" Allows the users in this group to access site public results."
|
||||
COM_COSTBENEFITPROJECTION_PUBLISHED="Published"
|
||||
COM_COSTBENEFITPROJECTION_REDUCTION_IN_MORBIDITY_COSTS="Reduction in Morbidity Costs"
|
||||
COM_COSTBENEFITPROJECTION_REDUCTION_IN_MORTALITY_COST="Reduction in Mortality Cost"
|
||||
COM_COSTBENEFITPROJECTION_RESPOND_TO_THIS_ISSUE_ON_GITHUB="Respond to this issue on Github"
|
||||
COM_COSTBENEFITPROJECTION_RESULTS_MENU="Results Menu"
|
||||
COM_COSTBENEFITPROJECTION_REVIEW_THIS_ISSUE_ON_GITHUB="Review this issue on Github"
|
||||
COM_COSTBENEFITPROJECTION_RISK_ID="Risk id"
|
||||
COM_COSTBENEFITPROJECTION_RISK_NAME="Risk name"
|
||||
COM_COSTBENEFITPROJECTION_RT_MEAN_VALUE="rt mean - value"
|
||||
@ -1284,6 +1355,7 @@ COM_COSTBENEFITPROJECTION_SCALING_FACTOR_HEALTH_SCALING_FACTOR="Health Scaling F
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_HEALTH_SCALING_FACTOR_DESCRIPTION="Health scaling factor"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_HEALTH_SCALING_FACTOR_HINT="Number Here"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_HEALTH_SCALING_FACTOR_LABEL="Health Scaling"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_HEALTH_SCALING_FACTOR_MESSAGE="Error! Please add scaling factor for health here."
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_ID="Id"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_MODIFIED_BY_DESC="The last user that modified this Scaling Factor."
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_MODIFIED_BY_LABEL="Modified By"
|
||||
@ -1293,10 +1365,12 @@ COM_COSTBENEFITPROJECTION_SCALING_FACTOR_MORTALITY_SCALING_FACTOR_FEMALES="Morta
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_MORTALITY_SCALING_FACTOR_FEMALES_DESCRIPTION="Mortality scaling factor for females"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_MORTALITY_SCALING_FACTOR_FEMALES_HINT="Number Here"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_MORTALITY_SCALING_FACTOR_FEMALES_LABEL="Mortality Scaling Female"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_MORTALITY_SCALING_FACTOR_FEMALES_MESSAGE="Error! Please add scaling factor for females here."
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_MORTALITY_SCALING_FACTOR_MALES="Mortality Scaling Factor Males"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_MORTALITY_SCALING_FACTOR_MALES_DESCRIPTION="Mortality scaling factor for males"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_MORTALITY_SCALING_FACTOR_MALES_HINT="Number Here"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_MORTALITY_SCALING_FACTOR_MALES_LABEL="Mortality Scaling Male"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_MORTALITY_SCALING_FACTOR_MALES_MESSAGE="Error! Please add scaling factor for males here."
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_NEW="A New Scaling Factor"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_ORDERING_LABEL="Ordering"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_PERMISSION="Permissions"
|
||||
@ -1304,10 +1378,12 @@ COM_COSTBENEFITPROJECTION_SCALING_FACTOR_PRESENTEEISM_SCALING_FACTOR_FEMALES="Pr
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_PRESENTEEISM_SCALING_FACTOR_FEMALES_DESCRIPTION="Presenteeism scaling factor for females"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_PRESENTEEISM_SCALING_FACTOR_FEMALES_HINT="Number Here"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_PRESENTEEISM_SCALING_FACTOR_FEMALES_LABEL="Presenteeism Scaling Female"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_PRESENTEEISM_SCALING_FACTOR_FEMALES_MESSAGE="Error! Please add scaling factor for females here."
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_PRESENTEEISM_SCALING_FACTOR_MALES="Presenteeism Scaling Factor Males"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_PRESENTEEISM_SCALING_FACTOR_MALES_DESCRIPTION="Presenteeism scaling factor for Males"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_PRESENTEEISM_SCALING_FACTOR_MALES_HINT="Number Here"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_PRESENTEEISM_SCALING_FACTOR_MALES_LABEL="Presenteeism Scaling Male"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_PRESENTEEISM_SCALING_FACTOR_MALES_MESSAGE="Error! Please add scaling factor for males here."
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_PUBLISHING="Publishing"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_REFERENCE="Reference"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_REFERENCE_DESCRIPTION="Please give reference to the source of your data used in the scaling factors."
|
||||
@ -1321,10 +1397,12 @@ COM_COSTBENEFITPROJECTION_SCALING_FACTOR_YLD_SCALING_FACTOR_FEMALES="Yld Scaling
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_YLD_SCALING_FACTOR_FEMALES_DESCRIPTION="Absenteeism scaling factor for females"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_YLD_SCALING_FACTOR_FEMALES_HINT="Number Here"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_YLD_SCALING_FACTOR_FEMALES_LABEL="Absenteeism Scaling Female"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_YLD_SCALING_FACTOR_FEMALES_MESSAGE="Error! Please add scaling factor for females here."
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_YLD_SCALING_FACTOR_MALES="Yld Scaling Factor Males"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_YLD_SCALING_FACTOR_MALES_DESCRIPTION="Absenteeism scaling factor for males"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_YLD_SCALING_FACTOR_MALES_HINT="Number Here"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_YLD_SCALING_FACTOR_MALES_LABEL="Absenteeism Scaling Male"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTOR_YLD_SCALING_FACTOR_MALES_MESSAGE="Error! Please add scaling factor for males here."
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER="Service Provider"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS="Service Providers"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_ACCESS="Service Providers Access"
|
||||
@ -1397,14 +1475,17 @@ COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICEMAIL="Publicemail"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICEMAIL_DESCRIPTION="The email we may use publicly"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICEMAIL_HINT="Public Email Here"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICEMAIL_LABEL="Public Email"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICEMAIL_MESSAGE="Error! Please public email address here."
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICNAME="Publicname"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICNAME_DESCRIPTION="The name we may use publicly"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICNAME_HINT="Public Name Here"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICNAME_LABEL="Public Name"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICNAME_MESSAGE="Error! Please add public name here."
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICNUMBER="Publicnumber"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICNUMBER_DESCRIPTION="The phone number we may use publicly"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICNUMBER_HINT="Public Phone Here"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICNUMBER_LABEL="Public Phone"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLICNUMBER_MESSAGE="Error! Please add public phone number here."
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLIC_DETAILS_NOTE_DESCRIPTION="Your Public Contact Details"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_PUBLISHING="Publishing"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDER_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Service Provider to customise the alias."
|
||||
@ -1429,7 +1510,10 @@ COM_COSTBENEFITPROJECTION_SUBMENU_SCALING_FACTORS="Scaling Factors"
|
||||
COM_COSTBENEFITPROJECTION_SUBMENU_SERVICE_PROVIDERS="Service Providers"
|
||||
COM_COSTBENEFITPROJECTION_TABLES_MENU="Tables Menu"
|
||||
COM_COSTBENEFITPROJECTION_TABLES_QUICK_LINKS="Tables ›› Quick Links"
|
||||
COM_COSTBENEFITPROJECTION_THE_NOTICE_BOARD_IS_LOADING="The notice board is loading"
|
||||
COM_COSTBENEFITPROJECTION_THE_README_IS_LOADING="The readme is loading"
|
||||
COM_COSTBENEFITPROJECTION_THE_STATISTICAL_DATA_COULD_NOT_BE_RETURNED_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR="The statistical data could not be returned. Please contact your system administrator."
|
||||
COM_COSTBENEFITPROJECTION_THE_WIKI_IS_LOADING="The wiki is loading"
|
||||
COM_COSTBENEFITPROJECTION_TOTAL="Total"
|
||||
COM_COSTBENEFITPROJECTION_TOTAL_COST="Total Cost"
|
||||
COM_COSTBENEFITPROJECTION_TOTAL_COSTS="Total Costs"
|
||||
@ -1440,6 +1524,7 @@ COM_COSTBENEFITPROJECTION_TOTAL_DAYS_LOST_AND_CONTRIBUTION_OF_MORBIDITY_MORTALIT
|
||||
COM_COSTBENEFITPROJECTION_TOTAL_DAYS_LOST_PER_DISEASERISK_FACTOR="Total Days Lost Per Disease/Risk Factor"
|
||||
COM_COSTBENEFITPROJECTION_TOTAL_EMPLOYEESBR_IN_RELATION_TO_THIS_NUMBER="total employees<br />in relation to this number."
|
||||
COM_COSTBENEFITPROJECTION_TOTAL_EMPLOYEESBR_IN_RELATION_TO_THIS_TOTAL="total employees<br />in relation to this total."
|
||||
COM_COSTBENEFITPROJECTION_TRASHED="Trashed"
|
||||
COM_COSTBENEFITPROJECTION_UNAVAILABLE_AT_THIS_TIME="Unavailable at this time."
|
||||
COM_COSTBENEFITPROJECTION_USER_COUNTRY_GROUP="User Country Group"
|
||||
COM_COSTBENEFITPROJECTION_USER_MEMBER_GROUP="User Member Group"
|
||||
@ -1447,6 +1532,7 @@ COM_COSTBENEFITPROJECTION_USER_SERVICE_PROVIDER_GROUP="User Service Provider Gro
|
||||
COM_COSTBENEFITPROJECTION_USE_BATCH="Use Batch"
|
||||
COM_COSTBENEFITPROJECTION_USE_BATCH_DESC=" Allows users in this group to use batch copy/update method."
|
||||
COM_COSTBENEFITPROJECTION_VERSION="Version"
|
||||
COM_COSTBENEFITPROJECTION_VIEW_MORE_ISSUES_ON_GITHUB="View more issues on Github"
|
||||
COM_COSTBENEFITPROJECTION_WARNING="Warning"
|
||||
COM_COSTBENEFITPROJECTION_WEBSITE="Website"
|
||||
COM_COSTBENEFITPROJECTION_WORK_DAYS_LOST="Work Days Lost"
|
||||
@ -1455,4 +1541,4 @@ COM_COSTBENEFITPROJECTION_WORK_DAYS_LOST_SUMMARY="Work Days Lost Summary"
|
||||
COM_COSTBENEFITPROJECTION_WORK_DAY_LOST_PERCENT="Work Day Lost Percent"
|
||||
COM_COSTBENEFITPROJECTION_YEAR="Year"
|
||||
COM_COSTBENEFITPROJECTION__OF_ALL_HEALTHCARE_COSTS_CAUSED_BY_THE_CAUSERISK_FACTOR="% of all healthcare costs caused by the cause/risk factor"
|
||||
COM_COSTBENEFITPROJECTION__OF_WORK_DAYS_LOST_DUE_TO_THE_CAUSERISK_FACTOR="% of work days lost due to the cause/risk factor"
|
||||
COM_COSTBENEFITPROJECTION__OF_WORK_DAYS_LOST_DUE_TO_THE_CAUSERISK_FACTOR="% of work days lost due to the cause/risk factor"
|
@ -1,5 +1,247 @@
|
||||
COM_COSTBENEFITPROJECTION="Cost Benefit Projection"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_ACCESS="Causesrisks Access"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_ACCESS_DESC="Allows the users in this group to access access causesrisks"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_BATCH_USE="Causesrisks Batch Use"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch causesrisks"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_CREATE="Causesrisks Create"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_CREATE_DESC="Allows the users in this group to create create causesrisks"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_DASHBOARD_ADD="Causesrisks Dashboard Add"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the causerisk"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_DASHBOARD_LIST="Causesrisks Dashboard List"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the causerisk"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_DELETE="Causesrisks Delete"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_DELETE_DESC="Allows the users in this group to delete delete causesrisks"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_EDIT="Causesrisks Edit"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_EDIT_DESC="Allows the users in this group to edit the causerisk"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_EDIT_OWN="Causesrisks Edit Own"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_EDIT_OWN_DESC="Allows the users in this group to edit edit own causesrisks created by them"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_EDIT_STATE="Causesrisks Edit State"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_EDIT_STATE_DESC="Allows the users in this group to update the state of the causerisk"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_EDIT_VERSION="Causesrisks Edit Version"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version causesrisks"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_EXPORT="Causesrisks Export"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_EXPORT_DESC="Allows the users in this group to export export causesrisks"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_IMPORT="Causesrisks Import"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_IMPORT_DESC="Allows the users in this group to import import causesrisks"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_SUBMENU="Causesrisks Submenu"
|
||||
COM_COSTBENEFITPROJECTION_CAUSESRISKS_SUBMENU_DESC="Allows the users in this group to update the submenu of the causerisk"
|
||||
COM_COSTBENEFITPROJECTION_COMBINED_RESULTS_ACCESS="Combined Results Access"
|
||||
COM_COSTBENEFITPROJECTION_COMBINED_RESULTS_ACCESS_DESC="Allows the users in this group to access Combined Results"
|
||||
COM_COSTBENEFITPROJECTION_COMBINED_RESULTS_ACCESS_SITE="Combined Results (Site) Access"
|
||||
COM_COSTBENEFITPROJECTION_COMBINED_RESULTS_ACCESS_SITE_DESC=" Allows the users in this group to access site combined results."
|
||||
COM_COSTBENEFITPROJECTION_COMBINED_RESULTS_COMPANIES_BUTTON_ACCESS="Combined Results Companies Button Access"
|
||||
COM_COSTBENEFITPROJECTION_COMBINED_RESULTS_COMPANIES_BUTTON_ACCESS_DESC=" Allows the users in this group to access the companies button."
|
||||
COM_COSTBENEFITPROJECTION_COMBINED_RESULTS_DASHBOARD_LIST="Combined Results Dashboard List"
|
||||
COM_COSTBENEFITPROJECTION_COMBINED_RESULTS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the Combined Results"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_ACCESS="Companies Access"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_ACCESS_DESC="Allows the users in this group to access access companies"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_BATCH_USE="Companies Batch Use"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch companies"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_CREATE="Companies Create"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_CREATE_DESC="Allows the users in this group to create create companies"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_DASHBOARD_ADD="Companies Dashboard Add"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_DASHBOARD_LIST="Companies Dashboard List"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_DELETE="Companies Delete"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_DELETE_DESC="Allows the users in this group to delete delete companies"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT="Companies Edit"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_CAUSESRISKS="Companies Edit Causesrisks"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_CAUSESRISKS_DESC="Allows the users in this group to update the edit causesrisks of the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_COUNTRY="Companies Edit Country"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_COUNTRY_DESC="Allows the users in this group to update the edit country of the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_CREATED_BY="Companies Edit Created By"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by companies"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_CREATED_DATE="Companies Edit Created Date"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created companies"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_DATAYEAR="Companies Edit Datayear"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_DATAYEAR_DESC="Allows the users in this group to update the edit datayear of the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_DEPARTMENT="Companies Edit Department"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_DEPARTMENT_DESC="Allows the users in this group to update the edit department of the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_DESC="Allows the users in this group to edit the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_EMAIL="Companies Edit Email"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_EMAIL_DESC="Allows the users in this group to update the edit email of the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_OWN="Companies Edit Own"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_OWN_DESC="Allows the users in this group to edit edit own companies created by them"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_PER="Companies Edit Per"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_PERCENTFEMALE="Companies Edit Percentfemale"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_PERCENTFEMALE_DESC="Allows the users in this group to update the edit percentfemale of the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_PERCENTMALE="Companies Edit Percentmale"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_PERCENTMALE_DESC="Allows the users in this group to update the edit percentmale of the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_PER_DESC="Allows the users in this group to update the edit per of the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_SERVICE_PROVIDER="Companies Edit Service Provider"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_SERVICE_PROVIDER_DESC="Allows the users in this group to update the edit service provider of the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_STATE="Companies Edit State"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_STATE_DESC="Allows the users in this group to update the state of the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_USER="Companies Edit User"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_USER_DESC="Allows the users in this group to update the edit user of the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_VERSION="Companies Edit Version"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version companies"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EXPORT="Companies Export"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_EXPORT_DESC="Allows the users in this group to export export companies"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_IMPORT="Companies Import"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_IMPORT_DESC="Allows the users in this group to import import companies"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_SUBMENU="Companies Submenu"
|
||||
COM_COSTBENEFITPROJECTION_COMPANIES_SUBMENU_DESC="Allows the users in this group to update the submenu of the company"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_RESULTS_ACCESS="Company Results Access"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_RESULTS_ACCESS_DESC="Allows the users in this group to access Company Results"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_RESULTS_ACCESS_SITE="Company results (Site) Access"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_RESULTS_ACCESS_SITE_DESC=" Allows the users in this group to access site company results."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_RESULTS_COMPANIES_BUTTON_ACCESS="Company Results Companies Button Access"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_RESULTS_COMPANIES_BUTTON_ACCESS_DESC=" Allows the users in this group to access the companies button."
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_RESULTS_EDIT_BUTTON_ACCESS="Company Results Edit Button Access"
|
||||
COM_COSTBENEFITPROJECTION_COMPANY_RESULTS_EDIT_BUTTON_ACCESS_DESC=" Allows the users in this group to access the edit button."
|
||||
COM_COSTBENEFITPROJECTION_CONFIGURATION="Cost Benefit Projection Configuration"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_ACCESS="Countries Access"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_ACCESS_DESC="Allows the users in this group to access access countries"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_BATCH_USE="Countries Batch Use"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch countries"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_CREATE="Countries Create"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_CREATE_DESC="Allows the users in this group to create create countries"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_DASHBOARD_LIST="Countries Dashboard List"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the country"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_DELETE="Countries Delete"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_DELETE_DESC="Allows the users in this group to delete delete countries"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_EDIT="Countries Edit"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_EDIT_DESC="Allows the users in this group to edit the country"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_EDIT_OWN="Countries Edit Own"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_EDIT_OWN_DESC="Allows the users in this group to edit edit own countries created by them"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_EDIT_STATE="Countries Edit State"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_EDIT_STATE_DESC="Allows the users in this group to update the state of the country"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_EDIT_VERSION="Countries Edit Version"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version countries"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_EXPORT="Countries Export"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_EXPORT_DESC="Allows the users in this group to export export countries"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_IMPORT="Countries Import"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_IMPORT_DESC="Allows the users in this group to import import countries"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_SUBMENU="Countries Submenu"
|
||||
COM_COSTBENEFITPROJECTION_COUNTRIES_SUBMENU_DESC="Allows the users in this group to update the submenu of the country"
|
||||
COM_COSTBENEFITPROJECTION_CPANEL_ACCESS_SITE="cPanel (Site) Access"
|
||||
COM_COSTBENEFITPROJECTION_CPANEL_ACCESS_SITE_DESC=" Allows the users in this group to access site cpanel."
|
||||
COM_COSTBENEFITPROJECTION_CREATE_ACCOUNT_GIZ_ACCESS_SITE="Create Account (giz) (Site) Access"
|
||||
COM_COSTBENEFITPROJECTION_CREATE_ACCOUNT_GIZ_ACCESS_SITE_DESC=" Allows the users in this group to access site create account giz."
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_ACCESS="Currencies Access"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_ACCESS_DESC="Allows the users in this group to access access currencies"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_BATCH_USE="Currencies Batch Use"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch currencies"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_CREATE="Currencies Create"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_CREATE_DESC="Allows the users in this group to create create currencies"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_DASHBOARD_LIST="Currencies Dashboard List"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the currency"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_DELETE="Currencies Delete"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_DELETE_DESC="Allows the users in this group to delete delete currencies"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_EDIT="Currencies Edit"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_EDIT_DESC="Allows the users in this group to edit the currency"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_EDIT_OWN="Currencies Edit Own"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_EDIT_OWN_DESC="Allows the users in this group to edit edit own currencies created by them"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_EDIT_STATE="Currencies Edit State"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_EDIT_STATE_DESC="Allows the users in this group to update the state of the currency"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_EDIT_VERSION="Currencies Edit Version"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version currencies"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_EXPORT="Currencies Export"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_EXPORT_DESC="Allows the users in this group to export export currencies"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_IMPORT="Currencies Import"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_IMPORT_DESC="Allows the users in this group to import import currencies"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_SUBMENU="Currencies Submenu"
|
||||
COM_COSTBENEFITPROJECTION_CURRENCIES_SUBMENU_DESC="Allows the users in this group to update the submenu of the currency"
|
||||
COM_COSTBENEFITPROJECTION_EDIT_CREATED_BY="Edit Created By"
|
||||
COM_COSTBENEFITPROJECTION_EDIT_CREATED_BY_DESC=" Allows users in this group to edit created by."
|
||||
COM_COSTBENEFITPROJECTION_EDIT_CREATED_DATE="Edit Created Date"
|
||||
COM_COSTBENEFITPROJECTION_EDIT_CREATED_DATE_DESC=" Allows users in this group to edit created date."
|
||||
COM_COSTBENEFITPROJECTION_EDIT_VERSIONS="Edit Version"
|
||||
COM_COSTBENEFITPROJECTION_EDIT_VERSIONS_DESC=" Allows users in this group to edit versions."
|
||||
COM_COSTBENEFITPROJECTION_EXPORT_DATA="Export Data"
|
||||
COM_COSTBENEFITPROJECTION_EXPORT_DATA_DESC=" Allows users in this group to export data."
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_ACCESS="Health Data Sets Access"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_ACCESS_DESC="Allows the users in this group to access access health data sets"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_BATCH_USE="Health Data Sets Batch Use"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch health data sets"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_CREATE="Health Data Sets Create"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_CREATE_DESC="Allows the users in this group to create create health data sets"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_DASHBOARD_LIST="Health Data Sets Dashboard List"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the health data"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_DELETE="Health Data Sets Delete"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_DELETE_DESC="Allows the users in this group to delete delete health data sets"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT="Health Data Sets Edit"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_CAUSERISK="Health Data Sets Edit Causerisk"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_CAUSERISK_DESC="Allows the users in this group to update the edit causerisk of the health data"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_COUNTRY="Health Data Sets Edit Country"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_COUNTRY_DESC="Allows the users in this group to update the edit country of the health data"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_DESC="Allows the users in this group to edit the health data"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_FEMALEDEATH="Health Data Sets Edit Femaledeath"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_FEMALEDEATH_DESC="Allows the users in this group to update the edit femaledeath of the health data"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_FEMALEYLD="Health Data Sets Edit Femaleyld"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_FEMALEYLD_DESC="Allows the users in this group to update the edit femaleyld of the health data"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_MALEDEATH="Health Data Sets Edit Maledeath"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_MALEDEATH_DESC="Allows the users in this group to update the edit maledeath of the health data"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_MALEYLD="Health Data Sets Edit Maleyld"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_MALEYLD_DESC="Allows the users in this group to update the edit maleyld of the health data"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_OWN="Health Data Sets Edit Own"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_OWN_DESC="Allows the users in this group to edit edit own health data sets created by them"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_STATE="Health Data Sets Edit State"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_STATE_DESC="Allows the users in this group to update the state of the health data"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_VERSION="Health Data Sets Edit Version"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version health data sets"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_YEAR="Health Data Sets Edit Year"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EDIT_YEAR_DESC="Allows the users in this group to update the edit year of the health data"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EXPORT="Health Data Sets Export"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_EXPORT_DESC="Allows the users in this group to export export health data sets"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_IMPORT="Health Data Sets Import"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_IMPORT_DESC="Allows the users in this group to import import health data sets"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_SUBMENU="Health Data Sets Submenu"
|
||||
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SETS_SUBMENU_DESC="Allows the users in this group to update the submenu of the health data"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_ACCESS="Help Documents Access"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_ACCESS_DESC="Allows the users in this group to access access help documents"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_BATCH_USE="Help Documents Batch Use"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch help documents"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_CREATE="Help Documents Create"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_CREATE_DESC="Allows the users in this group to create create help documents"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_DASHBOARD_LIST="Help Documents Dashboard List"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the help document"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_DELETE="Help Documents Delete"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_DELETE_DESC="Allows the users in this group to delete delete help documents"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_EDIT="Help Documents Edit"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_EDIT_DESC="Allows the users in this group to edit the help document"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_EDIT_OWN="Help Documents Edit Own"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_EDIT_OWN_DESC="Allows the users in this group to edit edit own help documents created by them"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_EDIT_STATE="Help Documents Edit State"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the help document"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_EDIT_VERSION="Help Documents Edit Version"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version help documents"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_EXPORT="Help Documents Export"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_EXPORT_DESC="Allows the users in this group to export export help documents"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_IMPORT="Help Documents Import"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_IMPORT_DESC="Allows the users in this group to import import help documents"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_SUBMENU="Help Documents Submenu"
|
||||
COM_COSTBENEFITPROJECTION_HELP_DOCUMENTS_SUBMENU_DESC="Allows the users in this group to update the submenu of the help document"
|
||||
COM_COSTBENEFITPROJECTION_IMPORT_DATA="Import Data"
|
||||
COM_COSTBENEFITPROJECTION_IMPORT_DATA_DESC=" Allows users in this group to import data."
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_ACCESS="Interventions Access"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_ACCESS_DESC="Allows the users in this group to access access interventions"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_BATCH_USE="Interventions Batch Use"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch interventions"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_CREATE="Interventions Create"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_CREATE_DESC="Allows the users in this group to create create interventions"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_DASHBOARD_ADD="Interventions Dashboard Add"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the intervention"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_DASHBOARD_LIST="Interventions Dashboard List"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the intervention"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_DELETE="Interventions Delete"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_DELETE_DESC="Allows the users in this group to delete delete interventions"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_EDIT="Interventions Edit"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_EDIT_DESC="Allows the users in this group to edit the intervention"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_EDIT_OWN="Interventions Edit Own"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_EDIT_OWN_DESC="Allows the users in this group to edit edit own interventions created by them"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_EDIT_STATE="Interventions Edit State"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_EDIT_STATE_DESC="Allows the users in this group to update the state of the intervention"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_EDIT_VERSION="Interventions Edit Version"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version interventions"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_EXPORT="Interventions Export"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_EXPORT_DESC="Allows the users in this group to export export interventions"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_IMPORT="Interventions Import"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_IMPORT_DESC="Allows the users in this group to import import interventions"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_SUBMENU="Interventions Submenu"
|
||||
COM_COSTBENEFITPROJECTION_INTERVENTIONS_SUBMENU_DESC="Allows the users in this group to update the submenu of the intervention"
|
||||
COM_COSTBENEFITPROJECTION_MENU="» Cost Benefit Projection"
|
||||
COM_COSTBENEFITPROJECTION_MENU_COMPANIES="Companies"
|
||||
COM_COSTBENEFITPROJECTION_MENU_CPANEL_DESC="The cpanel fo the front end"
|
||||
@ -11,3 +253,57 @@ COM_COSTBENEFITPROJECTION_MENU_CREATEACCOUNT_TITLE="Create Account (giz)"
|
||||
COM_COSTBENEFITPROJECTION_MENU_INTERVENTIONS="Interventions"
|
||||
COM_COSTBENEFITPROJECTION_MENU_SCALING_FACTORS="Scaling Factors"
|
||||
COM_COSTBENEFITPROJECTION_MENU_SERVICE_PROVIDERS="Service Providers"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_ACCESS="Scaling Factors Access"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_ACCESS_DESC="Allows the users in this group to access access scaling factors"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_BATCH_USE="Scaling Factors Batch Use"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch scaling factors"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_CREATE="Scaling Factors Create"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_CREATE_DESC="Allows the users in this group to create create scaling factors"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_DASHBOARD_ADD="Scaling Factors Dashboard Add"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the scaling factor"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_DASHBOARD_LIST="Scaling Factors Dashboard List"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the scaling factor"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_DELETE="Scaling Factors Delete"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_DELETE_DESC="Allows the users in this group to delete delete scaling factors"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_EDIT="Scaling Factors Edit"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_EDIT_DESC="Allows the users in this group to edit the scaling factor"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_EDIT_OWN="Scaling Factors Edit Own"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_EDIT_OWN_DESC="Allows the users in this group to edit edit own scaling factors created by them"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_EDIT_STATE="Scaling Factors Edit State"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_EDIT_STATE_DESC="Allows the users in this group to update the state of the scaling factor"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_EDIT_VERSION="Scaling Factors Edit Version"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version scaling factors"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_EXPORT="Scaling Factors Export"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_EXPORT_DESC="Allows the users in this group to export export scaling factors"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_IMPORT="Scaling Factors Import"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_IMPORT_DESC="Allows the users in this group to import import scaling factors"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_SUBMENU="Scaling Factors Submenu"
|
||||
COM_COSTBENEFITPROJECTION_SCALING_FACTORS_SUBMENU_DESC="Allows the users in this group to update the submenu of the scaling factor"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_ACCESS="Service Providers Access"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_ACCESS_DESC="Allows the users in this group to access access service providers"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_BATCH_USE="Service Providers Batch Use"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch service providers"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_CREATE="Service Providers Create"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_CREATE_DESC="Allows the users in this group to create create service providers"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_DASHBOARD_ADD="Service Providers Dashboard Add"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the service provider"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_DASHBOARD_LIST="Service Providers Dashboard List"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the service provider"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_DELETE="Service Providers Delete"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_DELETE_DESC="Allows the users in this group to delete delete service providers"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_EDIT="Service Providers Edit"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_EDIT_DESC="Allows the users in this group to edit the service provider"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_EDIT_OWN="Service Providers Edit Own"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_EDIT_OWN_DESC="Allows the users in this group to edit edit own service providers created by them"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_EDIT_STATE="Service Providers Edit State"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the service provider"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_EDIT_VERSION="Service Providers Edit Version"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version service providers"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_EXPORT="Service Providers Export"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_EXPORT_DESC="Allows the users in this group to export export service providers"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_IMPORT="Service Providers Import"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_IMPORT_DESC="Allows the users in this group to import import service providers"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_SUBMENU="Service Providers Submenu"
|
||||
COM_COSTBENEFITPROJECTION_SERVICE_PROVIDERS_SUBMENU_DESC="Allows the users in this group to update the submenu of the service provider"
|
||||
COM_COSTBENEFITPROJECTION_USE_BATCH="Use Batch"
|
||||
COM_COSTBENEFITPROJECTION_USE_BATCH_DESC=" Allows users in this group to use batch copy/update method."
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage batchselection.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage details_above.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage details_fullwidth.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage details_left.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage details_right.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage publishing.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage publlshing.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage age_groups_percentages_fullwidth.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage age_groups_percentages_left.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage age_groups_percentages_right.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage causerisk_selection_fullwidth.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage details_above.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage details_left.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage details_right.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage details_under.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage interventions_fullwidth.php
|
||||
@ -25,10 +25,10 @@ defined('_JEXEC') or die('Restricted access');
|
||||
$items = $displayData->vwdinterventions;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit";
|
||||
$ref = ($id) ? "&ref=company&refid=".$id : "";
|
||||
$new = "index.php?option=com_costbenefitprojection&view=intervention&layout=edit".$ref;
|
||||
$can = CostbenefitprojectionHelper::getActions('intervention');
|
||||
$edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit";
|
||||
$ref = ($id) ? "&ref=company&refid=".$id : "";
|
||||
$new = "index.php?option=com_costbenefitprojection&view=intervention&layout=edit".$ref;
|
||||
$can = CostbenefitprojectionHelper::getActions('intervention');
|
||||
|
||||
?>
|
||||
<div class="form-vertical">
|
||||
@ -100,26 +100,26 @@ $can = CostbenefitprojectionHelper::getActions('intervention');
|
||||
</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'); ?>
|
||||
<span class="status-metro status-published" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_PUBLISHED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-inactive" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_INACTIVE'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-archived" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_ARCHIVED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-trashed" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_TRASHED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_TRASHED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage publishing.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage publlshing.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage scaling_factors_fullwidth.php
|
||||
@ -25,7 +25,7 @@ defined('_JEXEC') or die('Restricted access');
|
||||
$items = $displayData->vwcscaling_factors;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_costbenefitprojection&view=scaling_factors&task=scaling_factor.edit";
|
||||
$edit = "index.php?option=com_costbenefitprojection&view=scaling_factors&task=scaling_factor.edit";
|
||||
|
||||
?>
|
||||
<div class="form-vertical">
|
||||
@ -106,26 +106,26 @@ $edit = "index.php?option=com_costbenefitprojection&view=scaling_factors&task=sc
|
||||
</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'); ?>
|
||||
<span class="status-metro status-published" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_PUBLISHED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-inactive" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_INACTIVE'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-archived" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_ARCHIVED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-trashed" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_TRASHED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_TRASHED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage age_groups_percentages_left.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage age_groups_percentages_right.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage causerisk_selection_fullwidth.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage companies_fullwidth.php
|
||||
@ -25,10 +25,10 @@ defined('_JEXEC') or die('Restricted access');
|
||||
$items = $displayData->vwhcompanies;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_costbenefitprojection&view=companies&task=company.edit";
|
||||
$ref = ($id) ? "&ref=country&refid=".$id : "";
|
||||
$new = "index.php?option=com_costbenefitprojection&view=company&layout=edit".$ref;
|
||||
$can = CostbenefitprojectionHelper::getActions('company');
|
||||
$edit = "index.php?option=com_costbenefitprojection&view=companies&task=company.edit";
|
||||
$ref = ($id) ? "&ref=country&refid=".$id : "";
|
||||
$new = "index.php?option=com_costbenefitprojection&view=company&layout=edit".$ref;
|
||||
$can = CostbenefitprojectionHelper::getActions('company');
|
||||
|
||||
?>
|
||||
<div class="form-vertical">
|
||||
@ -116,26 +116,26 @@ $can = CostbenefitprojectionHelper::getActions('company');
|
||||
</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'); ?>
|
||||
<span class="status-metro status-published" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_PUBLISHED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-inactive" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_INACTIVE'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-archived" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_ARCHIVED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-trashed" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_TRASHED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_TRASHED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage details_above.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage details_left.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage details_right.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage health_data_totals_left.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage health_data_totals_right.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage interventions_fullwidth.php
|
||||
@ -25,10 +25,10 @@ defined('_JEXEC') or die('Restricted access');
|
||||
$items = $displayData->vwfinterventions;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit";
|
||||
$ref = ($id) ? "&ref=country&refid=".$id : "";
|
||||
$new = "index.php?option=com_costbenefitprojection&view=intervention&layout=edit".$ref;
|
||||
$can = CostbenefitprojectionHelper::getActions('intervention');
|
||||
$edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit";
|
||||
$ref = ($id) ? "&ref=country&refid=".$id : "";
|
||||
$new = "index.php?option=com_costbenefitprojection&view=intervention&layout=edit".$ref;
|
||||
$can = CostbenefitprojectionHelper::getActions('intervention');
|
||||
|
||||
?>
|
||||
<div class="form-vertical">
|
||||
@ -104,26 +104,26 @@ $can = CostbenefitprojectionHelper::getActions('intervention');
|
||||
</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'); ?>
|
||||
<span class="status-metro status-published" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_PUBLISHED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-inactive" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_INACTIVE'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-archived" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_ARCHIVED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-trashed" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_TRASHED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_TRASHED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage public_details_fullwidth.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage publishing.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage publlshing.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage service_providers_fullwidth.php
|
||||
@ -25,10 +25,10 @@ defined('_JEXEC') or die('Restricted access');
|
||||
$items = $displayData->vwgservice_providers;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
$edit = "index.php?option=com_costbenefitprojection&view=service_providers&task=service_provider.edit";
|
||||
$ref = ($id) ? "&ref=country&refid=".$id : "";
|
||||
$new = "index.php?option=com_costbenefitprojection&view=service_provider&layout=edit".$ref;
|
||||
$can = CostbenefitprojectionHelper::getActions('service_provider');
|
||||
$edit = "index.php?option=com_costbenefitprojection&view=service_providers&task=service_provider.edit";
|
||||
$ref = ($id) ? "&ref=country&refid=".$id : "";
|
||||
$new = "index.php?option=com_costbenefitprojection&view=service_provider&layout=edit".$ref;
|
||||
$can = CostbenefitprojectionHelper::getActions('service_provider');
|
||||
|
||||
?>
|
||||
<div class="form-vertical">
|
||||
@ -100,26 +100,26 @@ $can = CostbenefitprojectionHelper::getActions('service_provider');
|
||||
</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'); ?>
|
||||
<span class="status-metro status-published" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_PUBLISHED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-inactive" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_INACTIVE'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-archived" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_ARCHIVED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_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'); ?>
|
||||
<span class="status-metro status-trashed" title="<?php echo JText::_('COM_COSTBENEFITPROJECTION_TRASHED'); ?>">
|
||||
<?php echo JText::_('COM_COSTBENEFITPROJECTION_TRASHED'); ?>
|
||||
</span>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage details_above.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage details_left.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage details_right.php
|
||||
|
@ -3,8 +3,8 @@
|
||||
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
||||
/-------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 3.4.2
|
||||
@build 16th August, 2016
|
||||
@version 3.4.3
|
||||
@build 5th May, 2018
|
||||
@created 15th June, 2012
|
||||
@package Cost Benefit Projection
|
||||
@subpackage publishing.php
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user