$[off] ${bodyid::wan_dsl_config} $[include common/${lang}/texts.tmpl] ${title::${_wan_dsl.title}: ${_wan_dsl_config.title}} $[on]$[include common/header.html] $[include common/submenu_wan.html] $[if ${prepare_delete}] ${delete::true} $[else] $[if ${index}] ${edit::true} $[else] ${add::true} $[fi] $[fi] $[off] //initialize with defaults ${wan_dsl.virtualCircuit::disabled} ${wan_dsl.wanSettings:=ppp} ${wan_dsl.nat:=disabled} ${wan_dsl.firewall:=disabled} ${wan_dsl.defaultRoute:=disabled} ${wan_dsl.ipControl:=dynamic} $[on]

${title} - $[if ${add}] ${_global.add} $[elif ${edit}] ${_global.edit} $[elif ${delete}] ${_global.delete} $[fi] ${_global.help.txt}

$[if $error]
$[if ${_wan_dsl.error.title}]

${_wan_dsl.error.title}

$[else]

${_global.error.title}

$[fi] $[if ${_wan_dsl.error.desc}]

${_wan_dsl.error.desc}

$[else]

${_global.error.desc}

$[fi]
$[elif ${success}]
$[if ${_wan_dsl.success.title}]

${_wan_dsl.success.title}

$[else]

${_global.success.title}

$[fi] $[if ${_wan_dsl.success.desc}]

${_wan_dsl.success.desc}

$[else]

${_global.success.desc}

$[fi]
$[fi] $[if ${delete}]
$[if ${_wan_dsl_config.delete.title}]

${_wan_dsl_config.delete.title}

$[else]

${_global.delete.title}

$[fi] $[if ${_wan_dsl_config.delete.desc}]

${_wan_dsl_config.delete.desc}

$[else]

${_global.delete.desc}

$[fi]
$[else]

${_wan_dsl_config.desc}

${title}

${_wan_dsl_config.atmvc.title}
${_wan_dsl.virtualCircuit.lbl}

${_wan_dsl_config.wan.title}

$[off] ------ content depends on value for WAN Setting ------ $[on] $[if ${wan_dsl.wanSettings} = static ]
${_wan_dsl.mtu.unit}
${_wan_dsl.nat.lbl}

${_wan_dsl.firewall.lbl}

$[fi] $[if ${wan_dsl.wanSettings} = ppp ]
${_wan_dsl.mtu.unit} ${_wan_dsl.mru.unit}
${_wan_dsl.defaultRoute.lbl}

${_wan_dsl.nat.lbl}

${_wan_dsl.firewall.lbl}

${_wan_dsl.ipControl.lbl}
$[fi] $[if ${wan_dsl.wanSettings} = dynamic ]
${_wan_dsl.mtu.unit}
${_wan_dsl.nat.lbl}

${_wan_dsl.firewall.lbl}

$[fi] $[if ${wan_dsl.wanSettings} = bridge ]
$[fi] $[off] ------ END: content depends on value for WAN Setting ------ $[on]
${_wan_dsl_config.atm.title}

${_wan_dsl_config.atm.desc}

${_wan_dsl.pcr.unit} ${_wan_dsl.scr.unit}
$[fi]
$[include common/${lang}/help/${bodyid}.html]
$[include common/footer.html]