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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt (-3 / +3 lines)
Lines 83-91 Link Here
83
                    [% IF ( CHUNK.type_text ) %]
83
                    [% IF ( CHUNK.type_text ) %]
84
                    [% CHUNK.contents %]
84
                    [% CHUNK.contents %]
85
                    [% ELSIF ( CHUNK.type_input ) %]
85
                    [% ELSIF ( CHUNK.type_input ) %]
86
                    <input type="[%IF CHUNK.input_type %][% CHUNK.input_type %][% ELSE %]text[% END %]" name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% DEFAULT CHUNK.class="short" %]" value="[% CHUNK.value %]" autocomplete="off" /> [% IF ( CHUNK.dateinput ) %]<span class="hint">[% INCLUDE 'date-format.inc' %]</span>[% END %]
86
                    <input type="[%IF CHUNK.input_type %][% CHUNK.input_type %][% ELSE %]text[% END %]" name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "short" %]" value="[% CHUNK.value %]" autocomplete="off" /> [% IF ( CHUNK.dateinput ) %]<span class="hint">[% INCLUDE 'date-format.inc' %]</span>[% END %]
87
                    [% ELSIF ( CHUNK.type_select ) %]
87
                    [% ELSIF ( CHUNK.type_select ) %]
88
                    <select name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% DEFAULT CHUNK.class="choice" %]">
88
                    <select name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "choice" %]">
89
                        [% FOREACH CHOICE IN CHUNK.CHOICES %]
89
                        [% FOREACH CHOICE IN CHUNK.CHOICES %]
90
                        [% IF ( CHOICE.selected ) %]
90
                        [% IF ( CHOICE.selected ) %]
91
                        <option value="[% CHOICE.value %]" selected="selected">
91
                        <option value="[% CHOICE.value %]" selected="selected">
Lines 98-104 Link Here
98
                    </select>
98
                    </select>
99
                    [% ELSIF ( CHUNK.type_textarea ) %]
99
                    [% ELSIF ( CHUNK.type_textarea ) %]
100
					<a class="expand-textarea" style="display: none" href="#">Click to Edit</a>
100
					<a class="expand-textarea" style="display: none" href="#">Click to Edit</a>
101
					<textarea name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% DEFAULT CHUNK.class="short" %]">[% CHUNK.value %]</textarea>
101
					<textarea name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "short" %]">[% CHUNK.value %]</textarea>
102
                    [% ELSIF ( CHUNK.type_languages ) %]
102
                    [% ELSIF ( CHUNK.type_languages ) %]
103
                    <dl>
103
                    <dl>
104
                    [% FOREACH language IN CHUNK.languages %]
