[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/members moremember.pl,1.15,1.16
From: |
Waylon Robertson |
Subject: |
[Koha-cvs] CVS: koha/members moremember.pl,1.15,1.16 |
Date: |
Sun, 21 Aug 2005 21:18:34 -0700 |
Update of /cvsroot/koha/koha/members
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12769
Modified Files:
moremember.pl
Log Message:
Added picture displaying code. If member picture exists in
intranet-tmpl/borrowerimages/ (ie if bornum is 1, then its picture will be
1.jpg) then display.
Index: moremember.pl
===================================================================
RCS file: /cvsroot/koha/koha/members/moremember.pl,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** moremember.pl 4 Aug 2005 14:48:53 -0000 1.15
--- moremember.pl 22 Aug 2005 04:18:31 -0000 1.16
***************
*** 213,217 ****
$_->{relatedto} = findrelatedto($_->{type},$_->{externalid});
}
!
$template->param($data);
$template->param(
--- 213,223 ----
$_->{relatedto} = findrelatedto($_->{type},$_->{externalid});
}
! my $picture;
! my $htdocs = C4::Context->config('intrahtdocs');
! $picture = "/borrowerimages/".$bornum.".jpg";
! if (-e $htdocs."$picture")
! {
! $template->param(picture => $picture)
! };
$template->param($data);
$template->param(
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/members moremember.pl,1.15,1.16,
Waylon Robertson <=