diff options
Diffstat (limited to 'central/trunk/activate.php')
-rw-r--r-- | central/trunk/activate.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/central/trunk/activate.php b/central/trunk/activate.php index 61a0fca..9706a69 100644 --- a/central/trunk/activate.php +++ b/central/trunk/activate.php | |||
@@ -48,11 +48,11 @@ function showForm($username, $code, $errors) | |||
48 | 48 | ||
49 | if (isset($errors[1])) | 49 | if (isset($errors[1])) |
50 | { | 50 | { |
51 | $template->adds('ERROR', array('ex'=>'1')); | 51 | $template->adds_block('ERROR', array('ex'=>'1')); |
52 | 52 | ||
53 | foreach ($errors as $name => $value) | 53 | foreach ($errors as $name => $value) |
54 | { | 54 | { |
55 | $template->adds('ERRORS', array( 'NAME' => $name, | 55 | $template->adds_block('ERRORS', array( 'NAME' => $name, |
56 | 'MSG' => $value['msg'])); | 56 | 'MSG' => $value['msg'])); |
57 | } | 57 | } |
58 | } | 58 | } |
@@ -88,7 +88,7 @@ function doErrors($template, $errors, $id) | |||
88 | { | 88 | { |
89 | if ($value['field'] == $id) | 89 | if ($value['field'] == $id) |
90 | { | 90 | { |
91 | $template->adds(strtoupper($id) . '_ERRS', array( 'NAME' => $name, | 91 | $template->adds_block(strtoupper($id) . '_ERRS', array( 'NAME' => $name, |
92 | 'VALUE' => $value['msg'])); | 92 | 'VALUE' => $value['msg'])); |
93 | } | 93 | } |
94 | } | 94 | } |