Lines 3-12
Link Here
|
3 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
<title>Koha › Patrons › [% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname %] [% END %][% IF (surname) %][% surname %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])</title> |
4 |
<title>Koha › Patrons › [% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname %] [% END %][% IF (surname) %][% surname %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])</title> |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
|
|
6 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script> |
6 |
[% INCLUDE 'calendar.inc' %] |
7 |
[% INCLUDE 'calendar.inc' %] |
7 |
<script type="text/javascript"> |
8 |
<script type="text/javascript"> |
8 |
//<![CDATA[ |
9 |
//<![CDATA[ |
9 |
$(document).ready(function() { |
10 |
$(document).ready(function() { |
|
|
11 |
|
12 |
var original_offset = $("#toolbar").position().top; |
13 |
var additional_height = $("#filters").height(); |
14 |
$('#toolbar').fixFloat({ 'originalOffset': original_offset - additional_height }); |
15 |
$("#filteraction_on").on("click", function(){ |
16 |
$(window).off('scroll'); |
17 |
$("#toolbar").css({ top: original_offset }); |
18 |
$('#toolbar').fixFloat({ 'originalOffset': original_offset }); |
19 |
}); |
20 |
$("#filteraction_off").on("click", function(){ |
21 |
$(window).off('scroll'); |
22 |
$("#toolbar").css({ top: original_offset - additional_height}); |
23 |
$('#toolbar').fixFloat({ 'originalOffset': original_offset - additional_height }); |
24 |
}) |
25 |
|
10 |
[% IF categorycode %] |
26 |
[% IF categorycode %] |
11 |
update_category_code( "[% categorycode %]" ); |
27 |
update_category_code( "[% categorycode %]" ); |
12 |
[% ELSE %] |
28 |
[% ELSE %] |
Lines 163-168
$(document).ready(function() {
Link Here
|
163 |
[% END %] |
179 |
[% END %] |
164 |
[% END %] |
180 |
[% END %] |
165 |
[% END %] |
181 |
[% END %] |
|
|
182 |
<div id="toolbar" class="btn-toolbar"> |
183 |
[% UNLESS ( check_member ) %] |
184 |
<div class="btn-group"> |
185 |
<button class="btn btn-small" id="saverecord" type="submit" name="save" onclick="return check_form_borrowers();"><i class="fa fa-save"></i> Save</button> |
186 |
</div> |
187 |
[% IF opadd %] |
188 |
<a class="cancel" href="/cgi-bin/koha/members/member.pl">Cancel</a> |
189 |
<div class="btn-group"> |
190 |
<a class="btn btn-small cancel" id="cancel" href="/cgi-bin/koha/members/member.pl">Cancel</a> |
191 |
</div> |
192 |
[% ELSE %] |
193 |
<div class="btn-group"> |
194 |
<a class="btn btn-small cancel" id="cancel" href="/cgi-bin/koha/members/member.pl?borrowernumber=[% borrowernumber %]">Cancel</a> |
195 |
</div> |
196 |
[% END %] |
197 |
[% END %] |
198 |
</div> |
166 |
|
199 |
|
167 |
[% IF ( step_1 ) %] |
200 |
[% IF ( step_1 ) %] |
168 |
[%UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %] |
201 |
[%UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %] |
Lines 1015-1034
$(document).ready(function() {
Link Here
|
1015 |
</fieldset> |
1048 |
</fieldset> |
1016 |
[% END %] [% END %] |
1049 |
[% END %] [% END %] |
1017 |
|
1050 |
|
1018 |
<fieldset class="rows" id="floating-save"> |
|
|
1019 |
[% UNLESS ( check_member ) %] |
1020 |
<fieldset class="action"> |
1021 |
<button type="submit" name="save" onclick="return check_form_borrowers();"> |
1022 |
<i class="fa fa-save"></i> Save |
1023 |
</button> |
1024 |
[% IF ( opadd ) %] |
1025 |
<a class="cancel" href="/cgi-bin/koha/members/member.pl">Cancel</a> |
1026 |
[% ELSE %] |
1027 |
<a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">Cancel</a> |
1028 |
[% END %] |
1029 |
</fieldset> |
1030 |
[% END %] |
1031 |
</fieldset> |
1032 |
</form> |
1051 |
</form> |
1033 |
|
1052 |
|
1034 |
</div> |
1053 |
</div> |
1035 |
- |
|
|