Fix #1534
This commit is contained in:
parent
5c2275f035
commit
eeeb6cb19b
|
@ -21,7 +21,7 @@ function searchdomain {
|
||||||
U_LOGIN=$(mysql_query "SELECT login FROM membres WHERE uid='$U_ID'" |grep -v "^login")
|
U_LOGIN=$(mysql_query "SELECT login FROM membres WHERE uid='$U_ID'" |grep -v "^login")
|
||||||
DOM_DIR="$ALTERNC_LOGS/$U_ID-$U_LOGIN"
|
DOM_DIR="$ALTERNC_LOGS/$U_ID-$U_LOGIN"
|
||||||
if [ -d "$DOM_DIR" ] ; then
|
if [ -d "$DOM_DIR" ] ; then
|
||||||
echo $(find -P "$DOM_DIR" -mindepth 1 -maxdepth 2 -type f -iname "*.log" -print0 | xargs -0)
|
echo $(find -P "$DOM_DIR" -mindepth 1 -maxdepth 2 -type f -iname "*.log*" -print0 | xargs -0)
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ while (list($key,$val)=each($r)) {
|
||||||
<td><div class="ina"><a href="aws_edit.php?id=<?php echo $val["id"] ?>"><img src="images/edit.png" alt="<?php __("Edit"); ?>" title="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div></td>
|
<td><div class="ina"><a href="aws_edit.php?id=<?php echo $val["id"] ?>"><img src="images/edit.png" alt="<?php __("Edit"); ?>" title="<?php __("Edit"); ?>" /><?php __("Edit"); ?></a></div></td>
|
||||||
<td class='retour-auto'><label for="del_<?php echo $val["id"]; ?>" ><?php echo $val["hostname"] ?></label></td>
|
<td class='retour-auto'><label for="del_<?php echo $val["id"]; ?>" ><?php echo $val["hostname"] ?></label></td>
|
||||||
<td><?php echo $val["users"] ?></td>
|
<td><?php echo $val["users"] ?></td>
|
||||||
<td><div class="ina"><a href="/cgi-bin/awstats.pl?config=<?php echo $val["hostname"]; ?>"><img src="images/stat.png" alt="<?php __("View the statistics"); ?>" /><?php __("View the statistics"); ?></a></div></td>
|
<td><div class="ina"><a href="/cgi-bin/awstats.pl?config=<?php echo $val["hostname"]; ?>" target="_blank" ><img src="images/stat.png" alt="<?php __("View the statistics"); ?>" /><?php __("View the statistics"); ?></a></div></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } // while ?>
|
<?php } // while ?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue