From e777bc9aeb0c7c2632e47c08a1f92a1d8594bcbd Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Thu, 21 Dec 2006 04:45:44 +0000 Subject: [PATCH] MDL-7861, fixing broken xhtml in loan calculator, adding CDATA tags --- blocks/loancalc/block_loancalc.php | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/blocks/loancalc/block_loancalc.php b/blocks/loancalc/block_loancalc.php index 5c754720c68..b6ad50587d5 100644 --- a/blocks/loancalc/block_loancalc.php +++ b/blocks/loancalc/block_loancalc.php @@ -15,7 +15,7 @@ class block_loancalc extends block_base { $this->content->text = ' +]]> + - -

@@ -161,33 +159,34 @@ function comp(v) { // general entry point for all cases - - + + - - + + - - + + - + +
'.get_string('amountofloan','block_loancalc').'
calculatecalculate
'.get_string('repaymentamount','block_loancalc').'
calculatecalculate
'.get_string('loanterm','block_loancalc').'
calculatecalculate
'.get_string('interestrate','block_loancalc').'
'.get_string('repaymentfreq','block_loancalc').'
'; $options[52] = get_string('weekly','block_loancalc'); $options[26] = get_string('fortnightly','block_loancalc');