2004-12-28 18:00:27 +03:00
[% # ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Hendrix Feedback System.
#
# The Initial Developer of the Original Code is
# Gervase Markham.
# Portions created by the Initial Developer are Copyright (C) 2004
# the Initial Developer. All Rights Reserved.
#
2007-04-11 14:07:55 +04:00
# Contributor(s): Reed Loden <reed@reedloden.com>
2004-12-28 18:00:27 +03:00
#
2005-01-15 16:13:10 +03:00
# The Initial Developer wrote this software to the Glory of God.
2004-12-28 18:00:27 +03:00
# ***** END LICENSE BLOCK ***** %]
2004-12-28 18:19:32 +03:00
[% script = BLOCK %]
2005-01-13 02:22:18 +03:00
var ids = ["name", "subject", "comments"];
2004-12-28 18:19:32 +03:00
function checkSubmitEnable() {
/* To enable the button, all fields must have a value */
var enable = true;
for (var i = 0; i < ids.length; i++) {
if (document.getElementById(ids[i]).value == "") {
enable = false;
break;
}
}
2005-01-18 02:55:01 +03:00
document.getElementById("send-feedback").disabled = !enable;
2004-12-28 18:19:32 +03:00
}
function onLoad() {
/* Add the event listeners, and disable the button initially */
for (var i = 0; i < ids.length; i++) {
2005-01-13 02:22:18 +03:00
document.getElementById(ids[i]).onkeyup = checkSubmitEnable;
2004-12-28 18:19:32 +03:00
}
checkSubmitEnable();
}
[% END %]
2004-12-28 18:00:27 +03:00
[% PROCESS header.html.tmpl
2004-12-28 18:19:32 +03:00
title = "Hendrix - mozilla.org Feedback System"
onload = "onLoad()"
2004-12-28 18:00:27 +03:00
%]
2007-04-03 18:01:12 +04:00
<p>This is Hendrix - the mozilla.org system for leaving quick feedback on and suggestions for our products. </p>
2005-07-05 14:35:10 +04:00
2007-04-03 18:01:12 +04:00
<fieldset>
<legend>Other Options</legend>
<ul>
<li><b>Need help or support?</b>
<a href="http://www.mozilla.org/support/">Go here</a>
<li><b>Broken website in Firefox?</b>
Pull down the Help menu and select "Report Broken Web Site"
<li><b>Specific and detailed bug report?</b>
<a href="https://bugzilla.mozilla.org/enter_bug.cgi">Go here</a>
</ul>
</fieldset>
2004-12-28 18:00:27 +03:00
2005-01-11 23:09:03 +03:00
<p>Due to the number of suggestions and comments that are received, you should not expect a direct response. But your views are important to us, so please do let us know what you think.</p>
<form id="feedback-form" method="POST">
2004-12-28 18:00:27 +03:00
<table id="feedback-table">
<tr>
<td class="label">Name:</td>
<td class="widget">
<input id="name" name="name" type="text"
value="[% form.email FILTER html %]"/>
</td>
</tr>
<tr>
2005-01-18 02:55:01 +03:00
<td class="label">Email:</td>
2004-12-28 18:00:27 +03:00
<td class="widget">
<input id="email" name="email" type="text"
2005-01-18 02:55:01 +03:00
value="[% form.email FILTER html %]"/> (optional)
2004-12-28 18:00:27 +03:00
</td>
</tr>
<tr>
<td class="label">
Product:
</td>
<td class="widget">
<select id="product" name="product">
2007-04-11 14:07:55 +04:00
[% FOREACH product = products %]
[% NEXT IF product == "Other" %]
<option name="[% product %]">[% product %]</option>
[% END %]
2004-12-28 18:00:27 +03:00
<option name="Other">Other (please state)</option>
</select>
</td>
</tr>
<tr>
<td class="label">
2005-01-18 02:55:01 +03:00
Summary:
2004-12-28 18:00:27 +03:00
</td>
<td class="widget">
<input id="subject" name="subject" type="text"
value="[% form.subject FILTER html %]"/>
</td>
</tr>
<tr>
<td class="label">
Detailed Comments:
</td>
<td class="widget">
2005-01-18 02:55:01 +03:00
<textarea id="comments" name="comments" wrap="hard" cols="72"
2004-12-28 18:00:27 +03:00
>[% form.comments FILTER html %]</textarea>
</td>
</tr>
2005-01-15 16:13:10 +03:00
<tr>
<td></td>
<td>
<input id="send-feedback" type="submit" value="Send Feedback"/>
</td>
</tr>
2004-12-28 18:00:27 +03:00
</table>
2005-07-14 13:38:24 +04:00
<input type="hidden" name="useragent" id="useragent" value=""/>
<script type="text/javascript">
if (document.getElementById)
{
var useragent = navigator.userAgent;
document.getElementById("useragent").setAttribute("value", useragent);
}
</script>
2005-01-15 16:13:10 +03:00
<input type="hidden" name="action" value="submit"/>
2004-12-28 18:00:27 +03:00
</form>
2005-01-11 23:09:03 +03:00
<p>
2007-04-12 13:36:47 +04:00
Information from this form will be published to a newsgroup or mailing list so project contributors can read it. Do not submit any information unless you wish it to be made public. Your email address will be obfuscated to make life difficult for spammers.
2004-12-28 18:00:27 +03:00
</p>
[% PROCESS footer.html.tmpl %]