[NBP web-reskin] [SCM] UNNAMED PROJECT branch, master,
updated. bf34f888d7c2805fe5c022b788d0d25af9b6cc68
fidelity_camp at nbp.org
fidelity_camp at nbp.org
Wed Jun 2 10:45:25 EDT 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, master has been updated
via bf34f888d7c2805fe5c022b788d0d25af9b6cc68 (commit)
from 68af1ebc6637409cd80e26699b4354ea19c4990e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bf34f888d7c2805fe5c022b788d0d25af9b6cc68
Author: Steve DiDomenico <swdidomenico at comcast.net>
Date: Wed Jun 2 10:43:13 2010 -0400
updated version from live site
-----------------------------------------------------------------------
Summary of changes:
commit bf34f888d7c2805fe5c022b788d0d25af9b6cc68
Author: Steve DiDomenico <swdidomenico at comcast.net>
Date: Wed Jun 2 10:43:13 2010 -0400
updated version from live site
---
catalogs/nbp/etc/contact_form.html | 70 ++++++++++++++++++------------------
1 files changed, 35 insertions(+), 35 deletions(-)
diff --git a/catalogs/nbp/etc/contact_form.html b/catalogs/nbp/etc/contact_form.html
index b0bccc8..febdd50 100644
--- a/catalogs/nbp/etc/contact_form.html
+++ b/catalogs/nbp/etc/contact_form.html
@@ -28,30 +28,23 @@ know how we're doing![/tmp]
[elsif scratch contact_form_type =~ /\breadbooks_request\b/i]
[tmp header]Request ReadBooks! Book Bags[/tmp]
- [tmp body]Thank you for your willingness to participate in the
-<a href="[area href='readbooks/index.html']">ReadBooks!</a> program. If you are a professional requesting
-book bags, please read and return our <a href="[area href='readbooks/agreement.html']">participation
-agreement</a> as soon as possible. When we receive your order, we will send book bags to you via UPS as
-soon as they are available. If you have any questions, please contact us through our
-<a href="[area href='readbooks/feedback.html']">contact form</a> or call us at 888-965-8965 ext. 34.[/tmp]
- [tmp body]<b>Before you place an order</b>:<br />
-Thank you for your interest in participating in the <a href="[area readbooks/index]">ReadBooks!</a> program.
-If you are a professional requesting book bags, please review and follow the steps outlined on our
-<a href="[area readbooks/agreement]">participation agreement</a>, which we need you to return prior to
-fulfilling your order. When we receive your signed agreement and your order, we will send book bags to you
-via UPS as soon as they are available. If you have any questions, please
-contact Customer Service through our <a href="[area readbooks/feedback]">contact form</a>
-or call us at 800-548-7323 ext. 20.[/tmp]
+ [tmp body]Thank you for your interest in participating in the Readbooks! program.<br><br>
+ If you are a <B>parent or caregiver</b>, please complete the form below. Remember, you can request one Braille Bag for every blind child in your family.<BR><BR>
+If you are a <B>teacher or agency professional</b>, please print, sign and fax our <a href="educator_info.html">participation agreement</a> - before you complete the form below. The participation agreement simply says you will distribute Braille Book bags directly to families with blind children. Please indicate the quantity you need for each age group when you complete the form below.<BR><BR>
+If you have any questions, please email <a href="MAILTO:orders at nbp.org">Customer Service</a> or call us toll-free at 800-548-7323 ext. 520.
+[/tmp]
[tmp target]readbooks[/tmp]
[tmp subject]Material request from website[/tmp]
- [set contact_field_list]request_type|Requested by___agency|Agency Name___address1|Address___address2|Address___city|City___state|State___zip|Zip___english_0_to_3|English (0 to 3)___english_4_to_5|English (4 to 5)___english_6_to_7|English (6 to 7)___spanish_0_to_3|Spanish (0 to 3)___spanish_4_to_5|Spanish (4 to 5)___spanish_6_to_7|Spanish (6 to 7)[/set]
+ [set contact_field_list]request_type|Requested by___agency|Agency Name___address1|Address___address2|Address___city|City___state|State___zip|Zip___email|Email address___respond|Preferred Response___english_0_to_3|English (0 to 3)___english_4_to_5|English (4 to 5)___english_6_to_7|English (6 to 7)___spanish_0_to_3|Spanish (0 to 3)___spanish_4_to_5|Spanish (4 to 5)___spanish_6_to_7|Spanish (6 to 7)[/set]
[set contact_form_profile]
-contact_request_type=required Please specify whether you make this request as a parent, family member, or education professional.
contact_name=required Please provide your name.
+contact_request_type=required Plese let us know who is requesting these materials.
contact_address1=required Please provide an address.
contact_city=required Please provide your city.
contact_state=required Please provide your state/province.
contact_zip=required Please provide your zip/postal code.
+contact_email=required Please provide your email address.
+contact_phone= required Please provide your phone number
contact_english_0_to_3=regex ^[0123456789]*$ "Please specify a numeric quantity for English (0 to 3) bags."
contact_english_4_to_5=regex ^[0123456789]*$ "Please specify a numeric quantity for English (4 to 5) bags."
contact_english_6_to_7=regex ^[0123456789]*$ "Please specify a numeric quantity for English (6 to 7) bags."
@@ -90,8 +83,8 @@ contact_reason=required Please let us know who you are.
[tmp target]cards[/tmp]
[tmp header]Alphabet Card Request[/tmp]
[tmp subject]Alphabet Card Purchase[/tmp]
- [tmp body]Thank you for your interest in National Braille Press and our Braille Alphabet Cards. We love to promote braille and we're thrilled that you're helping us by placing an order! The cards are available in packets, each packet contains 35 cards and is offered at $6 per packet, the cost of production.<br><br>We can ship your order "Free Matter", which takes about 3-4 weeks. Or, for faster delivery, USPS priority mail. The shipping and handling charges are: $5.95 for domestic orders, $11.95 for Canada/Mexico, and $13.95 for all other international orders. To begin the ordering process, please fill out the form below and press continue to select your shipping method.<br><br>
-If you have any questions, please contact Stephanie Marin at 617-266-6160 ext 12 or <a href="MAILTO:smarin at nbp.org">smarin at nbp.org</a>.
+ [tmp body]Thank you for your interest in National Braille Press and our Braille Alphabet Cards. We love to promote braille and we're thrilled that you're helping us by placing an order! The cards are available in packets, each packet contains 35 cards and is offered at $6 per packet, the cost of production.<br><br>We can ship your order "Free Matter", which takes about 3-4 weeks, or, for faster delivery, USPS priority mail*. The shipping and handling charges are: $5.95 for domestic orders, $11.95 for Canada/Mexico, and $13.95 for all other international orders. To begin the ordering process, please fill out the form below and press continue to select your shipping method.<br><br>
+If you have any questions, please contact Elena Samohvalov at 617-266-6160 ext 412 or <a href="MAILTO:esamohvalov at nbp.org">esamohvalov at nbp.org</a>.
[/tmp]
[set contact_field_list]enews|Receive eNews___reason|Reason[/set]
@@ -113,7 +106,7 @@ using the form below, or through one of the following:</p>
88 Saint Stephen Street<br />
Boston, MA 02115<br />
USA</p>
-<p><b>Telephone</b>: 1-888-965-8965 extension 10 (U.S. and Canada only)</p>
+<p><b>Telephone</b>: 1-888-965-8965 extension 410 (U.S. and Canada only)</p>
<p><b>Fax</b>: 1-617-437-0456</p>[/tmp]
[tmp target]development[/tmp]
[tmp subject]Website Inquiry[/tmp]
@@ -140,7 +133,7 @@ contact_email=email Please provide a valid email address where you would like to
Boston, MA 02115<br />
USA<br />
-<p><b>Telephone</b>: 1-888-965-8965 extension 17 (Eileen)</p>
+<p><b>Telephone</b>: 1-888-965-8965 extension 417 (Eileen)</p>
<p><b>Fax</b>: 1-617-437-0456</p>[/tmp]
[tmp target]education[/tmp]
[tmp subject]Questions/Feedback[/tmp]
@@ -157,12 +150,6 @@ contact_email=email Please provide a valid email address where you would like to
[tmp subject]Comment for president from NBP website[/tmp]
[tmp target]president[/tmp]
[/elsif]
-[elsif scratch contact_form_type =~ /\bkilimanjaro\b/i]
- [tmp header]Contact Bill Raeder[/tmp]
- [tmp body]Bill is happy to receive your comments and questions regarding his journey to Kilimanjaro. Thank you for your interest.[/tmp]
- [tmp subject]Kilimanjaro Comment[/tmp]
- [tmp target]president[/tmp]
-[/elsif]
[else]
[tmp header][calc]return $Scratch->{header} if $Scratch->{header}; return "Contact Us";[/calc][/tmp]
[tmp body]We'd love to hear from you! If you have questions or comments, please feel free to send them to us now. We'll make sure your message is delivered to the most appropriate team member and get back to you as soon as we can.[/tmp]
@@ -383,23 +370,23 @@ contact_email=email Please provide a valid email address where you would like to
<table class=formtable>
<tr>
<td>
- <label for="contact_english_0_to_3">English (ages 0 to 3):</label> <input type=text name=contact_english_0_to_3 id="contact_english_0_to_3" size=4 value="[cgi contact_english_0_to_3]"></td>
+ <label for="contact_english_0_to_3">Qty - English (ages 0 to 3):</label> <input type=text name=contact_english_0_to_3 id="contact_english_0_to_3" size=4 value="[cgi contact_english_0_to_3]"></td>
<td>
- <label for="contact_spanish_0_to_3">Spanish (ages 0 to 3):</label> <input type=text name=contact_spanish_0_to_3 id="contact_spanish_0_to_3" size=4 value="[cgi contact_spanish_0_to_3]">
+ <label for="contact_spanish_0_to_3">Qty - Spanish (ages 0 to 3):</label> <input type=text name=contact_spanish_0_to_3 id="contact_spanish_0_to_3" size=4 value="[cgi contact_spanish_0_to_3]">
</td>
</tr>
<tr>
<td>
- <label for="contact_english_4_to_5">English (ages 4 to 5):</label> <input type=text name=contact_english_4_to_5 id="contact_english_4_to_5" size=4 value="[cgi contact_english_4_to_5]"></td>
+ <label for="contact_english_4_to_5">Qty - English (ages 4 to 5):</label> <input type=text name=contact_english_4_to_5 id="contact_english_4_to_5" size=4 value="[cgi contact_english_4_to_5]"></td>
<td>
- <label for="contact_spanish_4_to_5">Spanish (ages 4 to 5):</label> <input type=text name=contact_spanish_4_to_5 id="contact_spanish_4_to_5" size=4 value="[cgi contact_spanish_4_to_5]">
+ <label for="contact_spanish_4_to_5">Qty - Spanish (ages 4 to 5):</label> <input type=text name=contact_spanish_4_to_5 id="contact_spanish_4_to_5" size=4 value="[cgi contact_spanish_4_to_5]">
</td>
</tr>
<tr>
<td>
- <label for="contact_english_6_to_7">English (ages 6 to 7):</label> <input type=text name=contact_english_6_to_7 id="contact_english_6_to_7" size=4 value="[cgi contact_english_6_to_7]"></td>
+ <label for="contact_english_6_to_7">Qty - English (ages 6 to 7):</label> <input type=text name=contact_english_6_to_7 id="contact_english_6_to_7" size=4 value="[cgi contact_english_6_to_7]"></td>
<td>
- <label for="contact_spanish_6_to_7">Spanish (ages 6 to 7):</label> <input type=text name=contact_spanish_6_to_7 id="contact_spanish_6_to_7" size=4 value="[cgi contact_spanish_6_to_7]">
+ <label for="contact_spanish_6_to_7">Qty - Spanish (ages 6 to 7):</label> <input type=text name=contact_spanish_6_to_7 id="contact_spanish_6_to_7" size=4 value="[cgi contact_spanish_6_to_7]">
</td>
</tr>
[/elsif]
@@ -434,13 +421,25 @@ return ' SELECTED' unless $CGI->{contact_department};
[/elsif]
[/if]
</table>
+[comment] code does not work after adding alphabet cards
[if type=explicit]
[if type=explicit condition="return 1 if ! (($Scratch->{contact_form_type} =~ /\bmarketing_signup\b/i) || ($Scratch->{contact_form_type} =~ /\balphabet_card\b/i));"]
- <h2 class="subheader_a"><label for="contact_message">Your message</label></h2>
+ <h2 class="subheader_a"><label for="contact_message">Your Message</label></h2>
<center><textarea name="contact_message" id="contact_message" rows=10 cols=35>[cgi contact_message]</textarea></center>
[/if]
[/if]
- <center>
+[/comment]
+
+[if type=explicit condition="return 1 if !
+ (($Scratch->{contact_form_type}=~/\bmarketing_signup\b/i)
+||($Scratch->{contact_form_type}=~/\balphabet_card\b/i)
+||($Scratch->{contact_form_type}=~/\balphabet_card_multi\b/i)
+||($Scratch->{contact_form_type}=~/\breadbooks_request\b/i));"]
+ <h2 class="subheader_a"><label for="contact_message">Your message</label></h2>
+ <center><textarea name="contact_message" id="contact_message" rows=10 cols=35>[cgi contact_message]</textarea></center>
+[/if]
+
+<center>
[comment]
Can't do this IF within the button block because the IF won't get interpolated
until the next request is processed, and the contact_form_type scratch variable
@@ -466,8 +465,9 @@ mv_todo=set
[include file="etc/contact_email_body" interpolate=1]
[/button]
[/elsif]
+
[else]
- [button text="Submit"]
+ [button text="Submit"]
mv_nextpage=contact_thanks
mv_todo=set
[include file="etc/contact_email_body" interpolate=1]
hooks/post-receive
--
UNNAMED PROJECT
More information about the Web-reskin
mailing list