Merge branch 'master' of disposed.de:scattport
This commit is contained in:
@@ -11,35 +11,43 @@
|
||||
<h3>Required information</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<?=form_label("Username", 'username');?>
|
||||
<?=form_label(lang('field_username'), 'username');?>
|
||||
<div>
|
||||
<input type="text" name="username" id="username" class="short text" value="<?=set_value('username');?>" />
|
||||
<?=form_error('username')?>
|
||||
</div>
|
||||
<label class="note">Must be between 4 and 20 characters long</label>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label("Password", 'password');?>
|
||||
<?=form_label(lang('field_email'), 'email');?>
|
||||
<div>
|
||||
<input type="text" name="email" id="email" class="medium text" value="<?=set_value('email');?>" />
|
||||
<?=form_error('email')?>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label(lang('field_password'), 'password');?>
|
||||
<div>
|
||||
<input type="password" name="password" id="password" class="short text" />
|
||||
<?=form_error('password')?>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label("Confirm password", 'password2');?>
|
||||
<?=form_label(lang('field_password_confirm'), 'password_confirm');?>
|
||||
<div>
|
||||
<input type="password" name="password_confirm" id="password_confirm" class="short text" />
|
||||
<?=form_error('password_confirm')?>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label("First name", 'firstname');?>
|
||||
<?=form_label(lang('field_firstname'), 'firstname');?>
|
||||
<div>
|
||||
<input type="text" name="firstname" id="firstname" class="short text" value="<?=set_value('firstname');?>" />
|
||||
<?=form_error('firstname')?>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label("Last name", 'lastname');?>
|
||||
<?=form_label(lang('field_lastname'), 'lastname');?>
|
||||
<div>
|
||||
<input type="text" name="lastname" id="lastname" class="short text" value="<?=set_value('lastname');?>" />
|
||||
<?=form_error('lastname')?>
|
||||
@@ -49,12 +57,20 @@
|
||||
<h3>Optional information</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<?=form_label("Institution", 'institution');?>
|
||||
<?=form_label(lang('field_institution'), 'institution');?>
|
||||
<div>
|
||||
<input type="text" name="institution" id="institution" class="medium text" value="<?=set_value('institution');?>" />
|
||||
<?=form_error('institution')?>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label(lang('field_phone'), 'phone');?>
|
||||
<div>
|
||||
<input type="text" name="phone" id="phone" class="short text" value="<?=set_value('phone');?>" />
|
||||
<?=form_error('phone')?>
|
||||
</div>
|
||||
<label class="note">Example: +49 123 456789</label>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label("Language", 'language');?>
|
||||
<div>
|
||||
|
||||
67
application/views/admin/users/edit.php
Normal file
67
application/views/admin/users/edit.php
Normal file
@@ -0,0 +1,67 @@
|
||||
<?php $this->load->view('header');?>
|
||||
|
||||
<div id="content">
|
||||
|
||||
<div class="title">
|
||||
<h2><?=lang('edit_user');?> '<?=$user['username'];?>'</h2>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<form name="createUser" method="post" action="<?=site_url('users/edit/' . $user['id'])?>">
|
||||
<h3>Required information</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<?=form_label(lang('field_email'), 'email');?>
|
||||
<div>
|
||||
<input type="text" name="email" id="email" class="medium text" value="<?=set_value('email', $user['email']);?>" />
|
||||
<?=form_error('email')?>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label(lang('field_firstname'), 'firstname');?>
|
||||
<div>
|
||||
<input type="text" name="firstname" id="firstname" class="short text" value="<?=set_value('firstname', $user['firstname']);?>" />
|
||||
<?=form_error('firstname')?>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label(lang('field_lastname'), 'lastname');?>
|
||||
<div>
|
||||
<input type="text" name="lastname" id="lastname" class="short text" value="<?=set_value('lastname', $user['lastname']);?>" />
|
||||
<?=form_error('lastname')?>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h3>Optional information</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<?=form_label(lang('field_institution'), 'institution');?>
|
||||
<div>
|
||||
<input type="text" name="institution" id="institution" class="medium text" value="<?=set_value('institution', $user['institution']);?>" />
|
||||
<?=form_error('institution')?>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label(lang('field_phone'), 'phone');?>
|
||||
<div>
|
||||
<input type="text" name="phone" id="phone" class="short text" value="<?=set_value('phone', $user['phone']);?>" />
|
||||
<?=form_error('phone')?>
|
||||
</div>
|
||||
<label class="note">Example: +49 123 456789</label>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label("Language", 'language');?>
|
||||
<div>
|
||||
<?=form_dropdown('language', array('English'), null, 'id="language" class="drop"');?>
|
||||
<?=form_error('language')?>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<a class="button save" href="javascript:void(0);" onclick="$('form[name=createUser]').submit();">Speichern</a>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $this->load->view('footer');?>
|
||||
Reference in New Issue
Block a user