Merge branch 'master' of disposed.de:scattport
This commit is contained in:
@@ -3,76 +3,76 @@
|
||||
<div id="content">
|
||||
|
||||
<div class="title">
|
||||
<h2><?=lang('create_user');?></h2>
|
||||
<h2><?=_('Create new user');?></h2>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<form name="createUser" method="post" action="<?=site_url('users/create')?>">
|
||||
<h3>Required information</h3>
|
||||
<h3><?=_('Required information');?></h3>
|
||||
<ul>
|
||||
<li>
|
||||
<?=form_label(lang('field_username'), 'username');?>
|
||||
<?=form_label(_('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>
|
||||
<label class="note"><?=_('Must be between 4 and 20 characters long');?></label>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label(lang('field_email'), 'email');?>
|
||||
<?=form_label(_('Email address'), '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');?>
|
||||
<?=form_label(_('Password'), 'password');?>
|
||||
<div>
|
||||
<input type="password" name="password" id="password" class="short text" />
|
||||
<?=form_error('password')?>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label(lang('field_password_confirm'), 'password_confirm');?>
|
||||
<?=form_label(_('Confirm password'), 'password_confirm');?>
|
||||
<div>
|
||||
<input type="password" name="password_confirm" id="password_confirm" class="short text" />
|
||||
<?=form_error('password_confirm')?>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label(lang('field_firstname'), 'firstname');?>
|
||||
<?=form_label(_('First name'), 'firstname');?>
|
||||
<div>
|
||||
<input type="text" name="firstname" id="firstname" class="short text" value="<?=set_value('firstname');?>" />
|
||||
<?=form_error('firstname')?>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label(lang('field_lastname'), 'lastname');?>
|
||||
<?=form_label(_('Last name'), 'lastname');?>
|
||||
<div>
|
||||
<input type="text" name="lastname" id="lastname" class="short text" value="<?=set_value('lastname');?>" />
|
||||
<?=form_error('lastname')?>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h3>Optional information</h3>
|
||||
<h3><?=_('Optional information');?></h3>
|
||||
<ul>
|
||||
<li>
|
||||
<?=form_label(lang('field_institution'), 'institution');?>
|
||||
<?=form_label(_('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');?>
|
||||
<?=form_label(_('Phone number'), '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>
|
||||
<label class="note"><?=('Example');?>: +49 123 456789</label>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label("Language", 'language');?>
|
||||
<?=form_label(_('Language'), 'language');?>
|
||||
<div>
|
||||
<?=form_dropdown('language', array('English'), null, 'id="language" class="drop"');?>
|
||||
<?=form_error('language')?>
|
||||
@@ -80,7 +80,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<a class="button save" href="javascript:void(0);" onclick="$('form[name=createUser]').submit();">Speichern</a>
|
||||
<a class="button save" href="javascript:void(0);" onclick="$('form[name=createUser]').submit();"><?=_('Save');?></a>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -3,54 +3,54 @@
|
||||
<div id="content">
|
||||
|
||||
<div class="title">
|
||||
<h2><?=lang('edit_user');?> '<?=$user['username'];?>'</h2>
|
||||
<h2><?php printf(_("Edit user '%s'"), $user['username']);?></h2>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<form name="createUser" method="post" action="<?=site_url('users/edit/' . $user['id'])?>">
|
||||
<h3>Required information</h3>
|
||||
<h3><?=_('Required information');?></h3>
|
||||
<ul>
|
||||
<li>
|
||||
<?=form_label(lang('field_email'), 'email');?>
|
||||
<?=form_label(_('Email address'), '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');?>
|
||||
<?=form_label(_('First name'), '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');?>
|
||||
<?=form_label(_('Last name'), '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>
|
||||
<h3><?=_('Optional information');?></h3>
|
||||
<ul>
|
||||
<li>
|
||||
<?=form_label(lang('field_institution'), 'institution');?>
|
||||
<?=form_label(_('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');?>
|
||||
<?=form_label(_('Phone number'), '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>
|
||||
<label class="note"><?=_('Example');?>: +49 123 456789</label>
|
||||
</li>
|
||||
<li>
|
||||
<?=form_label("Language", 'language');?>
|
||||
<?=form_label(_('Language'), 'language');?>
|
||||
<div>
|
||||
<?=form_dropdown('language', array('English'), null, 'id="language" class="drop"');?>
|
||||
<?=form_error('language')?>
|
||||
@@ -58,7 +58,8 @@
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<a class="button save" href="javascript:void(0);" onclick="$('form[name=createUser]').submit();">Speichern</a>
|
||||
<a class="button save" href="javascript:void(0);" onclick="$('form[name=createUser]').submit();"><?=_('Save');?></a>
|
||||
<a class="button cancel" href="<?=site_url('users');?>"><?=_('Cancel');?></a>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -3,17 +3,17 @@
|
||||
<div id="content">
|
||||
|
||||
<div class="title">
|
||||
<h2><?=_('users');?></h2>
|
||||
<h2><?=_('Users');?></h2>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h3><?=lang('available_users');?></h3>
|
||||
<h3><?=_('Available users');?></h3>
|
||||
<table class="tableList paginated">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><?=lang('username');?></th>
|
||||
<th scope="col"><?=lang('realname');?></th>
|
||||
<th scope="col"><?=lang('options');?></th>
|
||||
<th scope="col"><?=_('Username');?></th>
|
||||
<th scope="col"><?=_('Full name');?></th>
|
||||
<th scope="col"><?=_('Actions');?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php
|
||||
@@ -22,7 +22,7 @@
|
||||
<tr>
|
||||
<td><?=$user['username'];?></td>
|
||||
<td><?=$user['firstname'];?> <?=$user['lastname'];?></td>
|
||||
<td><?=anchor('users/edit/' . $user['id'], lang('user_edit'));?> | <a href="javascript:deleteConfirm('<?=site_url('users/delete/' . $user['id']);?>');"><?=lang('user_delete');?></a></td>
|
||||
<td><?=anchor('users/edit/' . $user['id'], _('Edit'));?> | <a href="javascript:deleteConfirm('<?=site_url('users/delete/' . $user['id']);?>');"><?=_('Delete');?></a></td>
|
||||
</tr>
|
||||
<?php
|
||||
endforeach;
|
||||
@@ -31,7 +31,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p><a class="button add" href="<?=site_url('users/create')?>"><?=lang('user_create');?></a>
|
||||
<p><a class="button add" href="<?=site_url('users/create')?>"><?=_('Create new user')?></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user