1
|
<?php
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
if (stristr($_SERVER['REQUEST_URI'], ".tpl.php")) die("no access");
|
8
|
|
9
|
global $value_deflt_relation;
|
10
|
|
11
|
$serial_header = "
|
12
|
<h1>!!page_title!!</h1>";
|
13
|
|
14
|
$serial_footer = "";
|
15
|
|
16
|
$serial_access_form ="
|
17
|
<script type='text/javascript'>
|
18
|
<!--
|
19
|
function aide_regex()
|
20
|
{
|
21
|
var fenetreAide;
|
22
|
var prop = 'scrollbars=yes, resizable=yes';
|
23
|
fenetreAide = openPopUp('./help.php?whatis=regex', 'regex_howto', 500, 400, -2, -2, prop);
|
24
|
}
|
25
|
function test_form()
|
26
|
{
|
27
|
if (document.serial_search.user_query.value=='') {
|
28
|
document.serial_search.user_query.value='*';
|
29
|
}
|
30
|
return true;
|
31
|
}
|
32
|
-->
|
33
|
</script>
|
34
|
|
35
|
<form class='form-$current_module' name='serial_search' method='post' action='./catalog.php?categ=serials&sub=search' onSubmit='return test_form();' >
|
36
|
<h3>".$msg["recherche"]." : $msg[771]</h3>
|
37
|
<div class='form-contenu'>
|
38
|
<div class='row'>
|
39
|
<label class='etiquette'>$msg[bulletin_mention_titre_court]</label>
|
40
|
</div>
|
41
|
<div class='row'>
|
42
|
<input class='saisie-inline' id='user_query' type='text' size='36' name='user_query' value='!!user_query!!' />
|
43
|
</div>
|
44
|
<div class='row'>
|
45
|
<span class='astuce'>$msg[155]
|
46
|
<a class='aide' title='$msg[1900]$msg[1901]$msg[1902]' href='./help.php?whatis=regex' onclick='aide_regex();return false;'>$msg[1550]</a>
|
47
|
</span>
|
48
|
</div>
|
49
|
<div class='row'>
|
50
|
<label class='etiquette'>$msg[165]</label>
|
51
|
</div>
|
52
|
<div class='row'>
|
53
|
<input class='saisie-inline' id='issn_query' type='text' size='36' name='issn_query' value='!!issn_query!!' />
|
54
|
</div>
|
55
|
</div>
|
56
|
<div class='row'>
|
57
|
<input class='bouton' type='submit' value='$msg[142]' />
|
58
|
</div>
|
59
|
</form>
|
60
|
<script type=\"text/javascript\">
|
61
|
document.forms['serial_search'].elements['user_query'].focus();
|
62
|
</script>
|
63
|
";
|
64
|
|
65
|
$serial_access_form = str_replace('!!user_query!!', htmlentities(stripslashes($user_query ),ENT_QUOTES, $charset), $serial_access_form);
|
66
|
$serial_access_form = str_replace('!!issn_query!!', htmlentities(stripslashes($issn_query ),ENT_QUOTES, $charset), $serial_access_form);
|
67
|
|
68
|
|
69
|
$select1_prop = "toolbar=no, dependent=yes, resizable=yes, scrollbars=yes";
|
70
|
$select2_prop = "toolbar=no, dependent=yes, resizable=yes, scrollbars=yes";
|
71
|
$select3_prop = "toolbar=no, dependent=yes, resizable=yes, scrollbars=yes";
|
72
|
$select_categ_prop = "toolbar=no, dependent=yes, resizable=yes, scrollbars=yes";
|
73
|
|
74
|
|
75
|
$nb_onglets = 5;
|
76
|
|
77
|
|
78
|
|
79
|
|
80
|
$ptab[0] = "
|
81
|
<!-- onglet 0 -->
|
82
|
<div id='el0Parent' class='parent'>
|
83
|
<div class='row'>
|
84
|
<h3>
|
85
|
<img src='./images/minus.gif' class='img_plus' align='top' name='imEx' id='el0Img' title='$msg[236]' border='0' onClick=\"expandBase('el0', true); return false;\" />
|
86
|
$msg[712]
|
87
|
</h3>
|
88
|
</div>
|
89
|
</div>
|
90
|
|
91
|
<div id='el0Child' class='child' etirable='yes' title='".htmlentities($msg[236],ENT_QUOTES, $charset)."' >
|
92
|
<div id='el0Child_0' title='".htmlentities($msg[237],ENT_QUOTES, $charset)."' movable='yes'>
|
93
|
<div class='row'>
|
94
|
<label class='etiquette' for='f_tit1'>$msg[237]</label>
|
95
|
</div>
|
96
|
<div class='row'>
|
97
|
<input id='f_tit1' type='text' class='saisie-80em' name='f_tit1' value=\"!!tit1!!\" />
|
98
|
</div>
|
99
|
</div>
|
100
|
|
101
|
<div id='el0Child_1' title='".htmlentities($msg[239],ENT_QUOTES, $charset)."' movable='yes'>
|
102
|
<div class='row'>
|
103
|
<label class='etiquette' for='f_tit3'>$msg[239]</label>
|
104
|
</div>
|
105
|
<div class='row'>
|
106
|
<input class='saisie-80em' type='text' id='f_tit3' name='f_tit3' value=\"!!tit3!!\" />
|
107
|
</div>
|
108
|
</div>
|
109
|
|
110
|
<div id='el0Child_2' title='".htmlentities($msg[240],ENT_QUOTES, $charset)."' movable='yes'>
|
111
|
<div class='row'>
|
112
|
<label class='etiquette' for='f_tit4'>$msg[240]</label>
|
113
|
</div>
|
114
|
<div class='row'>
|
115
|
<input class='saisie-80em' id='f_tit4' type='text' name='f_tit4' value=\"!!tit4!!\" />
|
116
|
</div>
|
117
|
</div>
|
118
|
</div>
|
119
|
";
|
120
|
|
121
|
$ptab_bul[0] = "
|
122
|
<!-- onglet 0 -->
|
123
|
<div id='el0Parent' class='parent'>
|
124
|
<div class='row'>
|
125
|
<h3>
|
126
|
<img src='./images/plus.gif' class='img_plus' align='top' name='imEx' id='el0Img' title='$msg[236]' border='0' onClick=\"expandBase('el0', true); return false;\" />
|
127
|
$msg[712]
|
128
|
</h3>
|
129
|
</div>
|
130
|
</div>
|
131
|
|
132
|
<div id='el0Child' class='child' etirable='yes' title='".htmlentities($msg[236],ENT_QUOTES, $charset)."' >
|
133
|
<div id='el0Child_0' title='".htmlentities($msg[239],ENT_QUOTES, $charset)."' movable='yes'>
|
134
|
<div class='row'>
|
135
|
<label class='etiquette' for='f_tit3'>$msg[239]</label>
|
136
|
</div>
|
137
|
<div class='row'>
|
138
|
<input class='saisie-80em' type='text' id='f_tit3' name='f_tit3' value=\"!!tit3!!\" />
|
139
|
</div>
|
140
|
</div>
|
141
|
|
142
|
<div id='el0Child_1' title='".htmlentities($msg[240],ENT_QUOTES, $charset)."' movable='yes'>
|
143
|
<div class='row'>
|
144
|
<label class='etiquette' for='f_tit4'>$msg[240]</label>
|
145
|
</div>
|
146
|
<div class='row'>
|
147
|
<input class='saisie-80em' id='f_tit4' type='text' name='f_tit4' value=\"!!tit4!!\" />
|
148
|
</div>
|
149
|
</div>
|
150
|
</div>
|
151
|
";
|
152
|
|
153
|
|
154
|
|
155
|
|
156
|
$aut_fonctions = new marc_list('function');
|
157
|
|
158
|
$ptab[1] = "
|
159
|
<script>
|
160
|
function fonction_selecteur_auteur() {
|
161
|
name=this.getAttribute('id').substring(4);
|
162
|
name_id = name.substr(0,6)+'_id'+name.substr(6);
|
163
|
openPopUp('./select.php?what=auteur&caller=notice¶m1='+name_id+'¶m2='+name+'&dyn=1&deb_rech='+".pmb_escape()."(document.getElementById(name).value), 'select_author2', 400, 400, -2, -2, '$select1_prop');
|
164
|
}
|
165
|
function fonction_selecteur_auteur_change(field) {
|
166
|
// id champ text = 'f_aut'+n+suffixe
|
167
|
// id champ hidden = 'f_aut'+n+'_id'+suffixe;
|
168
|
// select.php?what=auteur&caller=notice¶m1=f_aut0_id¶m2=f_aut0&deb_rech='+t
|
169
|
name=field.getAttribute('id');
|
170
|
name_id = name.substr(0,6)+'_id'+name.substr(6);
|
171
|
openPopUp('./select.php?what=auteur&caller=notice¶m1='+name_id+'¶m2='+name+'&dyn=1&deb_rech='+".pmb_escape()."(document.getElementById(name).value), 'select_author2', 400, 400, -2, -2, '$select1_prop');
|
172
|
}
|
173
|
function fonction_raz_auteur() {
|
174
|
name=this.getAttribute('id').substring(4);
|
175
|
name_id = name.substr(0,6)+'_id'+name.substr(6);
|
176
|
document.getElementById(name_id).value=0;
|
177
|
document.getElementById(name).value='';
|
178
|
}
|
179
|
function fonction_selecteur_fonction() {
|
180
|
name=this.getAttribute('id').substring(4);
|
181
|
name_code = name.substr(0,4)+'_code'+name.substr(4);
|
182
|
openPopUp('./select.php?what=function&caller=notice¶m1='+name_code+'¶m2='+name+'&dyn=1', 'select_fonction2', 400, 400, -2, -2, '$select1_prop');
|
183
|
}
|
184
|
function fonction_raz_fonction() {
|
185
|
name=this.getAttribute('id').substring(4);
|
186
|
name_code = name.substr(0,4)+'_code'+name.substr(4);
|
187
|
document.getElementById(name_code).value=0;
|
188
|
document.getElementById(name).value='';
|
189
|
}
|
190
|
function add_aut(n) {
|
191
|
template = document.getElementById('addaut'+n);
|
192
|
aut=document.createElement('div');
|
193
|
aut.className='row';
|
194
|
|
195
|
// auteur
|
196
|
colonne=document.createElement('div');
|
197
|
colonne.className='colonne2';
|
198
|
row=document.createElement('div');
|
199
|
row.className='row';
|
200
|
suffixe = eval('document.notice.max_aut'+n+'.value');
|
201
|
nom_id = 'f_aut'+n+suffixe;
|
202
|
f_aut0 = document.createElement('input');
|
203
|
f_aut0.setAttribute('name',nom_id);
|
204
|
f_aut0.setAttribute('id',nom_id);
|
205
|
f_aut0.setAttribute('type','text');
|
206
|
f_aut0.className='saisie-30emr';
|
207
|
f_aut0.setAttribute('value','');
|
208
|
f_aut0.setAttribute('completion','authors');
|
209
|
f_aut0.setAttribute('autfield','f_aut'+n+'_id'+suffixe);
|
210
|
|
211
|
sel_f_aut0 = document.createElement('input');
|
212
|
sel_f_aut0.setAttribute('id','sel_f_aut'+n+suffixe);
|
213
|
sel_f_aut0.setAttribute('type','button');
|
214
|
sel_f_aut0.className='bouton';
|
215
|
sel_f_aut0.setAttribute('readonly','');
|
216
|
sel_f_aut0.setAttribute('value','$msg[parcourir]');
|
217
|
sel_f_aut0.onclick=fonction_selecteur_auteur;
|
218
|
|
219
|
del_f_aut0 = document.createElement('input');
|
220
|
del_f_aut0.setAttribute('id','del_f_aut'+n+suffixe);
|
221
|
del_f_aut0.onclick=fonction_raz_auteur;
|
222
|
del_f_aut0.setAttribute('type','button');
|
223
|
del_f_aut0.className='bouton';
|
224
|
del_f_aut0.setAttribute('readonly','');
|
225
|
del_f_aut0.setAttribute('value','$msg[raz]');
|
226
|
|
227
|
f_aut0_id = document.createElement('input');
|
228
|
f_aut0_id.name='f_aut'+n+'_id'+suffixe;
|
229
|
f_aut0_id.setAttribute('type','hidden');
|
230
|
f_aut0_id.setAttribute('id','f_aut'+n+'_id'+suffixe);
|
231
|
f_aut0_id.setAttribute('value','');
|
232
|
|
233
|
//f_aut0_content.appendChild(f_aut0);
|
234
|
row.appendChild(f_aut0);
|
235
|
space=document.createTextNode(' ');
|
236
|
row.appendChild(space);
|
237
|
row.appendChild(sel_f_aut0);
|
238
|
space=document.createTextNode(' ');
|
239
|
row.appendChild(space);
|
240
|
row.appendChild(del_f_aut0);
|
241
|
row.appendChild(f_aut0_id);
|
242
|
colonne.appendChild(row);
|
243
|
aut.appendChild(colonne);
|
244
|
|
245
|
// fonction
|
246
|
colonne=document.createElement('div');
|
247
|
colonne.className='colonne_suite';
|
248
|
row=document.createElement('div');
|
249
|
row.className='row';
|
250
|
suffixe = eval('document.notice.max_aut'+n+'.value');
|
251
|
nom_id = 'f_f'+n+suffixe;
|
252
|
f_f0 = document.createElement('input');
|
253
|
f_f0.setAttribute('name',nom_id);
|
254
|
f_f0.setAttribute('id',nom_id);
|
255
|
f_f0.setAttribute('type','text');
|
256
|
f_f0.className='saisie-15emr';
|
257
|
f_f0.setAttribute('value','".$aut_fonctions->table[$value_deflt_fonction]."');
|
258
|
f_f0.setAttribute('completion','fonction');
|
259
|
f_f0.setAttribute('autfield','f_f'+n+'_code'+suffixe);
|
260
|
|
261
|
sel_f_f0 = document.createElement('input');
|
262
|
sel_f_f0.setAttribute('id','sel_f_f'+n+suffixe);
|
263
|
sel_f_f0.setAttribute('type','button');
|
264
|
sel_f_f0.className='bouton';
|
265
|
sel_f_f0.setAttribute('readonly','');
|
266
|
sel_f_f0.setAttribute('value','$msg[parcourir]');
|
267
|
sel_f_f0.onclick=fonction_selecteur_fonction;
|
268
|
|
269
|
del_f_f0 = document.createElement('input');
|
270
|
del_f_f0.setAttribute('id','del_f_f'+n+suffixe);
|
271
|
del_f_f0.onclick=fonction_raz_fonction;
|
272
|
del_f_f0.setAttribute('type','button');
|
273
|
del_f_f0.className='bouton';
|
274
|
del_f_f0.setAttribute('readonly','readonly');
|
275
|
del_f_f0.setAttribute('value','$msg[raz]');
|
276
|
|
277
|
f_f0_code = document.createElement('input');
|
278
|
f_f0_code.name='f_f'+n+'_code'+suffixe;
|
279
|
f_f0_code.setAttribute('type','hidden');
|
280
|
f_f0_code.setAttribute('id','f_f'+n+'_code'+suffixe);
|
281
|
f_f0_code.setAttribute('value','$value_deflt_fonction');
|
282
|
|
283
|
row.appendChild(f_f0);
|
284
|
space=document.createTextNode(' ');
|
285
|
row.appendChild(space);
|
286
|
row.appendChild(sel_f_f0);
|
287
|
space=document.createTextNode(' ');
|
288
|
row.appendChild(space);
|
289
|
row.appendChild(del_f_f0);
|
290
|
row.appendChild(f_f0_code);
|
291
|
colonne.appendChild(row);
|
292
|
|
293
|
aut.appendChild(colonne);
|
294
|
template.appendChild(aut);
|
295
|
eval('document.notice.max_aut'+n+'.value=suffixe*1+1*1');
|
296
|
ajax_pack_element(f_aut0);
|
297
|
ajax_pack_element(f_f0);
|
298
|
}
|
299
|
|
300
|
function fonction_selecteur_categ() {
|
301
|
name=this.getAttribute('id').substring(4);
|
302
|
name_id = name.substr(0,7)+'_id'+name.substr(7);
|
303
|
openPopUp('./select.php?what=categorie&caller=notice&p1='+name_id+'&p2='+name+'&dyn=1', 'select_categ', 700, 500, -2, -2, '$select_categ_prop');
|
304
|
}
|
305
|
function fonction_raz_categ() {
|
306
|
name=this.getAttribute('id').substring(4);
|
307
|
name_id = name.substr(0,7)+'_id'+name.substr(7);
|
308
|
document.getElementById(name_id).value=0;
|
309
|
document.getElementById(name).value='';
|
310
|
}
|
311
|
function add_categ() {
|
312
|
template = document.getElementById('el6Child_0');
|
313
|
categ=document.createElement('div');
|
314
|
categ.className='row';
|
315
|
|
316
|
suffixe = eval('document.notice.max_categ.value');
|
317
|
|
318
|
categ.setAttribute('id','drag_'+suffixe);
|
319
|
categ.setAttribute('order',suffixe);
|
320
|
categ.setAttribute('highlight','categ_highlight');
|
321
|
categ.setAttribute('downlight','categ_downlight');
|
322
|
categ.setAttribute('dragicon','./images/icone_drag_notice.png');
|
323
|
categ.setAttribute('handler','handle_'+suffixe);
|
324
|
categ.setAttribute('recepttype','categ');
|
325
|
categ.setAttribute('recept','yes');
|
326
|
categ.setAttribute('dragtype','categ');
|
327
|
categ.setAttribute('draggable','yes');
|
328
|
|
329
|
nom_id = 'f_categ'+suffixe
|
330
|
f_categ = document.createElement('input');
|
331
|
f_categ.setAttribute('name',nom_id);
|
332
|
f_categ.setAttribute('id',nom_id);
|
333
|
f_categ.setAttribute('type','text');
|
334
|
f_categ.className='saisie-80emr';
|
335
|
f_categ.setAttribute('value','');
|
336
|
f_categ.setAttribute('completion','categories_mul');
|
337
|
f_categ.setAttribute('autfield','f_categ_id'+suffixe);
|
338
|
|
339
|
del_f_categ = document.createElement('input');
|
340
|
del_f_categ.setAttribute('id','del_f_categ'+suffixe);
|
341
|
del_f_categ.onclick=fonction_raz_categ;
|
342
|
del_f_categ.setAttribute('type','button');
|
343
|
del_f_categ.className='bouton';
|
344
|
del_f_categ.setAttribute('readonly','');
|
345
|
del_f_categ.setAttribute('value','$msg[raz]');
|
346
|
|
347
|
f_categ_id = document.createElement('input');
|
348
|
f_categ_id.name='f_categ_id'+suffixe;
|
349
|
f_categ_id.setAttribute('type','hidden');
|
350
|
f_categ_id.setAttribute('id','f_categ_id'+suffixe);
|
351
|
f_categ_id.setAttribute('value','');
|
352
|
|
353
|
var f_categ_span_handle = document.createElement('span');
|
354
|
f_categ_span_handle.setAttribute('id','handle_'+suffixe);
|
355
|
f_categ_span_handle.style.float='left';
|
356
|
f_categ_span_handle.style.paddingRight='7px';
|
357
|
|
358
|
var f_categ_drag_img = document.createElement('img');
|
359
|
f_categ_drag_img.setAttribute('src','./images/sort.png');
|
360
|
f_categ_drag_img.style.width='12px';
|
361
|
f_categ_drag_img.style.verticalAlign='middle';
|
362
|
|
363
|
f_categ_span_handle.appendChild(f_categ_drag_img);
|
364
|
f_categ_span_handle.appendChild(f_categ_drag_img);
|
365
|
|
366
|
categ.appendChild(f_categ_span_handle);
|
367
|
|
368
|
categ.appendChild(f_categ);
|
369
|
space=document.createTextNode(' ');
|
370
|
categ.appendChild(space);
|
371
|
categ.appendChild(del_f_categ);
|
372
|
categ.appendChild(f_categ_id);
|
373
|
|
374
|
template.appendChild(categ);
|
375
|
|
376
|
tab_categ_order = document.getElementById('tab_categ_order');
|
377
|
if (tab_categ_order.value != '') tab_categ_order.value += ','+suffixe;
|
378
|
|
379
|
document.notice.max_categ.value=suffixe*1+1*1 ;
|
380
|
ajax_pack_element(f_categ);
|
381
|
init_drag();
|
382
|
}
|
383
|
function fonction_selecteur_lang() {
|
384
|
name=this.getAttribute('id').substring(4);
|
385
|
name_id = name.substr(0,6)+'_code'+name.substr(6);
|
386
|
openPopUp('./select.php?what=lang&caller=notice&p1='+name_id+'&p2='+name, 'select_lang', 400, 400, -2, -2, '$select2_prop');
|
387
|
}
|
388
|
function fonction_raz_lang() {
|
389
|
name=this.getAttribute('id').substring(4);
|
390
|
name_id = name.substr(0,6)+'_code'+name.substr(6);
|
391
|
document.getElementById(name_id).value=0;
|
392
|
document.getElementById(name).value='';
|
393
|
}
|
394
|
function add_lang() {
|
395
|
template = document.getElementById('addlang');
|
396
|
lang=document.createElement('div');
|
397
|
lang.className='row';
|
398
|
|
399
|
suffixe = eval('document.notice.max_lang.value')
|
400
|
nom_id = 'f_lang'+suffixe
|
401
|
f_lang = document.createElement('input');
|
402
|
f_lang.setAttribute('name',nom_id);
|
403
|
f_lang.setAttribute('id',nom_id);
|
404
|
f_lang.setAttribute('type','text');
|
405
|
f_lang.className='saisie-30emr';
|
406
|
f_lang.setAttribute('value','');
|
407
|
f_lang.setAttribute('completion','langue');
|
408
|
f_lang.setAttribute('autfield','f_lang_code'+suffixe);
|
409
|
|
410
|
del_f_lang = document.createElement('input');
|
411
|
del_f_lang.setAttribute('id','del_f_lang'+suffixe);
|
412
|
del_f_lang.onclick=fonction_raz_lang;
|
413
|
del_f_lang.setAttribute('type','button');
|
414
|
del_f_lang.className='bouton';
|
415
|
del_f_lang.setAttribute('readonly','');
|
416
|
del_f_lang.setAttribute('value','$msg[raz]');
|
417
|
|
418
|
sel_f_lang = document.createElement('input');
|
419
|
sel_f_lang.setAttribute('id','sel_f_lang'+suffixe);
|
420
|
sel_f_lang.setAttribute('type','button');
|
421
|
sel_f_lang.className='bouton';
|
422
|
sel_f_lang.setAttribute('readonly','');
|
423
|
sel_f_lang.setAttribute('value','$msg[parcourir]');
|
424
|
sel_f_lang.onclick=fonction_selecteur_lang;
|
425
|
|
426
|
f_lang_code = document.createElement('input');
|
427
|
f_lang_code.name='f_lang_code'+suffixe;
|
428
|
f_lang_code.setAttribute('type','hidden');
|
429
|
f_lang_code.setAttribute('id','f_lang_code'+suffixe);
|
430
|
f_lang_code.setAttribute('value','');
|
431
|
|
432
|
lang.appendChild(f_lang);
|
433
|
space=document.createTextNode(' ');
|
434
|
lang.appendChild(space);
|
435
|
lang.appendChild(sel_f_lang);
|
436
|
lang.appendChild(space.cloneNode(false));
|
437
|
lang.appendChild(del_f_lang);
|
438
|
lang.appendChild(f_lang_code);
|
439
|
|
440
|
template.appendChild(lang);
|
441
|
|
442
|
document.notice.max_lang.value=suffixe*1+1*1 ;
|
443
|
ajax_pack_element(f_lang);
|
444
|
}
|
445
|
|
446
|
function fonction_selecteur_langorg() {
|
447
|
name=this.getAttribute('id').substring(4);
|
448
|
name_id = name.substr(0,9)+'_code'+name.substr(9);
|
449
|
openPopUp('./select.php?what=lang&caller=notice&p1='+name_id+'&p2='+name, 'select_lang', 400, 400, -2, -2, '$select2_prop');
|
450
|
}
|
451
|
function fonction_raz_langorg() {
|
452
|
name=this.getAttribute('id').substring(4);
|
453
|
name_id = name.substr(0,9)+'_code'+name.substr(9);
|
454
|
document.getElementById(name_id).value=0;
|
455
|
document.getElementById(name).value='';
|
456
|
}
|
457
|
function add_langorg() {
|
458
|
template = document.getElementById('addlangorg');
|
459
|
langorg=document.createElement('div');
|
460
|
langorg.className='row';
|
461
|
|
462
|
suffixe = eval('document.notice.max_langorg.value')
|
463
|
nom_id = 'f_langorg'+suffixe
|
464
|
f_langorg = document.createElement('input');
|
465
|
f_langorg.setAttribute('name',nom_id);
|
466
|
f_langorg.setAttribute('id',nom_id);
|
467
|
f_langorg.setAttribute('type','text');
|
468
|
f_langorg.className='saisie-30emr';
|
469
|
f_langorg.setAttribute('value','');
|
470
|
f_langorg.setAttribute('completion','langue');
|
471
|
f_langorg.setAttribute('autfield','f_langorg_code'+suffixe);
|
472
|
|
473
|
del_f_langorg = document.createElement('input');
|
474
|
del_f_langorg.setAttribute('id','del_f_langorg'+suffixe);
|
475
|
del_f_langorg.onclick=fonction_raz_langorg;
|
476
|
del_f_langorg.setAttribute('type','button');
|
477
|
del_f_langorg.className='bouton';
|
478
|
del_f_langorg.setAttribute('readonly','');
|
479
|
del_f_langorg.setAttribute('value','$msg[raz]');
|
480
|
|
481
|
sel_f_langorg = document.createElement('input');
|
482
|
sel_f_langorg.setAttribute('id','sel_f_langorg'+suffixe);
|
483
|
sel_f_langorg.setAttribute('type','button');
|
484
|
sel_f_langorg.className='bouton';
|
485
|
sel_f_langorg.setAttribute('readonly','');
|
486
|
sel_f_langorg.setAttribute('value','$msg[parcourir]');
|
487
|
sel_f_langorg.onclick=fonction_selecteur_langorg;
|
488
|
|
489
|
f_lang_codeorg = document.createElement('input');
|
490
|
f_lang_codeorg.name='f_langorg_code'+suffixe;
|
491
|
f_lang_codeorg.setAttribute('type','hidden');
|
492
|
f_lang_codeorg.setAttribute('id','f_langorg_code'+suffixe);
|
493
|
f_lang_codeorg.setAttribute('value','');
|
494
|
|
495
|
langorg.appendChild(f_langorg);
|
496
|
space=document.createTextNode(' ');
|
497
|
langorg.appendChild(space);
|
498
|
langorg.appendChild(sel_f_langorg);
|
499
|
langorg.appendChild(space.cloneNode(false));
|
500
|
langorg.appendChild(del_f_langorg);
|
501
|
langorg.appendChild(f_lang_codeorg);
|
502
|
|
503
|
template.appendChild(langorg);
|
504
|
|
505
|
document.notice.max_langorg.value=suffixe*1+1*1 ;
|
506
|
ajax_pack_element(f_langorg);
|
507
|
}
|
508
|
|
509
|
</script>
|
510
|
<div id='el1Parent' class='parent'>
|
511
|
<div class='row'>
|
512
|
<h3>
|
513
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el1Img' onClick=\"expandBase('el1', true); return false;\" title='$msg[243]' border='0' />
|
514
|
$msg[243]
|
515
|
</h3>
|
516
|
</div>
|
517
|
</div>
|
518
|
<div id='el1Child' class='child' etirable='yes' title='".htmlentities($msg[243],ENT_QUOTES, $charset)."'>
|
519
|
<div id='el1Child_0' title='".htmlentities($msg[244],ENT_QUOTES, $charset)."' movable='yes'>
|
520
|
<!-- Auteur principal -->
|
521
|
<div class='row'>
|
522
|
<div class='colonne2'>
|
523
|
<label for='f_aut0' class='etiquette'>$msg[244]</label>
|
524
|
<div class='row'>
|
525
|
<input type='text' completion='authors' autfield='f_aut0_id' id='auteur0' class='saisie-30emr' name='f_aut0' value=\"!!aut0!!\" />
|
526
|
|
527
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=auteur&caller=notice¶m1=f_aut0_id¶m2=f_aut0&deb_rech='+".pmb_escape()."(this.form.f_aut0.value), 'select_author0', 400, 400, -2, -2, '$select1_prop')\" />
|
528
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_aut0.value=''; this.form.f_aut0_id.value='0'; \" />
|
529
|
<input type='hidden' name='f_aut0_id' id='f_aut0_id' value=\"!!aut0_id!!\" />
|
530
|
</div>
|
531
|
</div>
|
532
|
<!-- Fonction -->
|
533
|
<div class='colonne_suite'>
|
534
|
<label for='f_f0' class='etiquette'>$msg[245]</label>
|
535
|
<div class='row'>
|
536
|
<input type='text' class='saisie-15emr' id='f_f0' name='f_f0' value=\"!!f0!!\" completion=\"fonction\" autfield=\"f_f0_code\" />
|
537
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=function&caller=notice&p1=f_f0_code&p2=f_f0', 'select_func0', 400, 400, -2, -2, '$select2_prop')\" />
|
538
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_f0.value=''; this.form.f_f0_code.value='0'; \" />
|
539
|
<input type='hidden' name='f_f0_code' id='f_f0_code' value=\"!!f0_code!!\" />
|
540
|
</div>
|
541
|
</div>
|
542
|
</div>
|
543
|
</div>
|
544
|
|
545
|
<div id='el1Child_2' title='".htmlentities($msg[246],ENT_QUOTES, $charset)."' movable='yes'>
|
546
|
<!-- autres auteurs -->
|
547
|
<div class='row'>
|
548
|
<div class='row'>
|
549
|
<label for='f_aut1' class='etiquette'>$msg[246]</label>
|
550
|
<input type='hidden' name='max_aut1' value=\"!!max_aut1!!\" />
|
551
|
</div>
|
552
|
!!autres_auteurs!!
|
553
|
<div id='addaut1'>
|
554
|
</div>
|
555
|
</div>
|
556
|
</div>
|
557
|
|
558
|
<div id='el1Child_3' title='".htmlentities($msg[247],ENT_QUOTES, $charset)."' movable='yes'>
|
559
|
<!-- Auteurs secondaires -->
|
560
|
<div class='row'>
|
561
|
<div class='row'>
|
562
|
<label for='f_aut2' class='etiquette'>$msg[247]</label>
|
563
|
<input type='hidden' name='max_aut2' value=\"!!max_aut2!!\" />
|
564
|
</div>
|
565
|
!!auteurs_secondaires!!
|
566
|
<div id='addaut2'>
|
567
|
</div>
|
568
|
</div>
|
569
|
</div>
|
570
|
</div>
|
571
|
";
|
572
|
|
573
|
|
574
|
|
575
|
|
576
|
$ptab[11] = "
|
577
|
<div id='el1Child_2b_first' class='colonne2'>
|
578
|
<div class='row'>
|
579
|
<input type='text' class='saisie-30emr' completion='authors' autfield='f_aut1_id!!iaut!!' id='f_aut1!!iaut!!' name='f_aut1!!iaut!!' value=\"!!aut1!!\" />
|
580
|
|
581
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=auteur&caller=notice¶m1=f_aut1_id!!iaut!!¶m2=f_aut1!!iaut!!&deb_rech='+".pmb_escape()."(this.form.f_aut1!!iaut!!.value), 'select_author2', 400, 400, -2, -2, '$select1_prop')\" />
|
582
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_aut1!!iaut!!.value=''; this.form.f_aut1_id!!iaut!!.value='0'; \" />
|
583
|
<input type='hidden' name='f_aut1_id!!iaut!!' id='f_aut1_id!!iaut!!' value=\"!!aut1_id!!\" />
|
584
|
</div>
|
585
|
</div>
|
586
|
<!-- Fonction -->
|
587
|
<div id='el1Child_2b_others' class='colonne_suite'>
|
588
|
<div class='row'>
|
589
|
<input type='text' class='saisie-15emr' id='f_f1!!iaut!!' name='f_f1!!iaut!!' completion='fonction' autfield='f_f1_code!!iaut!!' value=\"!!f1!!\" />
|
590
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=function&caller=notice&p1=f_f1_code!!iaut!!&p2=f_f1!!iaut!!', 'select_func2', 400, 400, -2, -2, '$select2_prop')\" />
|
591
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_f1!!iaut!!.value=''; this.form.f_f1_code!!iaut!!.value='0'; \" />
|
592
|
<input type='hidden' name='f_f1_code!!iaut!!' id='f_f1_code!!iaut!!' value=\"!!f1_code!!\" />
|
593
|
<input type='button' class='bouton' value='+' onClick=\"add_aut(1);\"/>
|
594
|
</div>
|
595
|
</div>
|
596
|
" ;
|
597
|
|
598
|
|
599
|
|
600
|
|
601
|
$ptab[12] = "
|
602
|
<div id='el1Child_3b_first' class='colonne2'>
|
603
|
<div class='row'>
|
604
|
<input type='text' class='saisie-30emr' completion='authors' autfield='f_aut2_id!!iaut!!' id='f_aut2!!iaut!!' name='f_aut2!!iaut!!' value=\"!!aut2!!\" />
|
605
|
|
606
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=auteur&caller=notice¶m1=f_aut2_id!!iaut!!¶m2=f_aut2!!iaut!!&deb_rech='+".pmb_escape()."(this.form.f_aut2!!iaut!!.value), 'select_author2', 400, 400, -2, -2, '$select1_prop')\" />
|
607
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_aut2!!iaut!!.value=''; this.form.f_aut2_id!!iaut!!.value='0'; \" />
|
608
|
<input type='hidden' name='f_aut2_id!!iaut!!' id='f_aut2_id!!iaut!!' value=\"!!aut2_id!!\" />
|
609
|
</div>
|
610
|
</div>
|
611
|
<!-- Fonction -->
|
612
|
<div id='el1Child_3b_others' class='colonne_suite'>
|
613
|
<div class='row'>
|
614
|
<input type='text' class='saisie-15emr' id='f_f2!!iaut!!' name='f_f2!!iaut!!' completion='fonction' autfield='f_f2_code!!iaut!!' value=\"!!f2!!\" />
|
615
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=function&caller=notice&p1=f_f2_code!!iaut!!&p2=f_f2!!iaut!!', 'select_func2', 400, 400, -2, -2, '$select2_prop')\" />
|
616
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_f2!!iaut!!.value=''; this.form.f_f2_code!!iaut!!.value='0'; \" />
|
617
|
<input type='hidden' name='f_f2_code!!iaut!!' id='f_f2_code!!iaut!!' value=\"!!f2_code!!\" />
|
618
|
<input type='button' class='bouton' value='+' onClick=\"add_aut(2);\"/>
|
619
|
</div>
|
620
|
</div>
|
621
|
" ;
|
622
|
|
623
|
|
624
|
|
625
|
|
626
|
|
627
|
$ptab[2] = "
|
628
|
<!-- onglet 2 -->
|
629
|
<div id='el2Parent' class='parent'>
|
630
|
<h3>
|
631
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el2Img' border='0' onClick=\"expandBase('el2', true); return false;\" />
|
632
|
".$msg['serial_onglet_editeurs']."
|
633
|
</h3>
|
634
|
</div>
|
635
|
|
636
|
<div id='el2Child' class='child' etirable='yes' title='".htmlentities($msg[249],ENT_QUOTES, $charset)."'>
|
637
|
|
638
|
<div id='el2Child_0' title='".htmlentities($msg[164],ENT_QUOTES, $charset)."' movable='yes'>
|
639
|
<!-- Editeur -->
|
640
|
<div id='el2Child_0a' class='row'>
|
641
|
<label for='f_ed1' class='etiquette'>$msg[164]</label>
|
642
|
</div>
|
643
|
<div id='el2Child_0b' class='row'>
|
644
|
<input type='text' completion='publishers' autfield='f_ed1_id' id='f_ed1' name='f_ed1' value=\"!!ed1!!\" class='saisie-30emr' />
|
645
|
|
646
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=editeur&caller=notice&p1=f_ed1_id&p2=f_ed1&p3=f_coll_id&p4=f_coll&p5=f_subcoll_id&p6=f_subcoll&deb_rech='+this.form.f_ed1.value, 'select_ed1', 400, 400, -2, -2, '$select1_prop')\" />
|
647
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_ed1.value=''; this.form.f_ed1_id.value='0'; \" />
|
648
|
<input type='hidden' name='f_ed1_id' id='f_ed1_id' value=\"!!ed1_id!!\" />
|
649
|
</div>
|
650
|
</div>
|
651
|
|
652
|
<div id='el2Child_4' title='".htmlentities($msg[252],ENT_QUOTES, $charset)."' movable='yes'>
|
653
|
<!-- Année -->
|
654
|
<div id='el2Child_4a' class='row'>
|
655
|
<label for='f_year' class='etiquette'>$msg[252]</label>
|
656
|
</div>
|
657
|
<div id='el2Child_4b' class='row'>
|
658
|
<input type='text' class='saisie-30em' id='f_year' name='f_year' value=\"!!year!!\" />
|
659
|
</div>
|
660
|
</div>
|
661
|
|
662
|
<div id='el2Child_7' title='".htmlentities($msg[254],ENT_QUOTES, $charset)."' movable='yes'>
|
663
|
<!-- Autre éditeur -->
|
664
|
<div id='el2Child_7a' class='row'>
|
665
|
<label for='f_ed2' class='etiquette'>$msg[254]</label>
|
666
|
</div>
|
667
|
<div id='el2Child_7b' class='row'>
|
668
|
<input type='text' class='saisie-30emr' id='f_ed2' name='f_ed2' value=\"!!ed2!!\"
|
669
|
onchange=\"openPopUp('./select.php?what=editeur&caller=notice&p1=f_ed2_id&p2=f_ed2&p3=dummy&p4=dummy&p5=dummy&p6=dummy&deb_rech='+this.form.f_ed2.value, 'select_ed1', 400, 400, -2, -2, '$select1_prop')\" />
|
670
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=editeur&caller=notice&p1=f_ed2_id&p2=f_ed2&p3=dummy&p4=dummy&p5=dummy&p6=dummy&deb_rech='+this.form.f_ed2.value, 'select_ed1', 400, 400, -2, -2, '$select1_prop')\" />
|
671
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_ed2.value=''; this.form.f_ed2_id.value='0'; \" />
|
672
|
<input type='hidden' name='dummy' />
|
673
|
<input type='hidden' name='f_ed2_id' value=\"!!ed2_id!!\" />
|
674
|
</div>
|
675
|
</div>
|
676
|
</div>
|
677
|
";
|
678
|
|
679
|
|
680
|
|
681
|
|
682
|
|
683
|
$ptab[30] = "
|
684
|
<!-- onglet 30 -->
|
685
|
<div id='el30Parent' class='parent'>
|
686
|
<h3>
|
687
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el30Img' title='$msg[255]' border='0' onClick=\"expandBase('el30', true); return false;\" />
|
688
|
$msg[serial_ISSN]
|
689
|
</h3>
|
690
|
</div>
|
691
|
|
692
|
<div id='el30Child' class='child' etirable='yes' title='".htmlentities($msg[serial_ISSN],ENT_QUOTES, $charset)."'>
|
693
|
<div id='el30Child_0' title='$msg[serial_ISSN]' movable='yes'>
|
694
|
<!-- ISBN, EAN ou no. commercial -->
|
695
|
<div id='el30Child_0a' class='row'>
|
696
|
<label for='f_cb' class='etiquette'>$msg[serial_ISSN]</label>
|
697
|
</div>
|
698
|
<div id='el30Child_0b' class='row'>
|
699
|
<input class='saisie-20emr' id='f_cb' name='f_cb' readonly value=\"!!cb!!\" />
|
700
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./catalog/setcb.php?notice_id=!!notice_id!!', 'getcb', 220, 100, -2, -2, 'toolbar=no, resizable=yes')\" />
|
701
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_cb.value=''; \" />
|
702
|
</div>
|
703
|
</div>
|
704
|
</div>
|
705
|
";
|
706
|
|
707
|
|
708
|
|
709
|
|
710
|
|
711
|
$ptab[3] = "
|
712
|
<!-- onglet 3 -->
|
713
|
<div id='el5Parent' class='parent'>
|
714
|
<h3>
|
715
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el5Img' title='$msg[263]' border='0' onClick=\"expandBase('el5', true); return false;\" />
|
716
|
$msg[264]
|
717
|
</h3>
|
718
|
</div>
|
719
|
|
720
|
<div id='el5Child' class='child' etirable='yes' title='".htmlentities($msg[264],ENT_QUOTES, $charset)."'>
|
721
|
|
722
|
<div id='el5Child_0' title='".htmlentities($msg[265],ENT_QUOTES, $charset)."' movable='yes'>
|
723
|
<!-- Note générale -->
|
724
|
<div id='el5Child_0a' class='row'>
|
725
|
<label for='f_n_gen' class='etiquette'>$msg[265]</label>
|
726
|
</div>
|
727
|
<div id='el5Child_0b' class='row'>
|
728
|
<textarea id='f_n_gen' class='saisie-80em' name='f_n_gen' rows='3' wrap='virtual'>!!n_gen!!</textarea>
|
729
|
</div>
|
730
|
</div>
|
731
|
|
732
|
<div id='el5Child_1' title='".htmlentities($msg[266],ENT_QUOTES, $charset)."' movable='yes'>
|
733
|
<!-- Note de contenu -->
|
734
|
<div id='el5Child_1a' class='row'>
|
735
|
<label for='f_n_contenu' class='etiquette'>$msg[266]</label>
|
736
|
</div>
|
737
|
<div id='el5Child_1b' class='row'>
|
738
|
<textarea class='saisie-80em' id='f_n_contenu' name='f_n_contenu' rows='5' wrap='virtual'>!!n_contenu!!</textarea>
|
739
|
</div>
|
740
|
</div>
|
741
|
|
742
|
<div id='el5Child_2' title='".htmlentities($msg[267],ENT_QUOTES, $charset)."' movable='yes'>
|
743
|
<!-- Résumé/extrait -->
|
744
|
<div id='el5Child_2a' class='row'>
|
745
|
<label for='f_n_resume' class='etiquette'>$msg[267]</label>
|
746
|
</div>
|
747
|
<div id='el5Child_2b' class='row'>
|
748
|
<textarea class='saisie-80em' id='f_n_resume' name='f_n_resume' rows='5' wrap='virtual'>!!n_resume!!</textarea>
|
749
|
</div>
|
750
|
</div>
|
751
|
</div>
|
752
|
";
|
753
|
|
754
|
|
755
|
|
756
|
|
757
|
$ptab[4] = "
|
758
|
<!-- onglet 4 -->
|
759
|
<div id='el6Parent' class='parent'>
|
760
|
<h3>
|
761
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el6Img' title=\"$msg[268]\" border='0' onClick=\"expandBase('el6', true);recalc_recept(); return false;\" />
|
762
|
$msg[269]
|
763
|
</h3>
|
764
|
</div>
|
765
|
|
766
|
<div id='el6Child' class='child' etirable='yes' title='".htmlentities($msg[269],ENT_QUOTES, $charset)."'>
|
767
|
|
768
|
<div id='el6Child_0' title='".htmlentities($msg[134],ENT_QUOTES, $charset)."' movable='yes'>
|
769
|
<!-- Catégories -->
|
770
|
<div id='el6Child_0a' class='row'>
|
771
|
<label for='f_categ' class='etiquette'>$msg[134]</label>
|
772
|
</div>
|
773
|
<input type='hidden' name='max_categ' value=\"!!max_categ!!\" />
|
774
|
!!categories_repetables!!
|
775
|
<div id='addcateg'/>
|
776
|
</div>
|
777
|
</div>
|
778
|
|
779
|
<div id='el6Child_1' title='".htmlentities($msg[indexint_catal_title],ENT_QUOTES, $charset)."' movable='yes'>
|
780
|
<!-- indexation interne -->
|
781
|
<div id='el6Child_1a' class='row'>
|
782
|
<label for='f_categ' class='etiquette'>$msg[indexint_catal_title]</label>
|
783
|
</div>
|
784
|
<div id='el6Child_1b' class='row'>
|
785
|
<input type='text' class='saisie-80emr' id='f_indexint' name='f_indexint' value=\"!!indexint!!\" completion=\"indexint\" autfield=\"f_indexint_id\" />
|
786
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=indexint&caller=notice¶m1=f_indexint_id¶m2=f_indexint&parent=0&deb_rech='+".pmb_escape()."(this.form.f_indexint.value)+'&typdoc='+(this.form.typdoc.value)+'&num_pclass=!!num_pclass!!', 'select_categ', 600, 320, -2, -2, '$select3_prop')\" />
|
787
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_indexint.value=''; this.form.f_indexint_id.value='0'; \" />
|
788
|
<input type='hidden' name='f_indexint_id' id='f_indexint_id' value='!!indexint_id!!' />
|
789
|
</div>
|
790
|
|
791
|
</div>
|
792
|
|
793
|
<div id='el6Child_2' title='".htmlentities($msg[324],ENT_QUOTES, $charset)."' movable='yes'>
|
794
|
<!-- Indexation libre -->
|
795
|
<div id='el6Child_2a' class='row'>
|
796
|
<label for='f_indexation' class='etiquette'>$msg[324]</label>
|
797
|
</div>
|
798
|
<div id='el8Child_2b' class='row'>
|
799
|
<textarea class='saisie-80em' id='f_indexation' completion='tags' keys='113' name='f_indexation' rows='3' wrap='virtual'>!!f_indexation!!</textarea>
|
800
|
</div>
|
801
|
<div id='el8Child_2_comment' class='row'>
|
802
|
<span>$msg[324]$msg[1901]$msg[325]</span>
|
803
|
</div>
|
804
|
</div>
|
805
|
</div>
|
806
|
";
|
807
|
|
808
|
|
809
|
|
810
|
|
811
|
$ptab[40] = "
|
812
|
<script type='text/javascript' src='./javascript/categ_drop.js'></script>
|
813
|
<input type='hidden' name='tab_categ_order' id='tab_categ_order' value='!!tab_categ_order!!' />
|
814
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=categorie&caller=notice&p1=f_categ_id!!icateg!!&p2=f_categ!!icateg!!&dyn=1&parent=0&deb_rech=', 'select_categ', 700, 500, -2, -2, '$select_categ_prop')\" />
|
815
|
<input type='button' class='bouton' value='+' onClick=\"add_categ();\"/>
|
816
|
|
817
|
|
818
|
<div id='drag_!!icateg!!' class='row' dragtype='categ' draggable='yes' recept='yes' recepttype='categ' handler='handle_!!icateg!!'
|
819
|
dragicon=\"".$base_path."/images/icone_drag_notice.png\" dragtext='!!categ_libelle!!' downlight=\"categ_downlight\" highlight=\"categ_highlight\"
|
820
|
order='!!icateg!!' style='' >
|
821
|
<span id=\"handle_!!icateg!!\" style=\"float:left; padding-right : 7px\"><img src=\"".$base_path."/images/sort.png\" style='width:12px; vertical-align:middle' /></span>
|
822
|
|
823
|
<input type='text' class='saisie-80emr' id='f_categ!!icateg!!' name='f_categ!!icateg!!' value=\"!!categ_libelle!!\" completion=\"categories_mul\" autfield=\"f_categ_id!!icateg!!\" />
|
824
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_categ!!icateg!!.value=''; this.form.f_categ_id!!icateg!!.value='0'; \" />
|
825
|
<input type='hidden' name='f_categ_id!!icateg!!' id='f_categ_id!!icateg!!' value='!!categ_id!!' />
|
826
|
</div>
|
827
|
";
|
828
|
$ptab[401] = "
|
829
|
<div id='drag_!!icateg!!' class='row' dragtype='categ' draggable='yes' recept='yes' recepttype='categ' handler='handle_!!icateg!!'
|
830
|
dragicon=\"".$base_path."/images/icone_drag_notice.png\" dragtext='!!categ_libelle!!' downlight=\"categ_downlight\" highlight=\"categ_highlight\"
|
831
|
order='!!icateg!!' style='' >
|
832
|
<span id=\"handle_!!icateg!!\" style=\"float:left; padding-right : 7px\"><img src=\"".$base_path."/images/sort.png\" style='width:12px; vertical-align:middle' /></span>
|
833
|
|
834
|
<input type='text' class='saisie-80emr' id='f_categ!!icateg!!' name='f_categ!!icateg!!' value=\"!!categ_libelle!!\" completion=\"categories_mul\" autfield=\"f_categ_id!!icateg!!\" />
|
835
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_categ!!icateg!!.value=''; this.form.f_categ_id!!icateg!!.value='0'; \" />
|
836
|
<input type='hidden' name='f_categ_id!!icateg!!' id='f_categ_id!!icateg!!' value='!!categ_id!!' />
|
837
|
</div>
|
838
|
";
|
839
|
|
840
|
|
841
|
|
842
|
|
843
|
|
844
|
|
845
|
$ptab[5] = "
|
846
|
<!-- onglet 7 -->
|
847
|
<div id='el7Parent' class='parent'>
|
848
|
<h3>
|
849
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el7Img' title='langues' border='0' onClick=\"expandBase('el7', true); return false;\" />
|
850
|
$msg[710]
|
851
|
</h3>
|
852
|
</div>
|
853
|
|
854
|
<div id='el7Child' class='child' etirable='yes' title='".htmlentities($msg[710],ENT_QUOTES, $charset)."'>
|
855
|
|
856
|
<div id='el7Child_0' title='".htmlentities($msg[710],ENT_QUOTES, $charset)."' movable='yes'>
|
857
|
<!-- Langues -->
|
858
|
<div id='el7Child_0a' class='row'>
|
859
|
<label for='f_langue' class='etiquette'>$msg[710]</label>
|
860
|
</div>
|
861
|
<input type='hidden' name='max_lang' value=\"!!max_lang!!\" />
|
862
|
!!langues_repetables!!
|
863
|
<div id='addlang'/>
|
864
|
</div>
|
865
|
</div>
|
866
|
|
867
|
<div id='el7Child_1' title='".htmlentities($msg[711],ENT_QUOTES, $charset)."' movable='yes'>
|
868
|
<!-- Langues -->
|
869
|
<div id='el7Child_1a' class='row'>
|
870
|
<label for='f_langorg' class='etiquette'>$msg[711]</label>
|
871
|
</div>
|
872
|
<input type='hidden' name='max_langorg' value=\"!!max_langorg!!\" />
|
873
|
!!languesorg_repetables!!
|
874
|
<div id='addlangorg'/>
|
875
|
</div>
|
876
|
</div>
|
877
|
|
878
|
</div>
|
879
|
";
|
880
|
|
881
|
|
882
|
|
883
|
|
884
|
|
885
|
$ptab[50] = "
|
886
|
<div id='el7Child_0a' class='row'>
|
887
|
<input type='text' class='saisie-30emr' id='f_lang!!ilang!!' name='f_lang!!ilang!!' value=\"!!lang!!\" completion=\"langue\" autfield=\"f_lang_code!!ilang!!\" />
|
888
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=lang&caller=notice&p1=f_lang_code!!ilang!!&p2=f_lang!!ilang!!', 'select_lang', 400, 400, -2, -2, '$select2_prop')\" />
|
889
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_lang!!ilang!!.value=''; this.form.f_lang_code!!ilang!!.value=''; \" />
|
890
|
<input type='hidden' name='f_lang_code!!ilang!!' id='f_lang_code!!ilang!!' value='!!lang_code!!' />
|
891
|
<input type='button' class='bouton' value='+' onClick=\"add_lang();\"/>
|
892
|
</div>
|
893
|
";
|
894
|
|
895
|
$ptab[501] = "
|
896
|
<div id='el7Child_0a' class='row'>
|
897
|
<input type='text' class='saisie-30emr' id='f_lang!!ilang!!' name='f_lang!!ilang!!' value=\"!!lang!!\" completion=\"langue\" autfield=\"f_lang_code!!ilang!!\" />
|
898
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=lang&caller=notice&p1=f_lang_code!!ilang!!&p2=f_lang!!ilang!!', 'select_lang', 400, 400, -2, -2, '$select2_prop')\" />
|
899
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_lang!!ilang!!.value=''; this.form.f_lang_code!!ilang!!.value=''; \" />
|
900
|
<input type='hidden' name='f_lang_code!!ilang!!' id='f_lang_code!!ilang!!' value='!!lang_code!!' />
|
901
|
</div>
|
902
|
";
|
903
|
|
904
|
|
905
|
|
906
|
|
907
|
|
908
|
$ptab[51] = "
|
909
|
<div id='el7Child_0b' class='row'>
|
910
|
<input type='text' class='saisie-30emr' id='f_langorg!!ilangorg!!' name='f_langorg!!ilangorg!!' value=\"!!langorg!!\" completion=\"langue\" autfield=\"f_langorg_code!!ilangorg!!\" />
|
911
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=lang&caller=notice&p1=f_langorg_code!!ilangorg!!&p2=f_langorg!!ilangorg!!', 'select_lang', 400, 400, -2, -2, '$select2_prop')\" />
|
912
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_langorg!!ilangorg!!.value=''; this.form.f_langorg_code!!ilangorg!!.value=''; \" />
|
913
|
<input type='hidden' name='f_langorg_code!!ilangorg!!' id='f_langorg_code!!ilangorg!!' value='!!langorg_code!!' />
|
914
|
<input type='button' class='bouton' value='+' onClick=\"add_langorg();\"/>
|
915
|
</div>
|
916
|
";
|
917
|
$ptab[511] = "
|
918
|
<div id='el7Child_0b' class='row'>
|
919
|
<input type='text' class='saisie-30emr' id='f_langorg!!ilangorg!!' name='f_langorg!!ilangorg!!' value=\"!!langorg!!\" completion=\"langue\" autfield=\"f_langorg_code!!ilangorg!!\" />
|
920
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=lang&caller=notice&p1=f_langorg_code!!ilangorg!!&p2=f_langorg!!ilangorg!!', 'select_lang', 400, 400, -2, -2, '$select2_prop')\" />
|
921
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_langorg!!ilangorg!!.value=''; this.form.f_langorg_code!!ilangorg!!.value=''; \" />
|
922
|
<input type='hidden' name='f_langorg_code!!ilangorg!!' id='f_langorg_code!!ilangorg!!' value='!!langorg_code!!' />
|
923
|
</div>
|
924
|
";
|
925
|
|
926
|
|
927
|
|
928
|
|
929
|
|
930
|
$ptab[6] = "
|
931
|
<!-- onglet 6 serials.tpl.php -->
|
932
|
<div id='el8Parent' class='parent'>
|
933
|
<h3>
|
934
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el8Img' onClick=\"expandBase('el8', true); return false;\" title='$msg[274]' border='0' />
|
935
|
$msg[274]
|
936
|
</h3>
|
937
|
</div>
|
938
|
|
939
|
<div id='el8Child' class='child' etirable='yes' title='".htmlentities($msg[274],ENT_QUOTES, $charset)."'>
|
940
|
|
941
|
<div id='el8Child_0' title='".htmlentities($msg[275],ENT_QUOTES, $charset)."' movable='yes'>
|
942
|
<!-- URL associée -->
|
943
|
<div id='el8Child_0a' class='row'>
|
944
|
<label for='f_l' class='etiquette'>$msg[275]</label>
|
945
|
</div>
|
946
|
<div id='el8Child_0b' class='row'>
|
947
|
<input name='f_lien' type='text' class='saisie-80em' id='f_lien' value=\"!!lien!!\" maxlength='255' />
|
948
|
<input class='bouton' type='button' onClick=\"var l=document.getElementById('f_lien').value; eval('window.open(\''+l+'\')');\" title='$msg[CheckLink]' value='$msg[CheckButton]' />
|
949
|
</div>
|
950
|
</div>
|
951
|
|
952
|
<div id='el8Child_1' title='".htmlentities($msg[276],ENT_QUOTES, $charset)."' movable='yes'>
|
953
|
<!-- Format électronique de la ressource -->
|
954
|
<div id='el8Child_1a' class='row'>
|
955
|
<label for='f_eformat' class='etiquette'>$msg[276]</label>
|
956
|
</div>
|
957
|
<div id='el8Child_1b' class='row'>
|
958
|
<input type='text' class='saisie-80em' id='f_eformat' name='f_eformat' value=\"!!eformat!!\" />
|
959
|
</div>
|
960
|
</div>
|
961
|
</div>
|
962
|
";
|
963
|
|
964
|
|
965
|
|
966
|
|
967
|
|
968
|
|
969
|
$ptab[7] = "
|
970
|
<!-- onglet 7 -->
|
971
|
<div id='el9Parent' class='parent'>
|
972
|
<h3>
|
973
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el9Img' onClick=\"expandBase('el9', true); return false;\" title='".$msg["notice_champs_perso"]."' border='0' /> ".$msg["notice_champs_perso"]."
|
974
|
</h3>
|
975
|
</div>
|
976
|
<div id='el9Child' class='child' etirable='yes' title='".$msg["notice_champs_perso"]."'>
|
977
|
!!champs_perso!!
|
978
|
</div>
|
979
|
";
|
980
|
|
981
|
|
982
|
|
983
|
|
984
|
|
985
|
|
986
|
$ptab[8] = "
|
987
|
<!-- onglet 8 -->
|
988
|
<div id='el10Parent' class='parent'>
|
989
|
<h3>
|
990
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el10Img' onClick=\"expandBase('el10', true); return false;\" title='".$msg["notice_champs_gestion"]."' border='0' /> ".$msg["notice_champs_gestion"]."
|
991
|
</h3>
|
992
|
</div>
|
993
|
|
994
|
<div id='el10Child' class='child' etirable='yes' title='".htmlentities($msg[notice_champs_gestion],ENT_QUOTES, $charset)."'>
|
995
|
<div id='el10Child_0' title='".htmlentities($msg[notice_statut_gestion],ENT_QUOTES, $charset)."' movable='yes'>
|
996
|
<div id='el10Child_0a' class='row'>
|
997
|
<label for='f_notice_statut' class='etiquette'>$msg[notice_statut_gestion]</label>
|
998
|
</div>
|
999
|
<div id='el10Child_0b' class='row'>
|
1000
|
!!notice_statut!!
|
1001
|
</div>
|
1002
|
</div>
|
1003
|
<div id='el10Child_1' title='".htmlentities($msg[notice_commentaire_gestion],ENT_QUOTES, $charset)."' movable='yes'>
|
1004
|
<!-- commentaire de gestion -->
|
1005
|
<div id='el10Child_1a' class='row'>
|
1006
|
<label for='f_commentaire_gestion' class='etiquette'>$msg[notice_commentaire_gestion]</label>
|
1007
|
</div>
|
1008
|
<div id='el10Child_1b' class='row'>
|
1009
|
<textarea class='saisie-80em' id='f_commentaire_gestion' name='f_commentaire_gestion' rows='1' wrap='virtual'>!!commentaire_gestion!!</textarea>
|
1010
|
</div>
|
1011
|
</div>
|
1012
|
<div id='el10Child_2' title='".htmlentities($msg[notice_thumbnail_url],ENT_QUOTES, $charset)."' movable='yes'>
|
1013
|
<!-- URL vignette speciale -->
|
1014
|
<div id='el10Child_2a' class='row'>
|
1015
|
<label for='f_thumbnail_url' class='etiquette'>$msg[notice_thumbnail_url]</label>
|
1016
|
</div>
|
1017
|
<div id='el10Child_2b' class='row'>
|
1018
|
<input type=text class='saisie-80em' id='f_thumbnail_url' name='f_thumbnail_url' rows='1' wrap='virtual' value=\"!!thumbnail_url!!\" />
|
1019
|
</div>
|
1020
|
</div>
|
1021
|
<div id='el10Child_3' title='".htmlentities($msg["opac_show_bulletinage"],ENT_QUOTES, $charset)."' movable='yes' !!display_bulletinage!!>
|
1022
|
<div id='el10Child_3a' class='row'>
|
1023
|
<input type='checkbox' value='1' id='opac_visible_bulletinage' name='opac_visible_bulletinage' !!opac_visible_bulletinage!! />
|
1024
|
<label for='opac_visible_bulletinage' class='etiquette'>".$msg["opac_show_bulletinage"]."</label>
|
1025
|
</div>
|
1026
|
<div id='el10Child_3b' class='row'>
|
1027
|
<input type='checkbox' value='1' id='a2z_opac_show' name='a2z_opac_show' !!a2z_opac_show!! />
|
1028
|
<label for='a2z_opac_show' class='etiquette'>".$msg["a2z_opac_show"]."</label>
|
1029
|
</div>
|
1030
|
</div>
|
1031
|
<div id='el10Child_4' title='".htmlentities($msg['admin_menu_acces'],ENT_QUOTES, $charset)."' movable='yes'>
|
1032
|
<!-- Droits d'acces -->
|
1033
|
<!-- rights_form -->
|
1034
|
</div>
|
1035
|
|
1036
|
</div>
|
1037
|
";
|
1038
|
|
1039
|
|
1040
|
|
1041
|
|
1042
|
|
1043
|
|
1044
|
|
1045
|
$ptab[41] = "
|
1046
|
<!-- onglet 41 -->
|
1047
|
<div id='el41Parent' class='parent'>
|
1048
|
<h3>
|
1049
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el41Img' title='$msg[257]' border='0' onClick=\"expandBase('el41', true); return false;\" />
|
1050
|
$msg[258]
|
1051
|
</h3>
|
1052
|
</div>
|
1053
|
|
1054
|
<div id='el41Child' class='child' etirable='yes' title='".htmlentities($msg[258],ENT_QUOTES, $charset)."'>
|
1055
|
|
1056
|
<div id='el41Child_0' title='".htmlentities($msg[259],ENT_QUOTES, $charset)."' movable='yes'>
|
1057
|
<!-- Importance matérielle (nombre de pages, d'éléments...) -->
|
1058
|
<div id='el41Child_0a' class='row'>
|
1059
|
<label for='f_npages' class='etiquette'>$msg[259]</label>
|
1060
|
</div>
|
1061
|
<div id='el41Child_0b' class='row'>
|
1062
|
<input type='text' class='saisie-80em' id='f_npages' name='f_npages' value=\"!!npages!!\" />
|
1063
|
</div>
|
1064
|
</div>
|
1065
|
|
1066
|
<div id='el41Child_1' title='".htmlentities($msg[260],ENT_QUOTES, $charset)."' movable='yes'>
|
1067
|
<!-- Autres caractèristiques matérielle (ill., ...) -->
|
1068
|
<div id='el41Child_1a' class='row'>
|
1069
|
<label for='f_ill' class='etiquette'>$msg[260]</label>
|
1070
|
</div>
|
1071
|
<div id='el41Child_1b' class='row'>
|
1072
|
<input type='text' class='saisie-80em' id='f_ill' name='f_ill' value=\"!!ill!!\" />
|
1073
|
</div>
|
1074
|
</div>
|
1075
|
|
1076
|
<div id='el41Child_2' title='".htmlentities($msg[261],ENT_QUOTES, $charset)."' movable='yes'>
|
1077
|
<!-- Format -->
|
1078
|
<div id='el41Child_2a' class='row'>
|
1079
|
<label for='f_size' class='etiquette'>$msg[261]</label>
|
1080
|
</div>
|
1081
|
<div id='el41Child_2b' class='row'>
|
1082
|
<input type='text' class='saisie-80em' id='f_size' name='f_size' value=\"!!size!!\" />
|
1083
|
</div>
|
1084
|
</div>
|
1085
|
|
1086
|
<div id='el41Child_3' title='".htmlentities($msg[4050],ENT_QUOTES, $charset)."' movable='yes'>
|
1087
|
<!-- Prix -->
|
1088
|
<div id='el41Child_3a' class='row'>
|
1089
|
<label for='f_prix' class='etiquette'>$msg[4050]</label>
|
1090
|
</div>
|
1091
|
<div id='el41Child_3b' class='row'>
|
1092
|
<input type='text' class='saisie-80em' id='f_prix' name='f_prix' value=\"!!prix!!\" />
|
1093
|
</div>
|
1094
|
|
1095
|
</div>
|
1096
|
|
1097
|
<div id='el41Child_4' title='".htmlentities($msg[262],ENT_QUOTES, $charset)."' movable='yes'>
|
1098
|
<!-- Matériel d'accompagnement -->
|
1099
|
<div id='el41Child_4a' class='row'>
|
1100
|
<label for='f_accomp' class='etiquette'>$msg[262]</label>
|
1101
|
</div>
|
1102
|
<div id='el41Child_4b' class='row'>
|
1103
|
<input type='text' class='saisie-80em' id='f_accomp' name='f_accomp' value=\"!!accomp!!\" />
|
1104
|
</div>
|
1105
|
</div>
|
1106
|
</div>
|
1107
|
";
|
1108
|
|
1109
|
|
1110
|
|
1111
|
|
1112
|
|
1113
|
$ptab[130]="
|
1114
|
<div class='colonne4'>
|
1115
|
<div id='el11Child_0a' class='row'>
|
1116
|
<label for='f_rel_type_!!n_rel!!' class='etiquette'>$msg[notice_type_relations]</label>
|
1117
|
</div>
|
1118
|
<div id='el11Child_0b' class='row'>
|
1119
|
<select onchange='' name='!!f_notice_type_relations_name!!' size='1'>
|
1120
|
<optgroup class='erreur' label='$msg[notice_lien_montant]'>
|
1121
|
!!f_notice_type_relations_up!!
|
1122
|
</optgroup>
|
1123
|
<optgroup class='erreur' label='$msg[notice_lien_descendant]'>
|
1124
|
!!f_notice_type_relations_down!!
|
1125
|
</optgroup>
|
1126
|
<optgroup class='erreur' label='$msg[notice_lien_symetrique]'>
|
1127
|
!!f_notice_type_relations_both!!
|
1128
|
</optgroup>
|
1129
|
</select>
|
1130
|
</div>
|
1131
|
</div>
|
1132
|
<div class='colonne'>
|
1133
|
<div id='el11Child_0c' class='row'>
|
1134
|
<label for='f_rel_!!n_rel!!' class='etiquette'>$msg[notice_relations]</label>
|
1135
|
</div>
|
1136
|
<div id='el11Child_0d' class='row'>
|
1137
|
<input type='text' class='saisie-80emr' id='f_rel_!!n_rel!!' name='f_rel_!!n_rel!!' value=\"!!notice_relations_libelle!!\" completion=\"notice\" autfield=\"f_rel_id_!!n_rel!!\" autexclude=\"!!notice_id_no_replace!!\"/>
|
1138
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=notice&caller=notice¶m1=f_rel_id_!!n_rel!!¶m2=f_rel_!!n_rel!!&no_display=!!notice_id_no_replace!!', 'select_notice', 700, 500, -2, -2, '$select_categ_prop')\"/>
|
1139
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_rel_!!n_rel!!.value=''; this.form.f_rel_id_!!n_rel!!.value='0';this.form.f_rel_rank_!!n_rel!!.value='0'; \"/>
|
1140
|
<input type='hidden' id='f_rel_id_!!n_rel!!' name='f_rel_id_!!n_rel!!' value='!!notice_relations_id!!'/>
|
1141
|
<input type='hidden' id='f_rel_rank_!!n_rel!!' name='f_rel_rank_!!n_rel!!' value='!!notice_relations_rank!!'/>
|
1142
|
<input type='button' class='bouton' value='+' onClick=\"add_rel();\"/>
|
1143
|
</div>
|
1144
|
</div>
|
1145
|
<div class='row'></div>";
|
1146
|
|
1147
|
$ptab[131]="
|
1148
|
<div class='colonne4'>
|
1149
|
<div id='el11Child_0b' class='row'>
|
1150
|
<select onchange='' name='!!f_notice_type_relations_name!!' size='1'>
|
1151
|
<optgroup class='erreur' label='$msg[notice_lien_montant]'>
|
1152
|
!!f_notice_type_relations_up!!
|
1153
|
</optgroup>
|
1154
|
<optgroup class='erreur' label='$msg[notice_lien_descendant]'>
|
1155
|
!!f_notice_type_relations_down!!
|
1156
|
</optgroup>
|
1157
|
<optgroup class='erreur' label='$msg[notice_lien_symetrique]'>
|
1158
|
!!f_notice_type_relations_both!!
|
1159
|
</optgroup>
|
1160
|
</select>
|
1161
|
</div>
|
1162
|
</div>
|
1163
|
<div class='colonne'>
|
1164
|
<div id='el11Child_0d' class='row'>
|
1165
|
<input type='text' class='saisie-80emr' id='f_rel_!!n_rel!!' name='f_rel_!!n_rel!!' value=\"!!notice_relations_libelle!!\" completion=\"notice\" autfield=\"f_rel_id_!!n_rel!!\" autexclude=\"!!notice_id_no_replace!!\"/>
|
1166
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=notice&caller=notice¶m1=f_rel_id_!!n_rel!!¶m2=f_rel_!!n_rel!!&no_display=!!notice_id_no_replace!!', 'select_notice', 700, 500, -2, -2, '$select_categ_prop')\"/>
|
1167
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_rel_!!n_rel!!.value=''; this.form.f_rel_id_!!n_rel!!.value='0';this.form.f_rel_rank_!!n_rel!!.value='0'; \"/>
|
1168
|
<input type='hidden' id='f_rel_id_!!n_rel!!' name='f_rel_id_!!n_rel!!' value='!!notice_relations_id!!'/>
|
1169
|
<input type='hidden' id='f_rel_rank_!!n_rel!!' name='f_rel_rank_!!n_rel!!' value='!!notice_relations_rank!!'/>
|
1170
|
</div>
|
1171
|
</div>
|
1172
|
<div class='row'></div>";
|
1173
|
|
1174
|
$ptab[13] = "
|
1175
|
<script>
|
1176
|
sel='';
|
1177
|
function fonction_selecteur_rel() {
|
1178
|
name=this.getAttribute('id').substring(4);
|
1179
|
name_id = name.substr(0,6)+'id_'+name.substr(6);
|
1180
|
openPopUp('./select.php?what=notice&caller=notice¶m1='+name_id+'¶m2='+name+'&no_display=!!notice_id_no_replace!!', 'select_author2', 400, 400, -2, -2,'$select1_prop');
|
1181
|
name_rank = name.substr(0,6)+'_rank_'+name.substr(6);
|
1182
|
document.getElementById(name_rank).value=0;
|
1183
|
}
|
1184
|
|
1185
|
function fonction_raz_rel() {
|
1186
|
name=this.getAttribute('id').substring(4);
|
1187
|
name_id = name.substr(0,6)+'_id_'+name.substr(6);
|
1188
|
document.getElementById(name_id).value=0;
|
1189
|
document.getElementById(name).value='';
|
1190
|
}
|
1191
|
|
1192
|
function add_rel() {
|
1193
|
value_deflt_relation='$value_deflt_relation';
|
1194
|
|
1195
|
rel=document.getElementById('el11Child_0');
|
1196
|
reldiv=document.createElement('div');
|
1197
|
reldiv.className='row';
|
1198
|
|
1199
|
suffixe = document.notice.max_rel.value;
|
1200
|
|
1201
|
//Création de la relation supplémentaire
|
1202
|
colonne_sel=document.createElement('div');
|
1203
|
colonne_sel.className='colonne4';
|
1204
|
row_sel=document.createElement('div');
|
1205
|
row_sel.className='row';
|
1206
|
nom_sel_id = 'f_rel_type_'+suffixe;
|
1207
|
|
1208
|
if (!sel) {
|
1209
|
sel=document.notice.f_rel_type_0;
|
1210
|
}
|
1211
|
|
1212
|
current_rel_sel=sel.cloneNode(true);
|
1213
|
current_rel_sel.setAttribute('name',nom_sel_id);
|
1214
|
|
1215
|
for(r in current_rel_sel.options){
|
1216
|
if(current_rel_sel.options[r].value==value_deflt_relation){
|
1217
|
current_rel_sel.options[r].selected = true;
|
1218
|
}else{
|
1219
|
current_rel_sel.options[r].selected = false;
|
1220
|
}
|
1221
|
}
|
1222
|
row_sel.appendChild(current_rel_sel);
|
1223
|
|
1224
|
colonne=document.createElement('div');
|
1225
|
colonne.className='colonne';
|
1226
|
row=document.createElement('div');
|
1227
|
row.className='row';
|
1228
|
|
1229
|
nom_id = 'f_rel_'+suffixe;
|
1230
|
f_rel0 = document.createElement('input');
|
1231
|
f_rel0.setAttribute('name',nom_id);
|
1232
|
f_rel0.setAttribute('id',nom_id);
|
1233
|
f_rel0.setAttribute('type','text');
|
1234
|
f_rel0.className='saisie-80emr';
|
1235
|
f_rel0.setAttribute('value','');
|
1236
|
f_rel0.setAttribute('completion','notice');
|
1237
|
f_rel0.setAttribute('autfield','f_rel_id_'+suffixe);
|
1238
|
|
1239
|
sel_f_rel0 = document.createElement('input');
|
1240
|
sel_f_rel0.setAttribute('id','sel_f_rel_'+suffixe);
|
1241
|
sel_f_rel0.setAttribute('type','button');
|
1242
|
sel_f_rel0.className='bouton';
|
1243
|
sel_f_rel0.setAttribute('readonly','');
|
1244
|
sel_f_rel0.setAttribute('value','$msg[parcourir]');
|
1245
|
sel_f_rel0.onclick=fonction_selecteur_rel;
|
1246
|
|
1247
|
del_f_rel0 = document.createElement('input');
|
1248
|
del_f_rel0.setAttribute('id','del_f_rel_'+suffixe);
|
1249
|
del_f_rel0.onclick=fonction_raz_rel;
|
1250
|
del_f_rel0.setAttribute('type','button');
|
1251
|
del_f_rel0.className='bouton';
|
1252
|
del_f_rel0.setAttribute('readonly','');
|
1253
|
del_f_rel0.setAttribute('value','$msg[raz]');
|
1254
|
|
1255
|
f_rel0_id = document.createElement('input');
|
1256
|
f_rel0_id.name='f_rel_id_'+suffixe;
|
1257
|
f_rel0_id.setAttribute('type','hidden');
|
1258
|
f_rel0_id.setAttribute('id','f_rel_id_'+suffixe);
|
1259
|
f_rel0_id.setAttribute('value','');
|
1260
|
|
1261
|
f_rel0_rank = document.createElement('input');
|
1262
|
f_rel0_rank.name='f_rel_rank_'+suffixe;
|
1263
|
f_rel0_rank.setAttribute('type','hidden');
|
1264
|
f_rel0_rank.setAttribute('id','f_rel_rank_'+suffixe);
|
1265
|
f_rel0_rank.setAttribute('value','0');
|
1266
|
|
1267
|
row.appendChild(f_rel0);
|
1268
|
space=document.createTextNode(' ');
|
1269
|
row.appendChild(space);
|
1270
|
row.appendChild(sel_f_rel0);
|
1271
|
space=document.createTextNode(' ');
|
1272
|
row.appendChild(space);
|
1273
|
row.appendChild(del_f_rel0);
|
1274
|
row.appendChild(f_rel0_id);
|
1275
|
row.appendChild(f_rel0_rank);
|
1276
|
|
1277
|
colonne.appendChild(row);
|
1278
|
colonne_sel.appendChild(row_sel);
|
1279
|
|
1280
|
reldiv.appendChild(colonne_sel);
|
1281
|
reldiv.appendChild(colonne);
|
1282
|
|
1283
|
rel.appendChild(reldiv);
|
1284
|
|
1285
|
document.notice.max_rel.value=(suffixe*1)+(1*1);
|
1286
|
ajax_pack_element(f_rel0);
|
1287
|
}
|
1288
|
</script>
|
1289
|
<!-- onglet 13 -->
|
1290
|
<div id='el11Parent' class='parent'>
|
1291
|
<h3>
|
1292
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el11Img' onClick=\"expandBase('el11', true); return false;\" title='".$msg["notice_relations"]."' border='0' /> ".$msg["notice_relations"]."
|
1293
|
</h3>
|
1294
|
</div>
|
1295
|
|
1296
|
<div id='el11Child' class='child' etirable='yes' title='".htmlentities($msg["notice_relations"],ENT_QUOTES, $charset)."'>
|
1297
|
<input type='hidden' name='max_rel' value=\"!!max_rel!!\" />
|
1298
|
<div id='el11Child_0' title='".htmlentities($msg[notice_relations],ENT_QUOTES, $charset)."' movable='yes'>
|
1299
|
!!notice_relations!!
|
1300
|
</div>
|
1301
|
</div>
|
1302
|
";
|
1303
|
|
1304
|
|
1305
|
|
1306
|
|
1307
|
|
1308
|
$serial_top_form = jscript_unload_question();
|
1309
|
$serial_top_form.= "
|
1310
|
<!-- script de gestion des onglets -->
|
1311
|
<script type='text/javascript' src='./javascript/tabform.js'></script>
|
1312
|
".($pmb_catalog_verif_js!= "" ? "<script type='text/javascript' src='$base_path/javascript/$pmb_catalog_verif_js'></script>":"")."
|
1313
|
<script type='text/javascript'>
|
1314
|
<!--
|
1315
|
function test_notice(form)
|
1316
|
{
|
1317
|
";
|
1318
|
if($pmb_catalog_verif_js!= ""){
|
1319
|
$serial_top_form.= "
|
1320
|
if('function' == typeof(check_perso_serial_form)){
|
1321
|
var check = check_perso_serial_form();
|
1322
|
if(check == false) return false;
|
1323
|
} ";
|
1324
|
}
|
1325
|
$serial_top_form.= "
|
1326
|
titre1 = form.f_tit1.value;
|
1327
|
titre1 = titre1.replace(/^\s+|\s+$/g, ''); //trim la valeur
|
1328
|
if(titre1.length == 0)
|
1329
|
{
|
1330
|
alert(\"$msg[277]\");
|
1331
|
return false;
|
1332
|
}
|
1333
|
return check_form();
|
1334
|
}
|
1335
|
-->
|
1336
|
</script>
|
1337
|
<script src='javascript/ajax.js'></script>
|
1338
|
<script src='javascript/move.js'></script>
|
1339
|
<script type='text/javascript'>
|
1340
|
var msg_move_to_absolute_pos='".addslashes($msg['move_to_absolute_pos'])."';
|
1341
|
var msg_move_to_relative_pos='".addslashes($msg['move_to_relative_pos'])."';
|
1342
|
var msg_move_saved_ok='".addslashes($msg['move_saved_ok'])."';
|
1343
|
var msg_move_saved_error='".addslashes($msg['move_saved_error'])."';
|
1344
|
var msg_move_up_tab='".addslashes($msg['move_up_tab'])."';
|
1345
|
var msg_move_down_tab='".addslashes($msg['move_down_tab'])."';
|
1346
|
var msg_move_position_tab='".addslashes($msg['move_position_tab'])."';
|
1347
|
var msg_move_position_absolute_tab='".addslashes($msg['move_position_absolute_tab'])."';
|
1348
|
var msg_move_position_relative_tab='".addslashes($msg['move_position_relative_tab'])."';
|
1349
|
var msg_move_invisible_tab='".addslashes($msg['move_invisible_tab'])."';
|
1350
|
var msg_move_visible_tab='".addslashes($msg['move_visible_tab'])."';
|
1351
|
var msg_move_inside_tab='".addslashes($msg['move_inside_tab'])."';
|
1352
|
var msg_move_save='".addslashes($msg['move_save'])."';
|
1353
|
var msg_move_first_plan='".addslashes($msg['move_first_plan'])."';
|
1354
|
var msg_move_last_plan='".addslashes($msg['move_last_plan'])."';
|
1355
|
var msg_move_first='".addslashes($msg['move_first'])."';
|
1356
|
var msg_move_last='".addslashes($msg['move_last'])."';
|
1357
|
var msg_move_infront='".addslashes($msg['move_infront'])."';
|
1358
|
var msg_move_behind='".addslashes($msg['move_behind'])."';
|
1359
|
var msg_move_up='".addslashes($msg['move_up'])."';
|
1360
|
var msg_move_down='".addslashes($msg['move_down'])."';
|
1361
|
var msg_move_invisible='".addslashes($msg['move_invisible'])."';
|
1362
|
var msg_move_visible='".addslashes($msg['move_visible'])."';
|
1363
|
</script>
|
1364
|
<form class='form-$current_module' id='notice' name='notice' method='post' action='./catalog.php?categ=serials&sub=update'>
|
1365
|
<h3><div class='left'>!!form_title!!</div><div class='right'>";
|
1366
|
if ($PMBuserid==1 && $pmb_form_editables==1) $serial_top_form.="<input type='button' class='bouton_small' value='".$msg["catal_edit_format"]."' onClick=\"expandAll(); move_parse_dom(relative)\" id=\"bt_inedit\"/><input type='button' class='bouton_small' value='Relatif' onClick=\"expandAll(); move_parse_dom((!relative))\" style=\"display:none\" id=\"bt_swap_relative\"/>";
|
1367
|
if ($pmb_form_editables==1) $serial_top_form.="<input type='button' class='bouton_small' value=\"".$msg["catal_origin_format"]."\" onClick=\"get_default_pos(); expandAll(); ajax_parse_dom(); if (inedit) move_parse_dom(relative); else initIt();\"/>";
|
1368
|
$serial_top_form.="</div></h3>
|
1369
|
<div class='form-contenu'>
|
1370
|
<div class='row'>
|
1371
|
!!doc_type!! !!location!!
|
1372
|
</div>
|
1373
|
<div class='row'>
|
1374
|
<a href=\"javascript:expandAll()\"><img src='./images/expand_all.gif' border='0' id=\"expandall\"></a>
|
1375
|
<a href=\"javascript:collapseAll()\"><img src='./images/collapse_all.gif' border='0' id=\"collapseall\"></a>";
|
1376
|
$serial_top_form .= "
|
1377
|
<input type='hidden' name='b_level' value='!!b_level!!' />
|
1378
|
<input type='hidden' name='h_level' value='!!h_level!!' />
|
1379
|
<input type='hidden' name='serial_id' value='!!id!!' />
|
1380
|
<input type='hidden' name='id_form' value='!!id_form!!' />
|
1381
|
</div>
|
1382
|
!!tab0!!
|
1383
|
<hr class='spacer' />
|
1384
|
!!tab1!!
|
1385
|
<hr class='spacer' />
|
1386
|
!!tab2!!
|
1387
|
<hr class='spacer' />
|
1388
|
!!tab30!!
|
1389
|
<hr class='spacer' />
|
1390
|
!!tab3!!
|
1391
|
<hr class='spacer' />
|
1392
|
!!tab4!!
|
1393
|
<hr class='spacer' />
|
1394
|
!!tab5!!
|
1395
|
<hr class='spacer' />
|
1396
|
!!tab6!!
|
1397
|
<hr class='spacer' />
|
1398
|
!!tab7!!
|
1399
|
<hr class='spacer' />
|
1400
|
!!tab13!!
|
1401
|
<hr class='spacer' />
|
1402
|
!!tab8!!
|
1403
|
<hr class='spacer' />
|
1404
|
</div>
|
1405
|
<div class='row'>
|
1406
|
<input type='button' class='bouton' value='$msg[76]' !!annul!!>
|
1407
|
<input type='button' class='bouton' value='$msg[77]' id='btsubmit' onClick=\"if (test_notice(this.form)) {unload_off();this.form.submit();}\" />
|
1408
|
!!link_duplicate!!
|
1409
|
!!link_audit!!
|
1410
|
</div>
|
1411
|
</form>
|
1412
|
<script type='text/javascript'>
|
1413
|
get_pos();
|
1414
|
ajax_parse_dom();
|
1415
|
document.forms['notice'].elements['f_tit1'].focus();
|
1416
|
</script>
|
1417
|
";
|
1418
|
|
1419
|
$message_search = "
|
1420
|
<div class='row'>
|
1421
|
<h2>".$msg[401]."</h2>
|
1422
|
</div>
|
1423
|
";
|
1424
|
|
1425
|
$serial_action_bar = "
|
1426
|
<script type=\"text/javascript\">
|
1427
|
<!--
|
1428
|
|
1429
|
var has_bulletin = !!nb_bulletins!!;
|
1430
|
var has_expl = !!nb_expl!!;
|
1431
|
|
1432
|
function confirm_serial_delete()
|
1433
|
{
|
1434
|
phrase1 = \"$msg[serial_SupConfirm]\";
|
1435
|
phrase2 = \"$msg[serial_SupNbBulletin] \";
|
1436
|
phrase3 = \"$msg[serial_SupExemplaire]\";
|
1437
|
if(!has_bulletin && !has_expl) {
|
1438
|
result = confirm(phrase1);
|
1439
|
} else if (has_bulletin){
|
1440
|
result = confirm(phrase2 + has_bulletin + \"\\n\" + phrase1);
|
1441
|
if(result && has_expl)
|
1442
|
result = confirm(phrase3 + has_expl + \"\\n\" + phrase1);
|
1443
|
if(result)
|
1444
|
result = confirm(phrase1);
|
1445
|
}
|
1446
|
if(result)
|
1447
|
document.location = './catalog.php?categ=serials&sub=delete&serial_id=!!serial_id!!';
|
1448
|
}
|
1449
|
-->
|
1450
|
</script>
|
1451
|
<div class='left'>
|
1452
|
<input type='button' class='bouton' onclick=\"document.location='./catalog.php?categ=serials&sub=serial_form&id=!!serial_id!!'\" value='$msg[62]' /> ";
|
1453
|
if ($z3950_accessible){
|
1454
|
$serial_action_bar .= "<input type='button' class='bouton' value='$msg[notice_z3950_update_bouton]' onclick='document.location=\"./catalog.php?categ=z3950&id_notice=!!serial_id!!&issn=!!issn!!\"' /> ";
|
1455
|
}
|
1456
|
$serial_action_bar.="
|
1457
|
<input type='button' class='bouton' value='$msg[4002]' onClick=\"document.location='./catalog.php?categ=serials&sub=bulletinage&action=bul_form&serial_id=!!serial_id!!&bul_id=0'\" />
|
1458
|
<input type='button' class='bouton' value=' $msg[explnum_ajouter_doc] ' onClick=\"document.location='./catalog.php?categ=serials&sub=explnum_form&serial_id=!!serial_id!!&explnum_id=0'\">
|
1459
|
<input type='button' class='bouton' value='$msg[158]' onClick=\"document.location='./catalog.php?categ=serials&sub=serial_replace&serial_id=!!serial_id!!'\" />
|
1460
|
<input type='button' class='bouton' value='$msg[serial_duplicate_bouton]' onClick=\"document.location='./catalog.php?categ=serials&sub=serial_duplicate&serial_id=!!serial_id!!'\" /> ";
|
1461
|
if ($acquisition_active) {
|
1462
|
$serial_action_bar.="<input type='button' class='bouton' value='".$msg["acquisition_sug_do"]."' onclick=\"document.location='./catalog.php?categ=sug&action=modif&id_bibli=0&id_notice=!!serial_id!!'\" /> ";
|
1463
|
}
|
1464
|
$serial_action_bar.="</div>
|
1465
|
<div class='right'>
|
1466
|
!!delete_serial_button!!
|
1467
|
</div>
|
1468
|
<div class='row'></div>
|
1469
|
";
|
1470
|
|
1471
|
$bul_action_bar = "
|
1472
|
<script type=\"text/javascript\">
|
1473
|
<!--
|
1474
|
|
1475
|
var has_expl = !!nb_expl!!;
|
1476
|
|
1477
|
function confirm_bul_delete()
|
1478
|
{
|
1479
|
phrase1 = \"$msg[serial_SupBulletin]\";
|
1480
|
phrase2 = \"$msg[serial_SupExemplaire]\";
|
1481
|
|
1482
|
if(!has_expl) {
|
1483
|
result = confirm(phrase1);
|
1484
|
} else {
|
1485
|
result = confirm(phrase2 + has_expl + \"\\n\" + phrase1);
|
1486
|
if(result)
|
1487
|
result = confirm(phrase1);
|
1488
|
}
|
1489
|
|
1490
|
if(result)
|
1491
|
document.location = './catalog.php?categ=serials&sub=bulletinage&action=delete&bul_id=!!bul_id!!';
|
1492
|
else
|
1493
|
document.forms['addex'].elements['noex'].focus();
|
1494
|
}
|
1495
|
-->
|
1496
|
</script>
|
1497
|
<div class='left'>
|
1498
|
<input type='button' class='bouton' onclick=\"document.location='./catalog.php?categ=serials&sub=bulletinage&action=bul_form&bul_id=!!bul_id!!'\" value='$msg[62]' />
|
1499
|
<input type='button' class='bouton' onClick=\"document.location='./catalog.php?categ=serials&sub=bulletinage&action=bul_duplicate&bul_id=!!bul_id!!';\" value='$msg[empr_duplicate_button]' />
|
1500
|
<input type='button' class='bouton' value='$msg[158]' onClick=\"document.location='./catalog.php?categ=serials&sub=bulletin_replace&serial_id=!!serial_id!!&bul_id=!!bul_id!!'\" />
|
1501
|
</div>
|
1502
|
<div class='right'>
|
1503
|
!!bulletin_delete_button!!
|
1504
|
</div>
|
1505
|
<div class='row'></div>
|
1506
|
";
|
1507
|
|
1508
|
$serial_bul_form = jscript_unload_question();
|
1509
|
$serial_bul_form.= "
|
1510
|
".($pmb_catalog_verif_js!= "" ? "<script type='text/javascript' src='./javascript/$pmb_catalog_verif_js'></script>":"")."
|
1511
|
<script type='text/javascript'>
|
1512
|
<!--
|
1513
|
function test_form(form)
|
1514
|
{
|
1515
|
test1 = form.bul_no.value+form.bul_date.value+form.bul_titre.value;// concaténation des valeurs à tester
|
1516
|
test = test1.replace(/^\s+|\s+$/g, ''); //trim de la valeur
|
1517
|
if(test.length == 0)
|
1518
|
{
|
1519
|
alert(\"$msg[serial_BulletinDate]\");
|
1520
|
form.bul_no.focus();
|
1521
|
return false;
|
1522
|
}";
|
1523
|
if($pmb_catalog_verif_js!= ""){
|
1524
|
$serial_bul_form.= "
|
1525
|
var check = check_perso_bull_form()
|
1526
|
if(check == false) return false;";
|
1527
|
}
|
1528
|
$serial_bul_form.= "
|
1529
|
return true;
|
1530
|
}
|
1531
|
-->
|
1532
|
</script>
|
1533
|
<script type='text/javascript' src='javascript/tabform.js'></script>
|
1534
|
<script type='text/javascript' src='javascript/ajax.js'></script>
|
1535
|
";
|
1536
|
if ($pmb_form_editables) {
|
1537
|
$serial_bul_form.="<script type='text/javascript' src='javascript/move.js'></script>
|
1538
|
<script type='text/javascript'>
|
1539
|
var msg_move_to_absolute_pos='".addslashes($msg['move_to_absolute_pos'])."';
|
1540
|
var msg_move_to_relative_pos='".addslashes($msg['move_to_relative_pos'])."';
|
1541
|
var msg_move_saved_ok='".addslashes($msg['move_saved_ok'])."';
|
1542
|
var msg_move_saved_error='".addslashes($msg['move_saved_error'])."';
|
1543
|
var msg_move_up_tab='".addslashes($msg['move_up_tab'])."';
|
1544
|
var msg_move_down_tab='".addslashes($msg['move_down_tab'])."';
|
1545
|
var msg_move_position_tab='".addslashes($msg['move_position_tab'])."';
|
1546
|
var msg_move_position_absolute_tab='".addslashes($msg['move_position_absolute_tab'])."';
|
1547
|
var msg_move_position_relative_tab='".addslashes($msg['move_position_relative_tab'])."';
|
1548
|
var msg_move_invisible_tab='".addslashes($msg['move_invisible_tab'])."';
|
1549
|
var msg_move_visible_tab='".addslashes($msg['move_visible_tab'])."';
|
1550
|
var msg_move_inside_tab='".addslashes($msg['move_inside_tab'])."';
|
1551
|
var msg_move_save='".addslashes($msg['move_save'])."';
|
1552
|
var msg_move_first_plan='".addslashes($msg['move_first_plan'])."';
|
1553
|
var msg_move_last_plan='".addslashes($msg['move_last_plan'])."';
|
1554
|
var msg_move_first='".addslashes($msg['move_first'])."';
|
1555
|
var msg_move_last='".addslashes($msg['move_last'])."';
|
1556
|
var msg_move_infront='".addslashes($msg['move_infront'])."';
|
1557
|
var msg_move_behind='".addslashes($msg['move_behind'])."';
|
1558
|
var msg_move_up='".addslashes($msg['move_up'])."';
|
1559
|
var msg_move_down='".addslashes($msg['move_down'])."';
|
1560
|
var msg_move_invisible='".addslashes($msg['move_invisible'])."';
|
1561
|
var msg_move_visible='".addslashes($msg['move_visible'])."';
|
1562
|
</script>";
|
1563
|
}
|
1564
|
$serial_bul_form .= "
|
1565
|
<!-- serial_bul_form -->
|
1566
|
<form class='form-$current_module' name='notice' method='post' action='./catalog.php?categ=serials&sub=bulletinage&action=update' onSubmit='return false;'>
|
1567
|
<h3><div class='left'>!!form_title!!</div><div class='right'>";
|
1568
|
if ($PMBuserid==1 && $pmb_form_editables==1) $serial_bul_form.="<input type='button' class='bouton_small' value='Editer format' onClick=\"expandAll(); move_parse_dom(relative)\" id=\"bt_inedit\"/><input type='button' class='bouton_small' value='Relatif' onClick=\"expandAll(); move_parse_dom((!relative))\" style=\"display:none\" id=\"bt_swap_relative\"/>";
|
1569
|
if ($pmb_form_editables==1) $serial_bul_form.="<input type='button' class='bouton_small' value=\"Format d'origine\" onClick=\"get_default_pos(); expandAll(); ajax_parse_dom(); if (inedit) move_parse_dom(relative); else initIt();\"/>";
|
1570
|
$serial_bul_form.="</div></h3>
|
1571
|
<div class='row'></div>
|
1572
|
<div class='form-contenu'>
|
1573
|
<div class='row'>
|
1574
|
!!doc_type!! !!location!!
|
1575
|
</div>
|
1576
|
<div class='row'>
|
1577
|
<a href=\"javascript:expandAll()\"><img src='./images/expand_all.gif' border='0' id=\"expandall\"></a>
|
1578
|
<a href=\"javascript:collapseAll()\"><img src='./images/collapse_all.gif' border='0' id=\"collapseall\"></a>
|
1579
|
<input type=\"hidden\" name=\"b_level\" value=\"!!b_level!!\">
|
1580
|
<input type=\"hidden\" name=\"h_level\" value=\"!!h_level!!\">
|
1581
|
</div>
|
1582
|
|
1583
|
<!-- onglet bul -->
|
1584
|
<div id='elbulParent' class='parent'>
|
1585
|
<div class='row'>
|
1586
|
<h3>
|
1587
|
<img src='./images/minus.gif' class='img_plus' align='top' name='imEx' id='elbulImg' title=\"".$msg[perio_bull_form_info_bulletin]."\" border='0' onClick=\"expandBase('elbul', true); return false;\"/>
|
1588
|
".$msg[perio_bull_form_info_bulletin]."
|
1589
|
</h3>
|
1590
|
</div>
|
1591
|
</div>
|
1592
|
<div id='elbulChild' class='child' title='".htmlentities($msg[perio_bull_form_info_bulletin],ENT_QUOTES, $charset)."' >
|
1593
|
<div class='colonne2'>
|
1594
|
<div class='row'>
|
1595
|
<label class='etiquette' for='bul_no'>$msg[4025]</label>
|
1596
|
</div>
|
1597
|
<div class='row'>
|
1598
|
<input type='text' id='bul_no' name='bul_no' value='!!bul_no!!' class='saisie-20em' />
|
1599
|
<input type='hidden' name='bul_id' value='!!bul_id!!' />
|
1600
|
<input type='hidden' name='serial_id' value='!!serial_id!!' />
|
1601
|
</div>
|
1602
|
</div>
|
1603
|
<div class='colonne_suite'>
|
1604
|
<div class='row'>
|
1605
|
<label class='etiquette' for='bul_cb'>$msg[bulletin_code_barre]</label>
|
1606
|
</div>
|
1607
|
<div class='row'>
|
1608
|
<input class='saisie-20emr' id='bul_cb' name='bul_cb' readonly value=\"!!bul_cb!!\" />
|
1609
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./catalog/setcb.php?formulaire_appelant=notice&objet_appelant=bul_cb&bulletin=1¬ice_id=!!bul_id!!', 'getcb', 220, 100, -2, -2, 'toolbar=no, resizable=yes')\" />
|
1610
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.bul_cb.value=''; \" />
|
1611
|
</div>
|
1612
|
</div>
|
1613
|
<div class='colonne3'>
|
1614
|
<div class='row'>
|
1615
|
<label class='etiquette' >$msg[4026]</label>
|
1616
|
</div>
|
1617
|
<div class='row'>
|
1618
|
!!date_date!!
|
1619
|
</div>
|
1620
|
</div>
|
1621
|
<div class='colonne_suite'>
|
1622
|
<div class='row'>
|
1623
|
<label class='etiquette' >$msg[bulletin_mention_periode]</label>
|
1624
|
</div>
|
1625
|
<div class='row'>
|
1626
|
<input type='text' id='bul_date' name='bul_date' value='!!bul_date!!' class='saisie-50em' />
|
1627
|
</div>
|
1628
|
</div>
|
1629
|
<div class='row'>
|
1630
|
<div class='row'>
|
1631
|
<label class='etiquette' >$msg[bulletin_mention_titre]</label>
|
1632
|
</div>
|
1633
|
<div class='row'>
|
1634
|
<input type='text' id='bul_titre' name='bul_titre' value='!!bul_titre!!' class='saisie-50em' />
|
1635
|
</div>
|
1636
|
</div>
|
1637
|
</div>
|
1638
|
<!-- Formulaire de notice de bulletin -->
|
1639
|
!!tab0!!
|
1640
|
<hr class='spacer' />
|
1641
|
!!tab1!!
|
1642
|
<!--<hr class='spacer' />
|
1643
|
!!tab2!!-->
|
1644
|
<hr class='spacer' />
|
1645
|
!!tab3!!
|
1646
|
<hr class='spacer' />
|
1647
|
!!tab4!!
|
1648
|
<hr class='spacer' />
|
1649
|
!!tab41!!
|
1650
|
<hr class='spacer' />
|
1651
|
!!tab5!!
|
1652
|
<hr class='spacer' />
|
1653
|
!!tab6!!
|
1654
|
<hr class='spacer' />
|
1655
|
!!tab7!!
|
1656
|
<hr class='spacer' />
|
1657
|
!!tab13!!
|
1658
|
<hr class='spacer' />
|
1659
|
!!tab8!!
|
1660
|
<hr class='spacer' />
|
1661
|
</div>
|
1662
|
<div class='row'>
|
1663
|
<input type=\"button\" class=\"bouton\" value=\"$msg[76]\" onClick=\"unload_off();history.go(-1);\" /> <input type=\"button\" class=\"bouton\" value=\"$msg[77]\" onClick=\"if (test_form(this.form)) {unload_off();this.form.submit();}\" />
|
1664
|
!!link_audit!!
|
1665
|
!!link_duplicate!!
|
1666
|
</div>
|
1667
|
</form>
|
1668
|
<script type='text/javascript'>".($pmb_form_editables?"get_pos(); ":"")."
|
1669
|
ajax_parse_dom();
|
1670
|
if (document.forms['notice']) {
|
1671
|
if (document.forms['notice'].elements['f_tit1']) document.forms['notice'].elements['f_tit1'].focus();
|
1672
|
else document.forms['notice'].elements['bul_no'].focus();
|
1673
|
} else document.forms['serial_bul_form'].elements['bul_no'].focus();
|
1674
|
|
1675
|
</script>
|
1676
|
|
1677
|
";
|
1678
|
|
1679
|
|
1680
|
|
1681
|
|
1682
|
|
1683
|
$pdeptab[0] = "
|
1684
|
<!-- onglet 0 -->
|
1685
|
<div id='el0Parent' class='parent'>
|
1686
|
<div class='row'>
|
1687
|
<h3>
|
1688
|
<img src='./images/minus.gif' class='img_plus' align='top' name='imEx' id='el0Img' title='$msg[236]' border='0' onClick=\"expandBase('el0', true); return false;\" />
|
1689
|
$msg[712]
|
1690
|
</h3>
|
1691
|
</div>
|
1692
|
</div>
|
1693
|
|
1694
|
<div id='el0Child' class='child' etirable='yes' title='".htmlentities($msg[236],ENT_QUOTES, $charset)."' >
|
1695
|
<div id='el0Child_0' title='".htmlentities($msg[237],ENT_QUOTES, $charset)."' movable='yes'>
|
1696
|
<div class='row'>
|
1697
|
<label class='etiquette' for='f_tit1'>$msg[237]</label>
|
1698
|
</div>
|
1699
|
<div class='row'>
|
1700
|
<input id='f_tit1' type='text' class='saisie-80em' name='f_tit1' value=\"!!tit1!!\" />
|
1701
|
</div>
|
1702
|
</div>
|
1703
|
|
1704
|
<div id='el0Child_1' title='".htmlentities($msg[239],ENT_QUOTES, $charset)."' movable='yes'>
|
1705
|
<div class='row'>
|
1706
|
<label class='etiquette' for='f_tit3'>$msg[239]</label>
|
1707
|
</div>
|
1708
|
<div class='row'>
|
1709
|
<input class='saisie-80em' type='text' id='f_tit3' name='f_tit3' value=\"!!tit3!!\" />
|
1710
|
</div>
|
1711
|
</div>
|
1712
|
|
1713
|
<div id='el0Child_2' title='".htmlentities($msg[240],ENT_QUOTES, $charset)."' movable='yes'>
|
1714
|
<div class='row'>
|
1715
|
<label class='etiquette' for='f_tit4'>$msg[240]</label>
|
1716
|
</div>
|
1717
|
<div class='row'>
|
1718
|
<input class='saisie-80em' id='f_tit4' type='text' name='f_tit4' value=\"!!tit4!!\" />
|
1719
|
</div>
|
1720
|
</div>
|
1721
|
</div>
|
1722
|
";
|
1723
|
|
1724
|
|
1725
|
|
1726
|
|
1727
|
$aut_fonctions= new marc_list('function');
|
1728
|
|
1729
|
$pdeptab[1] = "
|
1730
|
<script>
|
1731
|
function fonction_selecteur_auteur() {
|
1732
|
name=this.getAttribute('id').substring(4);
|
1733
|
name_id = name.substr(0,6)+'_id'+name.substr(6);
|
1734
|
openPopUp('./select.php?what=auteur&caller=notice¶m1='+name_id+'¶m2='+name+'&dyn=1&deb_rech='+".pmb_escape()."(document.getElementById(name).value), 'select_author2', 400, 400, -2, -2, '$select1_prop');
|
1735
|
}
|
1736
|
function fonction_selecteur_auteur_change(field) {
|
1737
|
// id champ text = 'f_aut'+n+suffixe
|
1738
|
// id champ hidden = 'f_aut'+n+'_id'+suffixe;
|
1739
|
// select.php?what=auteur&caller=notice¶m1=f_aut0_id¶m2=f_aut0&deb_rech='+t
|
1740
|
name=field.getAttribute('id');
|
1741
|
name_id = name.substr(0,6)+'_id'+name.substr(6);
|
1742
|
openPopUp('./select.php?what=auteur&caller=notice¶m1='+name_id+'¶m2='+name+'&dyn=1&deb_rech='+".pmb_escape()."(document.getElementById(name).value), 'select_author2', 400, 400, -2, -2, '$select1_prop');
|
1743
|
}
|
1744
|
function fonction_raz_auteur() {
|
1745
|
name=this.getAttribute('id').substring(4);
|
1746
|
name_id = name.substr(0,6)+'_id'+name.substr(6);
|
1747
|
document.getElementById(name_id).value=0;
|
1748
|
document.getElementById(name).value='';
|
1749
|
}
|
1750
|
function fonction_selecteur_fonction() {
|
1751
|
name=this.getAttribute('id').substring(4);
|
1752
|
name_code = name.substr(0,4)+'_code'+name.substr(4);
|
1753
|
openPopUp('./select.php?what=function&caller=notice¶m1='+name_code+'¶m2='+name+'&dyn=1', 'select_fonction2', 400, 400, -2, -2, '$select1_prop');
|
1754
|
}
|
1755
|
function fonction_raz_fonction() {
|
1756
|
name=this.getAttribute('id').substring(4);
|
1757
|
name_code = name.substr(0,4)+'_code'+name.substr(4);
|
1758
|
document.getElementById(name_code).value=0;
|
1759
|
document.getElementById(name).value='';
|
1760
|
}
|
1761
|
function add_aut(n) {
|
1762
|
template = document.getElementById('addaut'+n);
|
1763
|
aut=document.createElement('div');
|
1764
|
aut.className='row';
|
1765
|
|
1766
|
// auteur
|
1767
|
colonne=document.createElement('div');
|
1768
|
colonne.className='colonne2';
|
1769
|
row=document.createElement('div');
|
1770
|
row.className='row';
|
1771
|
suffixe = eval('document.notice.max_aut'+n+'.value')
|
1772
|
nom_id = 'f_aut'+n+suffixe
|
1773
|
f_aut0 = document.createElement('input');
|
1774
|
f_aut0.setAttribute('name',nom_id);
|
1775
|
f_aut0.setAttribute('id',nom_id);
|
1776
|
f_aut0.setAttribute('type','text');
|
1777
|
f_aut0.className='saisie-30emr';
|
1778
|
f_aut0.setAttribute('value','');
|
1779
|
f_aut0.setAttribute('completion','authors');
|
1780
|
f_aut0.setAttribute('autfield','f_aut'+n+'_id'+suffixe);
|
1781
|
|
1782
|
sel_f_aut0 = document.createElement('input');
|
1783
|
sel_f_aut0.setAttribute('id','sel_f_aut'+n+suffixe);
|
1784
|
sel_f_aut0.setAttribute('type','button');
|
1785
|
sel_f_aut0.className='bouton';
|
1786
|
sel_f_aut0.setAttribute('readonly','');
|
1787
|
sel_f_aut0.setAttribute('value','$msg[parcourir]');
|
1788
|
sel_f_aut0.onclick=fonction_selecteur_auteur;
|
1789
|
|
1790
|
del_f_aut0 = document.createElement('input');
|
1791
|
del_f_aut0.setAttribute('id','del_f_aut'+n+suffixe);
|
1792
|
del_f_aut0.onclick=fonction_raz_auteur;
|
1793
|
del_f_aut0.setAttribute('type','button');
|
1794
|
del_f_aut0.className='bouton';
|
1795
|
del_f_aut0.setAttribute('readonly','');
|
1796
|
del_f_aut0.setAttribute('value','$msg[raz]');
|
1797
|
|
1798
|
f_aut0_id = document.createElement('input');
|
1799
|
f_aut0_id.name='f_aut'+n+'_id'+suffixe;
|
1800
|
f_aut0_id.setAttribute('type','hidden');
|
1801
|
f_aut0_id.setAttribute('id','f_aut'+n+'_id'+suffixe);
|
1802
|
f_aut0_id.setAttribute('value','');
|
1803
|
|
1804
|
//f_aut0_content.appendChild(f_aut0);
|
1805
|
row.appendChild(f_aut0);
|
1806
|
space=document.createTextNode(' ');
|
1807
|
row.appendChild(space);
|
1808
|
row.appendChild(sel_f_aut0);
|
1809
|
space=document.createTextNode(' ');
|
1810
|
row.appendChild(space);
|
1811
|
row.appendChild(del_f_aut0);
|
1812
|
row.appendChild(f_aut0_id);
|
1813
|
colonne.appendChild(row);
|
1814
|
aut.appendChild(colonne);
|
1815
|
|
1816
|
// fonction
|
1817
|
colonne=document.createElement('div');
|
1818
|
colonne.className='colonne_suite';
|
1819
|
row=document.createElement('div');
|
1820
|
row.className='row';
|
1821
|
suffixe = eval('document.notice.max_aut'+n+'.value');
|
1822
|
nom_id = 'f_f'+n+suffixe;
|
1823
|
f_f0 = document.createElement('input');
|
1824
|
f_f0.setAttribute('name',nom_id);
|
1825
|
f_f0.setAttribute('id',nom_id);
|
1826
|
f_f0.setAttribute('type','text');
|
1827
|
f_f0.className='saisie-15emr';
|
1828
|
f_f0.setAttribute('value','".$aut_fonctions->table[$value_deflt_fonction]."');
|
1829
|
f_f0.setAttribute('completion','fonction');
|
1830
|
f_f0.setAttribute('autfield','f_f'+n+'_code'+suffixe);
|
1831
|
|
1832
|
sel_f_f0 = document.createElement('input');
|
1833
|
sel_f_f0.setAttribute('id','sel_f_f'+n+suffixe);
|
1834
|
sel_f_f0.setAttribute('type','button');
|
1835
|
sel_f_f0.className='bouton';
|
1836
|
sel_f_f0.setAttribute('readonly','');
|
1837
|
sel_f_f0.setAttribute('value','$msg[parcourir]');
|
1838
|
sel_f_f0.onclick=fonction_selecteur_fonction;
|
1839
|
|
1840
|
del_f_f0 = document.createElement('input');
|
1841
|
del_f_f0.setAttribute('id','del_f_f'+n+suffixe);
|
1842
|
del_f_f0.onclick=fonction_raz_fonction;
|
1843
|
del_f_f0.setAttribute('type','button');
|
1844
|
del_f_f0.className='bouton';
|
1845
|
del_f_f0.setAttribute('readonly','readonly');
|
1846
|
del_f_f0.setAttribute('value','$msg[raz]');
|
1847
|
|
1848
|
f_f0_code = document.createElement('input');
|
1849
|
f_f0_code.name='f_f'+n+'_code'+suffixe;
|
1850
|
f_f0_code.setAttribute('type','hidden');
|
1851
|
f_f0_code.setAttribute('id','f_f'+n+'_code'+suffixe);
|
1852
|
f_f0_code.setAttribute('value','$value_deflt_fonction');
|
1853
|
|
1854
|
row.appendChild(f_f0);
|
1855
|
space=document.createTextNode(' ');
|
1856
|
row.appendChild(space);
|
1857
|
row.appendChild(sel_f_f0);
|
1858
|
space=document.createTextNode(' ');
|
1859
|
row.appendChild(space);
|
1860
|
row.appendChild(del_f_f0);
|
1861
|
row.appendChild(f_f0_code);
|
1862
|
colonne.appendChild(row);
|
1863
|
|
1864
|
aut.appendChild(colonne);
|
1865
|
template.appendChild(aut);
|
1866
|
eval('document.notice.max_aut'+n+'.value=suffixe*1+1*1');
|
1867
|
ajax_pack_element(f_aut0);
|
1868
|
ajax_pack_element(f_f0);
|
1869
|
}
|
1870
|
|
1871
|
function fonction_selecteur_categ() {
|
1872
|
name=this.getAttribute('id').substring(4);
|
1873
|
name_id = name.substr(0,7)+'_id'+name.substr(7);
|
1874
|
openPopUp('./select.php?what=categorie&caller=notice&p1='+name_id+'&p2='+name+'&dyn=1', 'select_categ', 700, 500, -2, -2, '$select_categ_prop');
|
1875
|
}
|
1876
|
function fonction_raz_categ() {
|
1877
|
name=this.getAttribute('id').substring(4);
|
1878
|
name_id = name.substr(0,7)+'_id'+name.substr(7);
|
1879
|
document.getElementById(name_id).value=0;
|
1880
|
document.getElementById(name).value='';
|
1881
|
}
|
1882
|
function add_categ() {
|
1883
|
template = document.getElementById('el6Child_0');
|
1884
|
categ=document.createElement('div');
|
1885
|
categ.className='row';
|
1886
|
|
1887
|
suffixe = eval('document.notice.max_categ.value');
|
1888
|
|
1889
|
categ.setAttribute('id','drag_'+suffixe);
|
1890
|
categ.setAttribute('order',suffixe);
|
1891
|
categ.setAttribute('highlight','categ_highlight');
|
1892
|
categ.setAttribute('downlight','categ_downlight');
|
1893
|
categ.setAttribute('dragicon','./images/icone_drag_notice.png');
|
1894
|
categ.setAttribute('handler','handle_'+suffixe);
|
1895
|
categ.setAttribute('recepttype','categ');
|
1896
|
categ.setAttribute('recept','yes');
|
1897
|
categ.setAttribute('dragtype','categ');
|
1898
|
categ.setAttribute('draggable','yes');
|
1899
|
|
1900
|
nom_id = 'f_categ'+suffixe
|
1901
|
f_categ = document.createElement('input');
|
1902
|
f_categ.setAttribute('name',nom_id);
|
1903
|
f_categ.setAttribute('id',nom_id);
|
1904
|
f_categ.setAttribute('type','text');
|
1905
|
f_categ.className='saisie-80emr';
|
1906
|
f_categ.setAttribute('value','');
|
1907
|
f_categ.setAttribute('completion','categories_mul');
|
1908
|
f_categ.setAttribute('autfield','f_categ_id'+suffixe);
|
1909
|
|
1910
|
del_f_categ = document.createElement('input');
|
1911
|
del_f_categ.setAttribute('id','del_f_categ'+suffixe);
|
1912
|
del_f_categ.onclick=fonction_raz_categ;
|
1913
|
del_f_categ.setAttribute('type','button');
|
1914
|
del_f_categ.className='bouton';
|
1915
|
del_f_categ.setAttribute('readonly','');
|
1916
|
del_f_categ.setAttribute('value','$msg[raz]');
|
1917
|
|
1918
|
f_categ_id = document.createElement('input');
|
1919
|
f_categ_id.name='f_categ_id'+suffixe;
|
1920
|
f_categ_id.setAttribute('type','hidden');
|
1921
|
f_categ_id.setAttribute('id','f_categ_id'+suffixe);
|
1922
|
f_categ_id.setAttribute('value','');
|
1923
|
|
1924
|
var f_categ_span_handle = document.createElement('span');
|
1925
|
f_categ_span_handle.setAttribute('id','handle_'+suffixe);
|
1926
|
f_categ_span_handle.style.float='left';
|
1927
|
f_categ_span_handle.style.paddingRight='7px';
|
1928
|
|
1929
|
var f_categ_drag_img = document.createElement('img');
|
1930
|
f_categ_drag_img.setAttribute('src','./images/sort.png');
|
1931
|
f_categ_drag_img.style.width='12px';
|
1932
|
f_categ_drag_img.style.verticalAlign='middle';
|
1933
|
|
1934
|
f_categ_span_handle.appendChild(f_categ_drag_img);
|
1935
|
f_categ_span_handle.appendChild(f_categ_drag_img);
|
1936
|
|
1937
|
categ.appendChild(f_categ_span_handle);
|
1938
|
|
1939
|
categ.appendChild(f_categ);
|
1940
|
space=document.createTextNode(' ');
|
1941
|
categ.appendChild(space);
|
1942
|
categ.appendChild(del_f_categ);
|
1943
|
categ.appendChild(f_categ_id);
|
1944
|
|
1945
|
template.appendChild(categ);
|
1946
|
|
1947
|
tab_categ_order = document.getElementById('tab_categ_order');
|
1948
|
if (tab_categ_order.value != '') tab_categ_order.value += ','+suffixe;
|
1949
|
|
1950
|
document.notice.max_categ.value=suffixe*1+1*1 ;
|
1951
|
ajax_pack_element(f_categ);
|
1952
|
init_drag();
|
1953
|
}
|
1954
|
function fonction_selecteur_lang() {
|
1955
|
name=this.getAttribute('id').substring(4);
|
1956
|
name_id = name.substr(0,6)+'_code'+name.substr(6);
|
1957
|
openPopUp('./select.php?what=lang&caller=notice&p1='+name_id+'&p2='+name, 'select_lang', 400, 400, -2, -2, '$select2_prop');
|
1958
|
}
|
1959
|
function fonction_raz_lang() {
|
1960
|
name=this.getAttribute('id').substring(4);
|
1961
|
name_id = name.substr(0,6)+'_code'+name.substr(6);
|
1962
|
document.getElementById(name_id).value=0;
|
1963
|
document.getElementById(name).value='';
|
1964
|
}
|
1965
|
function add_lang() {
|
1966
|
template = document.getElementById('addlang');
|
1967
|
lang=document.createElement('div');
|
1968
|
lang.className='row';
|
1969
|
|
1970
|
suffixe = eval('document.notice.max_lang.value')
|
1971
|
nom_id = 'f_lang'+suffixe
|
1972
|
f_lang = document.createElement('input');
|
1973
|
f_lang.setAttribute('name',nom_id);
|
1974
|
f_lang.setAttribute('id',nom_id);
|
1975
|
f_lang.setAttribute('type','text');
|
1976
|
f_lang.className='saisie-30emr';
|
1977
|
f_lang.setAttribute('value','');
|
1978
|
f_lang.setAttribute('completion','langue');
|
1979
|
f_lang.setAttribute('autfield','f_lang_code'+suffixe);
|
1980
|
|
1981
|
del_f_lang = document.createElement('input');
|
1982
|
del_f_lang.setAttribute('id','del_f_lang'+suffixe);
|
1983
|
del_f_lang.onclick=fonction_raz_lang;
|
1984
|
del_f_lang.setAttribute('type','button');
|
1985
|
del_f_lang.className='bouton';
|
1986
|
del_f_lang.setAttribute('readonly','');
|
1987
|
del_f_lang.setAttribute('value','$msg[raz]');
|
1988
|
|
1989
|
sel_f_lang = document.createElement('input');
|
1990
|
sel_f_lang.setAttribute('id','sel_f_lang'+suffixe);
|
1991
|
sel_f_lang.setAttribute('type','button');
|
1992
|
sel_f_lang.className='bouton';
|
1993
|
sel_f_lang.setAttribute('readonly','');
|
1994
|
sel_f_lang.setAttribute('value','$msg[parcourir]');
|
1995
|
sel_f_lang.onclick=fonction_selecteur_lang;
|
1996
|
|
1997
|
f_lang_code = document.createElement('input');
|
1998
|
f_lang_code.name='f_lang_code'+suffixe;
|
1999
|
f_lang_code.setAttribute('type','hidden');
|
2000
|
f_lang_code.setAttribute('id','f_lang_code'+suffixe);
|
2001
|
f_lang_code.setAttribute('value','');
|
2002
|
|
2003
|
lang.appendChild(f_lang);
|
2004
|
space=document.createTextNode(' ');
|
2005
|
lang.appendChild(space);
|
2006
|
lang.appendChild(sel_f_lang);
|
2007
|
lang.appendChild(space.cloneNode(false));
|
2008
|
lang.appendChild(del_f_lang);
|
2009
|
lang.appendChild(f_lang_code);
|
2010
|
|
2011
|
template.appendChild(lang);
|
2012
|
|
2013
|
document.notice.max_lang.value=suffixe*1+1*1 ;
|
2014
|
ajax_pack_element(f_lang);
|
2015
|
}
|
2016
|
|
2017
|
function fonction_selecteur_langorg() {
|
2018
|
name=this.getAttribute('id').substring(4);
|
2019
|
name_id = name.substr(0,9)+'_code'+name.substr(9);
|
2020
|
openPopUp('./select.php?what=lang&caller=notice&p1='+name_id+'&p2='+name, 'select_lang', 400, 400, -2, -2, '$select2_prop');
|
2021
|
}
|
2022
|
function fonction_raz_langorg() {
|
2023
|
name=this.getAttribute('id').substring(4);
|
2024
|
name_id = name.substr(0,9)+'_code'+name.substr(9);
|
2025
|
document.getElementById(name_id).value=0;
|
2026
|
document.getElementById(name).value='';
|
2027
|
}
|
2028
|
function add_langorg() {
|
2029
|
template = document.getElementById('addlangorg');
|
2030
|
langorg=document.createElement('div');
|
2031
|
langorg.className='row';
|
2032
|
|
2033
|
suffixe = eval('document.notice.max_langorg.value')
|
2034
|
nom_id = 'f_langorg'+suffixe
|
2035
|
f_langorg = document.createElement('input');
|
2036
|
f_langorg.setAttribute('name',nom_id);
|
2037
|
f_langorg.setAttribute('id',nom_id);
|
2038
|
f_langorg.setAttribute('type','text');
|
2039
|
f_langorg.className='saisie-30emr';
|
2040
|
f_langorg.setAttribute('value','');
|
2041
|
f_langorg.setAttribute('completion','langue');
|
2042
|
f_langorg.setAttribute('autfield','f_langorg_code'+suffixe);
|
2043
|
|
2044
|
del_f_langorg = document.createElement('input');
|
2045
|
del_f_langorg.setAttribute('id','del_f_langorg'+suffixe);
|
2046
|
del_f_langorg.onclick=fonction_raz_langorg;
|
2047
|
del_f_langorg.setAttribute('type','button');
|
2048
|
del_f_langorg.className='bouton';
|
2049
|
del_f_langorg.setAttribute('readonly','');
|
2050
|
del_f_langorg.setAttribute('value','$msg[raz]');
|
2051
|
|
2052
|
sel_f_langorg = document.createElement('input');
|
2053
|
sel_f_langorg.setAttribute('id','sel_f_langorg'+suffixe);
|
2054
|
sel_f_langorg.setAttribute('type','button');
|
2055
|
sel_f_langorg.className='bouton';
|
2056
|
sel_f_langorg.setAttribute('readonly','');
|
2057
|
sel_f_langorg.setAttribute('value','$msg[parcourir]');
|
2058
|
sel_f_langorg.onclick=fonction_selecteur_langorg;
|
2059
|
|
2060
|
f_lang_codeorg = document.createElement('input');
|
2061
|
f_lang_codeorg.name='f_langorg_code'+suffixe;
|
2062
|
f_lang_codeorg.setAttribute('type','hidden');
|
2063
|
f_lang_codeorg.setAttribute('id','f_langorg_code'+suffixe);
|
2064
|
f_lang_codeorg.setAttribute('value','');
|
2065
|
|
2066
|
langorg.appendChild(f_langorg);
|
2067
|
space=document.createTextNode(' ');
|
2068
|
langorg.appendChild(space);
|
2069
|
langorg.appendChild(sel_f_langorg);
|
2070
|
langorg.appendChild(space.cloneNode(false));
|
2071
|
langorg.appendChild(del_f_langorg);
|
2072
|
langorg.appendChild(f_lang_codeorg);
|
2073
|
|
2074
|
template.appendChild(langorg);
|
2075
|
|
2076
|
document.notice.max_langorg.value=suffixe*1+1*1 ;
|
2077
|
ajax_pack_element(f_langorg);
|
2078
|
}
|
2079
|
|
2080
|
|
2081
|
</script>
|
2082
|
<div id='el1Parent' class='parent'>
|
2083
|
<div class='row'>
|
2084
|
<h3>
|
2085
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el1Img' onClick=\"expandBase('el1', true); return false;\" title='$msg[243]' border='0' />
|
2086
|
$msg[243]
|
2087
|
</h3>
|
2088
|
</div>
|
2089
|
</div>
|
2090
|
<div id='el1Child' class='child' etirable='yes' title='".htmlentities($msg[243],ENT_QUOTES, $charset)."'>
|
2091
|
<div id='el1Child_0' title='".htmlentities($msg[244],ENT_QUOTES, $charset)."' movable='yes'>
|
2092
|
<!-- Auteur principal -->
|
2093
|
<div class='row'>
|
2094
|
<div class='colonne2'>
|
2095
|
<label for='f_aut0' class='etiquette'>$msg[244]</label>
|
2096
|
<div class='row'>
|
2097
|
<input type='text' completion='authors' autfield='f_aut0_id' id='auteur0' class='saisie-30emr' name='f_aut0' value=\"!!aut0!!\" />
|
2098
|
|
2099
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=auteur&caller=notice¶m1=f_aut0_id¶m2=f_aut0&deb_rech='+".pmb_escape()."(this.form.f_aut0.value), 'select_author0', 400, 400, -2, -2, '$select1_prop')\" />
|
2100
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_aut0.value=''; this.form.f_aut0_id.value='0'; \" />
|
2101
|
<input type='hidden' name='f_aut0_id' id='f_aut0_id' value=\"!!aut0_id!!\" />
|
2102
|
</div>
|
2103
|
</div>
|
2104
|
<!-- Fonction -->
|
2105
|
<div class='colonne_suite'>
|
2106
|
<label for='f_f0' class='etiquette'>$msg[245]</label>
|
2107
|
<div class='row'>
|
2108
|
<input type='text' class='saisie-15emr' id='f_f0' name='f_f0' value=\"!!f0!!\" completion=\"fonction\" autfield=\"f_f0_code\" />
|
2109
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=function&caller=notice&p1=f_f0_code&p2=f_f0', 'select_func0', 400, 400, -2, -2, '$select2_prop')\" />
|
2110
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_f0.value=''; this.form.f_f0_code.value='0'; \" />
|
2111
|
<input type='hidden' name='f_f0_code' id='f_f0_code' value=\"!!f0_code!!\" />
|
2112
|
</div>
|
2113
|
</div>
|
2114
|
</div>
|
2115
|
</div>
|
2116
|
|
2117
|
<div id='el1Child_2' title='".htmlentities($msg[246],ENT_QUOTES, $charset)."' movable='yes'>
|
2118
|
<!-- autres auteurs -->
|
2119
|
<div class='row'>
|
2120
|
<div class='row'>
|
2121
|
<label for='f_aut1' class='etiquette'>$msg[246]</label>
|
2122
|
<input type='hidden' name='max_aut1' value=\"!!max_aut1!!\" />
|
2123
|
</div>
|
2124
|
!!autres_auteurs!!
|
2125
|
<div id='addaut1'/>
|
2126
|
<input type='button' class='bouton' value='+' onClick=\"add_aut(1);\"/>
|
2127
|
</div>
|
2128
|
</div>
|
2129
|
</div>
|
2130
|
|
2131
|
<div id='el1Child_3' title='".htmlentities($msg[247],ENT_QUOTES, $charset)."' movable='yes'>
|
2132
|
<!-- Auteurs secondaires -->
|
2133
|
<div class='row'>
|
2134
|
<div class='row'>
|
2135
|
<label for='f_aut2' class='etiquette'>$msg[247]</label>
|
2136
|
<input type='hidden' name='max_aut2' value=\"!!max_aut2!!\" />
|
2137
|
</div>
|
2138
|
!!auteurs_secondaires!!
|
2139
|
<div id='addaut2'/>
|
2140
|
<input type='button' class='bouton' value='+' onClick=\"add_aut(2);\"/>
|
2141
|
</div>
|
2142
|
</div>
|
2143
|
</div>
|
2144
|
</div>
|
2145
|
";
|
2146
|
|
2147
|
|
2148
|
|
2149
|
|
2150
|
$pdeptab[11] = "
|
2151
|
<div id='el1Child_2b_first' class='colonne2'>
|
2152
|
<div class='row'>
|
2153
|
<input type='text' class='saisie-30emr' completion='authors' autfield='f_aut1_id!!iaut!!' id='f_aut1!!iaut!!' name='f_aut1!!iaut!!' value=\"!!aut1!!\" />
|
2154
|
|
2155
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=auteur&caller=notice¶m1=f_aut1_id!!iaut!!¶m2=f_aut1!!iaut!!&deb_rech='+".pmb_escape()."(this.form.f_aut1!!iaut!!.value), 'select_author2', 400, 400, -2, -2, '$select1_prop')\" />
|
2156
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_aut1!!iaut!!.value=''; this.form.f_aut1_id!!iaut!!.value='0'; \" />
|
2157
|
<input type='hidden' name='f_aut1_id!!iaut!!' id='f_aut1_id!!iaut!!' value=\"!!aut1_id!!\" />
|
2158
|
</div>
|
2159
|
</div>
|
2160
|
<!-- Fonction -->
|
2161
|
<div id='el1Child_2b_others' class='colonne_suite'>
|
2162
|
<div class='row'>
|
2163
|
<input type='text' class='saisie-15emr' id='f_f1!!iaut!!' name='f_f1!!iaut!!' completion='fonction' autfield='f_f1_code!!iaut!!' value=\"!!f1!!\" />
|
2164
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=function&caller=notice&p1=f_f1_code!!iaut!!&p2=f_f1!!iaut!!', 'select_func2', 400, 400, -2, -2, '$select2_prop')\" />
|
2165
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_f1!!iaut!!.value=''; this.form.f_f1_code!!iaut!!.value='0'; \" />
|
2166
|
<input type='hidden' name='f_f1_code!!iaut!!' id='f_f1_code!!iaut!!' value=\"!!f1_code!!\" />
|
2167
|
</div>
|
2168
|
</div>
|
2169
|
" ;
|
2170
|
|
2171
|
|
2172
|
|
2173
|
|
2174
|
$pdeptab[12] = "
|
2175
|
<div id='el1Child_3b_first' class='colonne2'>
|
2176
|
<div class='row'>
|
2177
|
<input type='text' class='saisie-30emr' completion='authors' autfield='f_aut2_id!!iaut!!' id='f_aut2!!iaut!!' name='f_aut2!!iaut!!' value=\"!!aut2!!\" />
|
2178
|
|
2179
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=auteur&caller=notice¶m1=f_aut2_id!!iaut!!¶m2=f_aut2!!iaut!!&deb_rech='+".pmb_escape()."(this.form.f_aut2!!iaut!!.value), 'select_author2', 400, 400, -2, -2, '$select1_prop')\" />
|
2180
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_aut2!!iaut!!.value=''; this.form.f_aut2_id!!iaut!!.value='0'; \" />
|
2181
|
<input type='hidden' name='f_aut2_id!!iaut!!' id='f_aut2_id!!iaut!!' value=\"!!aut2_id!!\" />
|
2182
|
</div>
|
2183
|
</div>
|
2184
|
<!-- Fonction -->
|
2185
|
<div id='el1Child_3b_others' class='colonne_suite'>
|
2186
|
<div class='row'>
|
2187
|
<input type='text' class='saisie-15emr' id='f_f2!!iaut!!' name='f_f2!!iaut!!' completion='fonction' autfield='f_f2_code!!iaut!!' value=\"!!f2!!\" />
|
2188
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=function&caller=notice&p1=f_f2_code!!iaut!!&p2=f_f2!!iaut!!', 'select_func2', 400, 400, -2, -2, '$select2_prop')\" />
|
2189
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_f2!!iaut!!.value=''; this.form.f_f2_code!!iaut!!.value='0'; \" />
|
2190
|
<input type='hidden' name='f_f2_code!!iaut!!' id='f_f2_code!!iaut!!' value=\"!!f2_code!!\" />
|
2191
|
</div>
|
2192
|
</div>
|
2193
|
" ;
|
2194
|
|
2195
|
|
2196
|
|
2197
|
|
2198
|
$pdeptab[2] = "
|
2199
|
<!-- onglet 2 -->
|
2200
|
<div id='el2Parent' class='parent'>
|
2201
|
<h3><img src='./images/plus.gif' class='img_plus' name='imEx' id='el2Img' title=\"pagination\" border='0' onClick=\"expandBase('el2', true); return false;\">
|
2202
|
$msg[serial_Pagination]
|
2203
|
</h3>
|
2204
|
</div>
|
2205
|
<div id='el2Child' class='child' etirable='yes' title='".htmlentities($msg[serial_Pagination],ENT_QUOTES, $charset)."'>
|
2206
|
|
2207
|
<div id='el2Child_0' title='".htmlentities($msg[serial_Pagination],ENT_QUOTES, $charset)."' movable='yes'>
|
2208
|
<div id='el2Child_0a' class='row'>
|
2209
|
<label class='etiquette' for='pagination'>$msg[serial_Pagination]</label>
|
2210
|
</div>
|
2211
|
<div id='el2Child_0b' class='row'>
|
2212
|
<input type='text' class='saisie-80em' name='pages' value=\"!!pages!!\">
|
2213
|
</div>
|
2214
|
</div>
|
2215
|
</div>
|
2216
|
";
|
2217
|
|
2218
|
|
2219
|
|
2220
|
|
2221
|
$pdeptab[3] = "
|
2222
|
<!-- onglet 3 -->
|
2223
|
<div id='el5Parent' class='parent'>
|
2224
|
<h3>
|
2225
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el5Img' title='$msg[263]' border='0' onClick=\"expandBase('el5', true); return false;\" />
|
2226
|
$msg[264]
|
2227
|
</h3>
|
2228
|
</div>
|
2229
|
|
2230
|
<div id='el5Child' class='child' etirable='yes' title='".htmlentities($msg[264],ENT_QUOTES, $charset)."'>
|
2231
|
|
2232
|
<div id='el5Child_0' title='".htmlentities($msg[265],ENT_QUOTES, $charset)."' movable='yes'>
|
2233
|
<!-- Note générale -->
|
2234
|
<div id='el5Child_0a' class='row'>
|
2235
|
<label for='f_n_gen' class='etiquette'>$msg[265]</label>
|
2236
|
</div>
|
2237
|
<div id='el5Child_0b' class='row'>
|
2238
|
<textarea id='f_n_gen' class='saisie-80em' name='f_n_gen' rows='3' wrap='virtual'>!!n_gen!!</textarea>
|
2239
|
</div>
|
2240
|
</div>
|
2241
|
|
2242
|
<div id='el5Child_1' title='".htmlentities($msg[266],ENT_QUOTES, $charset)."' movable='yes'>
|
2243
|
<!-- Note de contenu -->
|
2244
|
<div id='el5Child_1a' class='row'>
|
2245
|
<label for='f_n_contenu' class='etiquette'>$msg[266]</label>
|
2246
|
</div>
|
2247
|
<div id='el5Child_1b' class='row'>
|
2248
|
<textarea class='saisie-80em' id='f_n_contenu' name='f_n_contenu' rows='5' wrap='virtual'>!!n_contenu!!</textarea>
|
2249
|
</div>
|
2250
|
</div>
|
2251
|
|
2252
|
<div id='el5Child_2' title='".htmlentities($msg[267],ENT_QUOTES, $charset)."' movable='yes'>
|
2253
|
<!-- Résumé/extrait -->
|
2254
|
<div id='el5Child_2a' class='row'>
|
2255
|
<label for='f_n_resume' class='etiquette'>$msg[267]</label>
|
2256
|
</div>
|
2257
|
<div id='el5Child_2b' class='row'>
|
2258
|
<textarea class='saisie-80em' id='f_n_resume' name='f_n_resume' rows='5' wrap='virtual'>!!n_resume!!</textarea>
|
2259
|
</div>
|
2260
|
</div>
|
2261
|
</div>
|
2262
|
";
|
2263
|
|
2264
|
|
2265
|
|
2266
|
|
2267
|
$pdeptab[4] = "
|
2268
|
<!-- onglet 4 -->
|
2269
|
<div id='el6Parent' class='parent'>
|
2270
|
<h3>
|
2271
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el6Img' title=\"$msg[268]\" border='0' onClick=\"expandBase('el6', true);recalc_recept(); return false;\" />
|
2272
|
$msg[269]
|
2273
|
</h3>
|
2274
|
</div>
|
2275
|
|
2276
|
<div id='el6Child' class='child' etirable='yes' title='".htmlentities($msg[269],ENT_QUOTES, $charset)."'>
|
2277
|
|
2278
|
<div id='el6Child_0' title='".htmlentities($msg[134],ENT_QUOTES, $charset)."' movable='yes'>
|
2279
|
<!-- Catégories -->
|
2280
|
<div id='el6Child_0a' class='row'>
|
2281
|
<label for='f_categ' class='etiquette'>$msg[134]</label>
|
2282
|
</div>
|
2283
|
<input type='hidden' name='max_categ' value=\"!!max_categ!!\" />
|
2284
|
!!categories_repetables!!
|
2285
|
<div id='addcateg'/>
|
2286
|
</div>
|
2287
|
</div>
|
2288
|
|
2289
|
<div id='el6Child_1' title='".htmlentities($msg[indexint_catal_title],ENT_QUOTES, $charset)."' movable='yes'>
|
2290
|
<!-- indexation interne -->
|
2291
|
<div id='el6Child_1a' class='row'>
|
2292
|
<label for='f_categ' class='etiquette'>$msg[indexint_catal_title]</label>
|
2293
|
</div>
|
2294
|
<div id='el6Child_1b' class='row'>
|
2295
|
<input type='text' class='saisie-80emr' id='f_indexint' name='f_indexint' value=\"!!indexint!!\" completion=\"indexint\" autfield=\"f_indexint_id\" />
|
2296
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=indexint&caller=notice¶m1=f_indexint_id¶m2=f_indexint&parent=0&deb_rech='+".pmb_escape()."(this.form.f_indexint.value)+'&typdoc='+(this.form.typdoc.value)+'&num_pclass=!!num_pclass!!', 'select_categ', 600, 320, -2, -2, '$select3_prop')\" />
|
2297
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_indexint.value=''; this.form.f_indexint_id.value='0'; \" />
|
2298
|
<input type='hidden' name='f_indexint_id' id='f_indexint_id' value='!!indexint_id!!' />
|
2299
|
</div>
|
2300
|
|
2301
|
</div>
|
2302
|
|
2303
|
<div id='el6Child_2' title='".htmlentities($msg[324],ENT_QUOTES, $charset)."' movable='yes'>
|
2304
|
<!-- Indexation libre -->
|
2305
|
<div id='el6Child_2a' class='row'>
|
2306
|
<label for='f_indexation' class='etiquette'>$msg[324]</label>
|
2307
|
</div>
|
2308
|
<div id='el8Child_2b' class='row'>
|
2309
|
<textarea class='saisie-80em' id='f_indexation' completion='tags' keys='113' name='f_indexation' rows='3' wrap='virtual'>!!f_indexation!!</textarea>
|
2310
|
</div>
|
2311
|
<div id='el8Child_2_comment' class='row'>
|
2312
|
<span>$msg[324]$msg[1901]$msg[325]</span>
|
2313
|
</div>
|
2314
|
</div>
|
2315
|
</div>
|
2316
|
";
|
2317
|
|
2318
|
|
2319
|
|
2320
|
|
2321
|
$pdeptab[40] = "
|
2322
|
<script type='text/javascript' src='./javascript/categ_drop.js'></script>
|
2323
|
<input type='hidden' name='tab_categ_order' id='tab_categ_order' value='!!tab_categ_order!!' />
|
2324
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=categorie&caller=notice&p1=f_categ_id!!icateg!!&p2=f_categ!!icateg!!&dyn=1&parent=0&deb_rech=', 'select_categ', 700, 500, -2, -2, '$select_categ_prop')\" />
|
2325
|
<input type='button' class='bouton' value='+' onClick=\"add_categ();\"/>
|
2326
|
|
2327
|
|
2328
|
<div id='drag_!!icateg!!' class='row' dragtype='categ' draggable='yes' recept='yes' recepttype='categ' handler='handle_!!icateg!!'
|
2329
|
dragicon=\"".$base_path."/images/icone_drag_notice.png\" dragtext='!!categ_libelle!!' downlight=\"categ_downlight\" highlight=\"categ_highlight\"
|
2330
|
order='!!icateg!!' style='' >
|
2331
|
<span id=\"handle_!!icateg!!\" style=\"float:left; padding-right : 7px\"><img src=\"".$base_path."/images/sort.png\" style='width:12px; vertical-align:middle' /></span>
|
2332
|
|
2333
|
<input type='text' class='saisie-80emr' id='f_categ!!icateg!!' name='f_categ!!icateg!!' value=\"!!categ_libelle!!\" completion=\"categories_mul\" autfield=\"f_categ_id!!icateg!!\" />
|
2334
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_categ!!icateg!!.value=''; this.form.f_categ_id!!icateg!!.value='0'; \" />
|
2335
|
<input type='hidden' name='f_categ_id!!icateg!!' id='f_categ_id!!icateg!!' value='!!categ_id!!' />
|
2336
|
</div>
|
2337
|
";
|
2338
|
$pdeptab[401] = "
|
2339
|
<div id='drag_!!icateg!!' class='row' dragtype='categ' draggable='yes' recept='yes' recepttype='categ' handler='handle_!!icateg!!'
|
2340
|
dragicon=\"".$base_path."/images/icone_drag_notice.png\" dragtext='!!categ_libelle!!' downlight=\"categ_downlight\" highlight=\"categ_highlight\"
|
2341
|
order='!!icateg!!' style='' >
|
2342
|
<span id=\"handle_!!icateg!!\" style=\"float:left; padding-right : 7px\"><img src=\"".$base_path."/images/sort.png\" style='width:12px; vertical-align:middle' /></span>
|
2343
|
|
2344
|
<input type='text' class='saisie-80emr' id='f_categ!!icateg!!' name='f_categ!!icateg!!' value=\"!!categ_libelle!!\" completion=\"categories_mul\" autfield=\"f_categ_id!!icateg!!\" />
|
2345
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_categ!!icateg!!.value=''; this.form.f_categ_id!!icateg!!.value='0'; \" />
|
2346
|
<input type='hidden' name='f_categ_id!!icateg!!' id='f_categ_id!!icateg!!' value='!!categ_id!!' />
|
2347
|
</div>
|
2348
|
";
|
2349
|
|
2350
|
|
2351
|
|
2352
|
|
2353
|
|
2354
|
$pdeptab[5] = "
|
2355
|
<!-- onglet 7 -->
|
2356
|
<div id='el7Parent' class='parent'>
|
2357
|
<h3>
|
2358
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el7Img' title='langues' border='0' onClick=\"expandBase('el7', true); return false;\" />
|
2359
|
$msg[710]
|
2360
|
</h3>
|
2361
|
</div>
|
2362
|
|
2363
|
<div id='el7Child' class='child' etirable='yes' title='".htmlentities($msg[710],ENT_QUOTES, $charset)."'>
|
2364
|
|
2365
|
<div id='el7Child_0' title='".htmlentities($msg[710],ENT_QUOTES, $charset)."' movable='yes'>
|
2366
|
<!-- Langues -->
|
2367
|
<div id='el7Child_0a' class='row'>
|
2368
|
<label for='f_langue' class='etiquette'>$msg[710]</label>
|
2369
|
</div>
|
2370
|
<input type='hidden' name='max_lang' value=\"!!max_lang!!\" />
|
2371
|
!!langues_repetables!!
|
2372
|
<div id='addlang'/>
|
2373
|
</div>
|
2374
|
</div>
|
2375
|
|
2376
|
<div id='el7Child_1' title='".htmlentities($msg[711],ENT_QUOTES, $charset)."' movable='yes'>
|
2377
|
<!-- Langues -->
|
2378
|
<div id='el7Child_1a' class='row'>
|
2379
|
<label for='f_langorg' class='etiquette'>$msg[711]</label>
|
2380
|
</div>
|
2381
|
<input type='hidden' name='max_langorg' value=\"!!max_langorg!!\" />
|
2382
|
!!languesorg_repetables!!
|
2383
|
<div id='addlangorg'/>
|
2384
|
</div>
|
2385
|
</div>
|
2386
|
|
2387
|
</div>
|
2388
|
";
|
2389
|
|
2390
|
|
2391
|
|
2392
|
|
2393
|
|
2394
|
$pdeptab[50] = "
|
2395
|
<div id='el7Child_0a' class='row'>
|
2396
|
<input type='text' class='saisie-30emr' id='f_lang!!ilang!!' name='f_lang!!ilang!!' value=\"!!lang!!\" completion=\"langue\" autfield=\"f_lang_code!!ilang!!\" />
|
2397
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=lang&caller=notice&p1=f_lang_code!!ilang!!&p2=f_lang!!ilang!!', 'select_lang', 400, 400, -2, -2, '$select2_prop')\" />
|
2398
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_lang!!ilang!!.value=''; this.form.f_lang_code!!ilang!!.value=''; \" />
|
2399
|
<input type='hidden' name='f_lang_code!!ilang!!' id='f_lang_code!!ilang!!' value='!!lang_code!!' />
|
2400
|
<input type='button' class='bouton' value='+' onClick=\"add_lang();\"/>
|
2401
|
</div>
|
2402
|
";
|
2403
|
|
2404
|
$pdeptab[501] = "
|
2405
|
<div id='el7Child_0a' class='row'>
|
2406
|
<input type='text' class='saisie-30emr' id='f_lang!!ilang!!' name='f_lang!!ilang!!' value=\"!!lang!!\" completion=\"langue\" autfield=\"f_lang_code!!ilang!!\" />
|
2407
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=lang&caller=notice&p1=f_lang_code!!ilang!!&p2=f_lang!!ilang!!', 'select_lang', 400, 400, -2, -2, '$select2_prop')\" />
|
2408
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_lang!!ilang!!.value=''; this.form.f_lang_code!!ilang!!.value=''; \" />
|
2409
|
<input type='hidden' name='f_lang_code!!ilang!!' id='f_lang_code!!ilang!!' value='!!lang_code!!' />
|
2410
|
</div>
|
2411
|
";
|
2412
|
|
2413
|
|
2414
|
|
2415
|
|
2416
|
|
2417
|
$pdeptab[51] = "
|
2418
|
<div id='el7Child_0b' class='row'>
|
2419
|
<input type='text' class='saisie-30emr' id='f_langorg!!ilangorg!!' name='f_langorg!!ilangorg!!' value=\"!!langorg!!\" completion=\"langue\" autfield=\"f_langorg_code!!ilangorg!!\" />
|
2420
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=lang&caller=notice&p1=f_langorg_code!!ilangorg!!&p2=f_langorg!!ilangorg!!', 'select_lang', 400, 400, -2, -2, '$select2_prop')\" />
|
2421
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_langorg!!ilangorg!!.value=''; this.form.f_langorg_code!!ilangorg!!.value=''; \" />
|
2422
|
<input type='hidden' name='f_langorg_code!!ilangorg!!' id='f_langorg_code!!ilangorg!!' value='!!langorg_code!!' />
|
2423
|
<input type='button' class='bouton' value='+' onClick=\"add_langorg();\"/>
|
2424
|
</div>
|
2425
|
";
|
2426
|
$pdeptab[511] = "
|
2427
|
<div id='el7Child_0b' class='row'>
|
2428
|
<input type='text' class='saisie-30emr' id='f_langorg!!ilangorg!!' name='f_langorg!!ilangorg!!' value=\"!!langorg!!\" completion=\"langue\" autfield=\"f_langorg_code!!ilangorg!!\" />
|
2429
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=lang&caller=notice&p1=f_langorg_code!!ilangorg!!&p2=f_langorg!!ilangorg!!', 'select_lang', 400, 400, -2, -2, '$select2_prop')\" />
|
2430
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_langorg!!ilangorg!!.value=''; this.form.f_langorg_code!!ilangorg!!.value=''; \" />
|
2431
|
<input type='hidden' name='f_langorg_code!!ilangorg!!' id='f_langorg_code!!ilangorg!!' value='!!langorg_code!!' />
|
2432
|
</div>
|
2433
|
";
|
2434
|
|
2435
|
|
2436
|
|
2437
|
|
2438
|
|
2439
|
|
2440
|
$pdeptab[6] = "
|
2441
|
<!-- onglet 6 serials.tpl.php bis -->
|
2442
|
<div id='el8Parent' class='parent'>
|
2443
|
<h3>
|
2444
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el8Img' onClick=\"expandBase('el8', true); return false;\" title='$msg[274]' border='0' />
|
2445
|
$msg[274]
|
2446
|
</h3>
|
2447
|
</div>
|
2448
|
|
2449
|
<div id='el8Child' class='child' etirable='yes' title='".htmlentities($msg[274],ENT_QUOTES, $charset)."'>
|
2450
|
|
2451
|
<div id='el8Child_0' title='".htmlentities($msg[275],ENT_QUOTES, $charset)."' movable='yes'>
|
2452
|
<!-- URL associée -->
|
2453
|
<div id='el8Child_0a' class='row'>
|
2454
|
<label for='f_l' class='etiquette'>$msg[275]</label>
|
2455
|
</div>
|
2456
|
<div id='el8Child_0b' class='row'>
|
2457
|
<input name='f_lien' type='text' class='saisie-80em' id='f_lien' value=\"!!lien!!\" maxlength='255' />
|
2458
|
<input class='bouton' type='button' onClick=\"var l=document.getElementById('f_lien').value; eval('window.open(\''+l+'\')');\" title='$msg[CheckLink]' value='$msg[CheckButton]' />
|
2459
|
</div>
|
2460
|
</div>
|
2461
|
|
2462
|
<div id='el8Child_1' title='".htmlentities($msg[276],ENT_QUOTES, $charset)."' movable='yes'>
|
2463
|
<!-- Format électronique de la ressource -->
|
2464
|
<div id='el8Child_1a' class='row'>
|
2465
|
<label for='f_eformat' class='etiquette'>$msg[276]</label>
|
2466
|
</div>
|
2467
|
<div id='el8Child_1b' class='row'>
|
2468
|
<input type='text' class='saisie-80em' id='f_eformat' name='f_eformat' value=\"!!eformat!!\" />
|
2469
|
</div>
|
2470
|
</div>
|
2471
|
</div>
|
2472
|
";
|
2473
|
|
2474
|
|
2475
|
|
2476
|
|
2477
|
|
2478
|
|
2479
|
$pdeptab[7] = "
|
2480
|
<!-- onglet 7 -->
|
2481
|
<div id='el9Parent' class='parent'>
|
2482
|
<h3>
|
2483
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el9Img' onClick=\"expandBase('el9', true); return false;\" title='".$msg["notice_champs_perso"]."' border='0' /> ".$msg["notice_champs_perso"]."
|
2484
|
</h3>
|
2485
|
</div>
|
2486
|
<div id='el9Child' class='child' etirable='yes' title='".$msg["notice_champs_perso"]."'>
|
2487
|
!!champs_perso!!
|
2488
|
</div>
|
2489
|
";
|
2490
|
|
2491
|
|
2492
|
|
2493
|
|
2494
|
|
2495
|
|
2496
|
$pdeptab[8] = "
|
2497
|
<!-- onglet 8 -->
|
2498
|
<div id='el10Parent' class='parent'>
|
2499
|
<h3>
|
2500
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el10Img' onClick=\"expandBase('el10', true); return false;\" title='".$msg["notice_champs_gestion"]."' border='0' /> ".$msg["notice_champs_gestion"]."
|
2501
|
</h3>
|
2502
|
</div>
|
2503
|
|
2504
|
<div id='el10Child' class='child' etirable='yes' title='".htmlentities($msg[notice_champs_gestion],ENT_QUOTES, $charset)."'>
|
2505
|
<div id='el10Child_0' title='".htmlentities($msg[notice_statut_gestion],ENT_QUOTES, $charset)."' movable='yes'>
|
2506
|
<div id='el10Child_0a' class='row'>
|
2507
|
<label for='f_notice_statut' class='etiquette'>$msg[notice_statut_gestion]</label>
|
2508
|
</div>
|
2509
|
<div id='el10Child_0b' class='row'>
|
2510
|
!!notice_statut!!
|
2511
|
</div>
|
2512
|
</div>
|
2513
|
<div id='el10Child_1' title='".htmlentities($msg[notice_commentaire_gestion],ENT_QUOTES, $charset)."' movable='yes'>
|
2514
|
<!-- commentaire de gestion -->
|
2515
|
<div id='el10Child_1a' class='row'>
|
2516
|
<label for='f_commentaire_gestion' class='etiquette'>$msg[notice_commentaire_gestion]</label>
|
2517
|
</div>
|
2518
|
<div id='el10Child_1b' class='row'>
|
2519
|
<textarea class='saisie-80em' id='f_commentaire_gestion' name='f_commentaire_gestion' rows='1' wrap='virtual'>!!commentaire_gestion!!</textarea>
|
2520
|
</div>
|
2521
|
</div>
|
2522
|
<div id='el10Child_2' title='".htmlentities($msg[notice_thumbnail_url],ENT_QUOTES, $charset)."' movable='yes'>
|
2523
|
<!-- URL vignette speciale -->
|
2524
|
<div id='el10Child_2a' class='row'>
|
2525
|
<label for='f_thumbnail_url' class='etiquette'>$msg[notice_thumbnail_url]</label>
|
2526
|
</div>
|
2527
|
<div id='el10Child_2b' class='row'>
|
2528
|
<input type=text class='saisie-80em' id='f_thumbnail_url' name='f_thumbnail_url' rows='1' wrap='virtual' value=\"!!thumbnail_url!!\" />
|
2529
|
</div>
|
2530
|
</div>
|
2531
|
<div id='el10Child_4' title='".htmlentities($msg['admin_menu_acces'],ENT_QUOTES, $charset)."' movable='yes'>
|
2532
|
<!-- Droits d'acces -->
|
2533
|
<!-- rights_form -->
|
2534
|
</div>
|
2535
|
</div>
|
2536
|
";
|
2537
|
|
2538
|
|
2539
|
|
2540
|
|
2541
|
|
2542
|
$pdeptab[130]="
|
2543
|
<div class='colonne4'>
|
2544
|
<div id='el11Child_0a' class='row'>
|
2545
|
<label for='f_rel_type_!!n_rel!!' class='etiquette'>$msg[notice_type_relations]</label>
|
2546
|
</div>
|
2547
|
<div id='el11Child_0b' class='row'>
|
2548
|
<select onchange='' name='!!f_notice_type_relations_name!!' size='1'>
|
2549
|
<optgroup class='erreur' label='$msg[notice_lien_montant]'>
|
2550
|
!!f_notice_type_relations_up!!
|
2551
|
</optgroup>
|
2552
|
<optgroup class='erreur' label='$msg[notice_lien_descendant]'>
|
2553
|
!!f_notice_type_relations_down!!
|
2554
|
</optgroup>
|
2555
|
<optgroup class='erreur' label='$msg[notice_lien_symetrique]'>
|
2556
|
!!f_notice_type_relations_both!!
|
2557
|
</optgroup>
|
2558
|
</select>
|
2559
|
</div>
|
2560
|
</div>
|
2561
|
<div class='colonne'>
|
2562
|
<div id='el11Child_0c' class='row'>
|
2563
|
<label for='f_rel_!!n_rel!!' class='etiquette'>$msg[notice_relations]</label>
|
2564
|
</div>
|
2565
|
<div id='el11Child_0d' class='row'>
|
2566
|
<input type='text' class='saisie-80emr' id='f_rel_!!n_rel!!' name='f_rel_!!n_rel!!' value=\"!!notice_relations_libelle!!\" completion=\"notice\" autfield=\"f_rel_id_!!n_rel!!\" autexclude=\"!!notice_id_no_replace!!\"/>
|
2567
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=notice&caller=notice¶m1=f_rel_id_!!n_rel!!¶m2=f_rel_!!n_rel!!&no_display=!!notice_id_no_replace!!', 'select_notice', 700, 500, -2, -2, '$select_categ_prop')\"/>
|
2568
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_rel_!!n_rel!!.value=''; this.form.f_rel_id_!!n_rel!!.value='0';this.form.f_rel_rank_!!n_rel!!.value='0'; \"/>
|
2569
|
<input type='hidden' id='f_rel_id_!!n_rel!!' name='f_rel_id_!!n_rel!!' value='!!notice_relations_id!!'/>
|
2570
|
<input type='hidden' id='f_rel_rank_!!n_rel!!' name='f_rel_rank_!!n_rel!!' value='!!notice_relations_rank!!'/>
|
2571
|
<input type='button' class='bouton' value='+' onClick=\"add_rel();\"/>
|
2572
|
</div>
|
2573
|
</div>
|
2574
|
<div class='row'></div>";
|
2575
|
|
2576
|
$pdeptab[131]="
|
2577
|
<div class='colonne4'>
|
2578
|
<div id='el11Child_0b' class='row'>
|
2579
|
<select onchange='' name='!!f_notice_type_relations_name!!' size='1'>
|
2580
|
<optgroup class='erreur' label='$msg[notice_lien_montant]'>
|
2581
|
!!f_notice_type_relations_up!!
|
2582
|
</optgroup>
|
2583
|
<optgroup class='erreur' label='$msg[notice_lien_descendant]'>
|
2584
|
!!f_notice_type_relations_down!!
|
2585
|
</optgroup>
|
2586
|
<optgroup class='erreur' label='$msg[notice_lien_symetrique]'>
|
2587
|
!!f_notice_type_relations_both!!
|
2588
|
</optgroup>
|
2589
|
</select>
|
2590
|
</div>
|
2591
|
</div>
|
2592
|
<div class='colonne'>
|
2593
|
<div id='el11Child_0d' class='row'>
|
2594
|
<input type='text' class='saisie-80emr' id='f_rel_!!n_rel!!' name='f_rel_!!n_rel!!' value=\"!!notice_relations_libelle!!\" completion=\"notice\" autfield=\"f_rel_id_!!n_rel!!\" autexclude=\"!!notice_id_no_replace!!\"/>
|
2595
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=notice&caller=notice¶m1=f_rel_id_!!n_rel!!¶m2=f_rel_!!n_rel!!&no_display=!!notice_id_no_replace!!', 'select_notice', 700, 500, -2, -2, '$select_categ_prop')\"/>
|
2596
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_rel_!!n_rel!!.value=''; this.form.f_rel_id_!!n_rel!!.value='0';this.form.f_rel_rank_!!n_rel!!.value='0'; \"/>
|
2597
|
<input type='hidden' id='f_rel_id_!!n_rel!!' name='f_rel_id_!!n_rel!!' value='!!notice_relations_id!!'/>
|
2598
|
<input type='hidden' id='f_rel_rank_!!n_rel!!' name='f_rel_rank_!!n_rel!!' value='!!notice_relations_rank!!'/>
|
2599
|
</div>
|
2600
|
</div>
|
2601
|
<div class='row'></div>";
|
2602
|
|
2603
|
$pdeptab[13] = "
|
2604
|
<script>
|
2605
|
sel='';
|
2606
|
function fonction_selecteur_rel() {
|
2607
|
name=this.getAttribute('id').substring(4);
|
2608
|
name_id = name.substr(0,6)+'id_'+name.substr(6);
|
2609
|
openPopUp('./select.php?what=notice&caller=notice¶m1='+name_id+'¶m2='+name+'&no_display=!!notice_id_no_replace!!', 'select_author2', 400, 400, -2, -2,'$select1_prop');
|
2610
|
name_rank = name.substr(0,6)+'_rank_'+name.substr(6);
|
2611
|
document.getElementById(name_rank).value=0;
|
2612
|
}
|
2613
|
|
2614
|
function fonction_raz_rel() {
|
2615
|
name=this.getAttribute('id').substring(4);
|
2616
|
name_id = name.substr(0,6)+'_id_'+name.substr(6);
|
2617
|
document.getElementById(name_id).value=0;
|
2618
|
document.getElementById(name).value='';
|
2619
|
}
|
2620
|
|
2621
|
function add_rel() {
|
2622
|
value_deflt_relation='$value_deflt_relation';
|
2623
|
|
2624
|
rel=document.getElementById('el11Child_0');
|
2625
|
reldiv=document.createElement('div');
|
2626
|
reldiv.className='row';
|
2627
|
|
2628
|
suffixe = document.notice.max_rel.value;
|
2629
|
|
2630
|
//Création de la relation supplémentaire
|
2631
|
colonne_sel=document.createElement('div');
|
2632
|
colonne_sel.className='colonne4';
|
2633
|
row_sel=document.createElement('div');
|
2634
|
row_sel.className='row';
|
2635
|
nom_sel_id = 'f_rel_type_'+suffixe;
|
2636
|
|
2637
|
if (!sel) {
|
2638
|
sel=document.notice.f_rel_type_0;
|
2639
|
}
|
2640
|
|
2641
|
current_rel_sel=sel.cloneNode(true);
|
2642
|
current_rel_sel.setAttribute('name',nom_sel_id);
|
2643
|
|
2644
|
for(r in current_rel_sel.options){
|
2645
|
if(current_rel_sel.options[r].value==value_deflt_relation){
|
2646
|
current_rel_sel.options[r].selected = true;
|
2647
|
}else{
|
2648
|
current_rel_sel.options[r].selected = false;
|
2649
|
}
|
2650
|
}
|
2651
|
row_sel.appendChild(current_rel_sel);
|
2652
|
|
2653
|
colonne=document.createElement('div');
|
2654
|
colonne.className='colonne';
|
2655
|
row=document.createElement('div');
|
2656
|
row.className='row';
|
2657
|
|
2658
|
nom_id = 'f_rel_'+suffixe;
|
2659
|
f_rel0 = document.createElement('input');
|
2660
|
f_rel0.setAttribute('name',nom_id);
|
2661
|
f_rel0.setAttribute('id',nom_id);
|
2662
|
f_rel0.setAttribute('type','text');
|
2663
|
f_rel0.className='saisie-80emr';
|
2664
|
f_rel0.setAttribute('value','');
|
2665
|
f_rel0.setAttribute('completion','notice');
|
2666
|
f_rel0.setAttribute('autfield','f_rel_id_'+suffixe);
|
2667
|
|
2668
|
sel_f_rel0 = document.createElement('input');
|
2669
|
sel_f_rel0.setAttribute('id','sel_f_rel_'+suffixe);
|
2670
|
sel_f_rel0.setAttribute('type','button');
|
2671
|
sel_f_rel0.className='bouton';
|
2672
|
sel_f_rel0.setAttribute('readonly','');
|
2673
|
sel_f_rel0.setAttribute('value','$msg[parcourir]');
|
2674
|
sel_f_rel0.onclick=fonction_selecteur_rel;
|
2675
|
|
2676
|
del_f_rel0 = document.createElement('input');
|
2677
|
del_f_rel0.setAttribute('id','del_f_rel_'+suffixe);
|
2678
|
del_f_rel0.onclick=fonction_raz_rel;
|
2679
|
del_f_rel0.setAttribute('type','button');
|
2680
|
del_f_rel0.className='bouton';
|
2681
|
del_f_rel0.setAttribute('readonly','');
|
2682
|
del_f_rel0.setAttribute('value','$msg[raz]');
|
2683
|
|
2684
|
f_rel0_id = document.createElement('input');
|
2685
|
f_rel0_id.name='f_rel_id_'+suffixe;
|
2686
|
f_rel0_id.setAttribute('type','hidden');
|
2687
|
f_rel0_id.setAttribute('id','f_rel_id_'+suffixe);
|
2688
|
f_rel0_id.setAttribute('value','');
|
2689
|
|
2690
|
f_rel0_rank = document.createElement('input');
|
2691
|
f_rel0_rank.name='f_rel_rank_'+suffixe;
|
2692
|
f_rel0_rank.setAttribute('type','hidden');
|
2693
|
f_rel0_rank.setAttribute('id','f_rel_rank_'+suffixe);
|
2694
|
f_rel0_rank.setAttribute('value','0');
|
2695
|
|
2696
|
row.appendChild(f_rel0);
|
2697
|
space=document.createTextNode(' ');
|
2698
|
row.appendChild(space);
|
2699
|
row.appendChild(sel_f_rel0);
|
2700
|
space=document.createTextNode(' ');
|
2701
|
row.appendChild(space);
|
2702
|
row.appendChild(del_f_rel0);
|
2703
|
row.appendChild(f_rel0_id);
|
2704
|
row.appendChild(f_rel0_rank);
|
2705
|
|
2706
|
colonne.appendChild(row);
|
2707
|
colonne_sel.appendChild(row_sel);
|
2708
|
|
2709
|
reldiv.appendChild(colonne_sel);
|
2710
|
reldiv.appendChild(colonne);
|
2711
|
|
2712
|
rel.appendChild(reldiv);
|
2713
|
|
2714
|
document.notice.max_rel.value=(suffixe*1)+(1*1);
|
2715
|
ajax_pack_element(f_rel0);
|
2716
|
}
|
2717
|
</script>
|
2718
|
<!-- onglet 13 -->
|
2719
|
<div id='el11Parent' class='parent'>
|
2720
|
<h3>
|
2721
|
<img src='./images/plus.gif' class='img_plus' name='imEx' id='el11Img' onClick=\"expandBase('el11', true); return false;\" title='".$msg["notice_relations"]."' border='0' /> ".$msg["notice_relations"]."
|
2722
|
</h3>
|
2723
|
</div>
|
2724
|
|
2725
|
<div id='el11Child' class='child' etirable='yes' title='".htmlentities($msg["notice_relations"],ENT_QUOTES, $charset)."'>
|
2726
|
<input type='hidden' name='max_rel' value=\"!!max_rel!!\" />
|
2727
|
<div id='el11Child_0' title='".htmlentities($msg[notice_relations],ENT_QUOTES, $charset)."' movable='yes'>
|
2728
|
!!notice_relations!!
|
2729
|
</div>
|
2730
|
</div>
|
2731
|
";
|
2732
|
|
2733
|
|
2734
|
|
2735
|
|
2736
|
global $pmb_catalog_verif_js;
|
2737
|
$analysis_top_form = jscript_unload_question();
|
2738
|
$analysis_top_form.= "
|
2739
|
<!-- script de gestion des onglets -->
|
2740
|
<script type='text/javascript' src='./javascript/tabform.js'></script>
|
2741
|
".($pmb_catalog_verif_js!= "" ? "<script type='text/javascript' src='./javascript/$pmb_catalog_verif_js'></script>":"")."
|
2742
|
<script type='text/javascript'>
|
2743
|
<!--
|
2744
|
function test_notice(form)
|
2745
|
{
|
2746
|
if(form.f_tit1.value.length == 0)
|
2747
|
{
|
2748
|
alert(\"$msg[277]\");
|
2749
|
return false;
|
2750
|
}
|
2751
|
|
2752
|
if(document.forms['notice'].elements['perio_type_use_existing']){
|
2753
|
var perio_type = document.forms['notice'].elements['perio_type_use_existing'].checked;
|
2754
|
var bull_type = document.forms['notice'].elements['bull_type_use_existing'].checked;
|
2755
|
var perio_type_new = document.forms['notice'].elements['perio_type_new'].checked;
|
2756
|
var bull_type_new = document.forms['notice'].elements['bull_type_new'].checked;
|
2757
|
|
2758
|
if(!perio_type && bull_type) {
|
2759
|
alert(\"".$msg['z3950_bull_already_linked']."\")
|
2760
|
return false;
|
2761
|
}
|
2762
|
if(perio_type_new && (document.getElementById('f_perio_new').value == '')){
|
2763
|
alert(\"".$msg['z3950_serial_title_mandatory']."\")
|
2764
|
return false;
|
2765
|
}
|
2766
|
|
2767
|
if(bull_type_new && (document.getElementById('f_bull_new_titre').value == '') && (document.getElementById('f_bull_new_mention').value == '')
|
2768
|
&& (document.getElementById('f_bull_new_date').value == '') && (document.getElementById('f_bull_new_num').value == '')){
|
2769
|
alert(\"".$msg['z3950_fill_bull']."\")
|
2770
|
return false;
|
2771
|
}
|
2772
|
|
2773
|
if(perio_type && bull_type && (document.getElementById('bul_id').value) == '0'){
|
2774
|
alert(\"".$msg['z3950_no_bull_selected']."\")
|
2775
|
return false;
|
2776
|
}
|
2777
|
}";
|
2778
|
if($pmb_catalog_verif_js!= ""){
|
2779
|
$analysis_top_form.= "
|
2780
|
var check = check_perso_analysis_form()
|
2781
|
if(check == false) return false;";
|
2782
|
}
|
2783
|
$analysis_top_form.= "
|
2784
|
return check_form();
|
2785
|
}
|
2786
|
-->
|
2787
|
</script>
|
2788
|
<script src='javascript/ajax.js'></script>
|
2789
|
<script src='javascript/move.js'></script>
|
2790
|
<script type='text/javascript'>
|
2791
|
var msg_move_to_absolute_pos='".addslashes($msg['move_to_absolute_pos'])."';
|
2792
|
var msg_move_to_relative_pos='".addslashes($msg['move_to_relative_pos'])."';
|
2793
|
var msg_move_saved_ok='".addslashes($msg['move_saved_ok'])."';
|
2794
|
var msg_move_saved_error='".addslashes($msg['move_saved_error'])."';
|
2795
|
var msg_move_up_tab='".addslashes($msg['move_up_tab'])."';
|
2796
|
var msg_move_down_tab='".addslashes($msg['move_down_tab'])."';
|
2797
|
var msg_move_position_tab='".addslashes($msg['move_position_tab'])."';
|
2798
|
var msg_move_position_absolute_tab='".addslashes($msg['move_position_absolute_tab'])."';
|
2799
|
var msg_move_position_relative_tab='".addslashes($msg['move_position_relative_tab'])."';
|
2800
|
var msg_move_invisible_tab='".addslashes($msg['move_invisible_tab'])."';
|
2801
|
var msg_move_visible_tab='".addslashes($msg['move_visible_tab'])."';
|
2802
|
var msg_move_inside_tab='".addslashes($msg['move_inside_tab'])."';
|
2803
|
var msg_move_save='".addslashes($msg['move_save'])."';
|
2804
|
var msg_move_first_plan='".addslashes($msg['move_first_plan'])."';
|
2805
|
var msg_move_last_plan='".addslashes($msg['move_last_plan'])."';
|
2806
|
var msg_move_first='".addslashes($msg['move_first'])."';
|
2807
|
var msg_move_last='".addslashes($msg['move_last'])."';
|
2808
|
var msg_move_infront='".addslashes($msg['move_infront'])."';
|
2809
|
var msg_move_behind='".addslashes($msg['move_behind'])."';
|
2810
|
var msg_move_up='".addslashes($msg['move_up'])."';
|
2811
|
var msg_move_down='".addslashes($msg['move_down'])."';
|
2812
|
var msg_move_invisible='".addslashes($msg['move_invisible'])."';
|
2813
|
var msg_move_visible='".addslashes($msg['move_visible'])."';
|
2814
|
</script>
|
2815
|
<form class='form-$current_module' name='notice' id='notice' method='post' action='./catalog.php?categ=serials&sub=analysis&action=update'>
|
2816
|
<h3><div class='left'>!!form_title!!</div><div class='right'>";
|
2817
|
if ($PMBuserid==1 && $pmb_form_editables==1) $analysis_top_form.="<input type='button' class='bouton_small' value='Editer format' onClick=\"expandAll(); move_parse_dom(relative)\" id=\"bt_inedit\"/><input type='button' class='bouton_small' value='Relatif' onClick=\"expandAll(); move_parse_dom((!relative))\" style=\"display:none\" id=\"bt_swap_relative\"/>";
|
2818
|
if ($pmb_form_editables==1) $analysis_top_form.="<input type='button' class='bouton_small' value=\"Format d'origine\" onClick=\"get_default_pos(); expandAll(); ajax_parse_dom(); if (inedit) move_parse_dom(relative); else initIt();\"/>";
|
2819
|
$analysis_top_form.="</div></h3>
|
2820
|
<div class='form-contenu'>
|
2821
|
<div class='row'>
|
2822
|
!!doc_type!! !!location!!
|
2823
|
</div>
|
2824
|
<div class='row'>
|
2825
|
<a href=\"javascript:expandAll()\"><img src='./images/expand_all.gif' border='0' id=\"expandall\"></a>
|
2826
|
<a href=\"javascript:collapseAll()\"><img src='./images/collapse_all.gif' border='0' id=\"collapseall\"></a>";
|
2827
|
|
2828
|
$analysis_top_form .= "
|
2829
|
<input type=\"hidden\" name=\"b_level\" value=\"!!b_level!!\">
|
2830
|
<input type=\"hidden\" name=\"h_level\" value=\"!!h_level!!\">
|
2831
|
<input type=\"hidden\" name=\"serial_id\" id=\"serial_id\" value=\"!!id!!\">
|
2832
|
<input type=\"hidden\" name=\"bul_id\" id=\"bul_id\" value=\"!!bul_id!!\">
|
2833
|
<input type=\"hidden\" name=\"analysis_id\" value=\"!!analysis_id!!\">
|
2834
|
<input type=\"hidden\" name=\"id_form\" value=\"!!id_form!!\">
|
2835
|
</div>
|
2836
|
!!type_catal!!
|
2837
|
!!tab0!!
|
2838
|
<hr class='spacer' />
|
2839
|
!!tab1!!
|
2840
|
<hr class='spacer' />
|
2841
|
!!tab2!!
|
2842
|
<hr class='spacer' />
|
2843
|
!!tab3!!
|
2844
|
<hr class='spacer' />
|
2845
|
!!tab4!!
|
2846
|
<hr class='spacer' />
|
2847
|
!!tab5!!
|
2848
|
<hr class='spacer' />
|
2849
|
!!tab6!!
|
2850
|
<hr class='spacer' />
|
2851
|
!!tab7!!
|
2852
|
<hr class='spacer' />
|
2853
|
!!tab13!!
|
2854
|
<hr class='spacer' />
|
2855
|
!!tab8!!
|
2856
|
<hr class='spacer' />
|
2857
|
</div>
|
2858
|
<div class='row'>
|
2859
|
<div class='left'>
|
2860
|
<input type='button' class='bouton' value='$msg[76]' onClick=\"unload_off();history.go(-1);\" />
|
2861
|
<input type='button' class='bouton' value='$msg[77]' id='btsubmit' onClick=\"if (test_notice(this.form)) {unload_off();this.form.submit();}\" />
|
2862
|
!!link_duplicate!!
|
2863
|
!!link_audit!!
|
2864
|
</div>
|
2865
|
<div class='right'>!!link_supp!!</div>
|
2866
|
</div>
|
2867
|
<div class='row'></div>
|
2868
|
</form>
|
2869
|
<script type='text/javascript'>".($pmb_form_editables?"get_pos(); ":"")."
|
2870
|
ajax_parse_dom();
|
2871
|
document.forms['notice'].elements['f_tit1'].focus();
|
2872
|
</script>
|
2873
|
";
|
2874
|
|
2875
|
function notice_bul_form() {
|
2876
|
}
|
2877
|
$notice_bulletin_form = jscript_unload_question();
|
2878
|
$notice_bulletin_form.="<div class='row'>
|
2879
|
<a href=\"javascript:expandAll()\"><img src='./images/expand_all.gif' border='0' id=\"expandall\"></a>
|
2880
|
<a href=\"javascript:collapseAll()\"><img src='./images/collapse_all.gif' border='0' id=\"collapseall\"></a>
|
2881
|
!!doc_type!! !!location!!
|
2882
|
<input type=\"hidden\" name=\"b_level\" value=\"!!b_level!!\">
|
2883
|
<input type=\"hidden\" name=\"h_level\" value=\"!!h_level!!\">
|
2884
|
<input type=\"hidden\" name=\"serial_id\" value=\"!!id!!\">
|
2885
|
<input type=\"hidden\" name=\"bul_id\" value=\"!!bul_id!!\">
|
2886
|
<input type=\"hidden\" name=\"analysis_id\" value=\"!!analysis_id!!\">
|
2887
|
<input type=\"hidden\" name=\"id_form\" value=\"!!id_form!!\">
|
2888
|
</div>
|
2889
|
!!serial_bul_form!!
|
2890
|
!!tab0!!
|
2891
|
<hr class='spacer' />
|
2892
|
!!tab1!!
|
2893
|
<hr class='spacer' />
|
2894
|
!!tab2!!
|
2895
|
<hr class='spacer' />
|
2896
|
!!tab3!!
|
2897
|
<hr class='spacer' />
|
2898
|
!!tab4!!
|
2899
|
<hr class='spacer' />
|
2900
|
!!tab5!!
|
2901
|
<hr class='spacer' />
|
2902
|
!!tab6!!
|
2903
|
<hr class='spacer' />
|
2904
|
!!tab7!!
|
2905
|
<hr class='spacer' />
|
2906
|
!!tab8!!
|
2907
|
<hr class='spacer' />
|
2908
|
</div>
|
2909
|
";
|
2910
|
|
2911
|
|
2912
|
|
2913
|
$liste_script ="
|
2914
|
<script type=\"text/javascript\" src=\"./javascript/tablist.js\"></script>
|
2915
|
";
|
2916
|
|
2917
|
|
2918
|
$liste_debut ="
|
2919
|
<a href=\"javascript:expandAll()\"><img src='./images/expand_all.gif' border='0' id=\"expandall\"></a>
|
2920
|
<a href=\"javascript:collapseAll()\"><img src='./images/collapse_all.gif' border='0' id=\"collapseall\"></a>
|
2921
|
";
|
2922
|
|
2923
|
$liste_fin = "";
|
2924
|
|
2925
|
|
2926
|
|
2927
|
|
2928
|
if($pmb_numero_exemplaire_auto==1 || $pmb_numero_exemplaire_auto==3) $num_exemplaire_test="var r=false;try { r=form.option_num_auto.checked;} catch(e) {};if(r==false) ";
|
2929
|
if ($pmb_rfid_activate==1 ) {
|
2930
|
$num_exemplaire_rfid_test="if(0)";
|
2931
|
}
|
2932
|
$bul_cb_form = "
|
2933
|
<script type='text/javascript'>
|
2934
|
<!--
|
2935
|
function test_form(form) {
|
2936
|
$num_exemplaire_rfid_test
|
2937
|
$num_exemplaire_test
|
2938
|
if(form.noex.value.replace(/^\s+|\s+$/g, '').length == 0) {
|
2939
|
alert(\"$msg[292]\");
|
2940
|
document.forms['addex'].elements['noex'].focus();
|
2941
|
return false;
|
2942
|
}
|
2943
|
return true;
|
2944
|
}
|
2945
|
-->
|
2946
|
</script>
|
2947
|
<form class='form-$current_module' name='addex' method='post' action='./catalog.php?categ=serials&sub=bulletinage&action=expl_form&bul_id=!!bul_id!!&expl_id=0'>
|
2948
|
<div class='row'>
|
2949
|
<h3>$msg[290]</h3>
|
2950
|
</div>
|
2951
|
<!-- Contenu du form -->
|
2952
|
<div class='form-contenu'>
|
2953
|
<div class='row'>
|
2954
|
!!etiquette!!
|
2955
|
</div>
|
2956
|
<div class='row'>
|
2957
|
!!saisie_num_expl!!
|
2958
|
</div>
|
2959
|
</div>
|
2960
|
<div class='row'>
|
2961
|
!!btn_ajouter!!
|
2962
|
<input type='button' class='bouton' value=' $msg[explnum_ajouter_doc] ' onClick=\"document.location='./catalog.php?categ=serials&sub=bulletinage&action=explnum_form&bul_id=!!bul_id!!&explnum_id=0'\">
|
2963
|
!!btn_print_ask!!
|
2964
|
</div>
|
2965
|
</form>
|
2966
|
<script type='text/javascript'>
|
2967
|
document.forms['addex'].elements['noex'].focus();
|
2968
|
</script>
|
2969
|
";
|
2970
|
|
2971
|
|
2972
|
|
2973
|
if ($pmb_rfid_activate==1 && $pmb_rfid_serveur_url ) {
|
2974
|
if($pmb_rfid_driver=="ident") $script_erase="init_rfid_erase(rfid_ack_erase);";
|
2975
|
else $script_erase="rfid_ack_erase(1);";
|
2976
|
|
2977
|
$rfid_script_catalog="
|
2978
|
$rfid_js_header
|
2979
|
<script type='text/javascript'>
|
2980
|
var flag_cb_rfid=0;
|
2981
|
flag_program_rfid_ask=0;
|
2982
|
setTimeout(\"init_rfid_read_cb(0,f_expl);\",0);;
|
2983
|
nb_part_readed=0;
|
2984
|
|
2985
|
function f_expl(cb) {
|
2986
|
nb_part_readed=cb.length;
|
2987
|
if(flag_program_rfid_ask==1) {
|
2988
|
program_rfid();
|
2989
|
flag_cb_rfid=0;
|
2990
|
return;
|
2991
|
}
|
2992
|
if(cb.length==0) {
|
2993
|
flag_cb_rfid=1;
|
2994
|
return;
|
2995
|
}
|
2996
|
if(!cb[0]) {
|
2997
|
flag_cb_rfid=0;
|
2998
|
return;
|
2999
|
}
|
3000
|
if(document.getElementById('f_ex_cb').value == cb[0]) flag_cb_rfid=1;
|
3001
|
else flag_cb_rfid=0;
|
3002
|
if(document.getElementById('f_ex_cb').value == '') {
|
3003
|
flag_cb_rfid=0;
|
3004
|
document.getElementById('f_ex_cb').value=cb[0];
|
3005
|
}
|
3006
|
}
|
3007
|
|
3008
|
function script_rfid_encode() {
|
3009
|
if(!flag_cb_rfid && flag_rfid_active) {
|
3010
|
var confirmed = confirm(\"".addslashes($msg['rfid_programmation_confirmation'])."\");
|
3011
|
if (confirmed) {
|
3012
|
return false;
|
3013
|
}
|
3014
|
}
|
3015
|
}
|
3016
|
|
3017
|
function program_rfid_ask() {
|
3018
|
if (flag_semaphore_rfid_read==1) {
|
3019
|
flag_program_rfid_ask=1;
|
3020
|
} else {
|
3021
|
program_rfid();
|
3022
|
}
|
3023
|
}
|
3024
|
|
3025
|
function program_rfid() {
|
3026
|
flag_semaphore_rfid=1;
|
3027
|
flag_program_rfid_ask=0;
|
3028
|
var nbparts = document.getElementById('f_ex_nbparts').value;
|
3029
|
if(nb_part_readed!= nbparts) {
|
3030
|
flag_semaphore_rfid=0;
|
3031
|
alert(\"".addslashes($msg['rfid_programmation_nbpart_error'])."\");
|
3032
|
return;
|
3033
|
}
|
3034
|
$script_erase
|
3035
|
}
|
3036
|
|
3037
|
function rfid_ack_erase(ack) {
|
3038
|
var cb = document.getElementById('f_ex_cb').value;
|
3039
|
var nbparts = document.getElementById('f_ex_nbparts').value;
|
3040
|
if(!nbparts)nbparts=1;
|
3041
|
init_rfid_write_etiquette(cb,nbparts,rfid_ack_write);
|
3042
|
|
3043
|
}
|
3044
|
|
3045
|
function rfid_ack_write(ack) {
|
3046
|
init_rfid_antivol_all(1,rfid_ack_antivol_actif);
|
3047
|
}
|
3048
|
|
3049
|
function rfid_ack_antivol_actif(ack) {
|
3050
|
alert (\"".addslashes($msg['rfid_etiquette_programmee_message'])."\");
|
3051
|
flag_semaphore_rfid=0;
|
3052
|
}
|
3053
|
|
3054
|
</script>
|
3055
|
";
|
3056
|
$rfid_program_button="<input type=button class='bouton' value=' ". $msg['rfid_configure_etiquette_button']." ' onClick=\"program_rfid_ask();\">";
|
3057
|
}else {
|
3058
|
$rfid_script_catalog="";
|
3059
|
$rfid_program_button="";
|
3060
|
}
|
3061
|
|
3062
|
$bul_expl_form = jscript_unload_question();
|
3063
|
$bul_expl_form.="
|
3064
|
$rfid_script_catalog
|
3065
|
<script type='text/javascript'>
|
3066
|
<!--
|
3067
|
function test_form(form) {
|
3068
|
!!questionrfid!!
|
3069
|
if((form.f_ex_cb.value.replace(/^\s+|\s+$/g, '').length == 0) || (form.expl_cote.value.replace(/^\s+|\s+$/g, '').length == 0)) {
|
3070
|
alert(\"$msg[304]\");
|
3071
|
return false;
|
3072
|
}
|
3073
|
unload_off();
|
3074
|
return check_form();
|
3075
|
}
|
3076
|
function calcule_section(selectBox) {
|
3077
|
for (i=0; i<selectBox.options.length; i++) {
|
3078
|
id=selectBox.options[i].value;
|
3079
|
list=document.getElementById(\"docloc_section\"+id);
|
3080
|
list.style.display=\"none\";
|
3081
|
}
|
3082
|
|
3083
|
id=selectBox.options[selectBox.selectedIndex].value;
|
3084
|
list=document.getElementById(\"docloc_section\"+id);
|
3085
|
list.style.display=\"block\";
|
3086
|
}
|
3087
|
-->
|
3088
|
</script>
|
3089
|
<form class='form-$current_module' name='expl' id='expl-form' method='post' action='!!action!!'>
|
3090
|
<h3>$msg[300]</h3>
|
3091
|
<div class='form-contenu'>
|
3092
|
<div class='row'>
|
3093
|
<div class='colonne3'>
|
3094
|
<!-- code barre -->
|
3095
|
<label class='etiquette' for='f_ex_cb'>$msg[291]</label>
|
3096
|
<div class='row'>
|
3097
|
<input type='text' class='saisie-20emr' id=\"f_ex_cb\" value='!!cb!!' name='f_ex_cb' readonly>
|
3098
|
<input type=button class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./catalog/expl/setcb.php', 'ex_getcb', 220, 100, -2, -2, 'toolbar=no')\">".(file_exists("print_cb.php")?"<input type='button' value='".htmlentities($msg["print_print"],ENT_QUOTES,$charset)."' onClick='h=new http_request(); h.request(\"print_cb.php?cb=\"+document.getElementById(\"f_ex_cb\").value, false,\"\", false, function(){},function(){},\"impr_cb\")' class='bouton'/>":"")."
|
3099
|
</div>
|
3100
|
</div>
|
3101
|
</div>
|
3102
|
<div class='row'>
|
3103
|
<div class='colonne3'>
|
3104
|
<!-- cote -->
|
3105
|
<label class='etiquette' for='f_ex_cote'>$msg[296]</label>
|
3106
|
<div class='row'>
|
3107
|
<input type='text' class='text' id=\"f_ex_cote\" name='expl_cote' value='!!cote!!' />
|
3108
|
</div>
|
3109
|
</div>
|
3110
|
<div class='colonne3'>
|
3111
|
<!-- type document -->
|
3112
|
<label class='etiquette' for='f_ex_typdoc'>$msg[294]</label>
|
3113
|
<div class='row'>
|
3114
|
!!type_doc!!
|
3115
|
</div>
|
3116
|
</div>
|
3117
|
<div class='colonne3'>
|
3118
|
<!-- Nombre de parties -->
|
3119
|
<label class='etiquette' for='f_ex_nbparts'>".$msg["expl_nbparts"]."</label>
|
3120
|
<div class='row'>
|
3121
|
<input type='text' class='saisie-5em' id=\"f_ex_nbparts\" value='!!nbparts!!' name='f_ex_nbparts' >
|
3122
|
</div>
|
3123
|
</div>
|
3124
|
</div>
|
3125
|
<div class='row'>
|
3126
|
<div class='colonne3'>
|
3127
|
<!-- localisation -->
|
3128
|
<label class='etiquette' for='f_ex_location'>$msg[298]</label>
|
3129
|
<div class='row'>
|
3130
|
!!localisation!!
|
3131
|
</div>
|
3132
|
</div>
|
3133
|
|
3134
|
<div class='colonne3'>
|
3135
|
<!-- section -->
|
3136
|
<label class='etiquette' for='f_ex_section'>$msg[295]</label>
|
3137
|
<div class='row'>
|
3138
|
!!section!!
|
3139
|
</div>
|
3140
|
</div>
|
3141
|
|
3142
|
<div class='colonne3'>
|
3143
|
<!-- propriétaire -->
|
3144
|
<label class='etiquette' for='f_ex_owner'>$msg[651]</label>
|
3145
|
<div class='row'>
|
3146
|
!!owner!!
|
3147
|
</div>
|
3148
|
</div>
|
3149
|
</div>
|
3150
|
<div class='row'>
|
3151
|
<div class='colonne3'>
|
3152
|
<!-- statut -->
|
3153
|
<label class='etiquette' for='f_ex_statut'>$msg[297]</label>
|
3154
|
<div class='row'>
|
3155
|
!!statut!!
|
3156
|
</div>
|
3157
|
</div>
|
3158
|
<div class='colonne3'>
|
3159
|
<!-- code stat -->
|
3160
|
<label class='etiquette' for='f_ex_cstat'>$msg[299]</label>
|
3161
|
<div class='row'>
|
3162
|
!!codestat!!
|
3163
|
</div>
|
3164
|
</div>
|
3165
|
!!type_antivol!!
|
3166
|
</div>
|
3167
|
|
3168
|
<!-- notes -->
|
3169
|
<div class='row'>
|
3170
|
<div class='colonne1'>
|
3171
|
<label class='etiquette' for='f_ex_note'>$msg[264]</label>
|
3172
|
</div>
|
3173
|
</div>
|
3174
|
<div class='row'>
|
3175
|
<div class='colonne1'>
|
3176
|
<textarea name='expl_note' id='f_ex_note' class='saisie-80em'>!!note!!</textarea>
|
3177
|
</div>
|
3178
|
</div>
|
3179
|
<div class='row'>
|
3180
|
<div class='colonne1'>
|
3181
|
<label class='etiquette' for='f_ex_comment'>$msg[expl_zone_comment]</label>
|
3182
|
</div>
|
3183
|
</div>
|
3184
|
<div class='row'>
|
3185
|
<div class='colonne1'>
|
3186
|
<textarea name='f_ex_comment' id='f_ex_comment' class='saisie-80em'>!!comment!!</textarea>
|
3187
|
</div>
|
3188
|
</div>
|
3189
|
|
3190
|
<!-- prix et date -->
|
3191
|
<div class='row'>
|
3192
|
<div class='colonne3'><label class='etiquette' for='f_ex_prix'>$msg[4050]</label></div>
|
3193
|
<div class='colonne3'>
|
3194
|
<div class='colonne2'><!-- msg_exp_cre_date --></div>
|
3195
|
<div class='colonne2'><!-- msg_exp_upd_date --></div>
|
3196
|
</div>
|
3197
|
<div class='colonne3'>
|
3198
|
<div class='colonne2'><!-- msg_exp_filing_date --></div>
|
3199
|
<div class='colonne2'><!-- msg_exp_return_date --></div>
|
3200
|
</div>
|
3201
|
</div>
|
3202
|
<div class='row'>
|
3203
|
<div class='colonne3'><input type='text' class='text' name='expl_prix' id='f_ex_prix' value=\"!!prix!!\" /></div>
|
3204
|
<div class='colonne3'>
|
3205
|
<div class='colonne2'><!-- exp_cre_date --></div>
|
3206
|
<div class='colonne2'><!-- exp_upd_date --></div>
|
3207
|
</div>
|
3208
|
<div class='colonne3'>
|
3209
|
<div class='colonne2'><!-- exp_filing_date --></div>
|
3210
|
<div class='colonne2'><!-- exp_return_date --></div>
|
3211
|
</div>
|
3212
|
</div>
|
3213
|
<div class='row'></div>
|
3214
|
!!champs_perso!!
|
3215
|
<div class='row'></div>
|
3216
|
</div>
|
3217
|
<div class='row'>
|
3218
|
<br />
|
3219
|
<div class='left'>
|
3220
|
<input type='button' class='bouton' value=' $msg[76] ' onClick=\"unload_off();history.go(-1);\" />
|
3221
|
<input type='submit' class='bouton' value=' $msg[77] ' onClick=\"return test_form(this.form)\" />
|
3222
|
$rfid_program_button
|
3223
|
!!bt_dupliquer!!
|
3224
|
!!link_audit!!
|
3225
|
</div>
|
3226
|
<div class='right'>!!del!!</div>
|
3227
|
<!-- chams de gestion -->
|
3228
|
<input type=\"hidden\" name=\"expl_bulletin\" value=\"!!bul_id!!\">
|
3229
|
<input type=\"hidden\" name=\"id_form\" value=\"!!id_form!!\">
|
3230
|
<input type=\"hidden\" name=\"org_cb\" value=\"!!org_cb!!\">
|
3231
|
<input type=\"hidden\" name=\"expl_id\" value=\"!!expl_id!!\">
|
3232
|
</div>
|
3233
|
<div class='row'></div>
|
3234
|
</form>
|
3235
|
<script type=\"text/javascript\">
|
3236
|
<!--
|
3237
|
document.forms['expl'].elements['expl_cote'].focus();
|
3238
|
|
3239
|
function confirm_expl_delete() {
|
3240
|
phrase = \"{$msg[confirm_suppr_serial_expl]}\";
|
3241
|
result = confirm(phrase);
|
3242
|
if(result) {
|
3243
|
unload_off();
|
3244
|
document.location = './catalog.php?categ=serials&sub=bulletinage&action=expl_delete&bul_id=!!bul_id!!&expl_id=!!expl_id!!';
|
3245
|
}
|
3246
|
}
|
3247
|
-->
|
3248
|
</script>
|
3249
|
";
|
3250
|
|
3251
|
$serial_edit_access ="
|
3252
|
<script type='text/javascript'>
|
3253
|
<!--
|
3254
|
function test_form(form)
|
3255
|
{
|
3256
|
if(form.user_query.value.replace(/^\s+|\s+$/g, '').length == 0)
|
3257
|
{
|
3258
|
alert(\"$msg[141]\");
|
3259
|
form.user_query.focus();
|
3260
|
return false;
|
3261
|
}
|
3262
|
return true;
|
3263
|
}
|
3264
|
-->
|
3265
|
</script>
|
3266
|
<form class='form-$current_module' name='serial_search' method='post' action='./edit.php?categ=serials&sub=!!etat!!'>
|
3267
|
<div class='form-contenu'>
|
3268
|
<div class='row'>
|
3269
|
<label class='etiquette' for='form_cb'>!!message!!</label>
|
3270
|
</div>
|
3271
|
<div class='row'>
|
3272
|
<input class='saisie-80em' id='user_query' type='text' name='user_query' value='!!user_query!!' />
|
3273
|
</div>
|
3274
|
</div>
|
3275
|
<div class='row'>
|
3276
|
<input class='bouton' type='submit' value='$msg[89]' onClick='return test_form(this.form)' />
|
3277
|
</div>
|
3278
|
</form>
|
3279
|
<script type=\"text/javascript\">
|
3280
|
document.forms['serial_search'].elements['user_query'].focus();
|
3281
|
</script>
|
3282
|
";
|
3283
|
$serial_edit_access = str_replace('!!user_query!!', htmlentities(stripslashes($user_query ),ENT_QUOTES, $charset), $serial_edit_access);
|
3284
|
|
3285
|
$serial_list_tmpl = "
|
3286
|
<h1>$msg[1152] \"<strong>!!cle!!</strong>\"</h1>
|
3287
|
<table border='0' width='100%'>
|
3288
|
!!list!!
|
3289
|
</table>
|
3290
|
<div class='row'>
|
3291
|
!!nav_bar!!
|
3292
|
</div>
|
3293
|
";
|
3294
|
|
3295
|
|
3296
|
$perio_replace = "
|
3297
|
<form class='form-$current_module' name='perio_replace' method='post' action='./catalog.php?categ=serials&sub=serial_replace&serial_id=!!serial_id!!'>
|
3298
|
<h3>$msg[159] !!old_perio_libelle!! </h3>
|
3299
|
<div class='form-contenu'>
|
3300
|
<div class='row'>
|
3301
|
<label class='etiquette' for='par'>$msg[160]</label>
|
3302
|
</div>
|
3303
|
<div class='row'>
|
3304
|
<input type='text' class='saisie-50emr' value='' name='perio_libelle' readonly>
|
3305
|
<input class='bouton' type='button' onclick=\"openPopUp('./select.php?what=perio&caller=perio_replace¶m1=by¶m2=perio_libelle&no_display=!!serial_id!!', 'select_perio', 600, 400, -2, -2, '$selector_prop')\" title='$msg[157]' value='$msg[parcourir]' />
|
3306
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.perio_libelle.value=''; this.form.by.value='0'; \" />
|
3307
|
<input type='hidden' name='by' value=''>
|
3308
|
</div>
|
3309
|
</div>
|
3310
|
<div class='row'>
|
3311
|
<input type='button' class='bouton' value='$msg[76]' onClick=\"history.go(-1);\">
|
3312
|
<input type='submit' class='bouton' value='$msg[159]'>
|
3313
|
</div>
|
3314
|
</form>
|
3315
|
";
|
3316
|
|
3317
|
$bulletin_replace = "
|
3318
|
<form class='form-$current_module' name='bulletin_replace' method='post' action='./catalog.php?categ=serials&sub=bulletin_replace&serial_id=!!serial_id!!&bul_id=!!bul_id!!'>
|
3319
|
<h3>$msg[159] !!old_bulletin_libelle!! </h3>
|
3320
|
<div class='form-contenu'>
|
3321
|
<div class='row'>
|
3322
|
<label class='etiquette' for='par'>$msg[160]</label>
|
3323
|
</div>
|
3324
|
<div class='row'>
|
3325
|
<input type='text' class='saisie-50emr' value='' name='bulletin_libelle' readonly>
|
3326
|
<input class='bouton' type='button' onclick=\"openPopUp('./select.php?what=bulletin&caller=bulletin_replace¶m1=by¶m2=bulletin_libelle&no_display=!!bul_id!!', 'select_bulletin', 600, 500, -2, -2, 'toolbar=no, dependent=yes, resizable=yes, scrollbars=yes')\" title='$msg[157]' value='$msg[parcourir]' />
|
3327
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.bulletin_libelle.value=''; this.form.by.value='0'; \" />
|
3328
|
<input type='hidden' name='by' value=''>
|
3329
|
</div>
|
3330
|
<div class='row'>
|
3331
|
!!del_depouillement!!
|
3332
|
</div>
|
3333
|
</div>
|
3334
|
|
3335
|
<div class='row'>
|
3336
|
<input type='button' class='bouton' value='$msg[76]' onClick=\"history.go(-1);\">
|
3337
|
<input type='submit' class='bouton' value='$msg[159]'>
|
3338
|
</div>
|
3339
|
</form>
|
3340
|
";
|
3341
|
|
3342
|
|
3343
|
|
3344
|
if ($pmb_rfid_activate==1 && $pmb_rfid_serveur_url ) {
|
3345
|
if($pmb_rfid_driver=="ident") $script_erase="init_rfid_erase(rfid_ack_erase);";
|
3346
|
else $script_erase="rfid_ack_erase(1);";
|
3347
|
$rfid_script_bulletine="
|
3348
|
$rfid_js_header
|
3349
|
<script type='text/javascript'>
|
3350
|
var flag_cb_rfid=0;
|
3351
|
flag_program_rfid_ask=0;
|
3352
|
setTimeout(\"init_rfid_read_cb(0,f_expl);\",0);;
|
3353
|
|
3354
|
function f_expl(cb) {
|
3355
|
if(flag_program_rfid_ask==1) {
|
3356
|
program_rfid();
|
3357
|
flag_cb_rfid=0;
|
3358
|
return;
|
3359
|
}
|
3360
|
if(cb.length==0) {
|
3361
|
flag_cb_rfid=1;
|
3362
|
return;
|
3363
|
}
|
3364
|
if(!cb[0]) {
|
3365
|
flag_cb_rfid=0;
|
3366
|
return;
|
3367
|
}
|
3368
|
if(document.getElementById('f_ex_cb').value == cb[0]) flag_cb_rfid=1;
|
3369
|
else flag_cb_rfid=0;
|
3370
|
if(document.getElementById('f_ex_cb').value == '') {
|
3371
|
flag_cb_rfid=0;
|
3372
|
document.getElementById('f_ex_cb').value=cb[0];
|
3373
|
}
|
3374
|
}
|
3375
|
|
3376
|
function script_rfid_encode() {
|
3377
|
if(!flag_cb_rfid && flag_rfid_active) {
|
3378
|
var confirmed = confirm(\"".addslashes($msg['rfid_programmation_confirmation'])."\");
|
3379
|
if (confirmed) {
|
3380
|
return false;
|
3381
|
}
|
3382
|
}
|
3383
|
}
|
3384
|
|
3385
|
function program_rfid_ask() {
|
3386
|
if (flag_semaphore_rfid_read==1) {
|
3387
|
flag_program_rfid_ask=1;
|
3388
|
} else {
|
3389
|
program_rfid();
|
3390
|
}
|
3391
|
}
|
3392
|
|
3393
|
function program_rfid() {
|
3394
|
flag_semaphore_rfid=1;
|
3395
|
flag_program_rfid_ask=0;
|
3396
|
var cb = document.getElementById('f_ex_cb').value;
|
3397
|
$script_erase
|
3398
|
}
|
3399
|
|
3400
|
function rfid_ack_erase(ack) {
|
3401
|
var cb = document.getElementById('f_ex_cb').value;
|
3402
|
init_rfid_write_etiquette(cb,1,rfid_ack_write);
|
3403
|
|
3404
|
}
|
3405
|
|
3406
|
function rfid_ack_write(ack) {
|
3407
|
alert (\"".addslashes($msg['rfid_etiquette_programmee_message'])."\");
|
3408
|
flag_semaphore_rfid=0;
|
3409
|
}
|
3410
|
|
3411
|
</script>
|
3412
|
";
|
3413
|
|
3414
|
$rfid_program_button="<input type=button class='bouton_small' value=' ". $msg['rfid_configure_etiquette_button']." ' onClick=\"program_rfid_ask();\">";
|
3415
|
}else {
|
3416
|
$rfid_script_bulletine="";
|
3417
|
$rfid_program_button="";
|
3418
|
}
|
3419
|
|
3420
|
|
3421
|
$expl_bulletinage_tpl="
|
3422
|
$rfid_script_bulletine
|
3423
|
<script type='text/javascript'>
|
3424
|
<!--
|
3425
|
|
3426
|
function test_form(form)
|
3427
|
{
|
3428
|
!!questionrfid!!
|
3429
|
if((form.f_ex_cb.value.replace(/^\s+|\s+$/g, '').length == 0) || (form.expl_cote.value.replace(/^\s+|\s+$/g, '').length == 0))
|
3430
|
{
|
3431
|
alert(\"$msg[304]\");
|
3432
|
return false;
|
3433
|
}
|
3434
|
|
3435
|
|
3436
|
|
3437
|
return check_form();
|
3438
|
}
|
3439
|
function calcule_section(selectBox) {
|
3440
|
for (i=0; i<selectBox.options.length; i++) {
|
3441
|
id=selectBox.options[i].value;
|
3442
|
list=document.getElementById(\"docloc_section\"+id);
|
3443
|
list.style.display=\"none\";
|
3444
|
}
|
3445
|
id=selectBox.options[selectBox.selectedIndex].value;
|
3446
|
list=document.getElementById(\"docloc_section\"+id);
|
3447
|
list.style.display=\"block\";
|
3448
|
}
|
3449
|
-->
|
3450
|
</script>
|
3451
|
|
3452
|
<h3>$msg[300]</h3>
|
3453
|
<div class='row'>
|
3454
|
<div class='colonne3'>
|
3455
|
<!-- code barre -->
|
3456
|
<label class='etiquette' for='f_ex_cb'>$msg[291]</label>
|
3457
|
<div class='row'>
|
3458
|
<input type='text' class='text' id=\"f_ex_cb\" value='!!cb!!' name='f_ex_cb' >
|
3459
|
</div>
|
3460
|
</div>
|
3461
|
<div class='colonne3'>
|
3462
|
<!-- cote -->
|
3463
|
<label class='etiquette' for='f_ex_cote'>$msg[296]</label>
|
3464
|
<div class='row'>
|
3465
|
<input type='text' class='text' id=\"f_ex_cote\" name='expl_cote' value='!!cote!!' />
|
3466
|
</div>
|
3467
|
</div>
|
3468
|
<div class='colonne3'>
|
3469
|
<!-- type document -->
|
3470
|
<label class='etiquette' for='f_ex_typdoc'>$msg[294]</label>
|
3471
|
<div class='row'>
|
3472
|
!!type_doc!!
|
3473
|
</div>
|
3474
|
</div>
|
3475
|
</div>
|
3476
|
<div class='row'>
|
3477
|
<div class='colonne3'>
|
3478
|
<!-- localisation -->
|
3479
|
<label class='etiquette' for='f_ex_location'>$msg[298]</label>
|
3480
|
<div class='row'>
|
3481
|
!!localisation!!
|
3482
|
</div>
|
3483
|
</div>
|
3484
|
<div class='colonne3'>
|
3485
|
<!-- section -->
|
3486
|
<label class='etiquette' for='f_ex_section'>$msg[295]</label>
|
3487
|
<div class='row'>
|
3488
|
!!section!!
|
3489
|
</div>
|
3490
|
</div>
|
3491
|
<div class='colonne3'>
|
3492
|
<!-- propriétaire -->
|
3493
|
<label class='etiquette' for='f_ex_owner'>$msg[651]</label>
|
3494
|
<div class='row'>
|
3495
|
!!owner!!
|
3496
|
</div>
|
3497
|
</div>
|
3498
|
</div>
|
3499
|
<div class='row'>
|
3500
|
<div class='colonne3'>
|
3501
|
<!-- statut -->
|
3502
|
<label class='etiquette' for='f_ex_statut'>$msg[297]</label>
|
3503
|
<div class='row'>
|
3504
|
!!statut!!
|
3505
|
</div>
|
3506
|
</div>
|
3507
|
<div class='colonne3'>
|
3508
|
<!-- code stat -->
|
3509
|
<label class='etiquette' for='f_ex_cstat'>$msg[299]</label>
|
3510
|
<div class='row'>
|
3511
|
!!codestat!!
|
3512
|
</div>
|
3513
|
</div>
|
3514
|
!!type_antivol!!
|
3515
|
</div>
|
3516
|
<!-- notes -->
|
3517
|
<div class='row'>
|
3518
|
<label class='etiquette' for='f_ex_note'>$msg[expl_message]</label>
|
3519
|
</div>
|
3520
|
<div class='row'>
|
3521
|
<textarea name='expl_note' id='f_ex_note' class='saisie-80em'>!!note!!</textarea>
|
3522
|
</div>
|
3523
|
<div class='row'>
|
3524
|
<label class='etiquette' for='f_ex_comment'>$msg[expl_zone_comment]</label>
|
3525
|
</div>
|
3526
|
<div class='row'>
|
3527
|
<textarea name='expl_comment' id='f_ex_comment' class='saisie-80em'>!!comment!!</textarea>
|
3528
|
</div>
|
3529
|
<!-- prix -->
|
3530
|
<div class='row' id='expl_prix'>
|
3531
|
<label class='etiquette' for='f_ex_prix'>$msg[4050]</label>
|
3532
|
</div>
|
3533
|
<div class='row' id='expl_prix'>
|
3534
|
<input type='text' class='text' name='expl_prix' id='f_ex_prix' value=\"!!prix!!\" />
|
3535
|
</div>
|
3536
|
!!champs_perso!!
|
3537
|
<div class='row'></div>
|
3538
|
<hr />
|
3539
|
";
|
3540
|
$bul_expl_form1 ="
|
3541
|
|
3542
|
<form class='form-$current_module' name='expl' id='expl-form' method='post' enctype='multipart/form-data' action='!!action!!'>
|
3543
|
<div class='form-contenu'>
|
3544
|
|
3545
|
!!expl_bulletinage_tpl!!
|
3546
|
|
3547
|
<h3>".htmlentities($msg['abt_numeric_bulletinage_form'],ENT_QUOTES, $charset)."</h3>
|
3548
|
<div class='row'>
|
3549
|
|
3550
|
<label class='etiquette' for='f_fichier'>".htmlentities($msg['abt_numeric_bulletinage_form_fichier'], ENT_QUOTES,$charset)."</label>
|
3551
|
<br /><input type='file' size='50' class='saisie-80em' name='f_fichier' id='f_fichier' />
|
3552
|
<br /><label class='etiquette' for='f_url'>".htmlentities($msg['abt_numeric_bulletinage_form_url'], ENT_QUOTES,$charset)."</label>
|
3553
|
<br /><input type='text' class='saisie-80em' name='f_url' id='f_url' />
|
3554
|
</div>
|
3555
|
<div class='row'></div>
|
3556
|
|
3557
|
<hr />
|
3558
|
<h3>$msg[abonnements_titre_donnees_bulletin]</h3>
|
3559
|
<div class='row'>
|
3560
|
<div class='colonne3'>
|
3561
|
<label class='etiquette' for='bul_no'>$msg[4025]</label>
|
3562
|
<div class='row'>
|
3563
|
<input type='text' id='bul_no' name='bul_no' value='!!bul_no!!' class='saisie-20em' />
|
3564
|
</div>
|
3565
|
</div>
|
3566
|
<div class='colonne3'>
|
3567
|
|
3568
|
<div class='row'>
|
3569
|
!!destinataire!!
|
3570
|
</div>
|
3571
|
</div>
|
3572
|
</div>
|
3573
|
<div class='row'>
|
3574
|
<div class='row'>
|
3575
|
<label class='etiquette' >$msg[4026]</label>
|
3576
|
</div>
|
3577
|
<div class='row'>
|
3578
|
!!date_date!!
|
3579
|
</div>
|
3580
|
</div>
|
3581
|
<div class='row'>
|
3582
|
<div class='row'>
|
3583
|
<label class='etiquette' >$msg[bulletin_mention_periode]</label>
|
3584
|
</div>
|
3585
|
<div class='row'>
|
3586
|
<input type='text' id='bul_date' name='bul_date' value='!!bul_date!!' class='saisie-50em' />
|
3587
|
</div>
|
3588
|
</div>
|
3589
|
<div class='row'>
|
3590
|
<div class='row'>
|
3591
|
<label class='etiquette' >$msg[bulletin_mention_titre]</label>
|
3592
|
</div>
|
3593
|
<div class='row'>
|
3594
|
<input type='text' id='bul_titre' name='bul_titre' value='!!bul_titre!!' class='saisie-50em' />
|
3595
|
</div>
|
3596
|
</div>
|
3597
|
</div>
|
3598
|
<div class='left'>
|
3599
|
<input type='submit' class='bouton_small' value=' $msg[77] ' name='bouton_enregistre' />
|
3600
|
$rfid_program_button
|
3601
|
</div>
|
3602
|
<!-- chams de gestion -->
|
3603
|
<input type=\"hidden\" name=\"expl_bulletin\" value=\"!!bul_id!!\">
|
3604
|
<input type=\"hidden\" name=\"id_form\" value=\"!!id_form!!\">
|
3605
|
<input type=\"hidden\" name=\"org_cb\" value=\"!!org_cb!!\">
|
3606
|
<input type=\"hidden\" name=\"expl_id\" value=\"!!expl_id!!\">
|
3607
|
|
3608
|
<input type=\"hidden\" name=\"serial_id\" value=\"!!serial_id!!\">
|
3609
|
<input type=\"hidden\" name=\"numero\" value=\"!!numero!!\">
|
3610
|
</form>
|
3611
|
!!focus!!
|
3612
|
";
|
3613
|
|
3614
|
$analysis_type_form = "
|
3615
|
<div class='row' id='zone_article'>
|
3616
|
<input type='hidden' name='id_sug' value='!!id_sug!!' />
|
3617
|
<div class='colonne3'>
|
3618
|
<h3>".$msg['acquisition_catal_perio']."</h3>
|
3619
|
<input type=\"radio\" id=\"perio_type_use_existing\" value=\"use_existing\" name=\"perio_type\" !!perio_type_use_existing!!><label for=\"perio_type_use_existing\">".$msg["acquisition_catal_perio_exist"]."</label>
|
3620
|
<blockquote>
|
3621
|
<div class='row'>
|
3622
|
<label for='f_perio_existing' class='etiquette'>".$msg[233]."</label>
|
3623
|
<div class='row' >
|
3624
|
<input type='text' completion='perio' autfield='serial_id' id='f_perio_existing' class='saisie-30emr' name='f_perio_existing' value=\"\" />
|
3625
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=perio&caller=notice¶m1=serial_id¶m2=f_perio_existing&deb_rech='+".pmb_escape()."(this.form.f_perio_existing.value), 'select_perio', 600, 600, -2, -2, '$select1_prop');this.form.f_bull_existing.value=''; this.form.bul_id.value='0'; \" />
|
3626
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_perio_existing.value=''; this.form.serial_id.value='0';this.form.f_bull_existing.value=''; this.form.bul_id.value='0'; \" />
|
3627
|
</div>
|
3628
|
</div>
|
3629
|
</blockquote>
|
3630
|
<input type=\"radio\" id=\"perio_type_new\" value=\"insert_new\" name=\"perio_type\" !!perio_type_new!!><label for=\"perio_type_new\">".$msg["acquisition_catal_perio_new"]."</label>
|
3631
|
<blockquote>
|
3632
|
<div class='row'>
|
3633
|
<label for='f_perio_new' class='etiquette'>".$msg[233]."</label>
|
3634
|
<div class='row' >
|
3635
|
<input type='text' id='f_perio_new' class='saisie-50em' name='f_perio_new' value=''/>
|
3636
|
</div>
|
3637
|
</div>
|
3638
|
<div class='row'>
|
3639
|
<label for='f_perio_new_issn' class='etiquette'>".$msg[z3950_issn]."</label>
|
3640
|
<div class='row' >
|
3641
|
<input type='text' id='f_perio_new_issn' class='saisie-50em' name='f_perio_new_issn' value=''/>
|
3642
|
</div>
|
3643
|
</div>
|
3644
|
</blockquote>
|
3645
|
</div>
|
3646
|
<div class='colonne3'>
|
3647
|
<h3>".$msg['acquisition_catal_bull']."</h3>
|
3648
|
<input type=\"radio\" id=\"bull_type_use_existing\" !!bull_type_use_existing!! value=\"use_existing\" name=\"bull_type\"><label for=\"bull_type_use_existing\">".$msg["acquisition_catal_bull_exist"]."</label>
|
3649
|
<blockquote>
|
3650
|
<div class='row'>
|
3651
|
<label for='f_bull_existing' class='etiquette'>".$msg['abonnements_titre_numerotation']."/".$msg[4026]."</label>
|
3652
|
<div class='row' >
|
3653
|
<input type='text' completion='bull' autfield='bul_id' id='f_bull_existing' class='saisie-30emr' name='f_bull_existing' linkfield='serial_id' value=\"\" ' />
|
3654
|
<input type='button' class='bouton' value='$msg[parcourir]' onclick=\"openPopUp('./select.php?what=bulletin&caller=notice¶m1=bul_id¶m2=f_bull_existing&no_display='+this.form.bul_id.value+'&deb_rech='+".pmb_escape()."(this.form.f_bull_existing.value)+'&idperio='+this.form.serial_id.value, 'select_bull', 600, 600, -2, -2, '$select1_prop')\" />
|
3655
|
<input type='button' class='bouton' value='$msg[raz]' onclick=\"this.form.f_bull_existing.value=''; this.form.bul_id.value='0'; \" />
|
3656
|
</div>
|
3657
|
</div>
|
3658
|
</blockquote>
|
3659
|
<input type=\"radio\" id=\"bull_type_new\" !!bull_type_new!! value=\"insert_new\" name=\"bull_type\"><label for=\"bull_type_new\">".$msg["acquisition_catal_bull_new"]."</label>
|
3660
|
<blockquote>
|
3661
|
<div class='row'>
|
3662
|
<div class='colonne2'>
|
3663
|
<div class='row' >
|
3664
|
<label for='f_bull_new_num' class='etiquette'>".$msg['abonnements_titre_numerotation']."</label>
|
3665
|
</div>
|
3666
|
<div class='row' >
|
3667
|
<input type='text' id='f_bull_new_num' class='saisie-20em' name='f_bull_new_num' value=''/>
|
3668
|
</div>
|
3669
|
</div>
|
3670
|
<div class='colonne2'>
|
3671
|
<div class='row' >
|
3672
|
<label for='f_bull_new_titre' class='etiquette'>".$msg[233]."</label>
|
3673
|
</div>
|
3674
|
<div class='row' >
|
3675
|
<input type='text' id='f_bull_new_titre' class='saisie-50em' name='f_bull_new_titre' value='' />
|
3676
|
</div>
|
3677
|
</div>
|
3678
|
</div>
|
3679
|
<div class='row'>
|
3680
|
<div class='colonne2'>
|
3681
|
<div class='row'>
|
3682
|
<label class='etiquette' >$msg[4026]</label>
|
3683
|
</div>
|
3684
|
<div class='row'>
|
3685
|
!!date_date!!
|
3686
|
</div>
|
3687
|
</div>
|
3688
|
<div class='colonne2'>
|
3689
|
<div class='row'>
|
3690
|
<label class='etiquette' >".$msg['bulletin_mention_periode']."</label>
|
3691
|
</div>
|
3692
|
<div class='row'>
|
3693
|
<input type='text' id='f_bull_new_mention' name='f_bull_new_mention' value='' class='saisie-50em' />
|
3694
|
</div>
|
3695
|
</div>
|
3696
|
</div>
|
3697
|
</blockquote>
|
3698
|
</div>
|
3699
|
</div>
|
3700
|
";
|