Added more module positions to the public and create account view, added the display of age group results sets to the result tables. All other changes are only random variable name and date changes (due to automation)

This commit is contained in:
Llewellyn van der Merwe 2016-02-15 00:39:12 +02:00
parent e493b19deb
commit 0a698a796a
412 changed files with 2348 additions and 1316 deletions

View File

@ -22,12 +22,12 @@ max_input_vars = 5000
+ *Author*: [Llewellyn van der Merwe] (mailto:llewellyn@vdm.io)
+ *Name*: [Cost Benefit Projection] (https://www.staffhealthcbp.com/)
+ *First Build*: 15th June, 2012
+ *Last Build*: 31st January, 2016
+ *Last Build*: 14th February, 2016
+ *Version*: 3.3.0
+ *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*: **81798**
+ *File count*: **542**
+ *Line count*: **82830**
+ *File count*: **546**
+ *Folder count*: **101**
> This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder).

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage admin.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage causerisk.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage causesrisks.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage combinedresults.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage companies.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage company.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage companyresults.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage countries.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage country.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage currencies.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage currency.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage dashboard.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage health_data.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage health_data_sets.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage help_document.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage help_documents.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage intervention.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage interventions.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage scaling_factor.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage scaling_factors.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage service_provider.css

View File

@ -3,7 +3,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage service_providers.css

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage controller.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage ajax.json.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage causerisk.php
@ -312,7 +312,7 @@ class CostbenefitprojectionControllerCauserisk extends JControllerForm
*
* @since 11.1
*/
protected function postSaveHook(JModelLegacy &$model, $validData = array())
protected function postSaveHook(JModelLegacy $model, $validData = array())
{
return;
}

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage causesrisks.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage combinedresults.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage companies.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage company.php
@ -327,7 +327,7 @@ class CostbenefitprojectionControllerCompany extends JControllerForm
*
* @since 11.1
*/
protected function postSaveHook(JModelLegacy &$model, $validData = array())
protected function postSaveHook(JModelLegacy $model, $validData = array())
{
if ($validData['id'] >= 0)
{

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage companyresults.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage costbenefitprojection.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage countries.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage country.php
@ -321,7 +321,7 @@ class CostbenefitprojectionControllerCountry extends JControllerForm
*
* @since 11.1
*/
protected function postSaveHook(JModelLegacy &$model, $validData = array())
protected function postSaveHook(JModelLegacy $model, $validData = array())
{
if ($validData['id'] >= 0)
{

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage currencies.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage currency.php
@ -312,7 +312,7 @@ class CostbenefitprojectionControllerCurrency extends JControllerForm
*
* @since 11.1
*/
protected function postSaveHook(JModelLegacy &$model, $validData = array())
protected function postSaveHook(JModelLegacy $model, $validData = array())
{
return;
}

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage health_data.php
@ -322,7 +322,7 @@ class CostbenefitprojectionControllerHealth_data extends JControllerForm
*
* @since 11.1
*/
protected function postSaveHook(JModelLegacy &$model, $validData = array())
protected function postSaveHook(JModelLegacy $model, $validData = array())
{
return;
}

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage health_data_sets.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage help.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage help_document.php
@ -312,7 +312,7 @@ class CostbenefitprojectionControllerHelp_document extends JControllerForm
*
* @since 11.1
*/
protected function postSaveHook(JModelLegacy &$model, $validData = array())
protected function postSaveHook(JModelLegacy $model, $validData = array())
{
return;
}

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage help_documents.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage import.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage intervention.php
@ -327,7 +327,7 @@ class CostbenefitprojectionControllerIntervention extends JControllerForm
*
* @since 11.1
*/
protected function postSaveHook(JModelLegacy &$model, $validData = array())
protected function postSaveHook(JModelLegacy $model, $validData = array())
{
return;
}

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage interventions.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage scaling_factor.php
@ -321,7 +321,7 @@ class CostbenefitprojectionControllerScaling_factor extends JControllerForm
*
* @since 11.1
*/
protected function postSaveHook(JModelLegacy &$model, $validData = array())
protected function postSaveHook(JModelLegacy $model, $validData = array())
{
return;
}

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage scaling_factors.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage service_provider.php
@ -320,7 +320,7 @@ class CostbenefitprojectionControllerService_provider extends JControllerForm
*
* @since 11.1
*/
protected function postSaveHook(JModelLegacy &$model, $validData = array())
protected function postSaveHook(JModelLegacy $model, $validData = array())
{
if ($validData['id'] >= 0)
{

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage service_providers.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage costbenefitprojection.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage costbenefitprojection.php
@ -1359,7 +1359,7 @@ abstract class CostbenefitprojectionHelper
foreach ($actions as $action)
{
// set to use component default
$allow = true;
$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.
@ -1375,13 +1375,13 @@ abstract class CostbenefitprojectionHelper
{
$result->set($action->name, true);
// set not to use component default
$allow = false;
$fallback= false;
}
else
{
$result->set($action->name, false);
// set not to use component default
$allow = false;
$fallback= false;
}
}
elseif ($user->authorise($view.'edit.own', 'com_costbenefitprojection.'.$view.'.' . (int) $record->id))
@ -1391,13 +1391,13 @@ abstract class CostbenefitprojectionHelper
{
$result->set($action->name, true);
// set not to use component default
$allow = false;
$fallback= false;
}
else
{
$result->set($action->name, false);
// set not to use component default
$allow = false;
$fallback= false;
}
}
elseif ($user->authorise('core.edit.own', 'com_costbenefitprojection'))
@ -1407,13 +1407,13 @@ abstract class CostbenefitprojectionHelper
{
$result->set($action->name, true);
// set not to use component default
$allow = false;
$fallback= false;
}
else
{
$result->set($action->name, false);
// set not to use component default
$allow = false;
$fallback= false;
}
}
elseif ($user->authorise($view.'edit.own', 'com_costbenefitprojection'))
@ -1423,13 +1423,13 @@ abstract class CostbenefitprojectionHelper
{
$result->set($action->name, true);
// set not to use component default
$allow = false;
$fallback= false;
}
else
{
$result->set($action->name, false);
// set not to use component default
$allow = false;
$fallback= false;
}
}
}
@ -1459,13 +1459,13 @@ abstract class CostbenefitprojectionHelper
{
$result->set($action->name, true);
// set not to use component default
$allow = false;
$fallback= false;
}
else
{
$result->set($action->name, false);
// set not to use component default
$allow = false;
$fallback= false;
}
}
elseif ($user->authorise($view.'edit.own', 'com_costbenefitprojection.'.$views.'.category.' . (int) $record->catid))
@ -1475,13 +1475,13 @@ abstract class CostbenefitprojectionHelper
{
$result->set($action->name, true);
// set not to use component default
$allow = false;
$fallback= false;
}
else
{
$result->set($action->name, false);
// set not to use component default
$allow = false;
$fallback= false;
}
}
elseif ($user->authorise('core.edit.own', 'com_costbenefitprojection'))
@ -1491,13 +1491,13 @@ abstract class CostbenefitprojectionHelper
{
$result->set($action->name, true);
// set not to use component default
$allow = false;
$fallback= false;
}
else
{
$result->set($action->name, false);
// set not to use component default
$allow = false;
$fallback= false;
}
}
elseif ($user->authorise($view.'edit.own', 'com_costbenefitprojection'))
@ -1507,21 +1507,21 @@ abstract class CostbenefitprojectionHelper
{
$result->set($action->name, true);
// set not to use component default
$allow = false;
$fallback= false;
}
else
{
$result->set($action->name, false);
// set not to use component default
$allow = false;
$fallback= false;
}
}
}
}
}
}
// if allowed then fall back on component global settings
if ($allow)
// if allowed then fallback on component global settings
if ($fallback)
{
$result->set($action->name, $user->authorise($action->name, 'com_costbenefitprojection'));
}

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage batch_.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage sum.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage sumcombine.php

