View | Details | Raw Unified | Return to bug 7193
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt (-6 / +5 lines)
Lines 1115-1126 $(document).ready(function() { Link Here
1115
        <li>
1115
        <li>
1116
           <label for="acqui_date"> First issue publication date:</label>
1116
           <label for="acqui_date"> First issue publication date:</label>
1117
                [% UNLESS ( modify ) %]<img src="[% themelang %]/lib/calendar/cal.gif" id="acqui_button" style="cursor: pointer;" alt="Show Calendar" title="Show Calendar" />[% END %]
1117
                [% UNLESS ( modify ) %]<img src="[% themelang %]/lib/calendar/cal.gif" id="acqui_button" style="cursor: pointer;" alt="Show Calendar" title="Show Calendar" />[% END %]
1118
                [% IF ( modify ) %]<input type="text" name="firstacquidate" value="[% firstacquidate %]"  size="13" maxlength="10" id="acqui_date" disabled="disabled" style="border-width: 0px;"  />
1118
                [% IF ( modify ) %]<input type="text" name="firstacquidate" value="[% firstacquidate %]"  size="13" maxlength="10" id="acqui_date" disabled="disabled" />
1119
                [% ELSE %]<input type="text" name="firstacquidate" value="[% firstacquidate %]"  size="13" maxlength="10" id="acqui_date" style="border-width: 0px;"  />[% END %]
1119
                [% ELSE %]<input type="text" name="firstacquidate" value="[% firstacquidate %]"  size="13" maxlength="10" id="acqui_date" />[% END %]
1120
        </li>
1120
        </li>
1121
           [% IF ( modify ) %]<li><label for="next_acqui_date"> Next issue publication date:</label>
1121
           [% IF ( modify ) %]<li><label for="next_acqui_date"> Next issue publication date:</label>
1122
                <img src="[% themelang %]/lib/calendar/cal.gif" id="next_acqui_button" style="cursor: pointer;" alt="Show Calendar" title="Show Calendar" />
1122
                <img src="[% themelang %]/lib/calendar/cal.gif" id="next_acqui_button" style="cursor: pointer;" alt="Show Calendar" title="Show Calendar" />
1123
                <input type="text" name="nextacquidate" value="[% nextacquidate %]" size="13" maxlength="10" id="next_acqui_date" style="border-width: 0px;"  />
1123
                <input type="text" name="nextacquidate" value="[% nextacquidate %]" size="13" maxlength="10" id="next_acqui_date" />
1124
                </li>[% END %]
1124
                </li>[% END %]
1125
                
1125
                
1126
        <li><!-- both scripts for calendar must follow the input field --> 
1126
        <li><!-- both scripts for calendar must follow the input field --> 
Lines 1307-1313 $(document).ready(function() { Link Here
1307
           <label for="beginning_date" class="required"> Subscription start date:</label>
1307
           <label for="beginning_date" class="required"> Subscription start date:</label>
1308
            
1308
            
1309
                <img src="[% themelang %]/lib/calendar/cal.gif" id="button1" style="cursor: pointer;" alt="Show Calendar" title="Show Calendar" />
1309
                <img src="[% themelang %]/lib/calendar/cal.gif" id="button1" style="cursor: pointer;" alt="Show Calendar" title="Show Calendar" />
1310
                <input type="text" name="startdate" value="[% startdate %]" size="13" maxlength="10" id="beginning_date" style="border-width: 0px;" />
1310
                <input type="text" name="startdate" value="[% startdate %]" size="13" maxlength="10" id="beginning_date" />
1311
                <!-- both scripts for calendar must follow the input field --> 
1311
                <!-- both scripts for calendar must follow the input field --> 
1312
                <script type="text/javascript">
1312
                <script type="text/javascript">
1313
                    Calendar.setup({
1313
                    Calendar.setup({
Lines 1340-1346 $(document).ready(function() { Link Here
1340
           <label for="ending_date"> Subscription end date:</label>
1340
           <label for="ending_date"> Subscription end date:</label>
1341
            
1341
            
1342
                <img src="[% themelang %]/lib/calendar/cal.gif" id="buttonend1" style="cursor: pointer;" alt="Show Calendar" title="Show Calendar" />
1342
                <img src="[% themelang %]/lib/calendar/cal.gif" id="buttonend1" style="cursor: pointer;" alt="Show Calendar" title="Show Calendar" />
1343
                <input type="text" name="enddate" value="[% enddate %]" size="13" maxlength="10" id="ending_date" style="border-width: 0px;" />
1343
                <input type="text" name="enddate" value="[% enddate %]" size="13" maxlength="10" id="ending_date" />
1344
                <!-- both scripts for calendar must follow the input field --> 
1344
                <!-- both scripts for calendar must follow the input field --> 
1345
                <script type="text/javascript">
1345
                <script type="text/javascript">
1346
                    Calendar.setup({
1346
                    Calendar.setup({
1347
- 

Return to bug 7193