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

(-)a/C4/Members.pm (+5 lines)
Lines 367-372 sub GetMemberDetails { Link Here
367
    $sth->execute( $borrower->{'categorycode'} );
367
    $sth->execute( $borrower->{'categorycode'} );
368
    my $enrolment = $sth->fetchrow;
368
    my $enrolment = $sth->fetchrow;
369
    $borrower->{'enrolmentperiod'} = $enrolment;
369
    $borrower->{'enrolmentperiod'} = $enrolment;
370
    # For the purposes of making templates easier, we'll define a
371
    # 'showname' which is the alternate form the user's first name if 
372
    # 'other name' is defined.
373
    $borrower->{'showname'} = $borrower->{'othernames'} || $borrower->{'firstname'};
374
370
    return ($borrower);    #, $flags, $accessflagshash);
375
    return ($borrower);    #, $flags, $accessflagshash);
371
}
376
}
372
377
(-)a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc (-1 / +1 lines)
Lines 4-10 Link Here
4
<!-- TMPL_UNLESS NAME="loggedinusername" -->
4
<!-- TMPL_UNLESS NAME="loggedinusername" -->
5
               <li><a href="/cgi-bin/koha/opac-user.pl">Log in to Your Account</a></li><!-- /TMPL_UNLESS -->
5
               <li><a href="/cgi-bin/koha/opac-user.pl">Log in to Your Account</a></li><!-- /TMPL_UNLESS -->
6
            <!-- TMPL_IF NAME="loggedinusername" -->
6
            <!-- TMPL_IF NAME="loggedinusername" -->
7
                <li><span class="members">Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername"><!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --><!-- /TMPL_LOOP --></span></a></span></li>
7
                <li><span class="members">Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername"><!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="showname" --> <!-- TMPL_VAR NAME="surname" --><!-- /TMPL_LOOP --></span></a></span></li>
8
8
9
            <!-- /TMPL_IF -->
9
            <!-- /TMPL_IF -->
10
            <!-- TMPL_IF NAME="ShowOpacRecentSearchLink" -->
10
            <!-- TMPL_IF NAME="ShowOpacRecentSearchLink" -->
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-account.tmpl (-3 / +3 lines)
Lines 1-4 Link Here
1
<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  Account for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP -->
1
<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  Account for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="showname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
</head>
3
</head>
4
<body id="opac-account">
4
<body id="opac-account">
Lines 11-17 Link Here
11
		<div class="container">
11
		<div class="container">
12
<!--CONTENT-->
12
<!--CONTENT-->
13
    <!-- TMPL_LOOP NAME="BORROWER_INFO" -->
13
    <!-- TMPL_LOOP NAME="BORROWER_INFO" -->
14
        <h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Fines and Charges</h3>
14
        <h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="showname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Fines and Charges</h3>
15
    <!-- /TMPL_LOOP -->
15
    <!-- /TMPL_LOOP -->
16
16
17
    <!-- TMPL_IF NAME="ACCOUNT_LINES" -->
17
    <!-- TMPL_IF NAME="ACCOUNT_LINES" -->
