Revision 98776e04
Added by Jim Pingle over 14 years ago
usr/local/www/services_dnsmasq.php | ||
---|---|---|
174 | 174 |
</tr> |
175 | 175 |
</table> |
176 | 176 |
<br> |
177 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
177 |
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="sortable"> |
|
178 |
<thead> |
|
178 | 179 |
<tr> |
179 | 180 |
<td width="20%" class="listhdrr"><?=gettext("Host");?></td> |
180 | 181 |
<td width="25%" class="listhdrr"><?=gettext("Domain");?></td> |
... | ... | |
189 | 190 |
</table> |
190 | 191 |
</td> |
191 | 192 |
</tr> |
193 |
</thead> |
|
194 |
<tbody> |
|
192 | 195 |
<?php $i = 0; foreach ($a_hosts as $hostent): ?> |
193 | 196 |
<tr> |
194 | 197 |
<td class="listlr" ondblclick="document.location='services_dnsmasq_edit.php?id=<?=$i;?>';"> |
... | ... | |
212 | 215 |
</table> |
213 | 216 |
</tr> |
214 | 217 |
<?php $i++; endforeach; ?> |
218 |
</tbody> |
|
219 |
<tfoot> |
|
215 | 220 |
<tr> |
216 | 221 |
<td class="list" colspan="4"></td> |
217 | 222 |
<td class="list"> |
... | ... | |
222 | 227 |
</tr> |
223 | 228 |
</table> |
224 | 229 |
</td> |
230 |
</tr> |
|
231 |
</tfoot> |
|
225 | 232 |
</table> |
226 | 233 |
<!-- update to enable domain overrides --> |
227 | 234 |
<table width="100%" border="0" cellpadding="6" cellspacing="0"> |
... | ... | |
232 | 239 |
</tr> |
233 | 240 |
</table> |
234 | 241 |
<br> |
235 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
242 |
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="sortable"> |
|
243 |
<thead> |
|
236 | 244 |
<tr> |
237 | 245 |
<td width="35%" class="listhdrr"><?=gettext("Domain");?></td> |
238 | 246 |
<td width="20%" class="listhdrr"><?=gettext("IP");?></td> |
... | ... | |
246 | 254 |
</table> |
247 | 255 |
</td> |
248 | 256 |
</tr> |
257 |
</thead> |
|
258 |
<tbody> |
|
249 | 259 |
<?php $i = 0; foreach ($a_domainOverrides as $doment): ?> |
250 | 260 |
<tr> |
251 | 261 |
<td class="listlr"> |
... | ... | |
261 | 271 |
<a href="services_dnsmasq.php?act=del&type=doverride&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this domain override?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td> |
262 | 272 |
</tr> |
263 | 273 |
<?php $i++; endforeach; ?> |
274 |
</tbody> |
|
275 |
<tfoot> |
|
264 | 276 |
<tr> |
265 | 277 |
<td class="list" colspan="3"></td> |
266 | 278 |
<td class="list"> |
... | ... | |
271 | 283 |
</tr> |
272 | 284 |
</table> |
273 | 285 |
</td> |
274 |
</tr> |
|
286 |
</tr> |
|
287 |
</tfoot> |
|
275 | 288 |
</table> |
276 | 289 |
</form> |
277 | 290 |
<script language="JavaScript"> |
Also available in: Unified diff
Allow sorting of DNS forwarder entries.