merge xml_translate() and html_translate() into one function since
authorLuigi Rizzo <rizzo@icir.org>
Wed, 18 Oct 2006 05:31:54 +0000 (05:31 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Wed, 18 Oct 2006 05:31:54 +0000 (05:31 +0000)
commit3a3b26658e0a3780f3f982916f7e4f3d6ed64046
tree6f19a70a6d493b04d5afd1a7ef447f4e2e509520
parentfbe6c86b0b587effff9e51b2f4a6c0ebddd03548
merge xml_translate() and html_translate() into one function since
they do similar things.

Add a small form on top of the html output so request like
http://foo:8088/asterisk/manager will suggest you what to do.

Note: i suspect there is still a bug somewhere in the session matching
code, as sometimes you have to login twice in order for the following
commands to be recognised.

Apart from this, the cli now is basically usable from a web form!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/manager.c