$[off] ${bodyid::phone_tapi} $[include common/${lang}/texts.tmpl] ${title::${_phone_tapi.title}} $[on]$[include common/header.html] $[include common/submenu_phone.html]

${title} ${_global.help.txt}

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

${_phone_tapi.error.title}

$[else]

${_global.error.title}

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

${_phone_tapi.error.desc}

$[else]

${_global.error.desc}

$[fi]
$[elif $success]
$[load] $[if ${_phone_tapi.success.title}]

${_phone_tapi.success.title}

$[else]

${_global.success.title}

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

${_phone_tapi.success.desc}

$[else]

${_global.success.desc}

$[fi]
$[fi]

${_phone_tapi.desc}

${_phone_tapi.title}

${phone_tapi.login.title}



$[load] $[if $[eval \${phone_devices.id.${phone_tapi.index}}]] ${intDeviceExists::${phone_tapi.index}} $[else] $[sort phone_devices.id] $[index a] $[value b] $[count c] $[eval \${Type::\${phone_devices.type.${b}}}] $[if ${Type} = external ] $[else] $[off] ${intDeviceExists:=${b}} $[on] $[fi] $[tros] ${phone_tapi.index::${intDeviceExists}} $[fi] $[if ${intDeviceExists}] $[else] ${_phone_tapi.deviceNotExists.lbl} $[fi]
$[if ${intDeviceExists}] $[eval \${Type::\${phone_devices.type.${phone_tapi.index}}}] $[eval \${Nummer::\${phone_devices.number.${phone_tapi.index}}}] $[if ${Type} = analog] $[if ${Nummer} = 21] ${Device::Zap/g4} $[else] ${Device::Zap/g3} $[fi] $[elif ${Type} = isdn] $[eval \${Device::Zap/g2/${Nummer}}] $[elif ${Type} = sip] $[eval \${Device::SIP/${Nummer}}] $[fi]
$[fi]
$[include common/${lang}/help/${bodyid}.html]
$[include common/footer.html]