diff options
author | Evan Winslow <evan@elgg.org> | 2011-03-18 22:25:02 -0700 |
---|---|---|
committer | Evan Winslow <evan@elgg.org> | 2011-03-18 22:25:02 -0700 |
commit | 198cd62a80dbc685d8e10686e81c7b5a4a2f2773 (patch) | |
tree | a2edd1abacf09699c1525630a0fa2e563535dd64 /views/default/registrationterms | |
parent | 9e4ac3d0d5b24cd6c91b33a5402fb5e636df61f4 (diff) | |
download | elgg-198cd62a80dbc685d8e10686e81c7b5a4a2f2773.tar.gz elgg-198cd62a80dbc685d8e10686e81c7b5a4a2f2773.tar.bz2 |
Cleaned up registration terms and updated to 1.8 style
Upped version.
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 |