Un peu de clean sur hta_edit
Ajout de title sur les liens de adm_edit
This commit is contained in:
parent
e9b187ba29
commit
f45510dc77
|
@ -219,10 +219,10 @@ $val=$r[$z];
|
||||||
<td align="center"><input type="checkbox" class="inc" name="d[]" value="<?php echo $val["uid"]; ?>" /></td>
|
<td align="center"><input type="checkbox" class="inc" name="d[]" value="<?php echo $val["uid"]; ?>" /></td>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="adm_login.php?id=<?php echo $val["uid"];?>" target="_parent">[ <?php __("C"); ?> ]</a>
|
<a href="adm_login.php?id=<?php echo $val["uid"];?>" target="_parent" title="<?php __("Connect as"); ?>">[ <?php __("C"); ?> ]</a>
|
||||||
<a href="adm_edit.php?uid=<?php echo $val["uid"] ?>">[ <?php __("E"); ?> ]</a>
|
<a href="adm_edit.php?uid=<?php echo $val["uid"] ?>" title="<?php __("Edit"); ?>">[ <?php __("E"); ?> ]</a>
|
||||||
<?php if($admin->checkcreator($val['uid'])) { ?>
|
<?php if($admin->checkcreator($val['uid'])) { ?>
|
||||||
<a href="adm_quotaedit.php?uid=<?php echo $val["uid"] ?>">[ <?php __("Q"); ?> ]</a>
|
<a href="adm_quotaedit.php?uid=<?php echo $val["uid"] ?>" title="<?php __("Quotas"); ?>">[ <?php __("Q"); ?> ]</a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
<td style="padding-right: 2px; border-right: 1px solid black; <?php if ($val["su"]) echo "color: red"; ?>"><b><?php echo $val["login"] ?></b></td>
|
<td style="padding-right: 2px; border-right: 1px solid black; <?php if ($val["su"]) echo "color: red"; ?>"><b><?php echo $val["login"] ?></b></td>
|
||||||
|
|
|
@ -42,7 +42,7 @@ if (!$dir) {
|
||||||
if (!$r) {
|
if (!$r) {
|
||||||
$error=$err->errstr();
|
$error=$err->errstr();
|
||||||
}
|
}
|
||||||
}
|
} // if !$dir
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h3><?php printf(_("List of authorized user in folder %s"),$dir); ?></h3>
|
<h3><?php printf(_("List of authorized user in folder %s"),$dir); ?></h3>
|
||||||
|
@ -53,7 +53,6 @@ if (!$dir) {
|
||||||
echo "<p class=\"error\">".sprintf(_("No authorized user in %s"),$dir)."</p>";
|
echo "<p class=\"error\">".sprintf(_("No authorized user in %s"),$dir)."</p>";
|
||||||
} else {
|
} else {
|
||||||
reset($r);
|
reset($r);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<form method="post" action="hta_dodeluser.php">
|
<form method="post" action="hta_dodeluser.php">
|
||||||
<table cellspacing="0" cellpadding="4" class='tlist'>
|
<table cellspacing="0" cellpadding="4" class='tlist'>
|
||||||
|
@ -65,35 +64,35 @@ if (!$dir) {
|
||||||
$col=1;
|
$col=1;
|
||||||
|
|
||||||
for($i=0;$i<count($r);$i++){
|
for($i=0;$i<count($r);$i++){
|
||||||
$col=3-$col;
|
$col=3-$col; ?>
|
||||||
?>
|
|
||||||
<tr class="lst<?php echo $col; ?>">
|
<tr class="lst<?php echo $col; ?>">
|
||||||
<td align="center"><input type="checkbox" class="inc" name="d[]" value="<?php echo $r[$i]?>" /></td>
|
<td align="center"><input type="checkbox" class="inc" name="d[]" value="<?php echo $r[$i]?>" /></td>
|
||||||
<td>
|
<td>
|
||||||
<div class="ina"><a href="hta_edituser.php?user=<?php echo urlencode($r[$i])?>&dir=<?php echo urlencode($dir); ?>"><img src="icon/encrypted.png" alt="<?php __("Change this user's password"); ?>" /><?php __("Change this user's password"); ?></a></div>
|
<div class="ina"><a href="hta_edituser.php?user=<?php echo urlencode($r[$i])?>&dir=<?php echo urlencode($dir); ?>"><img src="icon/encrypted.png" alt="<?php __("Change this user's password"); ?>" /><?php __("Change this user's password"); ?></a></div>
|
||||||
</td>
|
</td>
|
||||||
<td><?php echo $r[$i]; ?></td>
|
<td><?php echo $r[$i]; ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
}
|
} // for $i
|
||||||
?>
|
?>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<input type="submit" class="inb" name="submit" value="<?php __("Delete the checked users"); ?>" />
|
<input type="submit" class="inb" name="submit" value="<?php __("Delete the checked users"); ?>" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php } ?>
|
<?php } // else !count $r ?>
|
||||||
<p>
|
<p>
|
||||||
<span class="inb"><a href="bro_main.php?R=<?php echo $dir ?>"><?php __("Show this folder's content in the File Browser"); ?></a></span>
|
<span class="inb"><a href="bro_main.php?R=<?php echo $dir ?>"><?php __("Show this folder's content in the File Browser"); ?></a></span>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p> </p>
|
<p> </p>
|
||||||
|
|
||||||
<hr />
|
<fieldset>
|
||||||
<p><?php __("Adding an authorized user"); ?></p>
|
<legend><h3><?php __("Adding an authorized user"); ?></h3></legend>
|
||||||
|
|
||||||
<form method="post" action="hta_doadduser.php" name="main" id="main">
|
<form method="post" action="hta_doadduser.php" name="main" id="main">
|
||||||
<table class="tedit">
|
<table class="tedit">
|
||||||
<tr>
|
<tr>
|
||||||
<th><input type="hidden" name="dir" value="<?php echo $dir ?>" /><?php __("Folder"); ?></th>
|
<th><input type="hidden" name="dir" value="<?php echo $dir ?>" /><?php __("Folder"); ?></th>
|
||||||
<td><code><?php echo $dir; ?></code></td>
|
<td><code><?php echo $dir; ?></code></td>
|
||||||
|
@ -110,13 +109,16 @@ for($i=0;$i<count($r);$i++){
|
||||||
<th><label for="passwordconf"><?php __("Confirm password"); ?></label></th>
|
<th><label for="passwordconf"><?php __("Confirm password"); ?></label></th>
|
||||||
<td><input type="password" class="int" name="passwordconf" id="passwordconf" value="" size="20" maxlength="64" /></td>
|
<td><input type="password" class="int" name="passwordconf" id="passwordconf" value="" size="20" maxlength="64" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<br />
|
|
||||||
<input type="submit" class="inb" value="<?php __("Add this user"); ?>" />
|
<br />
|
||||||
</form>
|
<input type="submit" class="inb" value="<?php __("Add this user"); ?>" />
|
||||||
|
</form>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.forms['main'].user.focus();
|
document.forms['main'].user.focus();
|
||||||
document.forms['main'].setAttribute('autocomplete', 'off');
|
document.forms['main'].setAttribute('autocomplete', 'off');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<?php include_once("foot.php"); ?>
|
<?php include_once("foot.php"); ?>
|
||||||
|
|
Loading…
Reference in New Issue