Lines 1-514
Link Here
|
1 |
[% USE KohaDates %] |
1 |
[% USE KohaDates %] |
2 |
[% USE Branches %] |
2 |
[% USE Branches %] |
3 |
|
3 |
[% SET footerjs = 1 %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
<title>Koha › Serials › [% IF ( modify ) %][% bibliotitle |html %] › Modify subscription[% ELSE %]New subscription[% END %]</title> |
5 |
<title>Koha › Serials › [% IF ( modify ) %][% bibliotitle |html %] › Modify subscription[% ELSE %]New subscription[% END %]</title> |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% INCLUDE 'calendar.inc' %] |
|
|
8 |
<style type="text/css"> |
7 |
<style type="text/css"> |
9 |
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */ |
8 |
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */ |
10 |
.yui-u li p label.widelabel { |
9 |
.yui-u li p label.widelabel { |
11 |
width: 300px; /* not enough for IE7 apparently */ |
10 |
width: 300px; /* not enough for IE7 apparently */ |
12 |
} |
11 |
} |
13 |
</style> |
12 |
</style> |
14 |
<script type="text/javascript"> |
|
|
15 |
//<![CDATA[ |
16 |
|
17 |
var globalnumpatterndata; |
18 |
var globalfreqdata; |
19 |
var advancedpatternlocked; |
20 |
var patternneedtobetested = 0; |
21 |
[% IF ( irregularity ) %]patternneedtobetested = 1;[% END %] |
22 |
|
23 |
function check_issues(){ |
24 |
if (globalfreqdata.unit.length >0) { |
25 |
if (document.f.subtype.value == globalfreqdata.unit){ |
26 |
document.f.issuelengthcount.value=(document.f.sublength.value*globalfreqdata.issuesperunit)/globalfreqdata.unitsperissue; |
27 |
} else if (document.f.subtype.value != "issues"){ |
28 |
alert(_("Frequency and subscription length provided doesn't combine well. Please consider entering an issue count rather than a time period.")); |
29 |
} |
30 |
} |
31 |
} |
32 |
|
33 |
function addbiblioPopup(biblionumber) { |
34 |
var destination = "/cgi-bin/koha/cataloguing/addbiblio.pl?mode=popup"; |
35 |
if(biblionumber){ |
36 |
destination += "&biblionumber="+biblionumber; |
37 |
} |
38 |
window.open(destination,'AddBiblioPopup','width=1024,height=768,toolbar=no,scrollbars=yes'); |
39 |
} |
40 |
|
41 |
function Plugin() |
42 |
{ |
43 |
window.open('subscription-bib-search.pl','FindABibIndex','width=800,height=400,toolbar=no,scrollbars=yes'); |
44 |
} |
45 |
|
46 |
function FindAcqui() |
47 |
{ |
48 |
window.open('acqui-search.pl','FindASupplier','width=800,height=400,toolbar=no,scrollbars=yes'); |
49 |
} |
50 |
|
51 |
function Find_ISSN(f) |
52 |
{ |
53 |
window.open('issn-search.pl','FindABibIndex','width=800,height=400,toolbar=no,scrollbars=yes'); |
54 |
} |
55 |
|
56 |
function Clear(id) { |
57 |
$("#"+id).val(''); |
58 |
} |
59 |
|
60 |
function Check_page1() { |
61 |
if ( $("#aqbooksellerid").val().length == 0) { |
62 |
input_box = confirm(_("If you wish to claim late or missing issues you must link this subscription to a vendor. Click OK to ignore or Cancel to return and enter a vendor")); |
63 |
if (input_box==false) { |
64 |
return false; |
65 |
} |
66 |
} |
67 |
if ($("#biblionumber").val().length == 0) { |
68 |
alert(_("You must choose or create a biblio")); |
69 |
return false; |
70 |
} |
71 |
|
72 |
return true; |
73 |
} |
74 |
|
75 |
function Check_page2(){ |
76 |
[% UNLESS (more_than_one_serial) %] |
77 |
if($("#acqui_date").val().length == 0){ |
78 |
alert(_("You must choose a first publication date")); |
79 |
return false; |
80 |
} |
81 |
[% END %] |
82 |
if($("#sublength").val().length == 0 && $("input[name='enddate']").val().length == 0){ |
83 |
alert(_("You must choose a subscription length or an end date.")); |
84 |
return false; |
85 |
} |
86 |
if(advancedpatternlocked == 0){ |
87 |
alert(_("You have modified the advanced prediction pattern. Please save your work or cancel modifications.")); |
88 |
return false; |
89 |
} |
90 |
if(patternneedtobetested){ |
91 |
[% IF (irregularity) %] |
92 |
alert(_("Warning! Present pattern has planned irregularities. Click on 'Test prediction pattern' to check if it's still valid")); |
93 |
[% ELSE %]alert(_("Please click on 'Test prediction pattern' before saving subscription."));[% END %] |
94 |
return false; |
95 |
} |
96 |
|
97 |
return true; |
98 |
} |
99 |
|
100 |
function frequencyload(){ |
101 |
$.getJSON("subscription-frequency.pl",{"frequency_id":document.f.frequency.value,ajax:'true'}, |
102 |
function(freqdata){ |
103 |
globalfreqdata=freqdata; |
104 |
if ( globalfreqdata.unit && globalfreqdata.unit.length == 0 ) { |
105 |
var option = $("#subtype option[value='issues']"); |
106 |
$(option).attr('selected', 'selected'); |
107 |
$("#subtype option[value!='issues']").prop('disabled', true) |
108 |
} else { |
109 |
$("#subtype option").prop('disabled', false) |
110 |
} |
111 |
} |
112 |
) |
113 |
} |
114 |
|
115 |
function numberpatternload(){ |
116 |
$.getJSON("subscription-numberpattern.pl",{"numberpattern_id":document.f.numbering_pattern.value,ajax:'true'}, |
117 |
function(numpatterndata){ |
118 |
globalnumpatterndata=numpatterndata; |
119 |
if (globalnumpatterndata==undefined){ |
120 |
return false; |
121 |
} |
122 |
displaymoreoptions(); |
123 |
restoreAdvancedPattern(); |
124 |
} |
125 |
); |
126 |
} |
127 |
|
128 |
function displaymoreoptions() { |
129 |
if(globalnumpatterndata == undefined){ |
130 |
$("#moreoptionst").hide(); |
131 |
return false; |
132 |
} |
133 |
|
134 |
var X = 0, Y = 0, Z = 0; |
135 |
var numberingmethod = globalnumpatterndata.numberingmethod; |
136 |
if(numberingmethod.match(/{X}/)) X = 1; |
137 |
if(numberingmethod.match(/{Y}/)) Y = 1; |
138 |
if(numberingmethod.match(/{Z}/)) Z = 1; |
139 |
|
140 |
if(X || Y || Z) { |
141 |
$("#moreoptionst").show(); |
142 |
} else { |
143 |
$("#moreoptionst").hide(); |
144 |
} |
145 |
|
146 |
if(X) { |
147 |
if(globalnumpatterndata.label1) { |
148 |
$("#headerX").html(globalnumpatterndata.label1); |
149 |
} else { |
150 |
$("#headerX").html("X"); |
151 |
} |
152 |
$("#headerX").show(); |
153 |
$("#beginsX").show(); |
154 |
$("#innerX").show(); |
155 |
} else { |
156 |
$("#headerX").hide(); |
157 |
$("#beginsX").hide(); |
158 |
$("#innerX").hide(); |
159 |
$("#lastvaluetemp1").val(''); |
160 |
$("#innerlooptemp1").val(''); |
161 |
} |
162 |
if(Y) { |
163 |
if(globalnumpatterndata.label2) { |
164 |
$("#headerY").html(globalnumpatterndata.label2); |
165 |
} else { |
166 |
$("#headerY").html("Y"); |
167 |
} |
168 |
$("#headerY").show(); |
169 |
$("#beginsY").show(); |
170 |
$("#innerY").show(); |
171 |
} else { |
172 |
$("#headerY").hide(); |
173 |
$("#beginsY").hide(); |
174 |
$("#innerY").hide(); |
175 |
$("#lastvaluetemp2").val(''); |
176 |
$("#innerlooptemp2").val(''); |
177 |
} |
178 |
if(Z) { |
179 |
if(globalnumpatterndata.label3) { |
180 |
$("#headerZ").html(globalnumpatterndata.label3); |
181 |
} else { |
182 |
$("#headerZ").html("Z"); |
183 |
} |
184 |
$("#headerZ").show(); |
185 |
$("#beginsZ").show(); |
186 |
$("#innerZ").show(); |
187 |
} else { |
188 |
$("#headerZ").hide(); |
189 |
$("#beginsZ").hide(); |
190 |
$("#innerZ").hide(); |
191 |
$("#lastvaluetemp3").val(''); |
192 |
$("#innerlooptemp3").val(''); |
193 |
} |
194 |
} |
195 |
|
196 |
function modifyAdvancedPattern() { |
197 |
$("#patternname").prop('readOnly', false).val(''); |
198 |
$("#numberingmethod").prop('readOnly', false); |
199 |
|
200 |
$("#advancedpredictionpatternt input").each(function() { |
201 |
$(this).prop('readOnly', false); |
202 |
}); |
203 |
$("#advancedpredictionpatternt select").each(function() { |
204 |
$(this).prop('disabled', false); |
205 |
}); |
206 |
|
207 |
$("#restoreadvancedpatternbutton").show(); |
208 |
$("#saveadvancedpatternbutton").show(); |
209 |
$("#modifyadvancedpatternbutton").hide(); |
210 |
|
211 |
advancedpatternlocked = 0; |
212 |
} |
213 |
|
214 |
function restoreAdvancedPattern() { |
215 |
$("#patternname").prop('readOnly', true).val(globalnumpatterndata.label); |
216 |
$("#numberingmethod").prop('readOnly', true).val(globalnumpatterndata.numberingmethod); |
217 |
|
218 |
$("#advancedpredictionpatternt input").each(function() { |
219 |
$(this).prop('readOnly', true); |
220 |
var id = $(this).attr('id'); |
221 |
if(id.match(/lastvalue/) || id.match(/innerloop/)) { |
222 |
var tempid = id.replace(/(\d)/, "temp$1"); |
223 |
$(this).val($("#"+tempid).val()); |
224 |
} else { |
225 |
$(this).val(globalnumpatterndata[id]); |
226 |
} |
227 |
}); |
228 |
$("#advancedpredictionpatternt select").each(function() { |
229 |
$(this).prop('disabled', true); |
230 |
var id = $(this).attr('id'); |
231 |
$(this).val(globalnumpatterndata[id]); |
232 |
}); |
233 |
|
234 |
$("#restoreadvancedpatternbutton").hide(); |
235 |
$("#saveadvancedpatternbutton").hide(); |
236 |
$("#modifyadvancedpatternbutton").show(); |
237 |
|
238 |
advancedpatternlocked = 1; |
239 |
} |
240 |
|
241 |
function testPredictionPattern() { |
242 |
var frequencyid = $("#frequency").val(); |
243 |
var acquidate; |
244 |
var error = 0; |
245 |
var error_msg = ""; |
246 |
if(frequencyid == undefined || frequencyid == ""){ |
247 |
error_msg += _("- Frequency is not defined") + "\n"; |
248 |
error ++; |
249 |
} |
250 |
acquidate = $("#acqui_date").val(); |
251 |
if(acquidate == undefined || acquidate == ""){ |
252 |
error_msg += _("- First publication date is not defined") + "\n"; |
253 |
error ++; |
254 |
} |
255 |
[% IF (more_than_one_serial) %] |
256 |
var nextacquidate = $("#nextacquidate").val(); |
257 |
if(nextacquidate == undefined || nextacquidate == ""){ |
258 |
error_msg += _("- Next issue publication date is not defined") + "\n"; |
259 |
error ++; |
260 |
} |
261 |
[% END %] |
262 |
|
263 |
if(error){ |
264 |
alert(_("Cannot test prediction pattern for the following reason(s): %s").format(error_msg)); |
265 |
return false; |
266 |
} |
267 |
|
268 |
var custompattern = 0; |
269 |
if(advancedpatternlocked == 0) { |
270 |
custompattern = 1; |
271 |
} |
272 |
|
273 |
var ajaxData = { |
274 |
'custompattern': custompattern, |
275 |
[% IF (subscriptionid) %] |
276 |
'subscriptionid': [% subscriptionid %], |
277 |
[% END %] |
278 |
[% IF (more_than_one_serial) %] |
279 |
'nextacquidate': nextacquidate, |
280 |
[% END %] |
281 |
'firstacquidate': acquidate |
282 |
}; |
283 |
var ajaxParams = [ |
284 |
'to', 'subtype', 'sublength', 'frequency', 'numberingmethod', |
285 |
'lastvalue1', 'lastvalue2', 'lastvalue3', 'add1', 'add2', 'add3', |
286 |
'every1', 'every2', 'every3', 'innerloop1', 'innerloop2', 'innerloop3', |
287 |
'setto1', 'setto2', 'setto3', 'numbering1', 'numbering2', 'numbering3', |
288 |
'whenmorethan1', 'whenmorethan2', 'whenmorethan3', 'locale' |
289 |
]; |
290 |
for(i in ajaxParams) { |
291 |
var param = ajaxParams[i]; |
292 |
var value = $("#"+param).val(); |
293 |
if(value.length > 0) |
294 |
ajaxData[param] = value; |
295 |
} |
296 |
|
297 |
$.ajax({ |
298 |
url:"/cgi-bin/koha/serials/showpredictionpattern.pl", |
299 |
data: ajaxData, |
300 |
success: function(data) { |
301 |
$("#displayexample").html(data); |
302 |
patternneedtobetested = 0; |
303 |
} |
304 |
}); |
305 |
} |
306 |
|
307 |
function saveAdvancedPattern() { |
308 |
if ($("#patternname").val().length == 0) { |
309 |
alert(_("Please enter a name for this pattern")); |
310 |
return false; |
311 |
} |
312 |
|
313 |
// Check if patternname already exists, and modify pattern |
314 |
// instead of creating it if so |
315 |
var found = 0; |
316 |
$("#numberpattern option").each(function(){ |
317 |
if($(this).text() == $("#patternname").val()){ |
318 |
found = 1; |
319 |
return false; |
320 |
} |
321 |
}); |
322 |
var cnfrm = 1; |
323 |
if(found){ |
324 |
var msg = _("This pattern name already exists. Do you want to modify it?") |
325 |
+ "\n" + _("Warning: it will modify the pattern for all subscriptions that are using it."); |
326 |
cnfrm = confirm(msg); |
327 |
} |
328 |
|
329 |
if(cnfrm) { |
330 |
var ajaxData = {}; |
331 |
var ajaxParams = [ |
332 |
'patternname', 'numberingmethod', 'label1', 'label2', 'label3', |
333 |
'add1', 'add2', 'add3', 'every1', 'every2', 'every3', |
334 |
'setto1', 'setto2', 'setto3', 'numbering1', 'numbering2', 'numbering3', |
335 |
'whenmorethan1', 'whenmorethan2', 'whenmorethan3', 'locale' |
336 |
]; |
337 |
for(i in ajaxParams) { |
338 |
var param = ajaxParams[i]; |
339 |
var value = $("#"+param).val(); |
340 |
if(value.length > 0) |
341 |
ajaxData[param] = value; |
342 |
} |
343 |
|
344 |
$.getJSON( |
345 |
"/cgi-bin/koha/serials/create-numberpattern.pl", |
346 |
ajaxData, |
347 |
function(data){ |
348 |
if (data.numberpatternid) { |
349 |
if(found == 0){ |
350 |
$("#numberpattern").append("<option value=\""+data.numberpatternid+"\">"+$("#patternname").val()+"</option>"); |
351 |
} |
352 |
$("#numberpattern").val(data.numberpatternid); |
353 |
numberpatternload(); |
354 |
} else { |
355 |
alert(_("Something went wrong. Unable to create a new numbering pattern.")); |
356 |
} |
357 |
} |
358 |
); |
359 |
} |
360 |
} |
361 |
|
362 |
function show_page_1() { |
363 |
$("#page_1").show(); |
364 |
$("#page_2").hide(); |
365 |
$("#page_number").text("1/2"); |
366 |
} |
367 |
|
368 |
function show_page_2() { |
369 |
$("#page_1").hide(); |
370 |
$("#page_2").show(); |
371 |
$("#page_number").text("2/2"); |
372 |
displaymoreoptions(); |
373 |
} |
374 |
|
375 |
|
376 |
$(document).ready(function() { |
377 |
$("#aqbooksellerid").on('keypress', function(e) { |
378 |
if (e.keyCode == 13) { |
379 |
e.preventDefault(); |
380 |
FindAcqui(); |
381 |
} |
382 |
}); |
383 |
$("#biblionumber").on('keypress', function(e) { |
384 |
if (e.keyCode == 13) { |
385 |
e.preventDefault(); |
386 |
Plugin(); |
387 |
} |
388 |
}); |
389 |
$("select#frequency").change(function(){ |
390 |
patternneedtobetested = 1; |
391 |
$("input[name='enddate']").val(''); |
392 |
frequencyload(); |
393 |
}); |
394 |
$("select#numberpattern").change(function(){ |
395 |
patternneedtobetested = 1; |
396 |
numberpatternload(); |
397 |
}); |
398 |
$("#subtype").change(function(){ |
399 |
$("input[name='enddate']").val(''); |
400 |
}); |
401 |
$("#sublength").change(function(){ |
402 |
$("input[name='enddate']").val(''); |
403 |
}); |
404 |
$("#lastvaluetemp1").keyup(function(){ |
405 |
$("#lastvalue1").val($(this).val()); |
406 |
}); |
407 |
$("#lastvaluetemp2").keyup(function(){ |
408 |
$("#lastvalue2").val($(this).val()); |
409 |
}); |
410 |
$("#lastvaluetemp3").keyup(function(){ |
411 |
$("#lastvalue3").val($(this).val()); |
412 |
}); |
413 |
$("#lastvalue1").keyup(function(){ |
414 |
$("#lastvaluetemp1").val($(this).val()); |
415 |
}); |
416 |
$("#lastvalue2").keyup(function(){ |
417 |
$("#lastvaluetemp2").val($(this).val()); |
418 |
}); |
419 |
$("#lastvalue3").keyup(function(){ |
420 |
$("#lastvaluetemp3").val($(this).val()); |
421 |
}); |
422 |
|
423 |
$("#innerlooptemp1").keyup(function(){ |
424 |
$("#innerloop1").val($(this).val()); |
425 |
}); |
426 |
$("#innerlooptemp2").keyup(function(){ |
427 |
$("#innerloop2").val($(this).val()); |
428 |
}); |
429 |
$("#innerlooptemp3").keyup(function(){ |
430 |
$("#innerloop3").val($(this).val()); |
431 |
}); |
432 |
$("#innerloop1").keyup(function(){ |
433 |
$("#innerlooptemp1").val($(this).val()); |
434 |
}); |
435 |
$("#innerloop2").keyup(function(){ |
436 |
$("#innerlooptemp2").val($(this).val()); |
437 |
}); |
438 |
$("#innerloop3").keyup(function(){ |
439 |
$("#innerlooptemp3").val($(this).val()); |
440 |
}); |
441 |
|
442 |
if($("#frequency").val() != ""){ |
443 |
frequencyload(); |
444 |
} |
445 |
if($("#numberpattern").val() != ""){ |
446 |
numberpatternload(); |
447 |
} |
448 |
|
449 |
var node; |
450 |
[% FOREACH field IN dont_export_field_loop %] |
451 |
node = $("[name='[% field.fieldid %]']"); |
452 |
if ( $(node).is('input') || $(node).is('textarea') ) { |
453 |
$(node).val(""); |
454 |
} else if ( $(node).is('select') ) { |
455 |
$(node).find("option:first").attr('selected','selected'); |
456 |
} |
457 |
[% END %] |
458 |
|
459 |
show_page_1(); |
460 |
$("#subscription_add_form").on("submit",function(){ |
461 |
return Check_page2(); |
462 |
}); |
463 |
$("#vendor_search").on("click",function(e){ |
464 |
e.preventDefault(); |
465 |
FindAcqui(); |
466 |
}); |
467 |
$("#record_search").on("click",function(e){ |
468 |
e.preventDefault(); |
469 |
Plugin(); |
470 |
}); |
471 |
$("#biblio_add_edit").on("click",function(e){ |
472 |
e.preventDefault(); |
473 |
if( $(this).data("biblionumber") ){ |
474 |
addbiblioPopup( $(this).data("biblionumber") ); |
475 |
} else { |
476 |
addbiblioPopup(); |
477 |
} |
478 |
}); |
479 |
$("#subscription_add_next").on("click",function(){ |
480 |
if ( Check_page1() ){ |
481 |
show_page_2(); |
482 |
} |
483 |
}); |
484 |
$("#subscription_add_previous").on("click",function(){ |
485 |
show_page_1(); |
486 |
}); |
487 |
$(".toggle_advanced_pattern").on("click",function(e){ |
488 |
e.preventDefault(); |
489 |
$("#advancedpredictionpattern").toggle(); |
490 |
$(".toggle_advanced_pattern").toggle(); |
491 |
}); |
492 |
$("#modifyadvancedpatternbutton").on("click",function(e){ |
493 |
e.preventDefault(); |
494 |
modifyAdvancedPattern(); |
495 |
}); |
496 |
$("#restoreadvancedpatternbutton").on("click",function(e){ |
497 |
e.preventDefault(); |
498 |
restoreAdvancedPattern(); |
499 |
}); |
500 |
$("#saveadvancedpatternbutton").on("click",function(e){ |
501 |
e.preventDefault(); |
502 |
saveAdvancedPattern(); |
503 |
}); |
504 |
$("#testpatternbutton").on("click",function(e){ |
505 |
e.preventDefault(); |
506 |
testPredictionPattern(); |
507 |
}); |
508 |
}); |
509 |
//]]> |
510 |
</script> |
511 |
</head> |
13 |
</head> |
|
|
14 |
|
512 |
<body id="ser_subscription-add" class="ser"> |
15 |
<body id="ser_subscription-add" class="ser"> |
513 |
[% INCLUDE 'header.inc' %] |
16 |
[% INCLUDE 'header.inc' %] |
514 |
[% INCLUDE 'serials-search.inc' %] |
17 |
[% INCLUDE 'serials-search.inc' %] |
Lines 981-984
$(document).ready(function() {
Link Here
|
981 |
</div> |
484 |
</div> |
982 |
</div> |
485 |
</div> |
983 |
|
486 |
|
|
|
487 |
[% MACRO jsinclude BLOCK %] |
488 |
[% INCLUDE 'calendar.inc' %] |
489 |
<script type="text/javascript"> |
490 |
var subscriptionid = "[% subscriptionid %]"; |
491 |
var irregularity = "[% irregularity %]"; |
492 |
var more_than_one_serial = "[% more_than_one_serial %]"; |
493 |
var tags = []; |
494 |
[% FOREACH field IN dont_export_field_loop %] |
495 |
tags.push("[% field.fieldid %]"); |
496 |
[% END %] |
497 |
var MSG_LINK_TO_VENDOR = _("If you wish to claim late or missing issues you must link this subscription to a vendor. Click OK to ignore or Cancel to return and enter a vendor"); |
498 |
var MSG_LINK_BIBLIO = _("You must choose or create a bibliographic record"); |
499 |
var MSG_REQUIRED_SUB_LENGTH = _("You must choose a subscription length or an end date."); |
500 |
var MSG_TEST_PREDICTION = _("Please click on 'Test prediction pattern' before saving subscription."); |
501 |
var MSG_REQUIRED_PUB_DATE = _("You must choose a first publication date"); |
502 |
var MSG = _("You have modified the advanced prediction pattern. Please save your work or cancel modifications."); |
503 |
var MSG_PATTERN_IRREG = _("Warning! Present pattern has planned irregularities. Click on 'Test prediction pattern' to check if it's still valid") |
504 |
var MSG_PATTERN_NAME = _("Please enter a name for this pattern"); |
505 |
var MSG_PATTERN_NAME_EXISTS = _("This pattern name already exists. Do you want to modify it?"); |
506 |
var MSG_OVERWRITE_PATTERNS = _("Warning: it will modify the pattern for all subscriptions that are using it."); |
507 |
var MSG_PATTERN_CREATE_FAILED = _("Something went wrong. Unable to create a new numbering pattern."); |
508 |
var MSG_PATTERN_TEST_FAILED = _("Cannot test prediction pattern for the following reason(s): %s"); |
509 |
var MSG_FREQUENCY_UNDEFINED = _("Frequency is not defined"); |
510 |
var MSG_PUB_DATE_UNDEFINED = _("First publication date is not defined"); |
511 |
var MSG_NEXT_ISSUE_UNDEFINED = _("Next issue publication date is not defined"); |
512 |
</script> |
513 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/subscription-add.js"></script> |
514 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/showpredictionpattern.js"></script> |
515 |
[% END %] |
516 |
|
984 |
[% INCLUDE 'intranet-bottom.inc' %] |
517 |
[% INCLUDE 'intranet-bottom.inc' %] |