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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-restrictedpage.tt (-6 / +5 lines)
Lines 1-5 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE KohaDates %]
3
2
4
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
5
<title>
4
<title>
Lines 22-29 Link Here
22
<div class="main">
21
<div class="main">
23
    <ul class="breadcrumb">
22
    <ul class="breadcrumb">
24
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a></li>
23
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a></li>
25
        [% IF ( RestrictedPageTitle ) %]
24
        [% IF Koha.Preference('RestrictedPageTitle') %]
26
            <li> <span class="divider">&rsaquo;</span> [% RestrictedPageTitle %]</li>
25
            <li> <span class="divider">&rsaquo;</span> [% Koha.Preference('RestrictedPageTitle') %]</li>
27
        [% END %]
26
        [% END %]
28
    </ul>
27
    </ul>
29
28
Lines 36-45 Link Here
36
            </div>
35
            </div>
37
            <div class="span10">
36
            <div class="span10">
38
                <div id="restrictedcontent" class="maincontent">
37
                <div id="restrictedcontent" class="maincontent">
39
                    [% IF ( RestrictedPageTitle ) %]
38
                    [% IF Koha.Preference('RestrictedPageTitle') %]
40
                        <h1>[% RestrictedPageTitle %]</h1>
39
                        <h1>[% Koha.Preference('RestrictedPageTitle') %]</h1>
41
                    [% END %]
40
                    [% END %]
42
                    [% RestrictedPageContent %]
41
                    [% Koha.Preference('RestrictedPageContent') %]
43
                </div>
42
                </div>
44
            </div> <!-- / .span10 -->
43
            </div> <!-- / .span10 -->
45
        </div> <!-- / .row-fluid -->
44
        </div> <!-- / .row-fluid -->
(-)a/opac/opac-restrictedpage.pl (-6 lines)
Lines 45-53 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
45
    }
45
    }
46
);
46
);
47
47
48
$template->param(
49
                    RestrictedPageContent => C4::Context->preference('RestrictedPageContent'),
50
                    RestrictedPageTitle => C4::Context->preference('RestrictedPageTitle')
51
                );
52
53
output_html_with_http_headers $query, $cookie, $template->output;
48
output_html_with_http_headers $query, $cookie, $template->output;
54
- 

Return to bug 13485