{extends file="layout.html"} {block name=title}LMS: {$layout.pagetitle|striphtml}{/block} {block name=module_content} {function bitrate_restrictions} {trans("night:")} kbit/s {/function} {function restrictions} {trans("night:")} {/function} {function burst_restrictions} {trans("night:")} s {/function} {function hosting_restrictions} {/function}

{$layout.pagetitle}

{trans("Name:")}  ({$tariff.id|string_format:"%04d"})
{trans("Value:")} {currency_selection selected=$tariff.currency elementname="tariff[currency]"}
{tax_category_selection id="taxcategory" elementname="tariff[taxcategory]" selected=$tariff.taxcategory tip="Select tax category"}
{trans("Tax:")}
{trans("Type:")}
{trans("Tags:")}
{trans("Period:")} {trans("from:")} {trans("to:")}
{trans("Numbering Plan:")}
{trans("Product ID:")}
{trans("Purpose:")} {foreach $_SESSIONTYPES as $idx => $sessiontype}
{/foreach}
{trans("Description:")}
{trans("Upload rate:")} {bitrate_restrictions var=$tariff v="uprate" v_n="uprate_n" tip="Enter minimal warranted upload value (optional)"}
{trans("Upload ceil:")} {bitrate_restrictions var=$tariff v="upceil" v_n="upceil_n" tip="Enter maximum upload value (optional)"}
{trans("Upload burst time:")} {burst_restrictions var=$tariff v="up_burst_time" v_n="up_burst_time_n" tip="Enter upload burst time (optional)"}
{trans("Upload burst threshold:")} {bitrate_restrictions var=$tariff v="up_burst_threshold" v_n="up_burst_threshold_n" tip="Enter upload burst threshold (optional)"}
{trans("Upload burst limit:")} {bitrate_restrictions var=$tariff v="up_burst_limit" v_n="up_burst_limit_n" tip="Enter upload burst limit (optional)"}
{trans("Download rate:")} {bitrate_restrictions var=$tariff v="downrate" v_n="downrate_n" tip="Enter minimal warranted download value (optional)"}
{trans("Download ceil:")} {bitrate_restrictions var=$tariff v="downceil" v_n="downceil_n" tip="Enter maximum download value (optional)"}
{trans("Download burst time:")} {burst_restrictions var=$tariff v="down_burst_time" v_n="down_burst_time_n" tip="Enter download burst time (optional)"}
{trans("Download burst threshold:")} {bitrate_restrictions var=$tariff v="down_burst_threshold" v_n="down_burst_threshold_n" tip="Enter download burst threshold (optional)"}
{trans("Download burst limit:")} {bitrate_restrictions var=$tariff v="down_burst_limit" v_n="down_burst_limit_n" tip="Enter download burst limit (optional)"}
{trans("Connection limit:")} {restrictions var=$tariff v="climit" v_n="climit_n" tip="Enter limit of simultaneous connections (optional)"}
{trans("Packet limit:")} {restrictions var=$tariff v="plimit" v_n="plimit_n" tip="Enter limit of packets in time unit (optional"}
{trans("Data limit:")}
{foreach $_ACCOUNTTYPES as $typeid => $type} {$alias=$type.alias|cat:"_limit"} {/foreach} {foreach $_ACCOUNTTYPES as $typeid => $type} {$alias="quota_"|cat:$type.alias|cat:"_limit"} {/foreach}
{trans("Limit of domains:")} {hosting_restrictions var=$tariff v="domain_limit" tip="Enter limit of domains"}
{trans("Limit of account aliases:")} {hosting_restrictions var=$tariff v="alias_limit" tip="Enter limit of account aliases"}
{$type.accountlimitlabel}{hosting_restrictions var=$tariff v=$alias tip=$type.accountlimittip}
{$type.accountquotalabel}{hosting_restrictions var=$tariff v=$alias tip=$type.accountquotatip}
{trans("VoIP pricelist:")} {if $voip_tariffs} {else} {t a=''|cat:trans("here")|cat:''}Click $a to create.{/t} {/if}
{trans("Tariff rule:")} {if $voip_tariffrules} {else} {t a=''|cat:trans("here")|cat:''}Click $a to create.{/t} {/if}
{button type="submit" label="Submit" icon="save"} {button label="Cancel" icon="cancel" onclick="location.href='?m=tariffinfo&id={$tariff.id}';"}
{/block}