47 lines
1.5 KiB
PHP
47 lines
1.5 KiB
PHP
<?php
|
|
/*----------------------------------------------------------------------------------| www.giz.de |----/
|
|
Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
|
|
/-------------------------------------------------------------------------------------------------------/
|
|
|
|
@version 3.1.0
|
|
@build 17th December, 2015
|
|
@created 15th June, 2012
|
|
@package Cost Benefit Projection
|
|
@subpackage details_fullwidth.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');
|
|
|
|
$form = $displayData->getForm();
|
|
|
|
$fields = $displayData->get('fields') ?: array(
|
|
'coverage',
|
|
'duration',
|
|
'share',
|
|
'description',
|
|
'reference'
|
|
);
|
|
|
|
?>
|
|
<div class="form-vertical">
|
|
<?php foreach($fields as $field): ?>
|
|
<div class="control-group">
|
|
<div class="control-label">
|
|
<?php echo $form->getLabel($field); ?>
|
|
</div>
|
|
<div class="controls">
|
|
<?php echo $form->getInput($field); ?>
|
|
</div>
|
|
</div>
|
|
<?php endforeach; ?>
|
|
</div>
|