index : flyspray | |
Archlinux32 customized Flyspray installation | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 09:05:48 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 09:05:48 +0100 |
commit | 6854cb3f4d8219cf1829e32122eb2502a916eae9 (patch) | |
tree | 350feb504587d932e02837a1442b059759927646 /themes/CleanFS/templates/register.no-magic.tpl |
-rw-r--r-- | themes/CleanFS/templates/register.no-magic.tpl | 78 |
diff --git a/themes/CleanFS/templates/register.no-magic.tpl b/themes/CleanFS/templates/register.no-magic.tpl new file mode 100644 index 0000000..16fedd2 --- /dev/null +++ b/themes/CleanFS/templates/register.no-magic.tpl @@ -0,0 +1,78 @@ +<h3><?= eL('registernewuser') ?></h3> +<div class="box"> +<?php echo tpl_form(Filters::noXSS(createUrl('register')),null,null,null,'id="registernewuser"'); ?> + <ul class="form_elements wide"> + <li> + <label for="username"><?= eL('username') ?></label> + <input required="required" value="<?php echo Filters::noXSS(Req::val('user_name')); ?>" id="username" name="user_name" type="text" size="20" maxlength="32" onblur="checkname(this.value);" /> <?= eL('validusername') ?><br /><strong><span id="errormessage"></span></strong> + </li> + + <li> + <label for="realname"><?= eL('realname') ?></label> + <input required="required" value="<?php echo Filters::noXSS(Req::val('real_name')); ?>" id="realname" name="real_name" type="text" size="30" maxlength="100" /> + </li> + + <li> + <label for="emailaddress"><?= eL('emailaddress') ?></label> + <input id="emailaddress" value="<?php echo Filters::noXSS(Req::val('email_address')); ?>" name="email_address" required="required" type="text" size="20" maxlength="100" /> <?= eL('validemail') ?> + </li> + <?php if ($fs->prefs['repeat_emailaddress']): ?> + <li> + <label for="verifyemailaddress"><?= eL('verifyemailaddress') ?></label> + <input id="verifyemailaddress" value="<?php echo Filters::noXSS(Req::val('verify_email_address')); ?>" name="verify_email_address" required="required" type="text" size="20" maxlength="100" /> + </li> + <?php endif ?> + + <?php if (!empty($fs->prefs['jabber_server'])): ?> + <li> + <label for="jabberid"><?= eL('jabberid') ?></label> + <input id="jabberid" value="<?php echo Filters::noXSS(Req::val('jabber_id')); ?>" name="jabber_id" type="text" size="20" maxlength="100" /> + </li> + <?php endif ?> + + <li> + <label for="notify_type"><?= eL('notifications') ?></label> + <select id="notify_type" name="notify_type"> + <?php echo tpl_options($fs->getNotificationOptions(), Req::val('notify_type')); ?> + </select> + </li> + + <li> + <label for="time_zone"><?= eL('timezone') ?></label> + <select id="time_zone" name="time_zone"> + <?php + $times = array(); + for ($i = -12; $i <= 13; $i++) { + $times[$i] = L('GMT') . (($i == 0) ? ' ' : (($i > 0) ? '+' . $i : $i)); + } + ?> + <?php echo tpl_options($times, Req::val('time_zone', 0)); ?> + </select> + </li> + <?php if($fs->prefs['captcha_securimage']) : ?> + <li class="captchali"> + <style> + #captcha_code{width:100px;} + .captchali .securimage label{width:auto;} + .captchali .securimage {display:inline-block; width:300px;} + </style> + <label for="captcha_code"><?= eL('registercaptcha') ?></label> + <div class="securimage"><?php echo $captcha_securimage_html; ?></div> + </li> + <?php endif; ?> + </ul> + <div> + <input type="hidden" name="action" value="register.sendcode" /> + <?php if(isset($fs->prefs['captcha_recaptcha']) && $fs->prefs['captcha_recaptcha'] + && isset($fs->prefs['captcha_recaptcha_sitekey']) && $fs->prefs['captcha_recaptcha_sitekey'] + && isset($fs->prefs['captcha_recaptcha_secret']) && $fs->prefs['captcha_recaptcha_secret'] + ): ?> + <div class="g-recaptcha" data-sitekey="<?php echo Filters::noXSS($fs->prefs['captcha_recaptcha_sitekey']); ?>"></div> + <noscript>Javascript is required for this Google reCAPTCHA.</noscript> + <?php endif; ?> + <button type="submit" name="buSubmit" id="buSubmit"><?= eL('sendcode') ?></button> + </div> + <br /> + <p><?= L('note') ?></p> +</form> +</div> |