25 require_once(
"../class/config.php");
26 include_once(
"head.php");
29 <h3><?php
__(
"Awstats allowed user list"); ?></h3>
35 <p
class=
"error"><?php echo
$error; $error=
''; ?></p>
39 if (!
$r=$aws->list_login()) {
44 if ($quota->cancreate(
"aws")) { ?>
45 <p><span
class=
"ina"><a href=
"aws_add.php"><?php
__(
"Create new Statistics"); ?></a></span></p>
48 <form method=
"post" action=
"aws_useradd.php" name=
"main">
51 <label
for=
"login"><?php
__(
"Username"); ?></label></th><td>
52 <select
class=
"inl" name=
"prefixe"><?php $aws->select_prefix_list($prefixe); ?></select> <b>_</b> <input type=
"text" class=
"int" name=
"login" id=
"login" value=
"" size=
"20" maxlength=
"64" />
54 <tr><th><label
for=
"pass"><?php
__(
"Password"); ?></label></th><td><input type=
"password" class=
"int" name=
"pass" id=
"pass" value=
"" size=
"20" maxlength=
"64" /><?php
display_div_generate_password(
DEFAULT_PASS_SIZE,
"#pass",
"#passconf"); ?></td></tr>
55 <tr><th><label
for=
"passconf"><?php
__(
"Confirm password"); ?></label></th><td><input type=
"password" class=
"int" name=
"passconf" id=
"passconf" value=
"" size=
"20" maxlength=
"64" /></td></tr>
56 <tr
class=
"trbtn"><td colspan=
"2">
57 <input type=
"submit" class=
"inb" name=
"submit" value=
"<?php __("Create
this new Awstats user
"); ?>" />
58 <input type=
"button" class=
"inb" name=
"cancel" value=
"<?php __("Cancel
"); ?>" onclick=
"document.location='aws_list.php'"/>
69 <p
class=
"error"><?php echo
$error ?></p>
76 <form method=
"post" action=
"aws_userdel.php" name=
"main2" id=
"main2">
78 <tr><th colspan=
"2"><?php
__(
"Action"); ?></th><th><?php
__(
"Username"); ?></th></tr>
84 <tr
class=
"lst<?php echo $col; ?>">
85 <td align=
"center"><input type=
"checkbox" class=
"inc" id=
"del_<?php echo $val; ?>" name=
"del_<?php echo $val; ?>" value=
"<?php echo $val; ?>" /></td>
86 <td><span
class=
"ina"><a href=
"aws_pass.php?login=<?php echo $val ?>"><?php
__(
"Change password"); ?></a></span></td>
87 <td><label
for=
"del_<?php echo $val; ?>"><?php echo $val ?></label></td>
92 <tr><td colspan=
"5"><input type=
"submit" name=
"submit" class=
"inb" onClick=
'return confirm("<?php __("Are you sure you want to delete the selected accounts?");?>");' value=
"<?php __("Delete checked accounts
"); ?>" /></td></tr>
100 <script type=
"text/javascript">
101 document.forms[
'main'].login.focus();
102 document.forms[
'main'].setAttribute(
'autocomplete',
'off');
105 <?php include_once(
"foot.php"); ?>