Revision a8f63907
Added by Colin Fleming over 12 years ago
usr/local/www/firewall_shaper_vinterface.php | ||
---|---|---|
112 | 112 |
$output_form .= $queue->build_form(); |
113 | 113 |
} else { |
114 | 114 |
$input_errors[] = sprintf(gettext("No queue with name %s was found!"),$qname); |
115 |
$output_form .= "<p class=\"pgtitle\">" . $dn_default_shaper_msg."</p>";
|
|
115 |
$output_form .= $dn_default_shaper_msg;
|
|
116 | 116 |
$dontshow = true; |
117 | 117 |
} |
118 | 118 |
break; |
... | ... | |
193 | 193 |
$input_errors[] = gettext("Queue not found!"); |
194 | 194 |
break; |
195 | 195 |
default: |
196 |
$output_form .= "<p class=\"pgtitle\">" . $dn_default_shaper_msg."</p>";
|
|
196 |
$output_form .= $dn_default_shaper_msg;
|
|
197 | 197 |
$dontshow = true; |
198 | 198 |
break; |
199 | 199 |
} |
... | ... | |
283 | 283 |
read_dummynet_config(); |
284 | 284 |
$output_form .= $queue->build_form(); |
285 | 285 |
} else { |
286 |
$output_form .= "<p class=\"pgtitle\">" . $dn_default_shaper_msg."</p>";
|
|
286 |
$output_form .= $dn_default_shaper_msg;
|
|
287 | 287 |
$dontshow = true; |
288 | 288 |
} |
289 | 289 |
} else { |
290 |
$output_form .= "<p class=\"pgtitle\">" . $dn_default_shaper_msg."</p>";
|
|
290 |
$output_form .= $dn_default_shaper_msg;
|
|
291 | 291 |
$dontshow = true; |
292 | 292 |
} |
293 | 293 |
|
... | ... | |
340 | 340 |
$output_form .= " value=\"" . gettext("Delete virtual interface") ."\" />"; |
341 | 341 |
$output_form .= "</a>"; |
342 | 342 |
$output_form .= "</td></tr>"; |
343 |
$output_form .= "</div>";
|
|
343 |
$output_form .= "</table>";
|
|
344 | 344 |
} |
345 | 345 |
else |
346 |
$output_form .= "</div>";
|
|
346 |
$output_form .= "</table>";
|
|
347 | 347 |
|
348 |
$output = "<div id=\"shaperarea\" style=\"position:relative\">";
|
|
348 |
$output = "<table summary=\"output form\">";
|
|
349 | 349 |
$output .= $output_form; |
350 | 350 |
$closehead = false; |
351 | 351 |
include("head.inc"); |
... | ... | |
412 | 412 |
?> |
413 | 413 |
<br/><br/> |
414 | 414 |
<a href="firewall_shaper_vinterface.php?pipe=new&action=add"> |
415 |
<img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("Create new limiter");?>" width="17" height="17" border="0" alt="add" /><?=gettext("Create new limiter");?> |
|
415 |
<img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("Create new limiter");?>" width="17" height="17" border="0" alt="add" /> <?=gettext("Create new limiter");?>
|
|
416 | 416 |
</a><br/> |
417 | 417 |
</td> |
418 | 418 |
<td width="75%" valign="top" align="center"> |
419 |
<table summary="output form">
|
|
419 |
<div id="shaperarea" style="position:relative">
|
|
420 | 420 |
<?php |
421 | 421 |
echo $output; |
422 | 422 |
?> |
423 |
</table>
|
|
423 |
</div>
|
|
424 | 424 |
|
425 | 425 |
</td></tr> |
426 | 426 |
</table> |
Also available in: Unified diff
Tidy up "firewall_shaper_vinterface.php" XHTML
Remove P tag and class from shaper message
Swap TABLE and DIV tags around, TABLE cannot contain a DIV tag