2erlei/app/modules/user/views/edit.php

20 lines
983 B
PHP
Raw Permalink Normal View History

2019-09-22 14:53:30 +00:00
<?php
$this->functions->needs('html');
$b = new bereiche('2');
$html = new html($this);
?>
<h2>Benutzer <?php echo $this->get_field('name'); ?> <span id="actiontitle">bearbeiten</span></h2>
<form action="/user/edit/<?php echo $this->get_field('id'); ?>/save" method="post">
<?php $b->oben('useredit', 'Allgemeines'); ?>
<p><label>Benutzername: </label><?php echo $this->get_field('name') ?></p>
<p><?php $html->get_input('password1', 'Passwort', array('type'=>'password') ); ?></p>
<p><?php $html->get_input('password2', 'Passwort wiederholen', array('type'=>'password') ); ?></p>
<p><?php $html->get_input('email', 'e-mail' ); ?></p>
<p><label for="status">Status</label><?php $html->get_dropdown('status', '0=aktiv,1=inaktiv'); ?></p>
<p><label for="level">Benutzergruppe</label><?php $html->get_dropdown('level', $this->get_levels($this->data['my_level'])); ?></p>
<?php $b->buttons('abbrechen:/user/admin/,speichern'); ?>
<?php $b->unten(); ?>
</form>