diff options
Diffstat (limited to 'views/default/registrationterms')
-rw-r--r-- | views/default/registrationterms/register.php | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/views/default/registrationterms/register.php b/views/default/registrationterms/register.php index a8ad88cdb..7f746719b 100644 --- a/views/default/registrationterms/register.php +++ b/views/default/registrationterms/register.php @@ -1,9 +1,15 @@ <?php
/**
- *
+ *
*/
+
+$label = elgg_echo('registrationterms:agree', array(elgg_get_site_url() . 'expages/read/Terms'));
+
+$input = elgg_view('input/checkbox', array(
+ 'name' => 'agreetoterms',
+ 'value' => 'true',
+));
?>
-<label>
- <input type="checkbox" name="agreetoterms" value="true">
- <?php echo elgg_echo('agreetoterms')." <a href=\"{$vars['url']}pg/expages/read/Terms/\">".elgg_echo('terms')."</a>"; ?>
-</label><br/>
\ No newline at end of file +<div>
+ <label><?php echo "$input $label"; ?></label>
+</div>
\ No newline at end of file |