* * Copyright (c) 2015 ModBash * * @author Shane Barron <*****@*****.**> * @copyright 2015 SocialApparatus * @license GNU General Public License (GPL) version 2 * @version 1 * @link http://modbash.com */ $password = $password2 = ''; $username = get_input('u'); $email = get_input('e'); $name = get_input('n'); if (elgg_is_sticky_form('register')) { extract(elgg_get_sticky_values('register')); lorea_hydra_sticky_form('register'); } ?> <div class="col-md-6"> <div class="form-group"> <label><?php echo elgg_echo('name'); ?> </label> <?php echo elgg_view('input/text', array('name' => 'name', 'value' => $name, 'class' => 'autofocus form-control', 'placeholder' => elgg_echo('name'), 'required' => 'required')); ?> </div> <div class="form-group"> <label><?php echo elgg_echo('email');
$access_id = $sticky_values['accesslevel'][$shortname]; } ?> <label style="margin-top:10px;"><?php echo elgg_echo("profile:{$shortname}"); ?> </label> <div class="row"> <?php echo $valtype == "longtext" ? "<div class='col-md-12'>" : "<div class='col-md-8'>"; echo elgg_view("input/{$valtype}", array('name' => $shortname, 'value' => $value)); ?> </div> <?php echo $valtype == "longtext" ? "<div class='col-md-12'>" : "<div class='col-md-4'>"; echo elgg_view('input/access', array('name' => "accesslevel[{$shortname}]", 'value' => $access_id)); ?> </div> </div> <?php } } lorea_hydra_sticky_form('profile:edit'); ?> <div class="elgg-foot"> <?php echo elgg_view('input/hidden', array('name' => 'guid', 'value' => $vars['entity']->guid)); echo elgg_view('input/submit', array('value' => elgg_echo('save'), 'style' => 'margin-top:10px;')); ?> </div>