Instructions to generate the related *.h files used in our standard web interface.

Comman pages are those pages excluding settings page, which means these pages are common to all types
of devices and all types of protocols.

Naming rules: 
1. For common pages there are two files: web_common_[language]_[oem]_i.h, web_common_[language]_[oem]_m.h.
For example, [language] = cn, [oem] = don't exist
then the two *.h files generated will be web_common_cn_i.h, web_common_cn_m.h.
Another Example, [language] = de, [oem] = ngtel
then the two *.h files generated will be web_common_cn_ngtel_i.h, web_common_cn_ngtel_m.h.

2. For settings page, following files will be generated:
settings_head_[language]_[oem]_i.h, settings_head_[language]_[oem]_m.h,
settings_pa168v_[language]_[oem]_i.h, settings_pa168v_[language]_[oem]_m.h, 
settings_phoneonly_[language]_[oem]_i.h, settings_phoneonly_[language]_[oem]_m.h, 
settings_[protocol]_[language]_[oem]_i.h, settings_[protocol]_[language]_[oem]_m.h, 
settings_tail_[language]_[oem]_i.h, settings_tail_[language]_[oem]_m.h.
The available [protocol] are h323, sip, mgcp, n2p, iax2, epn, wp.


Steps to gereate *.h files
Step 1:  Use the following html files and Palmtool's "start common pages" button to gererate common *.h files
page0.htm
page1.htm
page2.htm
page3.htm
page4a.htm
page5b.htm
page6c.htm

Step2:  Use the following html file and Palmtool's "start settings page" button to generate settings *.h files
settings.htm

Step3: Copy the above generated *.h files to the appropriate folders like \PalmH323\inc\web\[language]\.

DONE!!!

Note about settings.htm:
We use separators to separate settings.htm into several parts and then generate those *.h files:
When you do translation or modification, be sure not to change these separators!!!
1. Parts between <!--begin=[settings_head]--> and <!--end-->: This is the head of the settings page, which
is neccessary for all devices.
2. Parts between <!--begin=[settings_pa168v]--> and <!--end-->: This will only be included if the device is 
a PA168V FXS+FXO gateway. Although this part may not show out in the final page, it must exist here in the
settings.htm.
3. Parts between <!--begin=[settings_phoneonly]--> and <!--end-->: This will only be included if the device is 
a IP phone. Although this part may not show out in the final page, it must exist here in the settings.htm.
4. Parts between <!--begin=[settings_h323]--> and <!--end-->: 
   Parts between <!--begin=[settings_sip]--> and <!--end-->: 
   Parts between <!--begin=[settings_mgcp]--> and <!--end-->: 
   Parts between <!--begin=[settings_n2p]--> and <!--end-->: 
   Parts between <!--begin=[settings_iax2]--> and <!--end-->: 
   Parts between <!--begin=[settings_epn]--> and <!--end-->: 
   Parts between <!--begin=[settings_wp]--> and <!--end-->: 
This is the protocol part. You must at least have one type of protocol in the settings.htm. You can also include several
protocol parts in it, we will include only one in the final page depending on which protocol is used.
5. Parts between <!--begin=[settings_tail]--> and <!--end-->: This is the tail of the settings page, which
is neccessary for all devices.




