Ajout d'une fleche sur les menu
This commit is contained in:
parent
6cb836c4fa
commit
33732a5df0
|
@ -35,7 +35,10 @@ if (isset($q["t"]) && isset($r["u"]) && $q["t"] > 0 && $r["u"] > 0) {
|
||||||
?>
|
?>
|
||||||
<div class="menu-box">
|
<div class="menu-box">
|
||||||
<a href="aws_list.php">
|
<a href="aws_list.php">
|
||||||
<div class="menu-title"><img src="images/stat.png" alt="<?php __("Web Statistics"); ?>" /> <?php __("Web Statistics"); ?> (<?= $q["u"]; ?>/<?= $q["t"]; ?>)</div>
|
<div class="menu-title">
|
||||||
|
<img src="images/stat.png" alt="<?php __("Web Statistics"); ?>" /> <?php __("Web Statistics"); ?> (<?= $q["u"]; ?>/<?= $q["t"]; ?>)
|
||||||
|
<img src="images/menu_right.png" alt="" style="float:right;" class="menu-right"/>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
|
@ -138,11 +138,11 @@ for($i=0;$i<$r["nsub"];$i++) {
|
||||||
<td><div class="retour-auto"><?php __($r['sub'][$i]['type_desc']); ?>
|
<td><div class="retour-auto"><?php __($r['sub'][$i]['type_desc']); ?>
|
||||||
<?php
|
<?php
|
||||||
//if ($r["sub"][$i]['type'] === 'VHOST') {
|
//if ($r["sub"][$i]['type'] === 'VHOST') {
|
||||||
if ( $dt[$r["sub"][$i]['type']]['target'] === 'DIRECTORY') {
|
if ( @$dt[$r["sub"][$i]['type']]['target'] === 'DIRECTORY') {
|
||||||
$iidir=$r["sub"][$i]["dest"];
|
$iidir=$r["sub"][$i]["dest"];
|
||||||
if ($iidir=='') $iidir='/';
|
if ($iidir=='') $iidir='/';
|
||||||
echo '<br /><a href="bro_main.php?R='.urlencode($iidir).'">'.htmlspecialchars($iidir).'</a>';
|
echo '<br /><a href="bro_main.php?R='.urlencode($iidir).'">'.htmlspecialchars($iidir).'</a>';
|
||||||
if ( ! file_exists($bro->convertabsolute($iidir,0))) { echo " <i style='color:red;'>"._("Directory not found")."</i>"; }
|
if ( ! file_exists($bro->convertabsolute($iidir,0))) { echo " <span class=\"alerte\">"._("Directory not found")."</span>"; }
|
||||||
} else {
|
} else {
|
||||||
if ($r["sub"][$i]['type']) echo "<br />".htmlspecialchars($r["sub"][$i]["dest"]);
|
if ($r["sub"][$i]['type']) echo "<br />".htmlspecialchars($r["sub"][$i]["dest"]);
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 455 B After Width: | Height: | Size: 417 B |
|
@ -23,6 +23,9 @@
|
||||||
?>
|
?>
|
||||||
<div class="menu-box">
|
<div class="menu-box">
|
||||||
<a href="<?php echo $help_baseurl; ?>" target="help">
|
<a href="<?php echo $help_baseurl; ?>" target="help">
|
||||||
<div class="menu-title"><img src="images/help.png" alt="<?php __("Online help"); ?>" /> <?php __("Online help"); ?></div>
|
<div class="menu-title">
|
||||||
|
<img src="images/help.png" alt="<?php __("Online help"); ?>" /> <?php __("Online help"); ?>
|
||||||
|
<img src="images/menu_right.png" alt="" style="float:right;" class="menu-right"/>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -24,6 +24,9 @@
|
||||||
?>
|
?>
|
||||||
<div class="menu-box">
|
<div class="menu-box">
|
||||||
<a href="bro_main.php">
|
<a href="bro_main.php">
|
||||||
<div class="menu-title"><img src="images/folder.png" alt="<?php __("File browser"); ?>" /> <?php __("File browser"); ?></div>
|
<div class="menu-title">
|
||||||
|
<img src="images/folder.png" alt="<?php __("File browser"); ?>" /> <?php __("File browser"); ?>
|
||||||
|
<img src="images/menu_right.png" alt="" style="float:right;" class="menu-right"/>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -30,7 +30,8 @@ if ($q['t'] > 0 || $q['u'] > 0) {
|
||||||
<div class="menu-box">
|
<div class="menu-box">
|
||||||
<a href="cron.php">
|
<a href="cron.php">
|
||||||
<div class="menu-title">
|
<div class="menu-title">
|
||||||
<img src="images/schedule.png" alt="<?php __("Scheduled tasks"); ?>" width=16px height=16px/> <?php __("Scheduled tasks"); ?> (<?php echo $q["u"].'/'.$q["t"]; ?>)
|
<img src="images/schedule.png" alt="<?php __("Scheduled tasks"); ?>" width=16px height=16px/> <?php __("Scheduled tasks"); ?> (<?php echo $q["u"].'/'.$q["t"]; ?>)
|
||||||
|
<img src="images/menu_right.png" alt="" style="float:right;" class="menu-right"/>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
<a href="ip_main.php">
|
<a href="ip_main.php">
|
||||||
<div class="menu-title">
|
<div class="menu-title">
|
||||||
<img src="images/ip.png" alt="<?php __("Access security"); ?>" width="16" height="16" /> <?php __("Access security"); ?>
|
<img src="images/ip.png" alt="<?php __("Access security"); ?>" width="16" height="16" /> <?php __("Access security"); ?>
|
||||||
|
<img src="images/menu_right.png" alt="" style="float:right;" class="menu-right"/>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -26,7 +26,10 @@
|
||||||
?>
|
?>
|
||||||
<div class="menu-box">
|
<div class="menu-box">
|
||||||
<a href="logs_list.php">
|
<a href="logs_list.php">
|
||||||
<div class="menu-title"><img src="images/logs.png" alt="<?php __("Logs"); ?>" width="16" height="16" /> <?php __("Logs"); ?></div>
|
<div class="menu-title">
|
||||||
|
<img src="images/logs.png" alt="<?php __("Logs"); ?>" width="16" height="16" /> <?php __("Logs"); ?>
|
||||||
|
<img src="images/menu_right.png" alt="" style="float:right;" class="menu-right"/>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,8 @@ if ($q["u"] > 0 || ( $r["u"] > 0 && $q['t'] > 0 )) {
|
||||||
<div class="menu-box">
|
<div class="menu-box">
|
||||||
<a href="javascript:menu_toggle('menu-mail');">
|
<a href="javascript:menu_toggle('menu-mail');">
|
||||||
<div class="menu-title">
|
<div class="menu-title">
|
||||||
<img src="images/mail.png" alt="<?php __("Email Addresses"); ?>" /> <?php __("Email Addresses"); ?> (<?php echo $q["u"]; ?>/<?php echo $q["t"]; ?>)
|
<img src="images/mail.png" alt="<?php __("Email Addresses"); ?>" /> <?php __("Email Addresses"); ?> (<?php echo $q["u"]; ?>/<?php echo $q["t"]; ?>)
|
||||||
<img src="/images/menu_moins.png" alt="" style="float:right;" id="menu-mail-img"/>
|
<img src="/images/menu_moins.png" alt="" style="float:right;" id="menu-mail-img"/>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<div class="menu-content" id="menu-mail">
|
<div class="menu-content" id="menu-mail">
|
||||||
|
|
|
@ -23,7 +23,10 @@
|
||||||
?>
|
?>
|
||||||
<div class="menu-box">
|
<div class="menu-box">
|
||||||
<a href="mem_param.php">
|
<a href="mem_param.php">
|
||||||
<div class="menu-title"><img src="images/config.png" alt="<?php __("Settings"); ?>" /> <?php __("Settings"); ?></div>
|
<div class="menu-title">
|
||||||
|
<img src="images/config.png" alt="<?php __("Settings"); ?>" /> <?php __("Settings"); ?>
|
||||||
|
<img src="images/menu_right.png" alt="" style="float:right;" class="menu-right"/>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="menu-box">
|
<div class="menu-box">
|
||||||
|
|
|
@ -28,7 +28,8 @@ if (!empty($piwik->piwik_server_uri) && ($q["t"] > 0 || $r["u"] > 0)) {
|
||||||
<div class="menu-box">
|
<div class="menu-box">
|
||||||
<a href="javascript:menu_toggle('menu-piwik');">
|
<a href="javascript:menu_toggle('menu-piwik');">
|
||||||
<div class="menu-title">
|
<div class="menu-title">
|
||||||
<img src="images/stat.png" alt="<?php __("Piwik statistics"); ?>" /> <?php __("Piwik statistics"); ?> (<?php echo $q["u"]; ?>/<?php echo $q["t"]; ?>)
|
<img src="images/stat.png" alt="<?php __("Piwik statistics"); ?>" /> <?php __("Piwik statistics"); ?> (<?php echo $q["u"]; ?>/<?php echo $q["t"]; ?>)
|
||||||
|
<img src="images/menu_right.png" alt="" style="float:right;" class="menu-right"/>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<div class="menu-content" id="menu-piwik">
|
<div class="menu-content" id="menu-piwik">
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
<a href="quota_show.php">
|
<a href="quota_show.php">
|
||||||
<div class="menu-title">
|
<div class="menu-title">
|
||||||
<img src="images/quota.png" alt="<?php __("Show my quotas"); ?>" /> <?php __("Show my quotas"); ?>
|
<img src="images/quota.png" alt="<?php __("Show my quotas"); ?>" /> <?php __("Show my quotas"); ?>
|
||||||
|
<img src="images/menu_right.png" alt="" style="float:right;" class="menu-right"/>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<?php
|
<?php
|
||||||
|
@ -66,7 +67,7 @@
|
||||||
$url = ($key == 'bw_web' ? 'stats_show_per_month.php' : 'quota_show.php');
|
$url = ($key == 'bw_web' ? 'stats_show_per_month.php' : 'quota_show.php');
|
||||||
|
|
||||||
echo "<dd>";
|
echo "<dd>";
|
||||||
echo '<div><a href="' . $url . '">' . /* _($val) */ _("quota_".$key) . ' ' . $usage_percent . '%' . ' (' . format_size($q[$key]["u"]) . ' / ' . format_size($q[$key]["t"]) . ')</a></div>';
|
echo '<div><a href="' . $url . '">' . /* _($val) */ _("quota_".$key) . ' ' . $usage_percent . '%' . ' <small>(' . format_size($q[$key]["u"],true) . ' / ' . format_size($q[$key]["t"],true) . ')</small></a></div>';
|
||||||
echo "</dd>";
|
echo "</dd>";
|
||||||
echo "<dd>";
|
echo "<dd>";
|
||||||
echo '<div class="progress-bar">';
|
echo '<div class="progress-bar">';
|
||||||
|
|
|
@ -71,6 +71,16 @@ hr {
|
||||||
border-width: 1px 0 0 0;
|
border-width: 1px 0 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #0D5689;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
border: 1px solid #555;
|
border: 1px solid #555;
|
||||||
}
|
}
|
||||||
|
@ -93,23 +103,35 @@ fieldset {
|
||||||
}
|
}
|
||||||
|
|
||||||
.inb {
|
.inb {
|
||||||
-webkit-border-radius: 5px;
|
-webkit-border-radius: 3px;
|
||||||
-moz-border-radius: 5px;
|
-moz-border-radius: 3px;
|
||||||
border-radius: 5px;
|
border-radius: 3px;
|
||||||
border: 1px solid #999;
|
border: 1px solid #999;
|
||||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
padding: 4px;
|
padding: 4px 6px;
|
||||||
padding-left: 6px;
|
|
||||||
padding-right: 6px;
|
|
||||||
color: black;
|
color: black;
|
||||||
background-color: #CFE3F1;
|
background-color: #CFE3F1;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
|
height: 25px;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
.inb:hover {
|
.inb:hover {
|
||||||
background-color: #BFD3E1;
|
background-color: #BFD3E1;
|
||||||
}
|
}
|
||||||
|
.ina a, .ina a:hover, .inb a, .inb a:hover {
|
||||||
|
color: #000;
|
||||||
|
text-decoration: none;
|
||||||
|
vertical-align: middle;
|
||||||
|
line-height: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.inb {
|
||||||
|
display: inline-block;
|
||||||
|
height: 15px;
|
||||||
|
padding: 4px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
input.ina:hover, input.ina, input.inav, input.inav:hover {
|
input.ina:hover, input.ina, input.inav, input.inav:hover {
|
||||||
border: 1px solid #999;
|
border: 1px solid #999;
|
||||||
|
@ -147,12 +169,17 @@ input.inav:hover, .inav a:hover, a.inav:hover {
|
||||||
-webkit-border-radius: 3px;
|
-webkit-border-radius: 3px;
|
||||||
-moz-border-radius: 3px;
|
-moz-border-radius: 3px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
line-height: 15px;
|
||||||
|
height: 15px;
|
||||||
}
|
}
|
||||||
input[type=button],
|
input[type=button],
|
||||||
input[type=submit] {
|
input[type=submit] {
|
||||||
-webkit-border-radius: 3px;
|
-webkit-border-radius: 3px;
|
||||||
-moz-border-radius: 3px;
|
-moz-border-radius: 3px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
height: 25px;
|
||||||
}
|
}
|
||||||
.ina a:hover, a.ina:hover, .inav a:hover, a.inav:hover {
|
.ina a:hover, a.ina:hover, .inav a:hover, a.inav:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -161,7 +188,8 @@ input[type=submit] {
|
||||||
|
|
||||||
.ina img, .ina img {
|
.ina img, .ina img {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
padding: 2px 2px 5px 0;
|
padding: 0 2px 0 0;
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
.bff {
|
.bff {
|
||||||
border: 1px solid #999;
|
border: 1px solid #999;
|
||||||
|
@ -220,6 +248,11 @@ img {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.alerte {
|
||||||
|
color: #A00;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
/* Over quota class */
|
/* Over quota class */
|
||||||
.over {
|
.over {
|
||||||
color: red;
|
color: red;
|
||||||
|
@ -408,16 +441,6 @@ table.searchtable td {
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #0D5689;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
color: #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.border {
|
.border {
|
||||||
border: 1px solid #C0DCF0;
|
border: 1px solid #C0DCF0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -269,7 +269,7 @@ function ife($test,$tr,$fa="") {
|
||||||
return $fa;
|
return $fa;
|
||||||
}
|
}
|
||||||
|
|
||||||
function format_size($size) {
|
function format_size($size,$html=0) {
|
||||||
// Retourne une taille formattée en Octets, Kilo-octets, Méga-octets ou Giga-Octets, avec 2 décimales.
|
// Retourne une taille formattée en Octets, Kilo-octets, Méga-octets ou Giga-Octets, avec 2 décimales.
|
||||||
if ("-" == $size) {
|
if ("-" == $size) {
|
||||||
return $size;
|
return $size;
|
||||||
|
@ -300,7 +300,11 @@ function format_size($size) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $r;
|
if ($html) {
|
||||||
|
return str_replace(" "," ",$r);
|
||||||
|
}else{
|
||||||
|
return $r;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getlinkhelp($hid) {
|
function getlinkhelp($hid) {
|
||||||
|
@ -635,7 +639,7 @@ function display_browser($dir="", $caller="main.dir", $width=350, $height=450) {
|
||||||
open: function()
|
open: function()
|
||||||
{
|
{
|
||||||
$('.ui-widget-overlay').css('opacity', .70);
|
$('.ui-widget-overlay').css('opacity', .70);
|
||||||
$('.ui-dialog-content').css('background-color', '#F0F0F4');
|
$('.ui-dialog-content').css('background-color', '#F0F0FA');
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue