bcast-bridge/web/smarty/templates/stat_vlan.tpl

27 lines
741 B
Smarty

{debug}
<table cellspacing="10">
<tr><td valign="top">
<select name=view OnChange=document.location.href='{$marty.server.SCRIPT_NAME}?trunkid={$trunkid}&view='+this.value>
{html_options options=$views selected=$view}
</select>
&nbsp;
<select name=trunkid OnChange=document.location.href='{$marty.server.SCRIPT_NAME}?view={$view}&trunkid='+this.value>
{foreach from=$trunks item=trunk}
{if $trunk->id == $trunkid}
<option value="{$trunk->id}" selected="selected">{$trunk->fullname}</option>
{else}
<option value="{$trunk->id}">{$trunk->fullname}</option>
{/if}
{/foreach}
</select>
<br><br>
{foreach from=$vlans item=vlan}
<img src="stat_vlan.php?vlanid={$vlan->id}&view={$view}">
<br><br>
{/foreach}
</td></tr>
</table>