You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
2.0 KiB
Smarty
59 lines
2.0 KiB
Smarty
18 years ago
|
<div id="edit_form">
|
||
|
<form name="alias" method="post">
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td colspan="3"><h3><?php print $PALANG['pAdminEdit_admin_welcome']; ?></h3></td></tr>
|
||
|
<tr>
|
||
|
<td><?php print $PALANG['pAdminEdit_admin_username'] . ":"; ?></td>
|
||
|
<td><?php print $username; ?></td>
|
||
|
<td> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><?php print $PALANG['pAdminEdit_admin_password'] . ":"; ?></td>
|
||
|
<td><input class="flat" type="password" name="fPassword" /></td>
|
||
|
<td><?php print $pAdminEdit_admin_password_text; ?></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><?php print $PALANG['pAdminEdit_admin_password2'] . ":"; ?></td>
|
||
|
<td><input class="flat" type="password" name="fPassword2" /></td>
|
||
|
<td> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><?php print $PALANG['pAdminEdit_admin_active'] . ":"; ?></td>
|
||
|
<td><input class="flat" type="checkbox" name="fActive" <?php print (!empty ($tActive)) ? 'checked' : ''; ?> /></td>
|
||
|
<td> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><?php print $PALANG['pAdminEdit_admin_super_admin'] . ":"; ?></td>
|
||
|
<td><input class="flat" type="checkbox" name="fSadmin" <?php print (!empty ($tSadmin)) ? 'checked' : ''; ?> /></td>
|
||
|
<td> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan=3 align=center>
|
||
|
<select name="fDomains[]" size="10" multiple="multiple">
|
||
|
<?php
|
||
|
for ($i = 0; $i < sizeof ($list_domains); $i++)
|
||
|
{
|
||
|
if (in_array ($list_domains[$i], $tDomains))
|
||
|
{
|
||
|
print "<option value=\"" . $list_domains[$i] . "\" selected=\"selected\">" . $list_domains[$i] . "</option>\n";
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
print "<option value=\"" . $list_domains[$i] . "\">" . $list_domains[$i] . "</option>\n";
|
||
|
}
|
||
|
}
|
||
|
?>
|
||
|
</select>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="3" class="hlp_center"><input class="button" type="submit" name="submit" value="<?php print $PALANG['pAdminEdit_admin_button']; ?>" /></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="3" class="standout"><?php print $tMessage; ?></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</form>
|
||
|
</div>
|