french translation, updated
[koha.git] / koha-tmpl / intranet-tmpl / prog / fr / modules / admin / aqbookfund.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Administration système &rsaquo; Budgetsbudgets</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <!-- TMPL_IF name="add_form" -->
5 <script type="text/javascript">
6 //<![CDATA[
7
8         function isNotNull(f,noalert) {
9                 if (f.value.length ==0) {
10    return false;
11                 }
12                 return true;
13         }
14
15         function toUC(f) {
16                 var x=f.value.toUpperCase();
17                 f.value=x;
18                 return true;
19         }
20
21         function isNum(v,maybenull) {
22         var n = new Number(v.value);
23         if (isNaN(n)) {
24                 return false;
25                 }
26         if (maybenull==0 && v.value=="") {
27                 return false;
28         }
29         return true;
30         }
31
32         function isDate(f) {
33                 var t = Date.parse(f.value);
34                 if (isNaN(t)) {
35                         return false;
36                 }
37         }
38
39         function Check(f) {
40                 var ok=1;
41                 var _alertString="";
42                 var alertString2;
43                 if (f.bookfundid.value.length==0) {
44                         _alertString += "- bookfundid missing\n";
45                 }
46                 if (f.bookfundname.value.length==0) {
47                         _alertString += "- bookfundname missing\n";
48                 }
49                 if (_alertString.length==0) {
50                         document.Aform.submit();
51                 } else {
52                         alertString2 = "Form not submitted because of the following problem(s)\n";
53                         alertString2 += "------------------------------------------------------------------------------------\n\n";
54                         alertString2 += _alertString;
55                         alert(alertString2);
56                 }
57         }
58         //]]>
59 </script>
60 <!-- /TMPL_IF -->
61 </head>
62 <body>
63 <!-- TMPL_INCLUDE NAME="header.inc" -->
64 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
65
66 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Accueil</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; Budgets </div>
67
68 <div id="doc3" class="yui-t2">
69    
70    <div id="bd">
71         <div id="yui-main">
72         <div class="yui-b">
73
74 <!-- TMPL_IF name="else" -->
75 <h1>Gestion des budgets</h1>
76   <!-- TMPL_IF NAME="bookfund" -->
77 <table>
78   <tr>
79     <th>Code</th>
80     <th>Nom</th>
81     <th>Site</th>
82     <th>Actions</th>
83   </tr>
84
85 <form action="<!-- TMPL_VAR name="scriptname" -->" method="post">
86   <tr class="filter">
87     <td>
88       <select name="filter_bookfundid">
89         <option value="">----</option>
90     <!-- TMPL_LOOP name="filter_bookfundids" -->
91       <!-- TMPL_IF NAME="selected" -->
92         <option value="<!-- TMPL_VAR name="bookfundid" -->" selected="selected"><!-- TMPL_VAR name="bookfundid" --></option>
93       <!-- TMPL_ELSE -->
94         <option value="<!-- TMPL_VAR name="bookfundid" -->"><!-- TMPL_VAR name="bookfundid" --></option>
95       <!-- /TMPL_IF -->
96     <!-- /TMPL_LOOP -->
97       </select>
98     </td>
99     <td>
100       <input type="text" name="filter_bookfundname" value="<!-- TMPL_VAR name="filter_bookfundname" -->" />
101     </td>
102     <td>
103       <select name="filter_branchcode">
104         <option value="">----</option>
105     <!-- TMPL_LOOP name="filter_branches" -->
106       <!-- TMPL_IF NAME="selected" -->
107         <option value="<!-- TMPL_VAR name="code" -->" selected="selected"><!-- TMPL_VAR name="name" --></option>
108       <!-- TMPL_ELSE -->
109         <option value="<!-- TMPL_VAR name="code" -->"><!-- TMPL_VAR name="name" --></option>
110       <!-- /TMPL_IF -->
111     <!-- /TMPL_LOOP -->
112       </select>
113     </td>
114     <td>
115       <input type="submit" name="filter" value="Sélectionner">
116     </td>
117   </tr>
118 </form>
119
120 <form action="aqbudget.pl" method="post">
121     <!-- TMPL_LOOP name="bookfund" -->
122       <!-- TMPL_IF NAME="toggle" -->
123   <tr class="highlight">
124       <!-- TMPL_ELSE -->
125   <tr>
126       <!-- /TMPL_IF -->
127     <td>
128       <!-- TMPL_VAR name="bookfundid" -->
129     </td>
130     <td>
131       <!-- TMPL_VAR name="bookfundname" -->
132     </td>
133     <td>
134       <!-- TMPL_IF NAME="branchname" -->
135       <!-- TMPL_VAR name="branchname" -->
136       <!-- TMPL_ELSE -->
137       Aucun
138       <!-- /TMPL_IF -->
139     </td>
140     <td>
141       <a href="<!-- TMPL_VAR name="scriptname" -->?op=add_form&amp;bookfundid=<!-- TMPL_VAR name="bookfundid" -->&amp;branchcode=<!-- TMPL_VAR name="branchcode" -->">Modifier</a> <a href="<!-- TMPL_VAR name="scriptname" -->?op=delete_confirm&amp;bookfundid=<!-- TMPL_VAR name="bookfundid" -->&amp;branchcode=<!-- TMPL_VAR name="branchcode" -->">Supprimer</a> <a href="aqbudget.pl?op=add_form&amp;bookfundid=<!-- TMPL_VAR name="bookfundid" -->&amp;branchcode=<!-- TMPL_VAR name="branchcode" -->">Ajouter un budget</a>
142       <!-- TMPL_IF NAME="has_budgets" -->
143       <a href="aqbudget.pl?filter_bookfundid=<!-- TMPL_VAR name="bookfundid" -->">Voir les budgets</a>
144       <!-- /TMPL_IF -->
145     </td>
146   </tr>
147
148     <!-- /TMPL_LOOP --> <!-- bookfund -->
149 </table>
150
151 <div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>
152   <!-- /TMPL_IF --> <!-- bookfund -->
153
154 <p>
155   <a href="<!-- TMPL_VAR name="scriptname" -->?op=add_form">Ajouter un poste budgétaire</a> <a href="aqbudget.pl">Afficher tous les budgets</a>
156 </p>
157
158 </form>
159 <!-- /TMPL_IF --> <!-- else -->
160
161 <!-- TMPL_IF name="add_form" -->
162 <form action="<!-- TMPL_VAR name="action" -->" name="Aform" method="post">
163   <input type="hidden" name="op" value="add_validate" />
164   <input type="hidden" name="checked" value="0" />
165
166   <fieldset class="rows">
167     <legend><!-- TMPL_VAR name="header" --></legend>
168     
169   <ol><!-- TMPL_IF name="add_or_modify" -->
170     <li>
171         <span class="label">Ligne de crédit : </span>
172         <input type="hidden" name="bookfundid" id="bookfundid" value="<!-- TMPL_VAR name="bookfundid" -->" />
173         <!-- TMPL_VAR name="bookfundid" -->
174     </li>
175   <!-- TMPL_ELSE -->
176     <li>
177       <label for="bookfundid">Ligne de crédit : </label>
178       <input type="text" name="bookfundid" id="bookfundid" size="5" maxlength="5" onblur="toUC(this)" />
179     </li>
180   <!-- /TMPL_IF --> <!-- add_or_modify -->
181     
182     <li>
183       <label for="bookfundname">Nom :  </label>
184           <input type="text" name="bookfundname" id="bookfundname" size="40" maxlength="80" value="<!-- TMPL_VAR name="bookfundname" escape="HTML" -->" />
185       </li>
186
187     <li>
188       <label for="branchcode">Site :  </label>
189       <select name="branchcode" id="branchcode">
190           <option value="">Aucun</option>
191   <!-- TMPL_LOOP NAME="branches" -->
192     <!-- TMPL_IF NAME="selected" -->
193           <option value="<!-- TMPL_VAR NAME="branchcode" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
194     <!-- TMPL_ELSE -->
195           <option value="<!-- TMPL_VAR NAME="branchcode" -->"><!-- TMPL_VAR NAME="branchname" --></option>
196     <!-- /TMPL_IF -->
197   <!-- /TMPL_LOOP -->
198         </select>
199     </li></ol>
200     
201   </fieldset>
202
203   <p>
204     <input type="button" value="Valider" onclick="Check(this.form); return false;">
205   </p>
206 </form>
207 <!-- /TMPL_IF --> <!-- add_form -->
208
209 <!-- TMPL_IF name="add_validate" -->
210 <h3>Donnée enregistrée</h3>
211
212 <p>
213   <a href="<!-- TMPL_VAR name="action" -->">Retour à la liste</a>
214 </p>
215 <!-- /TMPL_IF -->
216
217 <!-- TMPL_IF name="delete_confirm" -->
218 <h3>Confirmer la suppression du poste budgétaire <em><!-- TMPL_VAR name="bookfundid" --></em></h3>
219 <table>
220   <tr>
221     <th>Ligne de crédit</th>
222     <td><!-- TMPL_VAR name="bookfundid" --></td>
223   </tr>
224   <tr>
225     <th>Site</th>
226     <td><!-- TMPL_VAR name="branchcode" --></td>
227   </tr>
228   <tr>
229     <th>Nom</th>
230     <td><!-- TMPL_VAR name="bookfundname" --></td>
231   </tr>
232   <tr>
233     <th>Groupe</th>
234     <td><!-- TMPL_VAR name="bookfundgroup" --></td>
235   </tr>
236 </table>
237
238 <form action="<!-- TMPL_VAR name="action" -->" method="post">
239   <input type="hidden" name="op" value="delete_confirmed" />
240   <input type="hidden" name="bookfundid" value="<!-- TMPL_VAR name="bookfundid" -->" />
241   <input type="hidden" name="branchcode" value="<!-- TMPL_VAR name="branchcode" -->" />
242
243   <div id="action">
244     <input type="submit" value="Supprimer ce poste budgétaire">
245   </div>
246 </form>
247
248 <form action="<!-- TMPL_VAR name="action" -->" method="post">
249   <input type="submit" value="Ne pas supprimer">
250 </form>
251 <!-- /TMPL_IF --> <!-- delete_confirm -->
252
253 <!-- TMPL_IF name="delete_confirmed" -->
254 <h3>Donnée supprimée</h3>
255 <form action="<!-- TMPL_VAR name="action" -->" method="post">
256   <input type="submit" value="OK" />
257 </form>
258 <!-- /TMPL_IF --> <!-- delete_confirmed -->
259
260 </div>
261 </div>
262 <div class="yui-b">
263 <!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
264 </div>
265 </div>
266 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->