104
                    [% FOREACH language IN CHUNK.languages %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt (-2 / +2 lines)
Lines 233-241 Link Here
233
    <li><label for="order">Sort By:</label> <select name="order" id="order">
233
    <li><label for="order">Sort By:</label> <select name="order" id="order">
234
[% FOREACH ORDER_LOO IN ORDER_LOOP %]
234
[% FOREACH ORDER_LOO IN ORDER_LOOP %]
235
    [% IF ( ORDER_LOO.selected ) %]
235
    [% IF ( ORDER_LOO.selected ) %]
236
    <option value="[% DEFAULT ORDER_LOO.ordervalue="" %]" selected="selected">
236
    <option value="[% ORDER_LOO.ordervalue %]" selected="selected">
237
    [% ELSE %]
237
    [% ELSE %]
238
    <option value="[% DEFAULT ORDER_LOO.ordervalue="" %]">
238
    <option value="[% ORDER_LOO.ordervalue %]">
239
    [% END %]
239
    [% END %]
240
    [% IF ( ORDER_LOO.order_date_due ) %]Due Date
240
    [% IF ( ORDER_LOO.order_date_due ) %]Due Date
241
    [% ELSIF ( ORDER_LOO.order_borrower ) %]Patron
241
    [% ELSIF ( ORDER_LOO.order_borrower ) %]Patron
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt (-2 / +2 lines)
Lines 9-15 Link Here
9
<script type="text/javascript" src="[% themelang %]/lib/calendar/calendar-setup.js"></script>
9
<script type="text/javascript" src="[% themelang %]/lib/calendar/calendar-setup.js"></script>
10
<!-- End of additions -->
10
<!-- End of additions -->
11
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
11
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
12
<script type="text/javascript" language="JavaScript">
12
<script type="text/javascript">
13
//<![CDATA[
13
//<![CDATA[
14
$.tablesorter.addParser({
14
$.tablesorter.addParser({
15
    id: 'articles', 
15
    id: 'articles', 
Lines 55-61 $.tablesorter.addParser({ Link Here
55
   <h3>Calculated on [% todaysdate %]. From [% from %]
55
   <h3>Calculated on [% todaysdate %]. From [% from %]
56
	to [% to %]</h3>
56
	to [% to %]</h3>
57
<p>These items have a hold ratio &ge; [% ratio %].</p>
57
<p>These items have a hold ratio &ge; [% ratio %].</p>
58
<div class="sql">[% DEFAULT sql="" %]</div>
58
<div class="sql">[% sql %]</div>
59
59
60
[% IF ( reserveloop ) %]
60
[% IF ( reserveloop ) %]
61
    <table id="holdst">
61
    <table id="holdst">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-1 / +1 lines)
Lines 188-194 function Dopop(link) { Link Here
188
    [% IF ( transfer ) %]
188
    [% IF ( transfer ) %]
189
    <!-- transfer: item with no reservation, must be returned to its homebranch -->
189
    <!-- transfer: item with no reservation, must be returned to its homebranch -->
190
	<div class="dialog message">
190
	<div class="dialog message">
191
	  <h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% DEFAULT title="item" |html %]</a> to [% homebranchname %]</h3></div>[% END %]
191
	  <h3>Please return <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber %]">[% title or "item" |html %]</a> to [% homebranchname %]</h3></div>[% END %]
192
192
193
    [% IF ( needstransfer ) %]
193
    [% IF ( needstransfer ) %]
194
	<!-- needstransfer -->
194
	<!-- needstransfer -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tt (-4 / +4 lines)
Lines 26-40 Link Here
26
Updated:<ul>
26
Updated:<ul>
27
    [% FOREACH update IN updated %]
27
    [% FOREACH update IN updated %]
28
    [% IF ( update.updated_branch ) %]
28
    [% IF ( update.updated_branch ) %]
29
        <li>Library: [% DEFAULT update.old_branch="?" %] &rArr; [% DEFAULT update.LoginBranchcode="?" %]</li>
29
        <li>Library: [% update.old_branch or "?" %] &rArr; [% update.LoginBranchcode or "?" %]</li>
30
    [% ELSIF ( update.updated_printer ) %]
30
    [% ELSIF ( update.updated_printer ) %]
31
      <!-- FIXME:  <li>Printer: [% DEFAULT update.old_printer="?" %] &rArr; [% DEFAULT update.new_printer="?" %]</li> -->
31
      <!-- FIXME:  <li>Printer: [% update.old_printer or "?" %] &rArr; [% update.new_printer or "?" %]</li> -->
32
    [% ELSE %]
32
    [% ELSE %]
33
        <li>ERROR - unknown</li>
33
        <li>ERROR - unknown</li>
34
    [% END %]
34
    [% END %]
35
    [% END %]
35
    [% END %]
36
    </ul>
36
    </ul>
37
<form method="post" action="[% DEFAULT referer="/cgi-bin/koha/circ/circulation.pl" |html %]">
37
<form method="post" action="[% referer or "/cgi-bin/koha/circ/circulation.pl" |html %]">
38
    <div class="noshow">
38
    <div class="noshow">
39
        [% FOREACH recycle_loo IN recycle_loop %]
39
        [% FOREACH recycle_loo IN recycle_loop %]
40
        <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value |html %]" />
40
        <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value |html %]" />
Lines 83-89 Updated:<ul> Link Here
83
    [% FOREACH recycle_loo IN recycle_loop %]
83
    [% FOREACH recycle_loo IN recycle_loop %]
84
    <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value |html %]" />
84
    <input type="text" name="[% recycle_loo.param %]" value="[% recycle_loo.value |html %]" />
85
    [% END %]
85
    [% END %]
86
    <input type="hidden" name="oldreferer" value="[% DEFAULT referer="/cgi-bin/koha/circ/circulation.pl" |html %]" />
86
    <input type="hidden" name="oldreferer" value="[% referer or "/cgi-bin/koha/circ/circulation.pl" |html %]" />
87
</div>
87
</div>
88
</form>
88
</form>
89
<!-- /updated -->
89
<!-- /updated -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-2 / +2 lines)
Lines 541-547 canned reports and writing custom SQL reports.</p> Link Here
541
<legend>Create Report From SQL</legend>
541
<legend>Create Report From SQL</legend>
542
<ol>
542
<ol>
543
    <li><label for="reportname">Report Name:</label> <input type="text" id="reportname" name="reportname" [% IF ( reportname ) %] value="[% reportname %]"[% END %] /> </li>
543
    <li><label for="reportname">Report Name:</label> <input type="text" id="reportname" name="reportname" [% IF ( reportname ) %] value="[% reportname %]"[% END %] /> </li>
544
    <li><label for="notes">Notes:</label> <textarea id="notes" name="notes" cols="50" rows="2">[% DEFAULT notes="" %]</textarea></li>
544
    <li><label for="notes">Notes:</label> <textarea id="notes" name="notes" cols="50" rows="2">[% notes %]</textarea></li>
545
    <li><label for="types">Type:</label>
545
    <li><label for="types">Type:</label>
546
        <select id="types" name="types">
546
        <select id="types" name="types">
547
            <option value="1">Tabular</option>
547
            <option value="1">Tabular</option>
Lines 554-560 canned reports and writing custom SQL reports.</p> Link Here
554
<fieldset class="rows">
554
<fieldset class="rows">
555
<legend>SQL:</legend>
555
<legend>SQL:</legend>
556
<div style="margin:1em;">
556
<div style="margin:1em;">
557
<textarea  id="sql" name="sql" cols="50" rows="10">[% DEFAULT sql="" %]</textarea>
557
<textarea  id="sql" name="sql" cols="50" rows="10">[% sql %]</textarea>
558
</div>
558
</div>
559
</fieldset>
559
</fieldset>
560
560
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt (-3 / +7 lines)
Lines 44-53 Link Here
44
                <th>TOTAL</th>
44
                <th>TOTAL</th>
45
                </tr>
45
                </tr>
46
                [% FOREACH loopro IN mainloo.looprow %]
46
                [% FOREACH loopro IN mainloo.looprow %]
47
                    <tr[% UNLESS ( loop.odd ) %] class="highlight"[% END %]>
47
                    [% IF ( loop.odd ) %]
48
                        <td>[% DEFAULT loopro.rowtitle_display="UNKNOWN VALUE" |html %]</td>
48
                    <tr>
49
                    [% ELSE %]
50
                    <tr class="highlight">
51
                    [% END %]
52
                        <td>[% loopro.rowtitle_display or "UNKNOWN VALUE" |html %]</td>
49
                    [% FOREACH loopcel IN loopro.loopcell %]
53
                    [% FOREACH loopcel IN loopro.loopcell %]
50
						<td>[% DEFAULT loopcel.value="&nbsp;" %]</td>
54
						<td>[% loopcel.value %]</td>
51
                    [% END %]
55
                    [% END %]
52
						<td>[% loopro.totalrow %]</td>
56
						<td>[% loopro.totalrow %]</td>
53
                    </tr>
57
                    </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt (-3 / +7 lines)
Lines 46-56 Link Here
46
                <th>TOTAL</th>
46
                <th>TOTAL</th>
47
                </tr>
47
                </tr>
48
                [% FOREACH loopro IN mainloo.looprow %]
48
                [% FOREACH loopro IN mainloo.looprow %]
49
                    <tr[% UNLESS ( loop.odd ) %] class="highlight"[% END %]>
49
                    [% IF ( loop.odd ) %]
50
                        <td>[% DEFAULT loopro.rowtitle_display="UNKNOWN VALUE" |html %]</td>
50
                    <tr>
51
                    [% ELSE %]
52
                    <tr class="highlight">
53
                    [% END %]
54
                        <td>[% loopro.rowtitle_display or "UNKNOWN VALUE" |html %]</td>
51
                    [% FOREACH loopcel IN loopro.loopcell %]
55
                    [% FOREACH loopcel IN loopro.loopcell %]
52
						<td align="center">
56
						<td align="center">
53
						[% IF ( loopcel.url_complement ) %]<a href="reserves_stats.pl?output=[% loopcel.output %]&amp;[% loopcel.url_complement %]">[% DEFAULT loopcel.value="&nbsp;" %]</a>[% ELSE %][% DEFAULT loopcel.value="&nbsp;" %][% END %]
57
						[% IF ( loopcel.url_complement ) %]<a href="reserves_stats.pl?output=[% loopcel.output %]&amp;[% loopcel.url_complement %]">[% loopcel.value %]</a>[% ELSE %][% loopcel.value %][% END %]
54
						</td>
58
						</td>
55
                    [% END %]
59
                    [% END %]
56
						<td align="center">[% loopro.totalrow %]</td>
60
						<td align="center">[% loopro.totalrow %]</td>
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/ilsdi.tt (-1 / +1 lines)
Lines 1-4 Link Here
1
[% INCLUDE 'doc-head-open.inc' %][% DEFAULT LibraryNameTitle="Koha Online" %] &rsaquo; ILS-DI
1
[% INCLUDE 'doc-head-open.inc' %][% LibraryNameTitle or "Koha Online" %] &rsaquo; ILS-DI
2
[% INCLUDE 'doc-head-close.inc' %]
2
[% INCLUDE 'doc-head-close.inc' %]
3
</head>
3
</head>
4
<body>
4
<body>
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tt (-1 / +1 lines)
Lines 1-4 Link Here
1
[% INCLUDE 'doc-head-open.inc' %][% DEFAULT LibraryNameTitle="Koha Online" %] Catalog &rsaquo;  Account for [% firstname %] [% surname %]
1
[% INCLUDE 'doc-head-open.inc' %][% LibraryNameTitle or "Koha Online" %] Catalog &rsaquo;  Account for [% firstname %] [% surname %]
2
[% INCLUDE 'doc-head-close.inc' %]
2
[% INCLUDE '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">
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt (-1 / +1 lines)
Lines 1-4 Link Here
1
[% INCLUDE 'doc-head-open.inc' %][% DEFAULT LibraryNameTitle="Koha Online" %] Catalog &rsaquo;  Placing hold [% title |html %] for [% FOREACH USER_INF IN USER_INFO %][% USER_INF.firstname %] [% USER_INF.surname %][% END %]
1
[% INCLUDE 'doc-head-open.inc' %][% LibraryNameTitle or "Koha Online" %] Catalog &rsaquo;  Placing hold [% title |html %] for [% FOREACH USER_INF IN USER_INFO %][% USER_INF.firstname %] [% USER_INF.surname %][% END %]
2
[% INCLUDE 'doc-head-close.inc' %]
2
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'calendar.inc' %]
3
[% INCLUDE 'calendar.inc' %]
4
<script type="text/javascript">
4
<script type="text/javascript">
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt (-1 / +1 lines)
Lines 1-4 Link Here
1
[% INCLUDE 'doc-head-open.inc' %][% DEFAULT LibraryNameTitle="Koha Online" %] Catalog &rsaquo; Comments on [% title %]
1
[% INCLUDE 'doc-head-open.inc' %][% LibraryNameTitle or "Koha Online" %] Catalog &rsaquo; Comments on [% title %]
2
[% INCLUDE 'doc-head-close.inc' %]
2
[% INCLUDE 'doc-head-close.inc' %]
3
<style type="text/css">
3
<style type="text/css">
4
  #custom-doc { width:37.08em;*width:36.16em;min-width:485px; margin:1em auto; text-align:left; }
4
  #custom-doc { width:37.08em;*width:36.16em;min-width:485px; margin:1em auto; text-align:left; }
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags.tt (-1 / +1 lines)
Lines 77-83 Link Here
77
	<h1>All Tags</h1>
77
	<h1>All Tags</h1>
78
	
78
	
79
		<form method="get" action="opac-tags.pl">
79
		<form method="get" action="opac-tags.pl">
80
		<fieldset>Show up to <input type="text" name="limit" style="text-align: right;" maxlength="4" size="4" value="[% DEFAULT limit="100" %]" />
80
		<fieldset>Show up to <input type="text" name="limit" style="text-align: right;" maxlength="4" size="4" value="[% limit or "100" %]" />
81
			tags[% IF ( opacuserlogin ) %] from other users[% END %].
81
			tags[% IF ( opacuserlogin ) %] from other users[% END %].
82
			<input type="submit" value="OK" />
82
			<input type="submit" value="OK" />
83
            [% IF ( opacuserlogin ) %][% UNLESS ( loggedinusername ) %]
83
            [% IF ( opacuserlogin ) %][% UNLESS ( loggedinusername ) %]
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-tags_subject.tt (-1 / +1 lines)
Lines 1-4 Link Here
1
[% INCLUDE 'doc-head-open.inc' %][% DEFAULT LibraryNameTitle="Koha Online" %] Catalog &rsaquo;  ISBD
1
[% INCLUDE 'doc-head-open.inc' %][% LibraryNameTitle or "Koha Online" %] Catalog &rsaquo;  ISBD
2
[% INCLUDE 'doc-head-close.inc' %]
2
[% INCLUDE 'doc-head-close.inc' %]
3
</head>
3
</head>
4
<body id="opac-tags-subject">
4
<body id="opac-tags-subject">
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt (-2 / +1 lines)
Lines 204-210 Sorry, This Self-Checkout Station has lost authentication. Please contact the a Link Here
204
    <!-- FIXME: yet another jacket image breakpoint -->
204
    <!-- FIXME: yet another jacket image breakpoint -->
205
	<td>[% IF ( ISSUE.amazonimages ) %] [% IF ( ISSUE.isbn ) %]<a href="/cgi-bin/koha/opac-detail.pl?bib=[% ISSUE.biblionumber |url %]"><img src="http://images.amazon.com/images/P/[% ISSUE.isbn %].01.THUMBZZZ.jpg" alt="Book Cover Image" class="thumbnail" /></a>[% END %] [% END %][% UNLESS ( ISSUE.noitemlinks ) %]<a href="/cgi-bin/koha/opac-detail.pl?bib=[% ISSUE.biblionumber %]">[% ISSUE.title |html %]</a>[% ELSE %]<strong>[% ISSUE.title |html %]</strong>[% END %]<span class="item-details">
205
	<td>[% IF ( ISSUE.amazonimages ) %] [% IF ( ISSUE.isbn ) %]<a href="/cgi-bin/koha/opac-detail.pl?bib=[% ISSUE.biblionumber |url %]"><img src="http://images.amazon.com/images/P/[% ISSUE.isbn %].01.THUMBZZZ.jpg" alt="Book Cover Image" class="thumbnail" /></a>[% END %] [% END %][% UNLESS ( ISSUE.noitemlinks ) %]<a href="/cgi-bin/koha/opac-detail.pl?bib=[% ISSUE.biblionumber %]">[% ISSUE.title |html %]</a>[% ELSE %]<strong>[% ISSUE.title |html %]</strong>[% END %]<span class="item-details">
206
	[% ISSUE.author %]</span> ([% ISSUE.barcode %])</td>
206
	[% ISSUE.author %]</span> ([% ISSUE.barcode %])</td>
207
	<td>[% DEFAULT ISSUE.itemcallnumber="&nbsp;" %]</td>
207
	<td>[% ISSUE.itemcallnumber %]</td>
208
	[% IF ( ISSUE.overdue ) %]<td class="overdue">[% ISSUE.date_due_display %]</td>[% ELSE %]<td>[% ISSUE.date_due_display %]</td>[% END %]
208
	[% IF ( ISSUE.overdue ) %]<td class="overdue">[% ISSUE.date_due_display %]</td>[% ELSE %]<td>[% ISSUE.date_due_display %]</td>[% END %]
209
	<td>
209
	<td>
210
    <form action="/cgi-bin/koha/sco/sco-main.pl" method="post">
210
    <form action="/cgi-bin/koha/sco/sco-main.pl" method="post">
211
- 

Return to bug 6640