1 {**************************************************************************}
3 {* Copyright (C) 2003-2010 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
6 {* This program is free software; you can redistribute it and/or modify *}
7 {* it under the terms of the GNU General Public License as published by *}
8 {* the Free Software Foundation; either version 2 of the License, or *}
9 {* (at your option) any later version. *}
11 {* This program is distributed in the hope that it will be useful, *}
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14 {* GNU General Public License for more details. *}
16 {* You should have received a copy of the GNU General Public License *}
17 {* along with this program; if not, write to the Free Software *}
18 {* Foundation, Inc., *}
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
21 {**************************************************************************}
23 <fieldset style="width:700px; margin-left: 30px">
24 <legend>{icon name="bug"} Signaler un bug ou demander une amélioration</legend>
28 <input type="submit" onclick="window.close()" name="close" value="Fermer" />
31 <form action="send_bug" method="post" onsubmit="cleanContent()">
34 <select name="task_type">
35 <option value="bug">Erreur</option>
36 <option value="wish">Souhait</option>
37 <option value="help">Aide/Dépannage</option>
39 Sujet : <input type="text" name="item_summary" id="flyspray_title" value="sur la page { $location }" size="50" maxlength="100"/>
40 <textarea name="detailed_desc" id="flyspray_detail" cols="70" rows="10"
41 style="width:100%;margin-top:10px;margin-bottom:10px;height:400px;display:block;"></textarea>
42 <input type="hidden" name="page" value="{$smarty.server.HTTP_REFERER|default:$smarty.request.page}" />
44 <input type="button" value="Abandonner" onclick="window.close()"/>
45 <input type="submit" name="send" value="Envoyer"/>
49 <script type="text/javascript">
51 $(document).ready(function() {
55 if (edited == false) {
57 .css('color', 'black')
58 .css('textAlign', 'left');
62 var value = $(this).val();
63 if (value == '' || (value.toUpperCase() == value && value.toLowerCase() == value)) {
64 $(this).val("** Explique ici le problème ou l'amélioration proposée **")
66 .css('textAlign', 'center');
79 {* vim:set et sws=2 sts=2 sw=2 enc=utf-8: *}