[Koha-cvs] CVS: koha/opac opac-main.pl,1.15,1.16
Paul POULAIN
tipaul at users.sourceforge.net
Mon Oct 4 22:20:27 CEST 2004
Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22944/opac
Modified Files:
opac-main.pl
Log Message:
The textmessaging field now appears in opac-main when the user log in.
The textmessaging field has been moved in the member editor & changed to a textarea html field
Index: opac-main.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-main.pl,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** opac-main.pl 16 Sep 2004 09:21:06 -0000 1.15
--- opac-main.pl 4 Oct 2004 20:20:25 -0000 1.16
***************
*** 9,12 ****
--- 9,13 ----
use C4::BookShelves;
use C4::Koha;
+ use C4::Members;
my $input = new CGI;
***************
*** 36,39 ****
--- 37,41 ----
flagsrequired => {borrow => 1},
});
+ my $borrower = getmember('',$borrowernumber);
my @options;
my $counter=0;
***************
*** 50,53 ****
--- 52,56 ----
virtualshelves => C4::Context->preference("virtualshelves"),
languages => \@options,
+ textmessaging => $borrower->{textmessaging},
);
output_html_with_http_headers $input, $cookie, $template->output;
More information about the Koha-cvs
mailing list