From 7d34ac8ec4866b467d0ab3c48453393ff6a38b83 Mon Sep 17 00:00:00 2001 From: tipaul Date: Fri, 11 Apr 2003 08:41:06 +0000 Subject: [PATCH] *** empty log message *** --- C4/Circulation/Circ2.pm | 11 +- .../default/en/acqui/newbasket2.tmpl | 6 +- .../default/en/search.marc/result.tmpl | 6 - .../default/fr/members/member-password.tmpl | 20 ++++ .../opac-tmpl/default/en/opac-userupdate.tmpl | 110 +++++++++--------- 5 files changed, 84 insertions(+), 69 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/default/fr/members/member-password.tmpl diff --git a/C4/Circulation/Circ2.pm b/C4/Circulation/Circ2.pm index 8f57353c0b..4611db1eae 100755 --- a/C4/Circulation/Circ2.pm +++ b/C4/Circulation/Circ2.pm @@ -38,6 +38,7 @@ use C4::Context; #use C4::Scan; use C4::Stats; use C4::Reserves2; +use C4::Koha; #use C4::Search; #use C4::Print; @@ -337,17 +338,15 @@ sub findborrower { my ($env, $key) = @_; my $dbh = C4::Context->dbh; my @borrowers; - my $q_key=$dbh->quote($key); - my $sth=$dbh->prepare("select * from borrowers where cardnumber=$q_key"); - $sth->execute; + my $sth=$dbh->prepare("select * from borrowers where cardnumber=?"); + $sth->execute($key); if ($sth->rows) { my ($borrower)=$sth->fetchrow_hashref; push (@borrowers, $borrower); } else { - $q_key=$dbh->quote("$key%"); $sth->finish; - $sth=$dbh->prepare("select * from borrowers where surname like $q_key"); - $sth->execute; + $sth=$dbh->prepare("select * from borrowers where surname like ?"); + $sth->execute($key."%"); while (my $borrower = $sth->fetchrow_hashref) { push (@borrowers, $borrower); } diff --git a/koha-tmpl/intranet-tmpl/default/en/acqui/newbasket2.tmpl b/koha-tmpl/intranet-tmpl/default/en/acqui/newbasket2.tmpl index cdf814a63c..c8097e0f54 100755 --- a/koha-tmpl/intranet-tmpl/default/en/acqui/newbasket2.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/acqui/newbasket2.tmpl @@ -4,14 +4,14 @@ &basket=&sub="> - Add New Biblio + //images/filenew.png" border=0 align=right alt="Add New Biblio"> &basket=&sub="> - Add New Biblio + //images/filenew.png" border=0 align=right alt="Add New Biblio"> "> -View Basket +//images/1uparrow.png" border=0 align=right alt="View Basket">
> > diff --git a/koha-tmpl/intranet-tmpl/default/en/search.marc/result.tmpl b/koha-tmpl/intranet-tmpl/default/en/search.marc/result.tmpl index c5577e309d..a7ab91c5f2 100644 --- a/koha-tmpl/intranet-tmpl/default/en/search.marc/result.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/search.marc/result.tmpl @@ -4,12 +4,6 @@ - -

Logged in as: [Log Out]

- -

Log In to Koha

-
-
diff --git a/koha-tmpl/intranet-tmpl/default/fr/members/member-password.tmpl b/koha-tmpl/intranet-tmpl/default/fr/members/member-password.tmpl new file mode 100644 index 0000000000..9ed0c7bfb6 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/default/fr/members/member-password.tmpl @@ -0,0 +1,20 @@ + + + + + +Cliquer Ici Pour voir la fiche + + +

,

+ + > + Identifiant utilisateur : >
+ Nouveau mot de passe : > +

+ + + + + + diff --git a/koha-tmpl/opac-tmpl/default/en/opac-userupdate.tmpl b/koha-tmpl/opac-tmpl/default/en/opac-userupdate.tmpl index 396c307285..fc476b3c97 100644 --- a/koha-tmpl/opac-tmpl/default/en/opac-userupdate.tmpl +++ b/koha-tmpl/opac-tmpl/default/en/opac-userupdate.tmpl @@ -1,54 +1,56 @@ - - - -

Logged in as: [Log Out]

- -

Log In to Koha

-
- - - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Surname
Title
Firstname
Street address
City
Home phone
Work/Fax phone
Email
-
- -
- - - - + + + +

Logged in as: [Log Out]

+ +

Log In to Koha

+
+ +Please, change what's needed. Note that a mail will be sent to the library, that will validate changes.
+So, the changes you will do won't appear immediatly.


+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Surname
Title
Firstname
Street address
City
Home phone
Work/Fax phone
Email
+
+
+
+ +
+ + -- 2.39.5