Lines 1-5
Link Here
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Serials › [% IF ( modname ) %][% bibliotitle |html %] › Modify subscription[% ELSE %]New subscription[% END %]</title> |
2 |
<title>Koha › Serials › [% IF ( modify ) %][% bibliotitle |html %] › Modify subscription[% ELSE %]New subscription[% END %]</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'calendar.inc' %] |
4 |
[% INCLUDE 'calendar.inc' %] |
5 |
|
5 |
|
Lines 931-937
$(document).ready(function() {
Link Here
|
931 |
} |
931 |
} |
932 |
); |
932 |
); |
933 |
// $(".widelabel").attr("width", "300px"); // labels stay skinny in IE7 anyway. |
933 |
// $(".widelabel").attr("width", "300px"); // labels stay skinny in IE7 anyway. |
934 |
[% IF ( modname ) %] |
934 |
[% IF ( modify ) %] |
935 |
set_num_pattern_from_template_vars(); |
935 |
set_num_pattern_from_template_vars(); |
936 |
[% IF ( hemisphere ) %] |
936 |
[% IF ( hemisphere ) %] |
937 |
is_hemisphere = [% hemisphere %] ; |
937 |
is_hemisphere = [% hemisphere %] ; |
Lines 952-966
$(document).ready(function() {
Link Here
|
952 |
[% INCLUDE 'header.inc' %] |
952 |
[% INCLUDE 'header.inc' %] |
953 |
[% INCLUDE 'serials-search.inc' %] |
953 |
[% INCLUDE 'serials-search.inc' %] |
954 |
|
954 |
|
955 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › [% IF ( modname ) %]<a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]"><i>[% bibliotitle |html %]</i></a> › Modify subscription[% ELSE %]New subscription[% END %]</div> |
955 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › [% IF ( modify ) %]<a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]"><i>[% bibliotitle |html %]</i></a> › Modify subscription[% ELSE %]New subscription[% END %]</div> |
956 |
|
956 |
|
957 |
<div id="doc3" class="yui-t7"> |
957 |
<div id="doc3" class="yui-t7"> |
958 |
|
958 |
|
959 |
<div id="bd"> |
959 |
<div id="bd"> |
960 |
<h1>[% IF ( modname ) %] Modify subscription for <i>[% bibliotitle |html %]</i>[% ELSE %]Add a new subscription[% END %]</h1> |
960 |
<h1>[% IF ( modify ) %] Modify subscription for <i>[% bibliotitle |html %]</i>[% ELSE %]Add a new subscription[% END %]</h1> |
961 |
<div class="yui-g"> |
961 |
<div class="yui-g"> |
962 |
<form method="post" name="f" action="/cgi-bin/koha/serials/subscription-add.pl"> |
962 |
<form method="post" name="f" action="/cgi-bin/koha/serials/subscription-add.pl"> |
963 |
[% IF ( modname ) %] |
963 |
[% IF ( modify ) %] |
964 |
<input type="hidden" name="op" value="modsubscription" /> |
964 |
<input type="hidden" name="op" value="modsubscription" /> |
965 |
<input type="hidden" name="subscriptionid" value="[% subscriptionid %]" /> |
965 |
<input type="hidden" name="subscriptionid" value="[% subscriptionid %]" /> |
966 |
[% ELSE %] |
966 |
[% ELSE %] |
Lines 988-994
$(document).ready(function() {
Link Here
|
988 |
(<input type="text" name="title" value="[% bibliotitle %]" disabled="disabled" readonly="readonly" />) <span class="required" title="Subscriptions must be associated with a bibliographic record">Required</span> |
988 |
(<input type="text" name="title" value="[% bibliotitle %]" disabled="disabled" readonly="readonly" />) <span class="required" title="Subscriptions must be associated with a bibliographic record">Required</span> |
989 |
<div class="inputnote"> <a href="#" onclick="Plugin(f)">Search for Biblio</a> |
989 |
<div class="inputnote"> <a href="#" onclick="Plugin(f)">Search for Biblio</a> |
990 |
[% IF ( CAN_user_editcatalogue ) %] |
990 |
[% IF ( CAN_user_editcatalogue ) %] |
991 |
[% IF ( modname ) %] |
991 |
[% IF ( modify ) %] |
992 |
| <a href="#" onclick="addbiblioPopup([% bibnum %]); return false;">Edit biblio</a> |
992 |
| <a href="#" onclick="addbiblioPopup([% bibnum %]); return false;">Edit biblio</a> |
993 |
[% ELSE %] |
993 |
[% ELSE %] |
994 |
| <a href="#" onclick="addbiblioPopup(); return false;">Create Biblio</a> |
994 |
| <a href="#" onclick="addbiblioPopup(); return false;">Create Biblio</a> |
Lines 1107-1116
$(document).ready(function() {
Link Here
|
1107 |
<ol> |
1107 |
<ol> |
1108 |
<li> |
1108 |
<li> |
1109 |
<label for="acqui_date"> First issue publication date:</label> |
1109 |
<label for="acqui_date"> First issue publication date:</label> |
1110 |
[% UNLESS ( modname ) %]<img src="[% themelang %]/lib/calendar/cal.gif" id="acqui_button" style="cursor: pointer;" alt="Show Calendar" title="Show Calendar" />[% END %] |
1110 |
[% UNLESS ( modify ) %]<img src="[% themelang %]/lib/calendar/cal.gif" id="acqui_button" style="cursor: pointer;" alt="Show Calendar" title="Show Calendar" />[% END %] |
1111 |
<input type="text" name="firstacquidate" value="[% firstacquidate %]" size="13" maxlength="10" id="acqui_date" [% IF ( modname ) %]disabled="disabled"[% END %] style="border-width: 0px;" /> |
1111 |
<input type="text" name="firstacquidate" value="[% firstacquidate %]" size="13" maxlength="10" id="acqui_date" [% IF ( modify ) %]disabled="disabled"[% END %] style="border-width: 0px;" /> |
1112 |
</li> |
1112 |
</li> |
1113 |
[% IF ( modname ) %]<li><label for="next_acqui_date"> Next issue publication date:</label> |
1113 |
[% IF ( modify ) %]<li><label for="next_acqui_date"> Next issue publication date:</label> |
1114 |
<img src="[% themelang %]/lib/calendar/cal.gif" id="next_acqui_button" style="cursor: pointer;" alt="Show Calendar" title="Show Calendar" /> |
1114 |
<img src="[% themelang %]/lib/calendar/cal.gif" id="next_acqui_button" style="cursor: pointer;" alt="Show Calendar" title="Show Calendar" /> |
1115 |
<input type="text" name="nextacquidate" value="[% nextacquidate %]" size="13" maxlength="10" id="next_acqui_date" style="border-width: 0px;" /> |
1115 |
<input type="text" name="nextacquidate" value="[% nextacquidate %]" size="13" maxlength="10" id="next_acqui_date" style="border-width: 0px;" /> |
1116 |
</li>[% END %] |
1116 |
</li>[% END %] |
Lines 1118-1126
$(document).ready(function() {
Link Here
|
1118 |
<li><!-- both scripts for calendar must follow the input field --> |
1118 |
<li><!-- both scripts for calendar must follow the input field --> |
1119 |
<script type="text/javascript"> |
1119 |
<script type="text/javascript"> |
1120 |
Calendar.setup({ |
1120 |
Calendar.setup({ |
1121 |
inputField : "[% IF ( modname ) %]next_[% END %]acqui_date", |
1121 |
inputField : "[% IF ( modify ) %]next_[% END %]acqui_date", |
1122 |
ifFormat : "[% DHTMLcalendar_dateformat %]", |
1122 |
ifFormat : "[% DHTMLcalendar_dateformat %]", |
1123 |
button : "[% IF ( modname ) %]next_[% END %]acqui_button", |
1123 |
button : "[% IF ( modify ) %]next_[% END %]acqui_button", |
1124 |
align : "Tl", |
1124 |
align : "Tl", |
1125 |
onUpdate : function(cal) { |
1125 |
onUpdate : function(cal) { |
1126 |
irregular_issues.weeks = getWeeksArray(cal.date); |
1126 |
irregular_issues.weeks = getWeeksArray(cal.date); |
Lines 1134-1142
$(document).ready(function() {
Link Here
|
1134 |
} |
1134 |
} |
1135 |
}); |
1135 |
}); |
1136 |
Calendar.setup({ |
1136 |
Calendar.setup({ |
1137 |
inputField : "[% IF ( modname ) %]next_[% END %]acqui_date", |
1137 |
inputField : "[% IF ( modify ) %]next_[% END %]acqui_date", |
1138 |
ifFormat : "[% DHTMLcalendar_dateformat %]", |
1138 |
ifFormat : "[% DHTMLcalendar_dateformat %]", |
1139 |
button : "[% IF ( modname ) %]next_[% END %]acqui_date", |
1139 |
button : "[% IF ( modify ) %]next_[% END %]acqui_date", |
1140 |
align : "Tl", |
1140 |
align : "Tl", |
1141 |
onUpdate : function(cal) { irregular_issues.weeks = getWeeksArray(cal.date); |
1141 |
onUpdate : function(cal) { irregular_issues.weeks = getWeeksArray(cal.date); |
1142 |
irregular_issues.firstissue = cal.date; |
1142 |
irregular_issues.firstissue = cal.date; |
Lines 1404-1410
$(document).ready(function() {
Link Here
|
1404 |
</tr> |
1404 |
</tr> |
1405 |
<tr> |
1405 |
<tr> |
1406 |
<td> |
1406 |
<td> |
1407 |
[% IF ( modname ) %] |
1407 |
[% IF ( modify ) %] |
1408 |
Last value |
1408 |
Last value |
1409 |
[% ELSE %] |
1409 |
[% ELSE %] |
1410 |
Begins with |
1410 |
Begins with |