Feature #447 » interfaces_ppp.php.patch.txt
1 |
--- backup-stock-image-20100320/www/interfaces_ppp.php 2010-03-23 13:43:07.000000000 +0700 |
---|---|
2 |
+++ interfaces_ppp.php.new 2010-03-24 13:40:27.000000000 +0700 |
3 |
@@ -67,7 +67,7 @@ |
4 |
} else { |
5 |
unset($a_ppps[$_GET['id']]); |
6 |
write_config(); |
7 |
- interfaces_ppp_configure(); |
8 |
+ interface_ppp_configure(-1); |
9 |
header("Location: interfaces_ppp.php"); |
10 |
exit; |
11 |
} |
12 |
@@ -103,12 +103,15 @@ |
13 |
<div id="mainarea"> |
14 |
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> |
15 |
<tr> |
16 |
+ <td width="10%" class="listhdrr">PPP Port</td> |
17 |
<td width="20%" class="listhdrr">Serial Port</td> |
18 |
- <td width="50%" class="listhdr">Description</td> |
19 |
+ <td width="40%" class="listhdr">Description</td> |
20 |
<td width="10%" class="list"></td> |
21 |
</tr> |
22 |
<?php $i = 0; foreach ($a_ppps as $id => $ppp): ?> |
23 |
<tr ondblclick="document.location='interfaces_ppp_edit.php?id=<?=$i;?>'"> |
24 |
+ <td class="listr">ppp<?=htmlspecialchars($ppp['pppid']);?> |
25 |
+ </td> |
26 |
<td class="listr"> |
27 |
<?=htmlspecialchars($ppp['port']);?> |
28 |
</td> |
29 |
@@ -120,7 +123,7 @@ |
30 |
</tr> |
31 |
<?php $i++; endforeach; ?> |
32 |
<tr> |
33 |
- <td class="list" colspan="2"> </td> |
34 |
+ <td class="list" colspan="3"> </td> |
35 |
<td class="list"> <a href="interfaces_ppp_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td> |
36 |
</tr> |
37 |
</table> |