Lines 59-62 Link Here
59
</div>
59
</div>
60
</div>
60
</div>
61
</div>
61
</div>
62
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
62
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-messaging.tmpl (-2 / +2 lines)
Lines 1-4 Link Here
1
<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  Updating Details for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP -->
1
<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  Updating Details for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="showname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
<script type="text/javascript">//<![CDATA[
3
<script type="text/javascript">//<![CDATA[
4
	$(document).ready(function(){
4
	$(document).ready(function(){
Lines 25-31 Link Here
25
	<div class="yui-b">
25
	<div class="yui-b">
26
26
27
<!-- TMPL_LOOP name="BORROWER_INFO" -->
27
<!-- TMPL_LOOP name="BORROWER_INFO" -->
28
<h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Your Messaging Settings</h3>
28
<h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="showname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Your Messaging Settings</h3>
29
<!-- /TMPL_LOOP -->
29
<!-- /TMPL_LOOP -->
30
30
31
<form action="/cgi-bin/koha/opac-messaging.pl" method="get" name="opacmessaging">
31
<form action="/cgi-bin/koha/opac-messaging.pl" method="get" name="opacmessaging">
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-passwd.tmpl (-2 / +2 lines)
Lines 1-4 Link Here
1
<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  Account for <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" -->
1
<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  Account for <!-- TMPL_VAR name="showname" --> <!-- TMPL_VAR name="surname" -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
</head>
3
</head>
4
<body id="opac-passwd">
4
<body id="opac-passwd">
Lines 9-15 Link Here
9
	<div id="yui-main">
9
	<div id="yui-main">
10
	<div class="yui-b"><div class="yui-g">
10
	<div class="yui-b"><div class="yui-g">
11
	<div class="container">
11
	<div class="container">
12
	<h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->l../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Change your Password </h3>
12
	<h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="showname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->l../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Change your Password </h3>
13
13
14
    <!-- TMPL_IF NAME= "Error_messages" -->
14
    <!-- TMPL_IF NAME= "Error_messages" -->
15
<div class="dialog error">        <h3>There was a problem with your submission</h3>
15
<div class="dialog error">        <h3>There was a problem with your submission</h3>
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tmpl (-2 / +2 lines)
Lines 1-4 Link Here
1
<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryNameTitle" DEFAULT="Koha Online" --> Catalog &rsaquo;  Account for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP -->
1
<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryNameTitle" DEFAULT="Koha Online" --> Catalog &rsaquo;  Account for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="showname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
<style type="text/css">ul.ui-tabs-nav li a, ul.ui-tabs-nav li span.a  { padding:0.6em 1em; }</style>
3
<style type="text/css">ul.ui-tabs-nav li a, ul.ui-tabs-nav li span.a  { padding:0.6em 1em; }</style>
4
<script type="text/javascript">
4
<script type="text/javascript">
Lines 22-28 $(document).ready(function(){ Link Here
22
	<div class="yui-b"><div class="yui-g">
22
	<div class="yui-b"><div class="yui-g">
23
<div class="container">
23
<div class="container">
24
<!--CONTENT-->
24
<!--CONTENT-->
25
<h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Checkout History</h3>
25
<h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="showname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Checkout History</h3>
26
26
27
<!-- TMPL_UNLESS NAME="count" -->
27
<!-- TMPL_UNLESS NAME="count" -->
28
You have never borrowed anything from this library.
28
You have never borrowed anything from this library.
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tmpl (-2 / +2 lines)
Lines 1-4 Link Here
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryNameTitle" DEFAULT="Koha Online" --> Catalog &rsaquo;  Placing hold <!-- TMPL_VAR NAME="title" escape="html" --> for <!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --><!-- /TMPL_LOOP -->
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryNameTitle" DEFAULT="Koha Online" --> Catalog &rsaquo;  Placing hold <!-- TMPL_VAR NAME="title" escape="html" --> for <!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="showname" --> <!-- TMPL_VAR NAME="surname" --><!-- /TMPL_LOOP -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
<!-- TMPL_INCLUDE NAME="calendar.inc" -->
3
<!-- TMPL_INCLUDE NAME="calendar.inc" -->
4
<script type="text/javascript">
4
<script type="text/javascript">
Lines 220-226 Link Here
220
          <!-- TMPL_UNLESS NAME="message" -->
220
          <!-- TMPL_UNLESS NAME="message" -->
221
              <h3>Confirm holds for:
221
              <h3>Confirm holds for:
222
                <!-- TMPL_LOOP NAME="USER_INFO" -->
222
                <!-- TMPL_LOOP NAME="USER_INFO" -->
223
                  <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)
223
                  <!-- TMPL_VAR NAME="showname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)
224
                <!-- /TMPL_LOOP -->
224
                <!-- /TMPL_LOOP -->
225
              </h3>
225
              </h3>
226
226
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-sendbasket.tmpl (-1 / +1 lines)
Lines 5-11 Your Cart Link Here
5
<HEADER>
5
<HEADER>
6
Hi,
6
Hi,
7
7
8
<!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> sent you a cart from our online catalog.
8
<!-- TMPL_VAR NAME="showname" --> <!-- TMPL_VAR NAME="surname" --> sent you a cart from our online catalog.
9
9
10
Please note that the attached file is a MARC biblographic records file
10
Please note that the attached file is a MARC biblographic records file
11
which can be imported into a Personal Bibliographic Software like EndNote,
11
which can be imported into a Personal Bibliographic Software like EndNote,
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-sendshelf.tmpl (-1 / +1 lines)
Lines 5-11 Your List : <!-- TMPL_VAR NAME="shelfname" --> Link Here
5
<HEADER>
5
<HEADER>
6
Hi,
6
Hi,
7
7
8
<!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->, sent you from our online catalog, the virtual shelf called :  <!-- TMPL_VAR NAME="shelfname" -->.
8
<!-- TMPL_VAR NAME="showname" --> <!-- TMPL_VAR NAME="surname" -->, sent you from our online catalog, the virtual shelf called :  <!-- TMPL_VAR NAME="shelfname" -->.
9
9
10
Please note that the attached file is a MARC biblographic records file
10
Please note that the attached file is a MARC biblographic records file
11
which can be imported into a Personal Bibliographic Software like EndNote,
11
which can be imported into a Personal Bibliographic Software like EndNote,
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl (-2 / +2 lines)
Lines 1-7 Link Here
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2
<!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo; Library Home for
2
<!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo; Library Home for
3
<!-- TMPL_LOOP name="BORROWER_INFO" -->
3
<!-- TMPL_LOOP name="BORROWER_INFO" -->
4
    <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" -->
4
    <!-- TMPL_VAR name="showname" --> <!-- TMPL_VAR name="surname" -->
5
<!-- /TMPL_LOOP -->
5
<!-- /TMPL_LOOP -->
6
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
6
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
7
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
7
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
Lines 93-99 $.tablesorter.addParser({ Link Here
93
	       </div>
93
	       </div>
94
	<!-- /TMPL_IF -->
94
	<!-- /TMPL_IF -->
95
    <!-- TMPL_LOOP NAME="BORROWER_INFO" -->
95
    <!-- TMPL_LOOP NAME="BORROWER_INFO" -->
96
        <h2>Hello, <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> <span class="hint">(<a href="/cgi-bin/koha/opac-main.pl?logout.x=1">Click here</a> if you're not <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->)</span></h2>
96
        <h2>Hello, <!-- TMPL_VAR NAME="showname" --> <!-- TMPL_VAR NAME="surname" --> <span class="hint">(<a href="/cgi-bin/koha/opac-main.pl?logout.x=1">Click here</a> if you're not <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="showname" --> <!-- TMPL_VAR NAME="surname" -->)</span></h2>
97
        
97
        
98
		<!-- TMPL_IF NAME="patronupdate" --><div class="dialog message"><h3>Thank you!</h3><p>Your corrections have been submitted to the library, and a staff member will update your record as soon as possible.</p></div><!-- /TMPL_IF -->
98
		<!-- TMPL_IF NAME="patronupdate" --><div class="dialog message"><h3>Thank you!</h3><p>Your corrections have been submitted to the library, and a staff member will update your record as soon as possible.</p></div><!-- /TMPL_IF -->
99
		
99
		
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userdetails.tmpl (-3 / +6 lines)
Lines 1-4 Link Here
1
<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  Personal Details for <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" -->
1
<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  Personal Details for <!-- TMPL_VAR name="showname" --> <!-- TMPL_VAR name="surname" -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
</head>
3
</head>
4
<body>
4
<body>
Lines 9-18 Link Here
9
	<div id="yui-main">
9
	<div id="yui-main">
10
	<div class="yui-b"><div class="yui-g">
10
	<div class="yui-b"><div class="yui-g">
11
11
12
<h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Personal Details</h3>
12
<h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="showname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Personal Details</h3>
13
13
14
<table>
14
<table>
15
<tr><th scope="row">Name:</th><td> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></td></tr>
15
<tr><th scope="row">Name:</th><td> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></td></tr>
16
<!-- TMPL_IF name="othernames" -->
17
<tr><th scope="row">Other Name:</th><td> <!-- TMPL_VAR NAME="othernames" --> </td></tr>
18
<!-- /TMPL_IF -->
16
<tr><th scope="row">
19
<tr><th scope="row">
17
Card Number:</th><td><!-- TMPL_VAR NAME="cardnumber" --></td></tr>
20
Card Number:</th><td><!-- TMPL_VAR NAME="cardnumber" --></td></tr>
18
</table>
21
</table>
Lines 84-87 Card Number:</th><td><!-- TMPL_VAR NAME="cardnumber" --></td></tr> Link Here
84
</div>
87
</div>
85
</div>
88
</div>
86
</div>
89
</div>
87
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
90
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tmpl (-2 / +2 lines)
Lines 1-4 Link Here
1
<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  Updating Details for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP -->
1
<!-- TMPL_INCLUDE name="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  Updating Details for <!-- TMPL_LOOP name="BORROWER_INFO" --><!-- TMPL_VAR name="showname" --> <!-- TMPL_VAR name="surname" --><!-- /TMPL_LOOP -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
</head>
3
</head>
4
<body id="opac-userupdate">
4
<body id="opac-userupdate">
Lines 11-17 Link Here
11
11
12
<div class="container">
12
<div class="container">
13
<!-- TMPL_LOOP name="BORROWER_INFO" -->
13
<!-- TMPL_LOOP name="BORROWER_INFO" -->
14
<h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Your Personal Details</h3>
14
<h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="showname" --> <!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR NAME="themelang" -->../../images/caret.gif" width="16" height="16" alt="&gt;" border="0" /> Your Personal Details</h3>
15
15
16
<!-- TMPL_IF NAME="OPACPatronDetails" -->
16
<!-- TMPL_IF NAME="OPACPatronDetails" -->
17
<form action="/cgi-bin/koha/opac-userupdate.pl" method="get">
17
<form action="/cgi-bin/koha/opac-userupdate.pl" method="get">
(-)a/opac/opac-passwd.pl (-5 / +6 lines)
Lines 97-106 else { Link Here
97
	}
97
	}
98
}
98
}
99
99
100
$template->param(firstname => $borr->{'firstname'},
100
$template->param(
101
							surname => $borr->{'surname'},
101
    firstname => $borr->{'firstname'},
102
							minpasslen => $minpasslen,
102
    surname => $borr->{'surname'},
103
							passwdview => 1,
103
    showname => $borr->{'showname'},
104
    minpasslen => $minpasslen,
105
    passwdview => 1,
104
);
106
);
105
107
106
output_html_with_http_headers $query, $cookie, $template->output;
108
output_html_with_http_headers $query, $cookie, $template->output;
107
- 

Return to bug 5172