Revision ee644822
Added by Carlos Eduardo Ramos almost 15 years ago
usr/local/www/status_interfaces.php | ||
---|---|---|
55 | 55 |
exit; |
56 | 56 |
} |
57 | 57 |
|
58 |
$pgtitle = array("Status","Interfaces");
|
|
58 |
$pgtitle = array(gettext("Status"),gettext("Interfaces"));
|
|
59 | 59 |
include("head.inc"); |
60 | 60 |
|
61 | 61 |
?> |
... | ... | |
76 | 76 |
<?php endif; ?> |
77 | 77 |
<tr> |
78 | 78 |
<td colspan="2" class="listtopic"> |
79 |
<?=htmlspecialchars($ifname);?> interface (<?=htmlspecialchars($ifinfo['hwif']);?>)
|
|
79 |
<?=htmlspecialchars($ifname);?> <?=gettext("interface"); ?> (<?=htmlspecialchars($ifinfo['hwif']);?>)
|
|
80 | 80 |
</td> |
81 | 81 |
</tr> |
82 | 82 |
<tr> |
83 |
<td width="22%" class="vncellt">Status</td>
|
|
83 |
<td width="22%" class="vncellt"><?=gettext("Status"); ?></td>
|
|
84 | 84 |
<td width="78%" class="listr"> |
85 | 85 |
<?=htmlspecialchars($ifinfo['status']);?> |
86 | 86 |
</td> |
... | ... | |
104 | 104 |
</tr> |
105 | 105 |
<?php endif; if ($ifinfo['pppoelink']): ?> |
106 | 106 |
<tr> |
107 |
<td width="22%" class="vncellt">PPPoE</td>
|
|
107 |
<td width="22%" class="vncellt"><?=gettext("PPPoE"); ?></td>
|
|
108 | 108 |
<td width="78%" class="listr"> |
109 | 109 |
<?=htmlspecialchars($ifinfo['pppoelink']);?> |
110 | 110 |
<?php if ($ifinfo['pppoelink'] == "up"): ?> |
... | ... | |
119 | 119 |
</tr> |
120 | 120 |
<?php endif; if ($ifinfo['pptplink']): ?> |
121 | 121 |
<tr> |
122 |
<td width="22%" class="vncellt">PPTP</td>
|
|
122 |
<td width="22%" class="vncellt"><?=gettext("PPTP"); ?></td>
|
|
123 | 123 |
<td width="78%" class="listr"> |
124 | 124 |
<?=htmlspecialchars($ifinfo['pptplink']);?> |
125 | 125 |
<?php if ($ifinfo['pptplink'] == "up"): ?> |
... | ... | |
134 | 134 |
</tr> |
135 | 135 |
<?php endif; if ($ifinfo['ppplink']): ?> |
136 | 136 |
<tr> |
137 |
<td width="22%" class="vncellt">PPP</td>
|
|
137 |
<td width="22%" class="vncellt"><?=gettext("PPP"); ?></td>
|
|
138 | 138 |
<td width="78%" class="listr"> |
139 | 139 |
<?=htmlspecialchars($ifinfo['pppinfo']);?> |
140 | 140 |
<?php if ($ifinfo['ppplink'] == "up"): ?> |
... | ... | |
314 | 314 |
<td width="22%" class="vncellt"><?=gettext("Interrupts/Second");?></td> |
315 | 315 |
<td width="78%" class="listr"> |
316 | 316 |
<?php |
317 |
echo $interrupt_total . " total";
|
|
317 |
echo $interrupt_total . " " . gettext("total");
|
|
318 | 318 |
echo "<br/>"; |
319 |
echo $interrupt_sec . " rate";
|
|
319 |
echo $interrupt_sec . " " . gettext("rate");
|
|
320 | 320 |
?> |
321 | 321 |
</td> |
322 | 322 |
</tr> |
Also available in: Unified diff
Corrections gettext implementation on status_interfaces.php