diff options
Diffstat (limited to 'plugins/Feedback/templates/index.tpl')
-rw-r--r-- | plugins/Feedback/templates/index.tpl | 79 |
1 files changed, 20 insertions, 59 deletions
diff --git a/plugins/Feedback/templates/index.tpl b/plugins/Feedback/templates/index.tpl index 02f553c177..aec45f58ce 100644 --- a/plugins/Feedback/templates/index.tpl +++ b/plugins/Feedback/templates/index.tpl @@ -1,63 +1,24 @@ {literal} -<script type="text/javascript"> -$(function() { - $('#feedback-contact').click(function() { - $('#feedback-faq').hide(); - $('#feedback-form').show(); - return false; - }); +<style> +input, textarea, p { + font-family: Georgia,"Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; + font-size:0.9em; + padding:0.2em; +} +input { + margin-top:0.8em; +} +</style> +{/literal} - $('#feedback-home').click(function() { - $('#feedback-form').hide(); - $('#feedback-faq').show(); - return false; - }); +<form method="post" action="index.php?module=Feedback&action=sendFeedback"> - $('#feedback-form-submit').click(function() { - var feedback = $('#feedback-form form'); - $('#feedback-form').hide(); - $.post(feedback.attr('action'), feedback.serialize(), function (data) { - $('#feedback-sent').show().html(data); - }); - return false; - }); -}); -</script> -{/literal} +<p><strong>your email :</strong> +<br /><input type="text" name="email" size="40" /></p> - <div id="feedback-faq"> - <p><strong>{'Feedback_DoYouHaveBugReportOrFeatureRequest'|translate}</strong></p> - <p>» {'Feedback_ViewAnswersToFAQ'|translate:"<a target='_blank' href='misc/redirectToUrl.php?url=http://piwik.org/faq/'>":"</a>"}.</p> - <ul> - <li>{'Feedback_WhyAreMyVisitsNoTracked'|translate}</li> - <li>{'Feedback_HowToExclude'|translate}</li> - <li>{'Feedback_WhyWrongCountry'|translate}</li> - <li>{'Feedback_HowToAnonymizeIP'|translate}</li> - </ul> - <p>» {'Feedback_VisitTheForums'|translate:"<a target='_blank' href='misc/redirectToUrl.php?url=http://forum.piwik.org/'>":"</a>"}.</p> - <p>» {'Feedback_LearnWaysToParticipate'|translate:"<a target='_blank' href='misc/redirectToUrl.php?url=http://piwik.org/contribute/'>":"</a>"}.</p> - <br /> - <p><strong>{'Feedback_SpecialRequest'|translate}</strong></p> - <p>» <a target='_blank' href="#" id="feedback-contact">{'Feedback_ContactThePiwikTeam'|translate}</a></p> - </div> - <div id="feedback-form" style="display:none;"> - <form method="post" action="index.php?module=Feedback&action=sendFeedback"> - <p><strong>{'Feedback_IWantTo'|translate}</strong> - <select name="category"> - <option value="share">{'Feedback_CategoryShareStory'|translate}</option> - <option value="sponsor">{'Feedback_CategorySponsor'|translate}</option> - <option value="hire">{'Feedback_CategoryHire'|translate}</option> - <option value="security">{'Feedback_CategorySecurity'|translate}</option> - </select> - </p> - <p><strong>{'Feedback_MyEmailAddress'|translate}</strong><br /> - <input type="text" name="email" size="59" /> - <input type="hidden" name="nonce" value="{$nonce}" /></p> - <p><strong>{'Feedback_MyMessage'|translate}</strong> {'Feedback_DetailsPlease'|translate}<br /> - <textarea name="body" cols="57" rows="10"></textarea></p> - <p><input id="feedback-form-submit" type="submit" value="{'Feedback_SendFeedback'|translate}" /></p> - <p><a href="#" id="feedback-home"><img src="plugins/Feedback/images/go-previous.png" border="0" title="{'General_Previous'|translate}" alt="[{'General_Previous'|translate}]" /></a></p> - </form> - </div> - <div id="feedback-sent" style="display:none;"> - </div> +<p><strong>your feedback:</strong><br/> +<i>please be precise if you request for a feature or report a bug</i></p> +<textarea name="body" cols="37" rows="10"></textarea> +<br/> +<input type="submit" value="Send feedback" /> +</form> |