[interchange-cvs] interchange - edl modified dist/foundation/pages/contact_form.html

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Nov 26 18:24:01 EST 2003


User:      edl
Date:      2003-11-26 23:24:01 GMT
Added:     dist/foundation/pages contact_form.html
Log:
Added simple contact form demo to foundation (part 2 of 2)

Revision  Changes    Path
1.1                  interchange/dist/foundation/pages/contact_form.html


rev 1.1, prev_rev 1.0
Index: contact_form.html
===================================================================
[comment]
ui_template: Yes
ui_template_name: leftonly
[/comment]

[tmp page_banner][L]About Us[/L][/tmp]
[tmp page_title]__COMPANY__ -- [L]Contact Form[/L][/tmp]

[control reset=1]

[control-set]
[component]search_box_small[/component]
[/control-set]

[control-set]
[component]category_vertical[/component]
[/control-set]

[control-set]
[component][/component]
[/control-set]

[control-set]
[component][/component]
[/control-set]

[control-set]
[component][/component]
[/control-set]

[control reset=1]

@_LEFTONLY_TOP_@

<!-- BEGIN CONTENT -->

&nbsp;<p>

[if scratch message_sent]

[L]Your message has been transmitted, and will be reviewed shortly.[/L]<br>
[L]Thank You![/L]
[set message_sent][/set]
[value name=message set='']

[else]

<form action="[process]" method=post>
<INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
[comment] contact_form profile in etc/profiles.misc [/comment]
<INPUT TYPE=hidden NAME=mv_form_profile VALUE=contact_form>
<INPUT TYPE=hidden NAME=mv_todo     VALUE=return>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE="@@MV_PAGE@@">
<INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">


[L]You may use the form below to send us a message.[/L]<br>
[L]Required fields are <b>bolded.</b>[/L]
<p>


[if type=explicit compare="[error all=1 show_var=1 keep=1]"]
<P>
<b>[L]There were errors in your last submission.[/L]</b>
<br>
[msg arg.0="<SPAN style='color:red;'>" arg.1="</SPAN>"]They are shown in %sthis color%s below.[/msg]
</P>
[/if]

<table border="0" width=75% cellpadding=3 cellspacing=1>
<tr>
<td class=contentbar1 align=right>
	[error name=name std_label="[L]Name[/L]" required=1]
</td>
<td class=contentbar2>
	<input type=text name=name value="[either][value name][or][value fname] [value lname][/either]" size=40 maxlength=64>
</td>
</tr>

<tr>
<td class=contentbar1 align=right>
	[error name=email std_label="[L]Email[/L]" required=1]
</td>
<td class=contentbar2>
	<input type=text name=email value="[value email]" size=40 maxlength=64>
</td>
</tr>

<tr>
<td class=contentbar1 align=right>
	[L]Phone[/L]
</td>
<td class=contentbar2>
	<input type=text name=phone value="[either][value phone_day][or][value phone_night][/either]" size=20 maxlength=20>
</td>
</tr>

<tr>
<td class=contentbar1 align=right>
	[error name=message std_label="[L]Message[/L]" required=1]
</td>
<td class=contentbar2>
	<textarea name=message rows=5 cols=60 wrap=hard>[value message]</textarea>
</td>
</tr>

</table>
<br>
<center>
	<input type=submit value="[L]Send Message[/L]">
</center>

</form>

[/else]
[/if]



<!-- END CONTENT -->

@_LEFTONLY_BOTTOM_@








More information about the interchange-cvs mailing list