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>
|
||||
<?php } ?>
|
||||
<td align="center">
|
||||
<a href="adm_login.php?id=<?php echo $val["uid"];?>" target="_parent">[ <?php __("C"); ?> ]</a>
|
||||
<a href="adm_edit.php?uid=<?php echo $val["uid"] ?>">[ <?php __("E"); ?> ]</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"] ?>" title="<?php __("Edit"); ?>">[ <?php __("E"); ?> ]</a>
|
||||
<?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 } ?>
|
||||
</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) {
|
||||
$error=$err->errstr();
|
||||
}
|
||||
}
|
||||
} // if !$dir
|
||||
|
||||
?>
|
||||
<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>";
|
||||
} else {
|
||||
reset($r);
|
||||
|
||||
?>
|
||||
<form method="post" action="hta_dodeluser.php">
|
||||
<table cellspacing="0" cellpadding="4" class='tlist'>
|
||||
|
@ -65,8 +64,7 @@ if (!$dir) {
|
|||
$col=1;
|
||||
|
||||
for($i=0;$i<count($r);$i++){
|
||||
$col=3-$col;
|
||||
?>
|
||||
$col=3-$col; ?>
|
||||
<tr class="lst<?php echo $col; ?>">
|
||||
<td align="center"><input type="checkbox" class="inc" name="d[]" value="<?php echo $r[$i]?>" /></td>
|
||||
<td>
|
||||
|
@ -75,22 +73,23 @@ for($i=0;$i<count($r);$i++){
|
|||
<td><?php echo $r[$i]; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
} // for $i
|
||||
?>
|
||||
</table>
|
||||
|
||||
<br />
|
||||
<input type="submit" class="inb" name="submit" value="<?php __("Delete the checked users"); ?>" />
|
||||
</form>
|
||||
|
||||
<?php } ?>
|
||||
<?php } // else !count $r ?>
|
||||
<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>
|
||||
</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<hr />
|
||||
<p><?php __("Adding an authorized user"); ?></p>
|
||||
<fieldset>
|
||||
<legend><h3><?php __("Adding an authorized user"); ?></h3></legend>
|
||||
|
||||
<form method="post" action="hta_doadduser.php" name="main" id="main">
|
||||
<table class="tedit">
|
||||
|
@ -111,9 +110,12 @@ for($i=0;$i<count($r);$i++){
|
|||
<td><input type="password" class="int" name="passwordconf" id="passwordconf" value="" size="20" maxlength="64" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br />
|
||||
<input type="submit" class="inb" value="<?php __("Add this user"); ?>" />
|
||||
</form>
|
||||
</fieldset>
|
||||
|
||||
<script type="text/javascript">
|
||||
document.forms['main'].user.focus();
|
||||
document.forms['main'].setAttribute('autocomplete', 'off');
|
||||
|
|
Loading…
Reference in New Issue