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

(-)a/installer/data/mysql/updatedatabase.pl (-1 / +1 lines)
Lines 4372-4378 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
4372
4372
4373
$DBversion = "3.05.00.XXX";
4373
$DBversion = "3.05.00.XXX";
4374
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
4374
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
4375
    $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerUnwantedField','','Name the fields you don\'t need to store for a patron\'s account',NULL,'free')");
4375
    $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('BorrowerUnwantedField','','Name the fields you don''t need to store for a patron''s account',NULL,'free')");
4376
    print "Upgrade to $DBversion done (BorrowerUnwantedField syspref)\n";
4376
    print "Upgrade to $DBversion done (BorrowerUnwantedField syspref)\n";
4377
    SetVersion ($DBversion);
4377
    SetVersion ($DBversion);
4378
}
4378
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-8 / +21 lines)
Lines 176-181 Link Here
176
[% END %]
176
[% END %]
177
177
178
[% IF ( step_1 ) %]
178
[% IF ( step_1 ) %]
179
[%UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %]
179
	<fieldset class="rows" id="memberentry_identity">
180
	<fieldset class="rows" id="memberentry_identity">
180
		<legend>[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend>
181
		<legend>[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend>
181
		<ol>
182
		<ol>
Lines 304-309 Link Here
304
    [% END %]
305
    [% END %]
305
		</ol>
306
		</ol>
306
	</fieldset>
307
	</fieldset>
308
	[% END # hide fieldset %]
307
	
309
	
308
[% IF ( showguarantor ) %]<input type="hidden" id="guarantorid" name="guarantorid"   value="[% guarantorid %]" />
310
[% IF ( showguarantor ) %]<input type="hidden" id="guarantorid" name="guarantorid"   value="[% guarantorid %]" />
309
    <fieldset class="rows">
311
    <fieldset class="rows">
Lines 386-392 Link Here
386
    </fieldset>
388
    </fieldset>
387
389
388
[% END %]
390
[% END %]
389
[% UNLESS noaddress && nocity && nostate %]
391
392
[% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %]
390
<fieldset class="rows">
393
<fieldset class="rows">
391
    <legend>Main address</legend><ol>
394
    <legend>Main address</legend><ol>
392
        [% UNLESS nostreetnumber %]
395
        [% UNLESS nostreetnumber %]
Lines 503-509 Link Here
503
        [% END %]
506
        [% END %]
504
	</ol>
507
	</ol>
505
    </fieldset>
508
    </fieldset>
506
[% END # nostreet && nocity etc group%]
509
[% END # hide fieldset %]
510
511
[% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %]
507
  <fieldset class="rows" id="memberentry_contact">
512
  <fieldset class="rows" id="memberentry_contact">
508
    <legend>Contact</legend><ol>
513
    <legend>Contact</legend><ol>
509
        [% UNLESS nophone %]
514
        [% UNLESS nophone %]
Lines 582-594 Link Here
582
        [% END %]
587
        [% END %]
583
	</ol>
588
	</ol>
584
  </fieldset>
589
  </fieldset>
585
590
[%END # hide fieldset %]
586
591
587
<!-- ************************ STEP_1 *********************** -->
592
<!-- ************************ STEP_1 *********************** -->
588
[% END %]
593
[% END %]
589
[% IF ( step_6 ) %]
594
[% IF ( step_6 ) %]
590
595
591
    [% UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %]
596
    [% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %]
592
		<fieldset class="rows" id="memberentry_address">
597
		<fieldset class="rows" id="memberentry_address">
593
		<legend>Alternate address</legend><ol>
598
		<legend>Alternate address</legend><ol>
594
        [% UNLESS noB_address %]
599
        [% UNLESS noB_address %]
Lines 700-709 Link Here
700
        [% END %]
705
        [% END %]
701
			</ol>
706
			</ol>
702
		</fieldset>
707
		</fieldset>
703
    [% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %]
708
    [% END # hide fieldset %]
704
[% END %]		
709
[% END %]		
705
[% IF ( step_2 ) %]
710
[% IF ( step_2 ) %]
706
    [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactphone %]
711
    [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %]
707
		<fieldset class="rows" id="memberentry_altaddress">       
712
		<fieldset class="rows" id="memberentry_altaddress">       
708
		    <legend>Alternate Contact</legend><ol>
713
		    <legend>Alternate Contact</legend><ol>
709
        [% UNLESS noaltcontactsurname %]
714
        [% UNLESS noaltcontactsurname %]
Lines 816-822 Link Here
816
        [% END %]
821
        [% END %]
817
            </ol>
822
            </ol>
818
        </fieldset>
823
        </fieldset>
819
    [% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %]
824
    [% END # hide fieldset %]
820
825
821
826
822
  [% IF ( I ) %]
827
  [% IF ( I ) %]
Lines 924-929 Link Here
924
        [% END %]
929
        [% END %]
925
	</ol>
930
	</ol>
926
  </fieldset>
931
  </fieldset>
932
    
933
    [% UNLESS nodateenrolled && nodateexpiry &&  noopacnote && noborrowernotes %]
927
	<fieldset class="rows" id="memberentry_subscription">
934
	<fieldset class="rows" id="memberentry_subscription">
928
	<legend>Library set-up</legend><ol>
935
	<legend>Library set-up</legend><ol>
929
        [% UNLESS nodateenrolled %]
936
        [% UNLESS nodateenrolled %]
Lines 1002-1007 Link Here
1002
        [% END %]
1009
        [% END %]
1003
		</ol>
1010
		</ol>
1004
	</fieldset>
1011
	</fieldset>
1012
    [% END # hide fieldset %]
1013
    
1014
    [% UNLESS nouserid && nopassword %]
1005
	<fieldset class="rows" id="memberentry_userid">
1015
	<fieldset class="rows" id="memberentry_userid">
1006
		<legend>OPAC/Staff Login</legend><ol>
1016
		<legend>OPAC/Staff Login</legend><ol>
1007
        [% UNLESS nouserid %]
1017
        [% UNLESS nouserid %]
Lines 1021-1026 Link Here
1021
1031
1022
	  [% IF ( mandatoryuserid ) %]<span class="required">Required</span>[% END %]
1032
	  [% IF ( mandatoryuserid ) %]<span class="required">Required</span>[% END %]
1023
		</li>
1033
		</li>
1034
		[%END %]
1035
		[%UNLESS nopassword %]
1024
		<li>
1036
		<li>
1025
			[% IF ( mandatorypassword ) %]
1037
			[% IF ( mandatorypassword ) %]
1026
			<label for="password" class="required">
1038
			<label for="password" class="required">
Lines 1055-1060 Link Here
1055
        [% END %]
1067
        [% END %]
1056
    </ol>
1068
    </ol>
1057
		</fieldset>
1069
		</fieldset>
1070
		[%END # hide fieldset %]
1071
		
1058
		<!--this zones are not necessary in modif mode -->
1072
		<!--this zones are not necessary in modif mode -->
1059
		[% UNLESS ( opadd ) %]
1073
		[% UNLESS ( opadd ) %]
1060
		<fieldset class="rows">
1074
		<fieldset class="rows">
1061
- 

Return to bug 6190