@ tefigel | | Main part of HTML edit form. | | Define some size/color constants, to make it easy to change them | for all generated HTML forms. | set COLORSCHEME=5 set ADVERTISINGVERTBAR=true set MENUBUTTONSASLINKS=true set MENUBUTTONSABOVE=true set MENUBUTTONSBELOW=true set HTMLPAGEWIDTH=630 set VERTBARWIDTH=90 set FORMWIDTH=HTMLPAGEWIDTH sub FORMWIDTH VERTBARWIDTH if ADVERTISINGVERTBAR=true add HTMLPAGEWIDTH VERTBARWIDTH endif echo case COLORSCHEME when=1 set BODYBGCOLOR=#88CC44 set BARBGCOLOR=#FFFFFF set TITLEBGCOLOR=#AAEE66 set LOGOBGCOLOR=#88CC44 when=2 set BODYBGCOLOR=#AAAAAA set BARBGCOLOR=#FFFFFF set TITLEBGCOLOR=#AAEE66 set LOGOBGCOLOR=#88CC44 when=3 set BODYBGCOLOR=#CCCCCC set BARBGCOLOR=#FFFFFF set TITLEBGCOLOR=#76F5CA set LOGOBGCOLOR=#56D5AA when=4 set BODYBGCOLOR=#CCCCCC set BARBGCOLOR=#FFFFFF set TITLEBGCOLOR=#C080FF set LOGOBGCOLOR=#FFFF40 otherwise set BODYBGCOLOR=#CCCCCC set BARBGCOLOR=#FFFFC0 set TITLEBGCOLOR=#FFC040 set LOGOBGCOLOR=#FFFF80 endcase | | General-purpose menu buttons may be placed above or below the form body. | set VERTBARROWSPAN=1 if MENUBUTTONSABOVE=true add VERTBARROWSPAN 1 endif if MENUBUTTONSBELOW=true add VERTBARROWSPAN 1 endif set HORBARCOLSPAN=2 if ADVERTISINGVERTBAR=true add HORBARCOLSPAN 1 endif @ text ENTITYDESCR Form
| | Generated HTML form looks like this | | ---------------------- | | Header | | |--------------------| | | Logo| Description | | |--------------------| | | | Actual | | | | edit form | | | Links| with | | | | buttons | | | | | | |--------------------| | | Footer | | ---------------------- | | -------------------------------- H e a d e r -------------------------- | | | -------------------------------- L o g o -------------------------- | | | -------------------------------- D e s c r i p t i o n ----------- | @ if ADVERTISINGVERTBAR=true @ endif | | -------------------------------- L i n k s ------------------------ | | | ------------- A c t u a l e d i t f o r m w i t h b u t t o n s | @ if MENUBUTTONSABOVE=true @ if ADVERTISINGVERTBAR=true @ endif @ endif @ if ADVERTISINGVERTBAR=true @ if MENUBUTTONSABOVE=false @ endif @ endif @ if MENUBUTTONSBELOW=true @ endif | | -------------------------------- F o o t e r ----------------------- |
Navigation bar: general menu items such as search, register, login, etc.
Null Company, Inc.

ENTITYDESCR Form

ENTITYCOMMENT.
Hot link area, for news, promos, etc.
Main pages to navigate, e.g.
  • Company profile
  • Products
  • Services
  • Contact us
  • Etc.
@ html/formbuttons Advertising area, reserved for graphics, logos, etc.
@ tefigel set EMBEDHTMLBORDER=1 set EMBEDHTMLWIDTH=width=FORMWIDTH process ENTITYDIRPATH/CURRENTMOLDSECT/ENTITYFILE.fview unset EMBEDHTMLBORDER unset EMBEDHTMLWIDTH @ endtefigel Advertising area, reserved for graphics, logos, etc.
@ html/formbuttons
Footer: general information, hints, status, etc.

Form generated by SoProMach.
@ endtext