mortgage-calculator.tpl.php in Real Estate Mortgage Calculator 7
Default implementation of a mortgage calculator result template.
Available variables:
- $header: A header array as used by theme_table(),
- $rows: A rows array as used by theme_table(), containing calculation result per month/year
- $row['number_of_payments']: number of payments
- $row['payment']: annual payment
1 theme call to mortgage-calculator.tpl.php
- mortgage_calculator_page in ./
mortgage_calculator.module - Mortgage calculator page.
File
mortgage-calculator.tpl.phpView source
<?php
/**
* @file
* Default implementation of a mortgage calculator result template.
*
* Available variables:
* - $header: A header array as used by theme_table(),
* - $rows: A rows array as used by theme_table(), containing calculation result per month/year
* - $row['number_of_payments']: number of payments
* - $row['payment']: annual payment
*
*
* @see template_preprocess()
* @see template_process()
*/
?>
<div class="mortgage-calculator">
<?php
print theme('table', array(
'header' => $header,
'rows' => $rows,
'attributes' => array(
'class' => array(
'mortgage-calculator-table',
),
),
));
?>
</div>