bludit/admin/views/add-user.php

38 lines
1.4 KiB
PHP
Raw Normal View History

2015-07-03 22:44:26 +02:00
<h2 class="title"><i class="fa fa-user-plus"></i> <?php $Language->p('Add a new user') ?></h2>
2015-05-05 03:00:01 +02:00
<?php makeNavbar('users'); ?>
<form method="post" action="" class="forms">
<label>
2015-07-03 22:44:26 +02:00
<?php $Language->p('Username') ?>
2015-05-05 03:00:01 +02:00
<input type="text" name="username" class="width-50">
</label>
<label>
2015-07-03 22:44:26 +02:00
<?php $Language->p('Password') ?>
2015-05-05 03:00:01 +02:00
<input type="password" name="password" class="width-50">
</label>
<label>
2015-07-03 22:44:26 +02:00
<?php $Language->p('Confirm Password') ?>
2015-05-05 03:00:01 +02:00
<input type="password" name="confirm-password" class="width-50">
</label>
<label for="country">
2015-07-03 22:44:26 +02:00
<?php $Language->p('Role') ?>
2015-05-05 03:00:01 +02:00
<select name="role" class="width-50">
2015-07-03 22:44:26 +02:00
<option value="editor"><?php $Language->p('Editor') ?></option>
<option value="admin"><?php $Language->p('Administrator') ?></option>
2015-05-05 03:00:01 +02:00
</select>
2015-07-03 22:44:26 +02:00
<div class="forms-desc"><?php $Language->p('you-can-choose-the-users-privilege') ?></div>
2015-05-05 03:00:01 +02:00
</label>
<label>
Email
<input type="text" name="email" class="width-50">
2015-07-03 22:44:26 +02:00
<div class="forms-desc"><?php $Language->p('email-will-not-be-publicly-displayed') ?></div>
2015-05-05 03:00:01 +02:00
</label>
2015-07-03 22:44:26 +02:00
<input type="submit" class="btn btn-blue" value="<?php $Language->p('Add') ?>" name="add-user">
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>" class="btn"><?php $Language->p('Cancel') ?></a>
2015-07-04 00:36:37 +02:00
</form>