View File

@ -392,9 +392,9 @@ 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 VDM public key here."
COM_COSTBENEFITPROJECTION_CONFIG_VDM_KEY_LABEL="VDM Key <small>(advanced encryption)</small>"
COM_COSTBENEFITPROJECTION_CONFIG_VDM_KEY_NOTE_DESC="When using the advanced encryption you need to get a VDM public key from https://www.vdm.io/encryption/<br />Never change this public key once it is set! <b>DATA WILL GET CORRUPTED IF YOU DO!</b>"
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_YES="Yes"
COM_COSTBENEFITPROJECTION_CONTRIBUTION_TO_COSTS="Contribution to Costs"
@ -716,6 +716,7 @@ COM_COSTBENEFITPROJECTION_DASHBOARD_SCALING_FACTORS="Scaling Factors<br /><br />
COM_COSTBENEFITPROJECTION_DASHBOARD_SCALING_FACTOR_ADD="Add&nbsp;Scaling Factor<br /><br />"
COM_COSTBENEFITPROJECTION_DASHBOARD_SERVICE_PROVIDERS="Service Providers<br /><br />"
COM_COSTBENEFITPROJECTION_DASHBOARD_SERVICE_PROVIDER_ADD="Add&nbsp;Service Provider<br /><br />"
COM_COSTBENEFITPROJECTION_DATA="Data"
COM_COSTBENEFITPROJECTION_DATE="Date"
COM_COSTBENEFITPROJECTION_DAYS_LOST_FEMALE_EMPLOYEES="Days Lost Female Employees"
COM_COSTBENEFITPROJECTION_DAYS_LOST_MALE_EMPLOYEES="Days Lost Male Employees"
@ -736,6 +737,7 @@ COM_COSTBENEFITPROJECTION_EDIT_VERSIONS_DESC=" Allows users in this group to edi
COM_COSTBENEFITPROJECTION_EXPORT_DATA="Export Data"
COM_COSTBENEFITPROJECTION_EXPORT_DATA_DESC=" Allows users in this group to export data."
COM_COSTBENEFITPROJECTION_EXPORT_FAILED="Export Failed"
COM_COSTBENEFITPROJECTION_FEMALES_AGE_GROUP="Females Age Group"
COM_COSTBENEFITPROJECTION_HEALTH_DATA="Health Data"
COM_COSTBENEFITPROJECTION_HEALTH_DATA_AGE_LABEL="Age Group"
COM_COSTBENEFITPROJECTION_HEALTH_DATA_CAUSERISK="Causerisk"
@ -1125,6 +1127,7 @@ COM_COSTBENEFITPROJECTION_KEEP_ORIGINAL_CATEGORY="- Keep Original Category -"
COM_COSTBENEFITPROJECTION_KEEP_ORIGINAL_STATE="- Keep Original State -"
COM_COSTBENEFITPROJECTION_LICENSE="License"
COM_COSTBENEFITPROJECTION_MAIN_MENU="Main Menu"
COM_COSTBENEFITPROJECTION_MALES_AGE_GROUP="Males Age Group"
COM_COSTBENEFITPROJECTION_MORBIDITY="Morbidity"
COM_COSTBENEFITPROJECTION_MORBIDITY_REDUCTION="Morbidity Reduction"
COM_COSTBENEFITPROJECTION_MORTALITY="Mortality"

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage batchselection.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_above.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_left.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publishing.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publlshing.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage age_groups_percentages_fullwidth.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage age_groups_percentages_left.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage age_groups_percentages_right.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage causerisk_selection_fullwidth.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_above.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_left.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_right.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_under.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage interventions_fullwidth.php
@ -22,7 +22,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
$items = $displayData->guxinterventions;
$items = $displayData->kqlinterventions;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit";

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publishing.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publlshing.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage scaling_factors_fullwidth.php
@ -22,7 +22,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
$items = $displayData->aukscaling_factors;
$items = $displayData->onzscaling_factors;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_costbenefitprojection&view=scaling_factors&task=scaling_factor.edit";

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage age_groups_percentages_left.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage age_groups_percentages_right.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage causerisk_selection_fullwidth.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage companies_fullwidth.php
@ -22,7 +22,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
$items = $displayData->npocompanies;
$items = $displayData->nnfcompanies;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_costbenefitprojection&view=companies&task=company.edit";

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_above.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_left.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_right.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage health_data_totals_left.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage health_data_totals_right.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage interventions_fullwidth.php
@ -22,7 +22,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
$items = $displayData->ovwinterventions;
$items = $displayData->fyzinterventions;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_costbenefitprojection&view=interventions&task=intervention.edit";

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage public_details_fullwidth.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publishing.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publlshing.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage service_providers_fullwidth.php
@ -22,7 +22,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
$items = $displayData->fgfservice_providers;
$items = $displayData->mjwservice_providers;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_costbenefitprojection&view=service_providers&task=service_provider.edit";

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_above.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_left.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_right.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publishing.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publlshing.php

