Adding a new variable, memberofinstitution, this allows a borrower to belong to one...
authorrangi <rangi>
Mon, 22 May 2006 22:32:46 +0000 (22:32 +0000)
committerrangi <rangi>
Mon, 22 May 2006 22:32:46 +0000 (22:32 +0000)
Needed by a library.
There will be a new table to go with this plus some changes to the add/modfiy members pages. But the default value for this variable will be 0(no) so most people wont see any changes at all

admin/systempreferences.pl

index 5a3a9d7..7c914d9 100755 (executable)
@@ -84,6 +84,7 @@ my %tabsysprefs;
        $tabsysprefs{automembernum}="Members";
        $tabsysprefs{checkdigit}="Members";
        $tabsysprefs{NotifyBorrowerDeparture}="Members";
+        $tabsysprefs{memberofinstitution}="Members";
 # OPAC
        $tabsysprefs{AmazonAssocTag}="OPAC";
        $tabsysprefs{AmazonContent}="OPAC";
@@ -161,7 +162,7 @@ my $offset=$input->param('offset');
 my $script_name="/cgi-bin/koha/admin/systempreferences.pl";
 
 my ($template, $borrowernumber, $cookie)
-    = get_template_and_user({template_name => "admin/systempreferences.tmpl",
+    = get_template_and_user({template_name => "parameters/systempreferences.tmpl",
                             query => $input,
                             type => "intranet",
                             authnotrequired => 0,