PageRenderTime 14ms CodeModel.GetById 2ms app.highlight 7ms RepoModel.GetById 2ms app.codeStats 0ms

/metnav/skins/metnav_controlpanel/prefs_manage_metadata_nav_global.cpt

https://bitbucket.org/pratic/metnav
Unknown | 658 lines | 508 code | 150 blank | 0 comment | 0 complexity | dc1dfdad5d1f0dd3164b9709a700c131 MD5 | raw file
  1<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
  2      lang="en"
  3      metal:use-macro="here/prefs_main_template/macros/master"
  4      i18n:domain="metnav">
  5
  6<metal:block metal:fill-slot="top_slot"
  7             tal:define="dummy python:request.set('disable_border',1)" />
  8
  9<body>
 10
 11<div metal:fill-slot="prefs_configlet_main"
 12     tal:define="errors python:request.get('errors', {});
 13                 metnav_properties here/portal_properties/metnav_properties">
 14
 15    <h1 i18n:translate="legend_prefs_metadata_nav">Configuration de MetNav</h1>
 16
 17    <a href=""
 18       class="link-parent"
 19       tal:attributes="href string:${portal_url}/plone_control_panel"
 20       i18n:translate="label_up_to_plone_setup"
 21       i18n:domain="plone">
 22    Up to Site Setup
 23    </a>
 24
 25    <form action=""
 26          name=""
 27          method="post"
 28          tal:attributes="action string:${portal_url}/${template/id}">
 29
 30        <fieldset>
 31
 32            <legend i18n:translate="legend_prefs_metadata_nav">Configuration de MetNav</legend>
 33
 34            <p i18n:translate="description_prefs_metadata_nav">
 35                Vous permet de configurer les propri&eacute;t&eacute;s de navigation sur les m&eacute;tadonn&eacute;es XML du site.
 36            </p>
 37
 38            <fieldset>
 39                <legend i18n:translate="legend_metnav_general">Configuration g&eacute;n&eacute;rale</legend>
 40
 41                <p i18n:translate="description_metnav_general">
 42                    Vous pouvez configurer dans cette partie les &eacute;l&eacute;ments g&eacute;n&eacute;raux de MetNav
 43                </p>
 44
 45                <div class="field"
 46                     tal:define="EXIST_DA request/EXIST_DA | metnav_properties/EXIST_DA;
 47                             error errors/EXIST_DA | nothing;"
 48                     tal:attributes="class python:test(error, 'field error', 'field')">
 49
 50                    <label i18n:translate="label_exist_da" for="exist_da">Identifiant du connecteur eXistDA &agrave; utiliser</label>
 51
 52                    <span class="fieldRequired" title="Required"
 53                      i18n:attributes="title title_required;"
 54                      i18n:translate="label_required">(Required)</span>
 55
 56                    <div class="formHelp" i18n:translate="help_exist_da">
 57                        Identifiant du connecteur eXistDA &agrave; utiliser pour toutes les connexions &agrave; la base. Le connecteur doit se trouver dans portal_skins/custom ou &agrave; la racine du site Plone.
 58                    </div>
 59
 60                    <div tal:content="error">Validation error output</div>
 61
 62                    <input size="80"
 63                           name="EXIST_DA"
 64                           id="exist_da"
 65                           value=""
 66                           tal:attributes="value EXIST_DA" />
 67                </div>
 68
 69                <div class="field"
 70                     tal:define="BATCH_LENGTH request/BATCH_LENGTH | metnav_properties/BATCH_LENGTH;
 71                             error errors/BATCH_LENGTH | nothing;"
 72                     tal:attributes="class python:test(error, 'field error', 'field')">
 73
 74                    <label i18n:translate="label_batch_length" for="batch_length">Nombre d'&eacute;l&eacute;ments par page</label>
 75
 76                    <span class="fieldRequired" title="Required"
 77                      i18n:attributes="title title_required;"
 78                      i18n:translate="label_required">(Required)</span>
 79
 80                    <div class="formHelp" i18n:translate="help_batch_length">
 81                        Nombre d'&eacute;l&eacute;ments affich&eacute;s par page lors des recherches (dans les nouvelles, archives, etc.).
 82                    </div>
 83
 84                    <div tal:content="error">Validation error output</div>
 85
 86                    <input size="3"
 87                           name="BATCH_LENGTH"
 88                           id="batch_length"
 89                           value=""
 90                           tal:attributes="value BATCH_LENGTH" />
 91                </div>
 92
 93                <div class="field"
 94                     tal:define="LIMIT_RELATED request/LIMIT_RELATED | metnav_properties/LIMIT_RELATED;
 95                             error errors/LIMIT_RELATED | nothing;"
 96                     tal:attributes="class python:test(error, 'field error', 'field')">
 97
 98                    <label i18n:translate="label_limit_related" for="limit_related">Nombre maximums de documents connexes</label>
 99