View File

@ -0,0 +1,65 @@
<?php
/*----------------------------------------------------------------------------------| www.giz.de |----/
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage databreakdownmalefemale.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('JPATH_BASE') or die('Restricted access');
$builder = array(
'cost' => array('yld' => 'YLD','death' => 'Death','costmoney_morbidity_'.$displayData->_tmpScale => 'Cost Morbidity','costmoney_presenteeism_'.$displayData->_tmpScale => 'Cost Presenteeism (due to morbidity)','costmoney_mortality_'.$displayData->_tmpScale => 'Cost Mortality'),
'day' => array('yld' => 'YLD','death' => 'Death','morbidity_'.$displayData->_tmpScale => 'Days Lost Morbidity','presenteeism_'.$displayData->_tmpScale => 'Days Lost Presenteeism (due to morbidity)','days_lost_mortality_'.$displayData->_tmpScale => 'Days Lost Mortality')
);
$rounder = array(
'cost' => array('yld','death'),
'day' => array('yld','death','morbidity_'.$displayData->_tmpScale, 'presenteeism_'.$displayData->_tmpScale, 'days_lost_mortality_'.$displayData->_tmpScale)
);
?>
<div class="uk-grid">
<div style="float:left;">
<ul class="uk-list uk-list-striped">
<?php foreach ($displayData->male as $age => $values): ?>
<li>
<?php echo JText::_('COM_COSTBENEFITPROJECTION_MALES_AGE_GROUP'); ?> <?php echo $age; ?>
<?php foreach ($values as $key => $value): ?>
<?php if (in_array($key, $rounder[$displayData->_tmpType])) { $value = round($value,3); } ?>
<?php if (isset($builder[$displayData->_tmpType][$key])): ?>
<br />&#8627;&nbsp;<?php echo $builder[$displayData->_tmpType][$key] ?>: <b><?php echo $value;?></b>
<?php endif; ?>
<?php endforeach; ?>
</li>
<?php endforeach; ?>
</ul>
</div>
<div style="float:left;">
<ul class="uk-list uk-list-striped">
<?php foreach ($displayData->female as $age => $values): ?>
<li>
<?php echo JText::_('COM_COSTBENEFITPROJECTION_FEMALES_AGE_GROUP'); ?> <?php echo $age; ?>
<?php foreach ($values as $key => $value): ?>
<?php if (in_array($key, $rounder[$displayData->_tmpType])) { $value = round($value,3); } ?>
<?php if (isset($builder[$displayData->_tmpType][$key])): ?>
<br />&#8627;&nbsp;<?php echo $builder[$displayData->_tmpType][$key] ?>: <b><?php echo $value;?></b>
<?php endif; ?>
<?php endforeach; ?>
</li>
<?php endforeach; ?>
</ul>
</div>
</div>

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_above.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_left.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_right.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_rightside.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publishing.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage publlshing.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_above.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_fullwidth.php

View File

@ -4,7 +4,7 @@
/-------------------------------------------------------------------------------------------------------/
@version 3.3.0
@build 31st January, 2016
@build 14th February, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage details_left.php

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