[Koha-bugs] [Bug 6554] Broken encoding in members home/search page
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 18 21:12:44 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6554
--- Comment #7 from Serhij Dubyk <dubyk at library.lviv.ua> 2011-10-18 19:12:44 UTC ---
(In reply to comment #6)
> Created attachment 5962 [details]
> -- /cgi-bin/koha/members/members-home.pl (Russian)
>
> Tested in Koha 3.05.00.011.
Encoding of members.tt looks good:
<pre>
[% INCLUDE 'doc-head-open.inc' %] <title>Коха › Посетители [% IF (
searching ) %] › Результаты поиска [% END %]</title>[% INCLUDE
'doc-head-close.inc' %] </head>
<body>[% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %] <div
id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Начало</a>› [% IF (
searching ) %]<a
href="/cgi-bin/koha/members/members-home.pl">Посетители</a>› Результаты
поиска[% ELSE %]Посетители[% END %]</div>
<div id="doc2" class="yui-t7">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<div class="yui-g">[% INCLUDE 'patron-toolbar.inc' %] [% IF ( no_add ) %]<div
class="dialog alert"><h3>Cannot add patron</h3>[% IF ( no_branches ) %]<p>There
are <strong>no libraries defined</strong>. [% IF ( CAN_user_parameters )
%]Please <a href="/cgi-bin/koha/admin/branches.pl">add a library</a>.[% ELSE
%]An administrator must define at least one library.[% END %]</p>[% END %] [%
IF ( no_categories ) %]<p>There are <strong>no patron categories
defined</strong>. [% IF ( CAN_user_parameters ) %]Please <a
href="/cgi-bin/koha/admin/categorie.pl">add a patron category</a>.[% ELSE %]An
administrator must define at least one patron category.[% END %]</p>[% END
%]</div>[% END %] <div class="browse">Поиск по фамилии: [% FOREACH letter IN
letters %] <a
href="/cgi-bin/koha/members/member.pl?quicksearch=1&surname=[%
letter.letter %]">[% letter.letter %]</a>[% END %] </div>[% IF ( resultsloop )
%] <div id="searchheader"> <h3>Результаты от [% from %] по [% to %] с [%
numresults %] для поиска по запросу [% IF ( member ) %]'<span class="ex">[%
member %]</span>'[% END %][% IF ( surname ) %]'<span class="ex">[% surname
%]</span>'[% END %]</h3></div>
<div class="searchresults">
<table id="memberresultst">
<thead>
<tr>
<th>Билет</th>
<th>Наименование </th>
<th>Категория</th>
<th>Библиотека</th>
<th>Истекает на</th>
<th>Просрочки/Выдачи</th>
<th>Пеня</th>
<th>Примечание для оборота</th>
<th> </th>
</tr>
</thead>
<tbody>[% FOREACH resultsloo IN resultsloop %] [% IF ( resultsloo.overdue ) %]
<tr class="problem">[% ELSE %] [% UNLESS ( loop.odd ) %] <tr
class="highlight">[% ELSE %] <tr>[% END %] [% END %] <td>[%
resultsloo.cardnumber %]</td>
<td style="white-space: nowrap;"><a
href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[%
resultsloo.borrowernumber %]">[% resultsloo.surname %], [% resultsloo.firstname
%]</a> <br />[% resultsloo.address %][% IF ( resultsloo.address2 ) %]<br />[%
resultsloo.address2 %][% END %][% IF ( resultsloo.city ) %]<br />[%
resultsloo.city %][% IF ( resultsloo.state ) %],[% END %][% END %][% IF (
resultsloo.state ) %] [% resultsloo.state %][% END %] [% IF (
resultsloo.zipcode ) %] [% resultsloo.zipcode %][% END %][% IF (
resultsloo.country ) %], [% resultsloo.country %][% END %]</td>
<td>[% resultsloo.category_description %] ([% resultsloo.category_type
%])</td>
<td>[% resultsloo.branchcode %]</td>
<td>[% resultsloo.dateexpiry %]</td>
<td>[% IF ( resultsloo.overdues ) %]<span class="overdue"><strong>[%
resultsloo.overdues %]</strong></span>[% ELSE %][% resultsloo.overdues %][% END
%]/[% resultsloo.issues %]</td>
<td>[% IF ( resultsloo.fines < 0 ) %]<span class="credit">[% resultsloo.fines
%]</span>[% ELSIF resultsloo.fines > 0 %] <span class="debit"><strong>[%
resultsloo.fines %]</strong></span> [% ELSE %] [% resultsloo.fines %] [% END
%]</td>
<td>[% resultsloo.borrowernotes %]</td>
<td>[% IF ( resultsloo.category_type ) %] <a
href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[%
resultsloo.borrowernumber %]&category_type=[% resultsloo.category_type
%]">Редактировать</a>
[% ELSE %] <!-- try with categorycode if no category_type -->
[% IF ( resultsloo.categorycode ) %]
<a
href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[%
resultsloo.borrowernumber %]&categorycode=[% resultsloo.categorycode
%]">Редактировать</a>
[% ELSE %] <!-- if no categorycode, set category_type to A by default -->
<a
href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[%
resultsloo.borrowernumber %]&category_type=A">Редактировать</a>[% END %] [%
END %]</td>
</tr>[% END %] </tbody>
</table>
<div class="pages">[% IF ( multipage ) %][% paginationbar %][% END %]</div>
</div>[% ELSE %] [% IF ( searching ) %] <div class="dialog alert">Ничего не
найдено</div>[% END %] [% END %] </div>
</div>
<div class="yui-g">[% INCLUDE 'members-menu.inc' %] </div>
</div>
</div>
<script type="text/javascript" src="[% themelang
%]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
<script type="text/javascript">//<![CDATA[
$(document).ready(function() {
$("#memberresultst").tablesorter({
sortList: [[1,0]],
widgets: ['zebra']
});
});
//]]>
</script>[% INCLUDE 'intranet-bottom.inc' %]
</pre>
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list