Revision d1d0a1ad
Added by Vinicius Coque about 14 years ago
| usr/local/www/diag_logs_ppp.php | ||
|---|---|---|
| 87 | 87 |
<div id="mainarea"> |
| 88 | 88 |
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> |
| 89 | 89 |
<tr> |
| 90 |
<td colspan="2" class="listtopic"><?php printf (gettext("Last $nentries PPP log entries"),$nentries);?></td>
|
|
| 90 |
<td colspan="2" class="listtopic"><?php printf(gettext("Last %s PPP log entries"),$nentries);?></td>
|
|
| 91 | 91 |
</tr> |
| 92 | 92 |
<?php |
| 93 | 93 |
foreach($ppp_logarr as $logent){
|
Also available in: Unified diff
makes correct use of printf and gettext
removes variables names and replace it with '%s'