fixing misplaced apostrophe
[koha_fer] / koha-tmpl / intranet-tmpl / prog / fr / modules / admin / marctagstructure.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Administration &rsaquo;système
3 <!-- TMPL_IF name="add_form" -->Grille d'autorité Marc pour &rsaquo; <!-- TMPL_VAR name="action" --> <!-- TMPL_VAR NAME="searchfield" --><!-- /TMPL_IF -->
4 <!-- TMPL_IF name="delete_confirm" -->Structure des champs MARC &rsaquo; Confirmer la suppression du champ '<!-- TMPL_VAR name="searchfield" -->'<!-- /TMPL_IF -->
5 <!-- TMPL_IF name="delete_confirmed" -->Grille de catalogage &rsaquo; Entrée supprimée<!-- /TMPL_IF -->
6 <!-- TMPL_IF name="else" -->Grille de catalogage<!-- /TMPL_IF --></title>
7 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
8 <script type="text/javascript">
9 //<![CDATA[
10     /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
11     function isNotNull(f,noalert) {
12         if (f.value.length ==0) {
13                         return false;
14         }
15         return true;
16     }
17     /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
18     function toUC(f) {
19         var x=f.value.toUpperCase();
20         f.value=x;
21         return true;
22     }
23     /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
24     function isNum(v,maybenull) {
25     var n = new Number(v.value);
26     if (isNaN(n)) {
27         return false;
28         }
29     if (maybenull==0 && v.value=='') {
30         return false;
31     }
32     return true;
33     }
34     /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
35     function isDate(f) {
36         var t = Date.parse(f.value);
37         if (isNaN(t)) {
38             return false;
39         }
40     }
41     /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
42     function Check(f) {
43         var ok=1;
44         var _alertString="";
45         var alertString2;
46         if (f.tagfield.value.length==0) {
47             _alertString += "\n- " + _("étiquette du champ absente");
48         }
49         if (_alertString.length==0) {
50             document.Aform.submit();
51         } else {
52             alertString2  = _("Formulaire non soumis à cause du (des) problème(s) suivant(s)");
53             alertString2 += "\n------------------------------------------------------------------------------------\n";
54             alertString2 += _alertString;
55             alert(alertString2);
56         }
57     }
58     //]]>
59 </script>
60 </head>
61 <body>
62 <!-- TMPL_INCLUDE NAME="header.inc" -->
63 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
64
65 <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; <!-- TMPL_IF name="add_form" --> <a href="/cgi-bin/koha/admin/marctagstructure.pl">Grilles de catalogage</a> &rsaquo; <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->">Grille de catalogage <!-- TMPL_VAR NAME="frameworktext" --> (<!-- TMPL_VAR NAME="frameworkcode" -->) </a> &rsaquo; <!-- TMPL_VAR name="action" --> <!-- TMPL_VAR NAME="searchfield" --><!-- /TMPL_IF -->
66 <!-- TMPL_IF name="delete_confirm" --> <a href="/cgi-bin/koha/admin/marctagstructure.pl">Grille de catalogage</a> &rsaquo; Confirmez la suppression du champ '<!-- TMPL_VAR name="searchfield" -->'<!-- /TMPL_IF -->
67 <!-- TMPL_IF name="delete_confirmed" --> <a href="/cgi-bin/koha/admin/marctagstructure.pl">Grilles de catalogage</a> &rsaquo; Entrée supprimée<!-- /TMPL_IF -->
68 <!-- TMPL_IF name="else" --><a href="/cgi-bin/koha/admin/biblio_framework.pl">Grilles de catalogage</a> &rsaquo; Grille de catalogage pour  <!-- TMPL_VAR NAME="frameworktext" --> (<!-- TMPL_VAR NAME="frameworkcode" -->) ?<!-- /TMPL_IF --></div>
69
70 <div id="doc3" class="yui-t2">
71    
72    <div id="bd">
73         <div id="yui-main">
74         <div class="yui-b">
75
76 <h1>Grille Marc pour <!-- TMPL_IF NAME="frameworkcode" --><!-- TMPL_VAR NAME="frameworktext" --> (<!-- TMPL_VAR NAME="frameworkcode" -->)<!-- TMPL_ELSE -->Grille MARC par défaut<!-- /TMPL_IF --></h1>
77
78
79 <!-- TMPL_IF NAME="add_form" -->
80
81     <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" method="post">
82         
83       <fieldset class="rows"><legend><!-- TMPL_IF NAME="use-heading-flags-p" --><!-- TMPL_IF NAME="heading-modify-tag-p" -->Modifier le champ '<!-- TMPL_VAR NAME="searchfield" -->'<!-- /TMPL_IF --><!-- TMPL_IF NAME="heading-add-tag-p" -->Ajouter un champ<!-- /TMPL_IF --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="action" --><!-- /TMPL_IF --></legend>  <input type="hidden" name="op" value="add_validate" />
84         <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" />
85
86         <ol> <li><label for="tagfield">Champ</label><input id="tagfield" type="text" name="tagfield" value="<!-- TMPL_VAR NAME="searchfield" -->" maxlength="3" size="3" /></li>    
87     <li><label for="liblibrarian">Texte pour bib</label><input type="text" id="liblibrarian" name="liblibrarian" value="<!-- TMPL_VAR NAME="liblibrarian" ESCAPE="HTML" -->" size="40" maxlength="100" /></li>
88     <li><label for="libopac">Texte pour OPAC</label><input type="text" id="libopac" name="libopac" value="<!-- TMPL_VAR NAME="libopac" ESCAPE="HTML" -->" size="40" maxlength="100" /></li>
89     <li><label for="repeatable">Répétable</label><!-- TMPL_VAR NAME="repeatable" -->&nbsp;</li>
90     <li><label for="mandatory">Obligatoire</label><!-- TMPL_VAR NAME="mandatory" -->&nbsp;</li>
91     <li><label for="authorised_value">Valeur autorisée</label><!-- TMPL_VAR NAME="authorised_value" --> (si vous sélectionnez une valeur ici, les indicateurs seront limités à la liste des valeurs autorisées)</li>
92         <li>
93             <input type="submit" value="Valider les modifications" onclick="Check(this.form)">
94             <input type="submit" value="Annuler et retourner à la structure des champs MARC" onclick="location.href='<!-- TMPL_VAR NAME="script_name" -->?frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->'; return false;">
95         </li></ol></fieldset>
96     </form>
97 <!-- /TMPL_IF -->
98
99
100 <!-- TMPL_IF NAME="delete_confirm" -->
101
102 <h3>Confirmer la suppression du champ <em><!-- TMPL_VAR NAME="searchfield" --></em> ?</h3>
103     <p>Champ : <!-- TMPL_VAR NAME="searchfield" --></p>
104     <p>Description : <!-- TMPL_VAR NAME="liblibrarian" --></p>
105     <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
106         <input type="hidden" name="op" value="delete_confirmed" />
107         <input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" /><input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" />
108         <input type="submit" value="Oui, supprimer ce champ"></form>
109         
110         <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post"><input type="submit" value="Non, ne pas supprimer"></form>
111 <!-- /TMPL_IF -->
112
113 <!-- TMPL_IF NAME="delete_confirmed" -->
114
115     <div class="details"><h3>Champ supprimé</h3>
116     <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post"><input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" />
117     <input type="submit" value="Retourner aux grilles de catalogage">
118     </form>
119 <!-- /TMPL_IF -->
120 <!-- TMPL_IF NAME="framework_create" -->
121
122     <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
123         <input type="hidden" name="op" value="framework_create_confirm" />
124         <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" />
125         Créer une grille d'autorité pour <!-- TMPL_VAR NAME="frameworkcode" --> (<!-- TMPL_VAR NAME="frameworktext" -->) en utilisant
126         <select name="existingframeworkcode">
127             <option value="">Par défaut</option>
128         <!-- TMPL_LOOP NAME="existingframeworkloop" -->
129             <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="frameworktext" --></option>
130         <!-- /TMPL_LOOP -->
131         </select>
132         <input type="submit" value="OK" />
133     </form>
134 <!-- /TMPL_IF -->
135
136
137 <!-- TMPL_IF NAME="else" -->
138
139 <form name="f" action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
140     <p><label for="frameworkcode">Grille de catalogage</label>
141         <select id="frameworkcode" name="frameworkcode">
142             <option value="">Par défaut</option>
143             <!-- TMPL_LOOP NAME="frameworkloop" -->
144                         <!-- TMPL_IF NAME="selected" -->
145                 <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="frameworktext" --></option>
146                                 <!-- TMPL_ELSE -->
147                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="frameworktext" --></option>
148                                 <!-- /TMPL_IF -->
149             <!-- /TMPL_LOOP -->
150         </select>
151     </p>
152     <p>
153         <label for="searchfield">Rechercher le champ</label>
154         <input type="text" name="searchfield" id="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
155         <input type="submit" value="Rechercher">
156     </p>
157     <p>
158         <!-- TMPL_IF Name="select_display"-->
159             <label for="select_display">Afficher seulement les champs/sous-champs utilisés</label> <input type="checkbox" name="select_display" id="select_display" value="Vrai" checked="checked" onchange="this.form.submit();">
160         <!-- TMPL_ELSE -->
161             <label for="select_display">Afficher seulement les champs/sous-champs utilisés</label> <input type="checkbox" name="select_display" id="select_display" value="Vrai" onchange="this.form.submit();">
162         <!--/TMPL_IF -->
163     </p>
164 </form>
165 <p>Si vous changez un lien entre un sous-champ MARC et un champ non-MARC, demandez à votre administrateur de lancer le script misc/rebuildnonmarc.pl.</p>
166
167     <table>
168     <tr>
169         <th>Champ</th>
170         <th>Texte</th>
171         <th>Répétable</th>
172         <th>Obligatoire</th>
173         <th>Valeur autorisée</th>
174         <th>Sous-champs</th>
175         <th>Modifier</th>
176         <th>Supprimer</th>
177         </tr>
178
179     <!-- TMPL_IF NAME="select_display" -->
180         <!-- TMPL_LOOP NAME="loop" -->
181             <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
182             <td><!-- TMPL_VAR NAME="tagfield" --></td>
183             <td><!-- TMPL_VAR NAME="liblibrarian" --></td>
184             <td><!-- TMPL_IF NAME="repeatable" -->Oui<!-- TMPL_ELSE -->Non<!-- /TMPL_IF --></td>
185             <td><!-- TMPL_IF NAME="mandatory" -->Oui<!-- TMPL_ELSE -->Non<!-- /TMPL_IF --></td>
186             <td><!-- TMPL_VAR NAME="authorised_value" --></td>
187             <td><a href="<!-- TMPL_VAR NAME="subfield_link" -->">sous-champs</a></td>
188             <td><a href="<!-- TMPL_VAR NAME="edit" -->">Modifier</a></td>
189             <td><a href="<!-- TMPL_VAR NAME="delete" -->">Supprimer</a></td>
190         </tr>
191       <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
192             <td>
193                 &nbsp;
194             </td>
195             <td colspan="7">
196                 <!-- TMPL_LOOP NAME="subfields" -->
197                     <p> Onglet : <!-- TMPL_VAR NAME="tab" --> | $<!-- TMPL_VAR NAME="tagsubfield" --> <!-- TMPL_VAR NAME="liblibrarian" --> <!-- TMPL_IF NAME="kohafield" --><!-- TMPL_VAR NAME="kohafield" --><!--/TMPL_IF --><!-- TMPL_IF NAME="repeatable" -->, répétable<!-- /TMPL_IF --><!-- TMPL_IF NAME="mandatory" -->, Obligatoire<!-- /TMPL_IF --><!-- TMPL_IF NAME="seealso" -->, Voir <!-- TMPL_VAR name="seealso" --><!--/TMPL_IF --><!-- TMPL_IF NAME="authorised_value" -->, <!-- TMPL_VAR NAME="authorised_value" --><!--/TMPL_IF --><!-- TMPL_IF NAME="authtypecode" -->, <!-- TMPL_VAR NAME="authtypecode" --><!--/TMPL_IF --><!-- TMPL_IF NAME="value_builder" -->, <!-- TMPL_VAR NAME="value_builder" --><!--/TMPL_IF -->
198                     </p>
199                 <!-- /TMPL_LOOP -->
200             </td>
201         </tr>
202         <!-- /TMPL_LOOP -->
203     <!-- TMPL_ELSE -->
204     <!-- TMPL_LOOP NAME="loop" -->
205     <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
206         <td><!-- TMPL_VAR NAME="tagfield" --></td>
207         <td><!-- TMPL_VAR NAME="liblibrarian" --></td>
208         <td><!-- TMPL_IF NAME="repeatable" -->Oui<!-- TMPL_ELSE -->Non<!-- /TMPL_IF --></td>
209         <td><!-- TMPL_IF NAME="mandatory" -->Oui<!-- TMPL_ELSE -->Non<!-- /TMPL_IF --></td>
210         <td><!-- TMPL_VAR NAME="authorised_value" --></td>
211         <td><a href="<!-- TMPL_VAR NAME="subfield_link" -->">Sous-champs</a></td>
212         <td><a href="<!-- TMPL_VAR NAME="edit" -->">Modifier</a></td>
213         <td><a href="<!-- TMPL_VAR NAME="delete" -->">Supprimer</a></td>
214     </tr>
215     <!-- /TMPL_LOOP -->
216     <!--/TMPL_IF -->
217     </table>
218     <!-- TMPL_IF NAME="isprevpage" -->
219             <a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="prevpage" -->&amp;searchfield=<!-- TMPL_VAR NAME="searchfield" -->&amp;frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" --><!--TMPL_IF Name="select_display"-->&amp;select_display=True<!--/TMPL_IF -->">&lt;&lt; Précédent</a>
220         <!-- /TMPL_IF -->
221     <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
222         <input type="hidden" name="op" value="add_form" />
223                 <input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield"-->" />
224         <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" />
225         <input type="submit" value="Ajouter un champ">
226     </form>
227         <!-- TMPL_IF NAME="nextpage" -->
228             <a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="nextpage" -->&amp;searchfield=<!-- TMPL_VAR NAME="searchfield" -->&amp;frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" --><!--TMPL_IF Name="select_display"-->&amp;select_display=True<!--/TMPL_IF -->">Suivant >></a>
229         <!-- /TMPL_IF -->
230
231 <!-- /TMPL_IF -->
232
233
234 </div>
235 </div>
236 <div class="yui-b">
237 <!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
238 </div>
239 </div>
240 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->