26 require_once(
"../class/config.php");
27 include_once(
"head.php");
29 $r=$mysql->get_userslist();
33 <h3><?php
__(
"MySQL Users"); ?></h3>
37 echo
$msg->msg_html_all(
true,
true);
41 <form method=
"post" action=
"sql_users_del.php">
43 <table cellspacing=
"0" cellpadding=
"4" class=
"tlist">
44 <tr><th> </th><th><?php
__(
"User"); ?></th><th><?php
__(
"Rights"); ?></th><th><?php
__(
"Password");?></th></tr>
51 <input type=
"checkbox" class=
"inc" id=
"del_<?php echo $val["name
"]; ?>" name=
"del_<?php echo $val["name
"]; ?>" value=
"<?php echo $val["name
"]; ?>" />
53 <td><label
for=
"del_<?php echo $val["name
"]; ?>"><?php echo
$val[
"name"]; ?></label></td>
54 <td><span
class=
"ina permissions"><a href=
"sql_users_rights.php?id=<?php echo $val["name
"] ?>"><?php
__(
"Manage the rights"); ?></a></span></td>
55 <td><span
class=
"ina lock"><a href=
"sql_users_password.php?id=<?php echo $val["name
"] ?>"><?php
__(
"Password change"); ?></a></span></td>
66 <button type=
"submit" name=
"sub" class=
"inb delete"><?php
__(
"Delete the checked users"); ?></button>
72 $msg->raise(
"INFO",
"mysql", _(
"You have no sql user at the moment."));
73 echo
$msg->msg_html_all();
77 <span
class=
"ina add"><a href=
"sql_users_add.php"><?php
__(
"Create a new MySQL user"); ?></a></span>
79 <?php include_once(
"foot.php"); ?>
csrf_get($return=false)
Give a new CSRF uniq token for a form the session must be up since the CSRF is linked to the session ...
$r
Manages the MySQL users of an account.