Selaa lähdekoodia

Modify the header display information

dong 1 vuosi sitten
vanhempi
commit
75194b461c
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 1 1
      admin/control/arw_monitor.php
  2. 2 2
      admin/templates/default/arw.monitor.php

+ 1 - 1
admin/control/arw_monitor.php

@@ -56,7 +56,7 @@ class arw_monitorControl extends SystemControl
             $ratio = $calc_bytes($avaliable) / $calc_bytes($total);
             $ratio = number_format($ratio * 100,2);
 
-            return "$avaliable(可用) / $total(容量) = ($ratio%)";
+            return "$avaliable / $total = ($ratio%)";
         };
 
         $format_space = function ($str)  use ($convert_time,$format_detail)

+ 2 - 2
admin/templates/default/arw.monitor.php

@@ -51,8 +51,8 @@
             <th class="align-left">ip</th>
             <th class="align-center">类型</th>
             <th class="align-center width-twenty">更新时间</th>
-            <th class="align-center width-fifteen">/mnt</th>
-            <th class="align-center width-fifteen">/data</th>
+            <th class="align-center width-fifteen">/mnt(可用/容量)</th>
+            <th class="align-center width-fifteen">/data(可用/容量)</th>
             <th class="align-center width-five">shoplog</th>
             <th class="align-center width-five">yllog</th>
             <th class="align-center width-five">stdata</th>