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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-10 / +9 lines)
Lines 777-818 legend:hover { Link Here
777
                                                    <select id="primary_contact_method" name="primary_contact_method">
777
                                                    <select id="primary_contact_method" name="primary_contact_method">
778
                                                        <option value=""></option>
778
                                                        <option value=""></option>
779
                                                        [% UNLESS nophone %]
779
                                                        [% UNLESS nophone %]
780
                                                            [% IF ( primary_contact_method == 'phone' ) %]
780
                                                            [% IF ( borrower_data.primary_contact_method == 'phone' ) %]
781
                                                                <option value="phone" selected="selected">Primary phone</option>
781
                                                                <option value="phone" selected="selected">Primary phone</option>
782
                                                            [% ELSE %]
782
                                                            [% ELSE %]
783
                                                                <option value="phone">Primary phone</option>
783
                                                                <option value="phone">Primary phone</option>
784
                                                            [% END %]
784
                                                            [% END %]
785
                                                        [% END %]
785
                                                        [% END %]
786
                                                        [% UNLESS nophonepro %]
786
                                                        [% UNLESS nophonepro %]
787
                                                            [% IF ( primary_contact_method == 'phonepro' ) %]
787
                                                            [% IF ( borrower_data.primary_contact_method == 'phonepro' ) %]
788
                                                                <option value="phonepro" selected="selected">Secondary phone</option>
788
                                                                <option value="phonepro" selected="selected">Secondary phone</option>
789
                                                            [% ELSE %]
789
                                                            [% ELSE %]
790
                                                                <option value="phonepro">Secondary phone</option>
790
                                                                <option value="phonepro">Secondary phone</option>
791
                                                            [% END %]
791
                                                            [% END %]
792
                                                        [% END %]
792
                                                        [% END %]
793
                                                        [% UNLESS nomobile %]
793
                                                        [% UNLESS nomobile %]
794
                                                            [% IF ( primary_contact_method == 'mobile' ) %]
794
                                                            [% IF ( borrower_data.primary_contact_method == 'mobile' ) %]
795
                                                                <option value="mobile" selected="selected">Other phone</option>
795
                                                                <option value="mobile" selected="selected">Other phone</option>
796
                                                            [% ELSE %]
796
                                                            [% ELSE %]
797
                                                                <option value="mobile">Other phone</option>
797
                                                                <option value="mobile">Other phone</option>
798
                                                            [% END %]
798
                                                            [% END %]
799
                                                        [% END %]
799
                                                        [% END %]
800
                                                        [% UNLESS noemail %]
800
                                                        [% UNLESS noemail %]
801
                                                            [% IF ( primary_contact_method == 'email' ) %]
801
                                                            [% IF ( borrower_data.primary_contact_method == 'email' ) %]
802
                                                                <option value="email" selected="selected">Primary email</option>
802
                                                                <option value="email" selected="selected">Primary email</option>
803
                                                            [% ELSE %]
803
                                                            [% ELSE %]
804
                                                                <option value="email">Primary email</option>
804
                                                                <option value="email">Primary email</option>
805
                                                            [% END %]
805
                                                            [% END %]
806
                                                        [% END %]
806
                                                        [% END %]
807
                                                        [% UNLESS noemailpro %]
807
                                                        [% UNLESS noemailpro %]
808
                                                            [% IF ( primary_contact_method == 'emailpro' ) %]
808
                                                            [% IF ( borrower_data.primary_contact_method == 'emailpro' ) %]
809
                                                                <option value="emailpro" selected="selected">Secondary email</option>
809
                                                                <option value="emailpro" selected="selected">Secondary email</option>
810
                                                            [% ELSE %]
810
                                                            [% ELSE %]
811
                                                                <option value="emailpro">Secondary email</option>
811
                                                                <option value="emailpro">Secondary email</option>
812
                                                            [% END %]
812
                                                            [% END %]
813
                                                        [% END %]
813
                                                        [% END %]
814
                                                        [% UNLESS nofax %]
814
                                                        [% UNLESS nofax %]
815
                                                            [% IF ( primary_contact_method == 'fax' ) %]
815
                                                            [% IF ( borrower_data.primary_contact_method == 'fax' ) %]
816
                                                                <option value="fax" selected="selected">Fax</option>
816
                                                                <option value="fax" selected="selected">Fax</option>
817
                                                            [% ELSE %]
817
                                                            [% ELSE %]
818
                                                                <option value="fax">Fax</option>
818
                                                                <option value="fax">Fax</option>
Lines 944-950 legend:hover { Link Here
944
                                                [% END %]
944
                                                [% END %]
945
                                                    Sort 1:
945
                                                    Sort 1:
946
                                                </label>
946
                                                </label>
947
                                                [% PROCESS 'av-build-dropbox.inc' name="sort1", category="Bsort1", default=sort1, empty=1, size = 20 %]
947
                                                [% PROCESS 'av-build-dropbox.inc' name="sort1", category="Bsort1", default=borrower_data.sort1, empty=1, size = 20 %]
948
                                                [% IF ( mandatorysort1 ) %]
948
                                                [% IF ( mandatorysort1 ) %]
949
                                                    <span class="required">Required</span>
949
                                                    <span class="required">Required</span>
950
                                                [% END %]
950
                                                [% END %]
Lines 960-966 legend:hover { Link Here
960
                                                [% END %]
960
                                                [% END %]
961
                                                    Sort 2:
961
                                                    Sort 2:
962
                                                </label>
962
                                                </label>
963
                                                [% PROCESS 'av-build-dropbox.inc' name="sort2", category="Bsort2", default=sort2, empty=1, size = 20 %]
963
                                                [% PROCESS 'av-build-dropbox.inc' name="sort2", category="Bsort2", default=borrower_data.sort2, empty=1, size = 20 %]
964
                                                [% IF ( mandatorysort2 ) %]
964
                                                [% IF ( mandatorysort2 ) %]
965
                                                    <span class="required">Required</span>
965
                                                    <span class="required">Required</span>
966
                                                [% END %]
966
                                                [% END %]
Lines 972-978 legend:hover { Link Here
972
                                                <label for="yes-autorenew_checkouts">
972
                                                <label for="yes-autorenew_checkouts">
973
                                                    Allow auto-renewal of items:
973
                                                    Allow auto-renewal of items:
974
                                                </label>
974
                                                </label>
975
                                                    [% IF ( autorenew_checkouts || opadd ) %]
975
                                                    [% IF ( borrower_data.autorenew_checkouts || opadd ) %]
976
                                                        <label for="yes-autorenew_checkouts">
976
                                                        <label for="yes-autorenew_checkouts">
977
                                                            Yes
977
                                                            Yes
978
                                                            <input type="radio" id="yes-autorenew_checkouts" name="autorenew_checkouts" value="1" checked="checked" />
978
                                                            <input type="radio" id="yes-autorenew_checkouts" name="autorenew_checkouts" value="1" checked="checked" />
979
- 

Return to bug 29684