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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt (-12 / +18 lines)
Lines 1145-1151 $(document).ready(function() { Link Here
1145
                
1145
                
1146
        <li>
1146
        <li>
1147
            <label for="periodicity" class="required">Frequency:</label>
1147
            <label for="periodicity" class="required">Frequency:</label>
1148
                <select name="periodicity" size="1" id="periodicity" onchange="javascript:document.getElementsByName('manualhist')[0].checked=(this.value==1); reset_num_pattern();">
1148
                <select name="periodicity" size="1" id="periodicity" onchange="document.getElementsByName('manualhist')[0].checked=(this.value==1); reset_num_pattern();">
1149
                <option value="" selected="selected">-- please choose --</option>
1149
                <option value="" selected="selected">-- please choose --</option>
1150
                [% IF ( periodicity16 ) %]
1150
                [% IF ( periodicity16 ) %]
1151
                <option value="16" selected="selected">Without periodicity</option>
1151
                <option value="16" selected="selected">Without periodicity</option>
Lines 1312-1331 $(document).ready(function() { Link Here
1312
    <li><label for="numberingmethod">Numbering formula:</label> <input type="text" name="numberingmethod" id="numberingmethod" value="[% numberingmethod %]" />
1312
    <li><label for="numberingmethod">Numbering formula:</label> <input type="text" name="numberingmethod" id="numberingmethod" value="[% numberingmethod %]" />
1313
    </li>
1313
    </li>
1314
    </ol>
1314
    </ol>
1315
	</fieldset>
1316
1315
1317
	<fieldset class="action">
1318
    <input type="button" class="action_test" value="Test prediction pattern" onclick="javascript:irregularity_check()" />
1319
    <input type="button" class="action_reset" value="Reset pattern" onclick="javascript:reset_pattern()" />
1320
    <input type="button" class="action_save"  value="Save subscription" onclick="Check(this.form)" accesskey="w" />
1321
	</fieldset>
1322
    <fieldset class="action">
1323
    <input type="button" class="action_advanced" value="Show/Hide advanced pattern" onclick="javascript:display_table()" />
1324
    </fieldset>
1325
           <div id="basetable"  style="display: none;">
1316
           <div id="basetable"  style="display: none;">
1326
            <table class="small">
1317
            <table class="small">
1327
                <tr><th colspan="4">Advanced prediction pattern</th></tr>
1318
                <tr><th colspan="4">Advanced prediction pattern</th></tr>
1328
				<tr>
1319
                <tr>
1329
                    <th>&nbsp;</th>
1320
                    <th>&nbsp;</th>
1330
                    <th>X</th>
1321
                    <th>X</th>
1331
                    <th>Y</th>
1322
                    <th>Y</th>
Lines 1382-1387 $(document).ready(function() { Link Here
1382
            </table>
1373
            </table>
1383
        </div>
1374
        </div>
1384
1375
1376
    <fieldset class="action">
1377
        <input type="button" class="action_test" value="Test prediction pattern" onclick="irregularity_check()" />
1378
        <input type="button" class="action_reset" value="Reset pattern" onclick="reset_pattern()" />
1379
        <input type="button" class="action_advanced" value="Show/Hide advanced pattern" onclick="display_table()" />
1380
    </fieldset>
1381
    </fieldset>
1382
1383
    <fieldset class="action">
1384
    <input type="button" class="action_save"  value="Save subscription" onclick="Check(this.form)" accesskey="w" />
1385
    [% IF ( subscriptionid ) %]
1386
       <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]" class="cancel">Cancel</a>
1387
    [% ELSE %]
1388
        <a href="/cgi-bin/koha/serials/serials-home.pl" class="cancel">Cancel</a>
1389
    [% END %]
1390
    </fieldset>
1391
1385
</div>
1392
</div>
1386
</div>
1393
</div>
1387
</form>
1394
</form>
1388
- 

Return to bug 3934