diff options
author | Sem <sembrestels@riseup.net> | 2013-11-09 16:18:26 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2013-11-09 16:18:26 +0100 |
commit | ed6d980dcb06a66e1746fe4959aa138c39fb4e9e (patch) | |
tree | a018c2f31e0abbc543f97edf9d0337ebaf648a41 /mod/registrationterms/views/default | |
parent | 6834f913fe7ce7d4274a9757661589e9a222b71c (diff) | |
parent | e586807b4e6ace77d53b3195ca4fa13ab62d4a09 (diff) | |
download | elgg-ed6d980dcb06a66e1746fe4959aa138c39fb4e9e.tar.gz elgg-ed6d980dcb06a66e1746fe4959aa138c39fb4e9e.tar.bz2 |
Add 'mod/registrationterms/' from commit 'e586807b4e6ace77d53b3195ca4fa13ab62d4a09'
git-subtree-dir: mod/registrationterms
git-subtree-mainline: 6834f913fe7ce7d4274a9757661589e9a222b71c
git-subtree-split: e586807b4e6ace77d53b3195ca4fa13ab62d4a09
Diffstat (limited to 'mod/registrationterms/views/default')
-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 |