100                    <span class="fieldRequired" title="Required"
101                      i18n:attributes="title title_required;"
102                      i18n:translate="label_required">(Required)</span>
103
104                    <div class="formHelp" i18n:translate="help_limit_related">
105                        Nombre maximum de documents connexes affich&eacute;s dans le portlet "Voir aussi".
106                    </div>
107
108                    <div tal:content="error">Validation error output</div>
109
110                    <input size="3"
111                           name="LIMIT_RELATED"
112                           id="limit_related"
113                           value=""
114                           tal:attributes="value LIMIT_RELATED" />
115                </div>
116
117                <div class="field"
118                     tal:define="SCORE_CONNEXE request/SCORE_CONNEXE | metnav_properties/SCORE_CONNEXE;
119                             error errors/SCORE_CONNEXE | nothing;"
120                     tal:attributes="class python:test(error, 'field error', 'field')">
121
122                    <label i18n:translate="label_score_connexe" for="score_connexe">Score minimum de documents connexes</label>
123
124                    <span class="fieldRequired" title="Required"
125                      i18n:attributes="title title_required;"
126                      i18n:translate="label_required">(Required)</span>
127
128                    <div class="formHelp" i18n:translate="help_score_connexe">
129                        Score minimum des documents connexes affich&eacute;s dans le portlet "Voir aussi".
130                    </div>
131
132                    <div tal:content="error">Validation error output</div>
133
134                    <input size="3"
135                           name="SCORE_CONNEXE"
136                           id="score_connexe"
137                           value=""
138                           tal:attributes="value SCORE_CONNEXE" />
139                </div>
140                <div class="field"
141                     tal:define="OBJECTS request/OBJECTS | python:'\n'.join(metnav_properties.OBJECTS);
142                             error errors/OBJECTS | nothing;"
143                     tal:attributes="class python:test(error, 'field error', 'field')">
144
145                    <label i18n:translate="label_objects" for="objects">Objets pédagogiques</label>
146
147                    <span class="fieldRequired" title="Required"
148                      i18n:attributes="title title_required;"
149                      i18n:translate="label_required">(Required)</span>
150
151                    <div class="formHelp" i18n:translate="help_objects">
152                        Correspondance des objets et de leurs noms affich&eacute;s. De la forme nom affich&eacute;=nom dans le lom.
153                    </div>
154
155                    <div tal:content="error">Validation error output</div>
156
157                    <textarea rows="10"
158                           name="OBJECTS"
159                           id="objects"
160                           tal:content="OBJECTS">
161                    </textarea>
162                </div>
163
164               <div class="field"
165                     tal:define="MEDIAS request/MEDIAS=S | python:'\n'.join(metnav_properties.MEDIAS);
166                             error errors/MEDIAS | nothing;"
167                     tal:attributes="class python:test(error, 'field error', 'field')">
168
169                    <label i18n:translate="label_medias" for="medias">Objets médias</label>
170
171                    <span class="fieldRequired" title="Required"
172                      i18n:attributes="title title_required;"
173                      i18n:translate="label_required">(Required)</span>
174
175                    <div class="formHelp" i18n:translate="help_medias">
176                        Correspondance des objets médias et de leurs noms affich&eacute;s. De la forme nom affich&eacute;=nom dans le lom.
177                    </div>
178
179                    <div tal:content="error">Validation error output</div>
180
181                    <textarea rows="10"
182                           name="MEDIAS"
183                           id="medias"
184                           tal:content="MEDIAS">
185                    </textarea>
186                </div>
187
188            </fieldset>
189
190            <fieldset>
191                <legend i18n:translate="legend_metadata">M&eacute;tadonn&eacute;es</legend>
192
193                <p i18n:translate="description_metadata">
194                    Vous pouvez configurer dans cette partie tout ce qui concerne les m&eacute;tadonn&eacute;es utilis&eacute;es pour indexer vos contenus.
195                </p>
196
197                <div class="field"
198                     tal:define="COLLECTIONS request/COLLECTIONS | python:'\n'.join(metnav_properties.getProperty('COLLECTIONS', []));
199                             error errors/COLLECTIONS | nothing;"
200                     tal:attributes="class python:test(error, 'field error', 'field')">
201
202                    <label i18n:translate="label_collections" for="COLLECTIONS">Configuration des classifications et chemins</label>
203
204                    <span class="fieldRequired" title="Required"
205                      i18n:attributes="title title_required;"
206                      i18n:translate="label_required">(Required)</span>
207
208                    <div class="formHelp" i18n:translate="help_collections">
209                        Indiquez la configuration dans cet ordre : chemin portail|nom de classification|url de classification|collection des m&eacute;tadonn&eacute;es.<br/>
210                        Le chemin / est <b>obligatoire</b>, il indique le chemin par d&eacute;faut.
211                        Le premier chemin r&eacute;pondant au contexte actuel sera utilis&eacute;. Attention &agrave; l'ordre dans lequel vous les placez.
212                    </div>
213
214                    <div tal:content="error">Validation error output</div>
215
216                    <textarea rows="10"
217                           cols="30"
218                           name="COLLECTIONS"
219                           id="collections"
220                           tal:content="COLLECTIONS">
221                    </textarea>
222                </div>
223
224                <div class="field"
225                     tal:define="COLLECTION_METADATA request/COLLECTION_METADATA | metnav_properties/COLLECTION_METADATA;
226                             error errors/COLLECTION_METADATA | nothing;"
227                     tal:attributes="class python:test(error, 'field error', 'field')">
228
229                    <label>Chemin relatif de la collection des m&eacute;tadonn&eacute;es</label>
230
231                    <span class="fieldRequired" title="Required"
232                      i18n:attributes="title title_required;"
233                      i18n:translate="label_required">(Required)</span>
234
235                    <div class="formHelp">
236                        Indiquez le chemin de collection des m&eacute;tadonn&eacute;es. Ex: '/db/csphysique/metadata'.<br/>
237                    </div>
238
239                    <div tal:content="error">Validation error output</div>
240
241                    <input size="80"
242                           name="COLLECTION_METADATA"
243                           id="collection_metadata"
244                           value=""
245                           tal:attributes="value python:COLLECTION_METADATA.strip(' ');" />
246                </div>
247
248
249            </fieldset>
250
251            <fieldset>
252                <legend i18n:translate="legend_templates_url">URL des templates</legend>
253
254                <p i18n:translate="description_templates_url">
255                    Vous pouvez configurer dans cette partie les URL o&ugrave; sont situ&eacute;es les diff&eacute;rents templates d'affichage des donn&eacute;es XML.
256                </p>
257
258                <div class="field"
259                     tal:define="URL_DOC request/URL_DOC | metnav_properties/URL_DOC;
260                             error errors/URL_DOC | nothing;"
261                     tal:attributes="class python:test(error, 'field error', 'field')">
262
263                    <label i18n:translate="label_url_doc" for="url_doc">Chemin et template pour les documents</label>
264
265                    <span class="fieldRequired" title="Required"
266                      i18n:attributes="title title_required;"
267                      i18n:translate="label_required">(Required)</span>
268
269                    <div class="formHelp" i18n:translate="help_url_doc">
270                        Chemin et template pour les documents.
271                    </div>
272
273                    <div tal:content="error">Validation error output</div>
274
275                    <input size="80"
276                           name="URL_DOC"
277                           id="url_doc"
278                           value=""
279                           tal:attributes="value URL_DOC" />
280                </div>
281            </fieldset>
282
283            <fieldset>
284                <legend i18n:translate="legend_xsl">XSL</legend>
285                <p i18n:translate="description_xsl">
286                    Vous pouvez configurer dans cette partie les chemins vers les XSL ainsi que les options &agrave; passer pour la transformation de Docbook vers HTML.
287                </p>
288                <div class="field"
289                     tal:define="DB_XSL request/DB_XSL | metnav_properties/DB_XSL;
290                             error errors/DB_XSL | nothing;"
291                     tal:attributes="class python:test(error, 'field error', 'field')">
292
293                    <label i18n:translate="label_db_xsl" for="db_xsl">Chemin vers la XSL DocBook</label>
294
295                    <span class="fieldRequired" title="Required"
296                      i18n:attributes="title title_required;"
297                      i18n:translate="label_required">(Required)</span>
298
299                    <div class="formHelp" i18n:translate="help_db_xsl">
300                        Chemin vers la XSL DocBook &agrave; utiliser pour les transformations. Pr&eacute;ciser le type d'URI (file://, xmldb:exist://, etc.).
301                        Attention, s'il s'agit d'un type 'file://', c'est la localisation sur la machine qui h&eacute;berge le serveur eXist qui doit &ecirc;tre donn&eacute;e.
302                    </div>
303
304                    <div tal:content="error">Validation error output</div>
305
306                    <input size="80"
307                           name="DB_XSL"
308                           id="db_xsl"
309                           value=""
310                           tal:attributes="value DB_XSL" />
311                </div>
312
313                <div class="field"
314                     tal:define="DB_XSL_OPTS request/DB_XSL_OPTS | python:'\n'.join(metnav_properties.DB_XSL_OPTS);
315                             error errors/DB_XSL_OPTS | nothing;"
316                     tal:attributes="class python:test(error, 'field error', 'field')">
317
318                    <label i18n:translate="label_db_xsl_opts" for="db_xsl_opts">Options &agrave; passer &agrave; la XSL DocBook</label>
319
320                    <span class="fieldRequired" title="Required"
321                      i18n:attributes="title title_required;"
322                      i18n:translate="label_required">(Required)</span>
323
324                    <div class="formHelp" i18n:translate="help_db_xsl_opts">
325                        Options &agrave; passer &agrave; la XSL DocBook lors de la transformation (voir la documentation de la XSL). Une option par ligne, de la forme :
326                        param=value
327                    </div>
328
329                    <div tal:content="error">Validation error output</div>
330
331                    <textarea
332                           name="DB_XSL_OPTS"
333                           rows="10"
334                           cols="30"
335                           id="db_xsl_opts"
336                           tal:content="DB_XSL_OPTS">
337                    </textarea>
338                </div>
339
340                <div class="field"
341                     tal:define="XSL_CLASS_LIST request/XSL_CLASS_LIST | metnav_properties/XSL_CLASS_LIST;
342                             error errors/XSL_CLASS_LIST | nothing;"
343                     tal:attributes="class python:test(error, 'field error', 'field')">
344
345                    <label i18n:translate="label_xsl_class_list" for="xsl_class_list">Chemin vers la XSL qui transforme la classification en liste</label>
346
347                    <span class="fieldRequired" title="Required"
348                      i18n:attributes="title title_required;"
349                      i18n:translate="label_required">(Required)</span>
350
351                    <div class="formHelp" i18n:translate="help_xsl_class_list">
352                        Chemin vers la XSL qui transforme la classification en liste (portlet th&egrave;mes). Pr&eacute;ciser le type d'URI (file://, xmldb:exist://, etc.).
353                    </div>
354
355                    <div tal:content="error">Validation error output</div>
356
357                    <input size="80"
358                           name="XSL_CLASS_LIST"
359                           id="xsl_class_list"
360                           value=""
361                           tal:attributes="value XSL_CLASS_LIST" />
362                </div>
363            </fieldset>
364
365            <fieldset>
366                <legend i18n:translate="legend_xpath">Mod&egrave;les XPath</legend>
367                <p i18n:translate="description_xpath">
368                    Vous pouvez configurer dans cette partie les xquery utilis&eacute;es pour la navigation sur les m&eacute;tadonn&eacute;es afin de personnaliser les r&eacute;sultats renvoy&eacute;s.
369                </p>
370								<div class="field"
371                     tal:define="RESOURCE_URL request/RESOURCE_URL | metnav_properties/RESOURCE_URL;
372                             error errors/RESOURCE_URL | nothing;"
373                     tal:attributes="class python:test(error, 'field error', 'field')">
374
375                    <label>Path for resource URL</label>
376
377                    <span class="fieldRequired" title="Required"
378                      i18n:attributes="title title_required;"
379                      i18n:translate="label_required">(Required)</span>
380
381                    <div class="formHelp">
382                        Define the path for extract the resource URL. Ex: '/lom:technical/lom:location[2]/text()' or '/lom:technical/lom:location[1]/text()' or '//lom:location[2]/text()'.<br/>
383                    </div>
384
385                    <div tal:content="error">Validation error output</div>
386
387                    <input size="80"
388                           name="RESOURCE_URL"
389                           id="resource_url"
390                           value=""
391                           tal:attributes="value python:RESOURCE_URL.strip(' ');" />
392                </div>
393                <div class="field"
394                     tal:define="CONDITION_BASE request/CONDITION_BASE | metnav_properties/CONDITION_BASE;
395                             error errors/CONDITION_BASE | nothing;"
396                     tal:attributes="class python:test(error, 'field error', 'field')">
397
398                    <label i18n:translate="label_condition_base" for="condition_base">Condition de base XQuery</label>
399
400                    <span class="fieldRequired" title="Required"
401                      i18n:attributes="title title_required;"
402                      i18n:translate="label_required">(Required)</span>
403
404                    <div class="formHelp" i18n:translate="help_condition_base">
405                        Un morceau valide de XQuery exprimant une condition qui sera appliqu&eacute;e &agrave; toutes les XQueries.
406                    </div>
407
408                    <div tal:content="error">Validation error output</div>
409
410                    <input size="80"
411                           name="CONDITION_BASE"
412                           id="condition_base"
413                           value=""
414                           tal:attributes="value CONDITION_BASE" />
415                </div>
416
417                <div class="field"
418                     tal:define="DEFAULT_COLLATION request/DEFAULT_COLLATION | metnav_properties/DEFAULT_COLLATION;
419                             error errors/DEFAULT_COLLATION | nothing;"
420                     tal:attributes="class python:test(error, 'field error', 'field')">
421
422                    <label i18n:translate="label_default_collation" for="default_collation">Collation par d&eacute;faut</label>
423
424                    <div class="formHelp" i18n:translate="help_default_collation">
425                        Formulation XQuery de la collation (langue et r&egrave;gles de langages) utilis&eacute;e par d&eacute;faut.
426                    </div>
427
428                    <div tal:content="error">Validation error output</div>
429
430                    <input size="80"
431                           name="DEFAULT_COLLATION"
432                           id="default_collation"
433                           value=""
434                           tal:attributes="value DEFAULT_COLLATION" />
435                </div>
436
437                <div class="field"
438                     tal:define="HEAD_SUP request/HEAD_SUP | python:'\n'.join(metnav_properties.HEAD_SUP);
439                             error errors/HEAD_SUP | nothing;"
440                     tal:attributes="class python:test(error, 'field error', 'field')">
441
442                    <label i18n:translate="label_head_sup" for="head_sup">Options suppl&eacute;mentaires du header</label>
443
444                    <div class="formHelp" i18n:translate="help_head_sup">
445                        Options suppl&eacute;mentaires &agrave; placer dans le header des XQueries.
446                    </div>
447
448                    <div tal:content="error">Validation error output</div>
449
450                    <textarea rows="5"
451                           name="HEAD_SUP"
452                           id="head_sup"
453                           value=""
454                           tal:content="HEAD_SUP">
455                    </textarea>
456                </div>
457
458                <div class="field"
459                     tal:define="TEMPLATE_SEARCH request/TEMPLATE_SEARCH | metnav_properties/TEMPLATE_SEARCH;
460                             error errors/TEMPLATE_SEARCH | nothing;"
461                     tal:attributes="class python:test(error, 'field error', 'field')">
462
463                    <label i18n:translate="label_template_search" for="template_search">Expression de recherche par d&eacute;faut</label>
464
465                    <span class="fieldRequired" title="Required"
466                      i18n:attributes="title title_required;"
467                      i18n:translate="label_required">(Required)</span>
468
469                    <div class="formHelp" i18n:translate="help_template_search">
470                        Expression de recherche. Deux %s sont accept&eacute;s : le premier est le noeud XML dans lequel chercher, le deuxi&egrave;me est l'expression &agrave; rechercher.
471                    </div>
472
473                    <div tal:content="error">Validation error output</div>
474
475                    <input size="80"
476                           name="TEMPLATE_SEARCH"
477                           id="template_search"
478                           value=""
479                           tal:attributes="value TEMPLATE_SEARCH" />
480                </div>
481
482                <div class="field"
483                     tal:define="XPATH_SEARCH_EXPR request/XPATH_SEARCH_EXPR | python:'\n'.join(metnav_properties.XPATH_SEARCH_EXPR);
484                             error errors/XPATH_SEARCH_EXPR | nothing;"
485                     tal:attributes="class python:test(error, 'field error', 'field')">
486
487                    <label i18n:translate="label_xpath_search_expr" for="xpath_search_expr">Variables pour les recherches XPath</label>
488
489                     <span class="fieldRequired" title="Required"
490                      i18n:attributes="title title_required;"
491                      i18n:translate="label_required">(Required)</span>
492
493                    <div class="formHelp" i18n:translate="help_xpath_search_expr">
494                        Variables qui seront utilis&eacute;es dans les recherches XPath avec leur correspondance XPath. De la forme variable=valeur. Une par ligne.
495                    </div>
496
497                    <div tal:content="error">Validation error output</div>
498
499                    <textarea rows="5"
500                           name="XPATH_SEARCH_EXPR"
501                           id="xpath_search_expr"
502                           value=""
503                           tal:content="XPATH_SEARCH_EXPR">
504                    </textarea>
505                </div>
506
507                <div class="field"
508                     tal:define="OBJET_SEMAINE request/OBJET_SEMAINE | metnav_properties/OBJET_SEMAINE;
509                             error errors/OBJET_SEMAINE | nothing;"
510                     tal:attributes="class python:test(error, 'field error', 'field')">
511
512                    <label i18n:translate="label_objet_semaine" for="objet_semaine">D&eacute;finition d'un type "ressource de la semaine"</label>
513
514                    <span class="fieldRequired" title="Required"
515                      i18n:attributes="title title_required;"
516                      i18n:translate="label_required">(Required)</span>
517
518                    <div class="formHelp" i18n:translate="help_objet_semaine">
519                        Un morceau valide de XQuery exprimant une fa&ccedil;on de filtrer les types d'objets pour cr&eacute;er une ressource de la semaine.
520                    </div>
521
522                    <div tal:content="error">Validation error output</div>
523
524                    <input size="80"
525                           name="OBJET_SEMAINE"
526                           id="objet_semaine"
527                           value=""
528                           tal:attributes="value OBJET_SEMAINE" />
529                </div>
530            </fieldset>
531
532            <fieldset>
533                <legend>Archives</legend>
534
535                <p>
536                    Vous pouvez configurer dans cette partie tout ce qui concerne les archives des ressources.
537                </p>
538
539                <div class="field"
540                     tal:define="INIT_ANNEE request/INIT_ANNEE | metnav_properties/INIT_ANNEE;
541                             error errors/INIT_ANNEE | nothing;"
542                     tal:attributes="class python:test(error, 'field error', 'field')">
543
544                    <label for="INIT_ANNEE">Année initiale</label>
545
546                    <span class="fieldRequired" title="Required"
547                      i18n:attributes="title title_required;"
548                      i18n:translate="label_required">(Required)</span>
549
550                    <div class="formHelp">
551                        Saisissez l'année initiale des archives.
552                    </div>
553
554                    <div tal:content="error">Validation error output</div>
555
556                   <input size="80"
557                          name="INIT_ANNEE"
558                          id="init_annee"
559                          value=""
560                          tal:attributes="value INIT_ANNEE" />
561                </div>
562
563                <div class="field"
564                     tal:define="ARCHIVE_MOIS request/ARCHIVE_MOIS | metnav_properties/ARCHIVE_MOIS;
565                             error errors/ARCHIVE_MOIS | nothing;"
566                     tal:attributes="class python:test(error, 'field error', 'field')">
567
568                    <label>Archives classées par mois ou par année</label>
569
570                    <span class="fieldRequired" title="Required"
571                      i18n:attributes="title title_required;"
572                      i18n:translate="label_required">(Required)</span>
573
574                    <div class="formHelp">
575                        Les archives seront classées par mois ?
576                    </div>
577
578                    <div tal:content="error">Validation error output</div>
579                    <div tal:condition="python:ARCHIVE_MOIS==False or ARCHIVE_MOIS=='False'">
580                    <input name="ARCHIVE_MOIS"
581                           id="archive_mois"
582                           value="True"
583                           type="radio" /> Oui
584                   <input name="ARCHIVE_MOIS"
585                           id="archive_moisbis"
586                           value="False"
587                           type="radio"
588                           checked="checked" />Non, par année                 </div>
589<div tal:condition="python:ARCHIVE_MOIS==True or ARCHIVE_MOIS=='True'">
590                    <input name="ARCHIVE_MOIS"
591                           id="archive_mois"
592                           value="True"
593                           checked="checked"
594                           type="radio" /> Oui
595                   <input name="ARCHIVE_MOIS"
596                           id="archive_moisbis"
597                           value="False"
598                           type="radio" />Non, par année                 </div>
599                </div>
600                <div class="field"
601                     tal:define="HREF_BLANK request/HREF_BLANK | metnav_properties/HREF_BLANK;
602                             error errors/HREF_BLANK | nothing;"
603                     tal:attributes="class python:test(error, 'field error', 'field')">
604
605                    <label>Les liens avec "http:// ..." s'ouvre dans une nouvelle fenêtre (target="_blank")</label>
606
607                    <span class="fieldRequired" title="Required"
608                      i18n:attributes="title title_required;"
609                      i18n:translate="label_required">(Required)</span>
610
611                    <div class="formHelp">
612                        Les liens vers les pages de ressources commençant par "http://" s'ouvre dans une nouvelle fenêtre ?
613                    </div>
614
615                    <div tal:content="error">Validation error output</div>
616                    <div tal:condition="python:HREF_BLANK==False or HREF_BLANK=='False'">
617                    <input name="HREF_BLANK"
618                           id="href_blank"
619                           value="True"
620                           type="radio" /> Oui
621                   <input name="HREF_BLANK"
622                           id="href_balnkbis"
623                           value="False"
624                           type="radio"
625                           checked="checked" />Non           
626                </div>
627                <div tal:condition="python:HREF_BLANK==True or HREF_BLANK=='True'">
628                    <input name="HREF_BLANK"
629                           id="href_blank"
630                           value="True"
631                           checked="checked"
632                           type="radio" /> Oui
633                   <input name="HREF_BLANK"
634                           id="href_blankbis"
635                           value="False"
636                           type="radio" />Non
637                </div>
638                </div>
639            </fieldset>
640            <input type="hidden" name="form.submitted" value="1" />
641
642	        <div class="formControls">
643                <input class="context"
644                       type="submit"
645                       name="form.button.Save"
646                       value="Save"
647                       i18n:attributes="value label_save;"
648                       />
649            </div>
650
651        </fieldset>
652
653    </form>
654
655</div>
656
657</body>
658</html>