diff options
Diffstat (limited to 'mod/registrationterms/views/default/registrationterms/register.php')
-rw-r--r-- | mod/registrationterms/views/default/registrationterms/register.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mod/registrationterms/views/default/registrationterms/register.php b/mod/registrationterms/views/default/registrationterms/register.php new file mode 100644 index 000000000..153674dd0 --- /dev/null +++ b/mod/registrationterms/views/default/registrationterms/register.php @@ -0,0 +1,17 @@ +<?php
+/**
+ *
+ */
+
+$label = elgg_echo('registrationterms:agree', array(elgg_normalize_url('/terms')));
+
+$input = elgg_view('input/checkbox', array(
+ 'name' => 'agreetoterms',
+ 'value' => 'true',
+ 'required' => TRUE,
+ 'default' => false,
+));
+?>
+<div>
+ <label><?php echo "$input $label"; ?></label>
+</div>
\ No newline at end of file |