<input checked type=radio class=tab name=edithelp value=edtr id=editor><label for=editor>Editor</label>
<input type=radio class=tab name=edithelp value=help id=syntax><label for=syntax>Syntax</label>
<input type=radio class=tab name=edithelp value=att id=attach><label for=attach>Attachments</label>
+ $([ "$LANGUAGE_DEFAULT" -a "$LANGUAGE_DEFAULT" != "$LANGUAGE" ] && printf '
+ <input type=radio class=tab name=edithelp value=att id=transl><label for=transl>%s</label>
+ ' "$LANGUAGE_DEFAULT"
+ )
<form class="tab editor" method=POST action="$(HTML "${_BASE}${page%/}/[edit]")">
<input type=hidden name=session_key value="${SESSION_KEY}"/>
<textarea name=pagetext>$({ wiki_text "$page" \
esac
done)
</div>
+ $(if [ "$LANGUAGE_DEFAULT" -a "$LANGUAGE_DEFAULT" != "$LANGUAGE" ]; then
+ printf '<div class="tab transl">%s</div>' "$(wiki_text "${page%/:$LANGUAGE/}" |HTML)"
+ fi)
EOF
}