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 1011-1030
$(document).ready(function() {
Link Here
|
1011 |
</fieldset> |
1044 |
</fieldset> |
1012 |
[% END %] [% END %] |
1045 |
[% END %] [% END %] |
1013 |
|
1046 |
|
1014 |
<fieldset class="rows" id="floating-save"> |
|
|
1015 |
[% UNLESS ( check_member ) %] |
1016 |
<fieldset class="action"> |
1017 |
<button type="submit" name="save" onclick="return check_form_borrowers();"> |
1018 |
<i class="fa fa-save"></i> Save |
1019 |
</button> |
1020 |
[% IF ( opadd ) %] |
1021 |
<a class="cancel" href="/cgi-bin/koha/members/member.pl">Cancel</a> |
1022 |
[% ELSE %] |
1023 |
<a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">Cancel</a> |
1024 |
[% END %] |
1025 |
</fieldset> |
1026 |
[% END %] |
1027 |
</fieldset> |
1028 |
</form> |
1047 |
</form> |
1029 |
|
1048 |
|
1030 |
</div> |
1049 |
</div> |
1031 |
- |
|
|