{********************************************************************** * ProxmoxAddon product developed. (2017-11-16) * * * * CREATED BY MODULESGARDEN -> http://modulesgarden.com * CONTACT -> contact@modulesgarden.com * * * This software is furnished under a license and may be used and copied * only in accordance with the terms of such license and with the * inclusion of the above copyright notice. This software or any other * copies thereof may not be provided or otherwise made available to any * other person. No title to and ownership of the software is hereby * transferred. * * **********************************************************************} {** * @author Sławomir Miśkowicz *}
{if $rawObject->isRawTitle()}{$rawObject->getRawTitle()}{elseif $rawObject->getTitle()}{$MGLANG->T('modal', $rawObject->getTitle())}{/if}
  • {$MGLANG->tr('ID')} {$customTplVars.network.id}
  • {if $customTplVars.network.name}
  • {$MGLANG->tr('Name')} {$customTplVars.network.name}
  • {/if}
  • {$MGLANG->tr('Bridge')} {$customTplVars.network.bridge}
  • {$MGLANG->tr('Firewall')} {if $customTplVars.network.firewall} {$MGLANG->tr('Active')} {else} {$MGLANG->tr('Disabled')} {/if}
  • {$MGLANG->tr('MAC Address')} {$customTplVars.network.hwaddr} {$customTplVars.network.macAddress}
  • {$MGLANG->tr('IP Address')} {if !$customTplVars.network.ip && !$customTplVars.network.ip6} - {elseif $customTplVars.network.ip && $customTplVars.network.cidr } {$customTplVars.network.ip}/{$customTplVars.network.cidr}
    {elseif $customTplVars.network.ip } {$customTplVars.network.ip}
    {/if} {if $customTplVars.network.ip6 && $customTplVars.network.cidr6 } {$customTplVars.network.ip6}/{$customTplVars.network.cidr6} {elseif $customTplVars.network.ip6} {$customTplVars.network.ip6} {/if}
  • {$MGLANG->tr('Gateway')} {if !$customTplVars.network.gw && !$customTplVars.network.gw6} - {elseif $customTplVars.network.gw && $customTplVars.network.gw6} {$customTplVars.network.gw}
    {$customTplVars.network.gw6} {else} {$customTplVars.network.gw} {$customTplVars.network.gw6} {/if}
  • {$MGLANG->tr('Tag')} {if !$customTplVars.network.tag} - {/if} {$customTplVars.network.tag}
  • {$MGLANG->tr('Rate')} {if $customTplVars.network.rate} {$customTplVars.network.rate} MB/s {$customTplVars.network.rate*8} (Mbps) {else} {$MGLANG->tr('Unlimited')} {/if}
{foreach from=$rawObject->getActionButtons() item=actionButton} {$actionButton->getHtml()} {/foreach}
{if ($isDebug eq true AND (count($MGLANG->getMissingLangs()) != 0))}{literal}
{/literal}{foreach from=$MGLANG->getMissingLangs() key=varible item=value}{literal}
{/literal}{$varible}{literal} = '{/literal}{$value}{literal}';
{/literal}{/foreach}{literal}
{/literal}{/if}