C o m m u n i c a t i o n s , I n c .
© 2006-2007
PalmMicro Communications, Inc.
Room 0611, Bldg.B Tsinghua Tongfang Technology Plaza, 1 Wangzhuang Road, Beijing, CHINA
31
8 How To Modify WEB Page
It’s not recommended that modifying the phonebook, digitmap and updating program
page. The following shows how to modify the parameters information page.
Programs directories and files related with WEB page:
y
SDCC\src\res\us
(WEB page displays English)
y
SDCC\tool\convert\web.cpp
y
SDCC\include\web_info_iax2.h
,
web_info_sip.h
y
SDCC\src\http.c
,
settings.c
Note:
The English pages are default standard WEB page. We take English pages as a template.
mkweb.bat and mkweball.bat
There are two bat files in SDCC\src\res\, mkweb.bat and mkweball.bat, that convert web
page easily. As follows:
mkweb.bat
Input format:
mkweb [protocol] (Enter)
For the converting operation of the phone setting page. After modifying settings_iax2.htm
or settings_sip.htm, run mkweb.bat, converting .htm file to html file accepted by AR1688
and generating web_info_iax2.h and web_info_sip.h in SDCC\include\.
Note:
We convert web_info_iax2.h and web_info_sip.h according to the English setting page.
Details in mkweb.bat codes:
IF "%1"=="sip" GOTO Do_sip
GOTO Do_iax2
:Do_sip
..\..\bin\convert -w –f us\settings_sip.htm settings_sip_us.htm
..\..\bin\convert -w -f cn\settings_sip.htm settings_sip_cn.htm
..\..\bin\convert -i -f us\settings_sip.htm ..\..\include\web_info_sip.h