Created
February 7, 2011 20:55
-
-
Save tnhu/815189 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% if (!$isPost) %> | |
<div id="modal-content"> | |
<div cstyle="width: 500px;"> | |
<h2><% i18n %>We appreciate your feedback.<% /i18n %></h2> | |
</div> | |
<script type="text/javascript"> | |
E3.include('/javascripts/form-utils.js', | |
{ | |
onload: function () | |
{ | |
E3.FormUtils.init( | |
{ | |
formId: "form_feedback", | |
spinnerMessage: MooTools.lang.get('common', 'sendingFeedback'), | |
onSuccess: function () | |
{ | |
$('modal-content').innerHTML = this.response.html; | |
} | |
}); | |
} | |
}); | |
</script> | |
</div> | |
<% else %> | |
<div class="e3-modal" style="height: 370px"> | |
<h2><% i18n %>We appreciate your feedback.<% /i18n %></h2> | |
<div class="form"> | |
<div style="text-align: center;"><h3 style="line-height: 25px"><% i18n %>Thank you. Your feedback was sent successfully.<% /i18n %><br /> | |
<% i18n %>You may close this window.<% /i18n %></h3> | |
</div> | |
</div> | |
</div> | |
<% /if %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment