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,8 +64,7 @@ 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>
|
||||||
|
@ -75,22 +73,23 @@ for($i=0;$i<count($r);$i++){
|
||||||
<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">
|
||||||
|
@ -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>
|
<td><input type="password" class="int" name="passwordconf" id="passwordconf" value="" size="20" maxlength="64" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<input type="submit" class="inb" value="<?php __("Add this user"); ?>" />
|
<input type="submit" class="inb" value="<?php __("Add this user"); ?>" />
|
||||||
</form>
|
</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');
|
||||||
|
|
Loading…
Reference in New Issue