Bug 13618: Specific for other prefs

opacmainuserblock
opacnav
opacnavright
opaccredits
opacheader
opaccustomsearch
opacmysummaryhtml
opacmysummarynote
opacnavbottom
opacnoresultsfound
opacresultssidebar
opacsearchfortitlein
restrictedpagecontent
PatronSelfRegistrationAdditionalInstructions
intranetmainuserblock
intranetnav
intranetslipprinterjs
OpacSuppressionMessage
SCOUserCSS
SCOUserJS
SelfCheckHelpMessage
NoLoginInstructions

Signed-off-by: Signed-off-by: Joonas Kylmälä <j.kylmala@gmail.com>

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
This commit is contained in:
Jonathan Druart 2015-08-21 12:05:01 +01:00 committed by Brendan Gallagher
parent 7824874557
commit e6ea281a3b
20 changed files with 31 additions and 32 deletions

View File

@ -8,7 +8,7 @@
[% IF ( intranetbookbag ) %]
<li><a href="#" id="cartmenulink">Cart<span id="basketcount"></span></a></li>
[% END %]
[% IntranetNav %]
[% IntranetNav.raw %]
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
<ul class="dropdown-menu">

View File

@ -1,10 +1,10 @@
<script type="text/javascript">
[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
[% Koha.Preference('IntranetSlipPrinterJS') %]
[% Koha.Preference('IntranetSlipPrinterJS').raw %]
[% ELSE %]
function printThenClose() {
window.print();
setTimeout('window.close()', 1);
}
[% END %]
</script>
</script>

View File

@ -161,7 +161,7 @@
[% IF ( IntranetmainUserblock ) %]
<div class="yui-g" id="area-userblock">
<div class="user-info">
[% IntranetmainUserblock %]
[% IntranetmainUserblock.raw %]
</div>
</div>
[% END %]

View File

@ -27,7 +27,7 @@
<div class="container-fluid">
<div class="row-fluid">
<div id="opacheader">
[% opacheader %]
[% opacheader.raw %]
</div>
</div>
</div>

View File

@ -125,7 +125,7 @@
<div class="container-fluid">
<div class="row-fluid">
<div id="opacheader">
[% opacheader %]
[% opacheader.raw %]
</div>
</div>
</div>
@ -259,7 +259,7 @@
</form>
[% ELSE # / Koha.Preference('OpacCustomSearch') == '' %]
[% Koha.Preference('OpacCustomSearch') %]
[% Koha.Preference('OpacCustomSearch').raw %]
[% END # / Koha.Preference('OpacCustomSearch') == '' %]
</div> <!-- / .mastheadsearch -->
[% END # / UNLESS advsearch %]
@ -323,7 +323,7 @@
[% END %]
[% IF Koha.Preference( 'NoLoginInstructions' ) %]
<div id="nologininstructions-modal">
[% Koha.Preference( 'NoLoginInstructions' ) %]
[% Koha.Preference( 'NoLoginInstructions' ).raw %]
</div>
[% END %]
[% IF PatronSelfRegistration && PatronSelfRegistrationDefaultCategory %]<div id="mpatronregistration"><p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p></div>[% END %]

View File

@ -1,5 +1,5 @@
<div id="opacnav">[% OpacNav %]</div>
<div id="opacnav">[% OpacNav.raw %]</div>
[% IF IsPatronPage %]
<div id="usermenu">[% INCLUDE usermenu.inc %]</div>
[% END %]
<div id="opacnavbottom">[% OpacNavBottom %]</div>
<div id="opacnavbottom">[% OpacNavBottom.raw %]</div>

View File

@ -5,7 +5,7 @@
<div class="row-fluid">
<div class="span12">
<div id="opaccredits" class="noprint">
[% opaccredits %]
[% opaccredits.raw %]
</div>
</div>
</div>

View File

@ -71,7 +71,7 @@
<a id="furthersearches" class="dropdown-toggle" data-toggle="dropdown" href="#">More searches <b class="caret"></b></a>
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="furthersearches">
<li><a href="#" class="menu-inactive">Search for this title in:</a></li>
[% OPACSearchForTitleIn %]
[% OPACSearchForTitleIn.raw %]
</ul>
</div>
</div>

View File

@ -63,7 +63,7 @@
[% IF ( OPACResultsSidebar ) %]
<div id="opacresultssidebar">
[% OPACResultsSidebar %]
[% OPACResultsSidebar.raw %]
</div>
[% END %]
[% END # / IF opacfacets && facets_loop %]

View File

@ -20,7 +20,7 @@
</head>
<body id="opac_maintenance" class="opac">
[% IF ( opacheader ) %]
[% opacheader %]
[% opacheader.raw %]
[% END %]
<div class="container-fluid">
<div class="row-fluid">

View File

@ -157,7 +157,7 @@
[% END %]
<div id="nologininstructions">
[% IF Koha.Preference('NoLoginInstructions') %]
[% Koha.Preference('NoLoginInstructions') %]
[% Koha.Preference('NoLoginInstructions').raw %]
[% ELSE %]
<h5>Don't have a password yet?</h5><p> If you don't have a password yet, stop by the circulation desk the next time you're in the library. We'll happily set one up for you.</p>
<h5>Don't have a library card?</h5><p> If you don't have a library card, stop by your local library to sign up.</p>

View File

@ -19,7 +19,7 @@
<p>You are not authorized to view this record.</p>
[% IF ( OpacSuppressionMessage ) %]
<div id="opacsuppressionmessage">
[% OpacSuppressionMessage %]
[% OpacSuppressionMessage.raw %]
</div>
[% END %]
</div>

View File

@ -65,7 +65,7 @@
</div>
[% END %]
[% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock">[% OpacMainUserBlock %]</div>[% END %]
[% IF ( OpacMainUserBlock ) %]<div id="opacmainuserblock">[% OpacMainUserBlock.raw %]</div>[% END %]
</div> <!-- / .span 7/9 -->
[% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %]
@ -92,7 +92,7 @@
[% END %]
[% IF Koha.Preference( 'NoLoginInstructions' ) %]
<div id="nologininstructions-main">
[% Koha.Preference( 'NoLoginInstructions' ) %]
[% Koha.Preference( 'NoLoginInstructions' ).raw %]
</div>
[% END %]
</form>
@ -105,7 +105,7 @@
[% END # /opacuserlogin %]
[% IF ( OpacNavRight ) %]
<div id="opacnavright">
[% OpacNavRight %]
[% OpacNavRight.raw %]
</div>
[% END # /OpacNavRight %]
</div> <!-- / .span3 -->

View File

@ -151,7 +151,7 @@
[% END %]
</td>
[% IF OPACMySummaryHTML %]
<td>[% issue.MySummaryHTML %]</td>
<td>[% issue.MySummaryHTML.raw %]</td>
[% END %]
</tr>
[% END # / FOREACH issue %]

View File

@ -52,7 +52,7 @@
<p id="patron-instructions">For your convenience, the login box on this page has been pre-filled with this data. Please log in[% IF OpacPasswordChange %] and change your password[% END %].</p>
<div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions %]</div>
<div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions.raw %]</div>
</div>
</div> <!-- / .span7/9 -->
@ -84,7 +84,7 @@
[% END # /opacuserlogin %]
[% IF ( OpacNavRight ) %]
<div id="opacnavright">
[% OpacNavRight %]
[% OpacNavRight.raw %]
</div>
[% END # /OpacNavRight %]
</div> <!-- / .span3 -->

View File

@ -38,7 +38,7 @@
[% IF Koha.Preference('RestrictedPageTitle') %]
<h1>[% Koha.Preference('RestrictedPageTitle') %]</h1>
[% END %]
[% Koha.Preference('RestrictedPageContent') %]
[% Koha.Preference('RestrictedPageContent').raw %]
</div>
</div> <!-- / .span10 -->
</div> <!-- / .row-fluid -->

View File

@ -53,7 +53,7 @@
[% END %]
[% IF ( OPACNoResultsFound ) %]
<div id="noresultsfound">
[% OPACNoResultsFound %]
[% OPACNoResultsFound.raw %]
</div>
[% END %]
</div> <!-- / .span12 -->

View File

@ -104,8 +104,7 @@
</div>
[% END # / IF patron_flagged %]
[% SET OPACMySummaryNote = Koha.Preference('OPACMySummaryNote') %]
[% IF OPACMySummaryNote %][% OPACMySummaryNote %][% END %]
[% IF OPACMySummaryNote %][% Koha.Preference('OPACMySummaryNote').raw %][% END %]
<div id="opac-user-views" class="toptabs">
<ul>
@ -261,7 +260,7 @@
</td>
[% END %]
[% IF ( OPACMySummaryHTML ) %]
<td class="links">[% ISSUE.MySummaryHTML %]</td>
<td class="links">[% ISSUE.MySummaryHTML.raw %]</td>
[% END %]
</tr>
[% END # /FOREACH ISSUES %]

View File

@ -8,7 +8,7 @@
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/jquery/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/sco.css" />
[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS.raw %]</style>[% END %]
[% IF ( SCOUserCSS ) %]<style type="text/css">[% SCOUserCSS %]</style>[% END %]
[% IF ( SCOUserCSS ) %]<style type="text/css">[% SCOUserCSS.raw %]</style>[% END %]
<!--[if lt IE 9]>
<script src="[% interface %]/[% theme %]/lib/respond.min.js"></script>
<![endif]-->
@ -28,7 +28,7 @@
[% IF ( SelfCheckHelpMessage ) %]
<div id="selfcheckhelpmessage">
[% SelfCheckHelpMessage %]
[% SelfCheckHelpMessage.raw %]
</div>
[% END %]
@ -61,5 +61,5 @@ The Submit button only needs to be clicked if you enter the barcode manually.</p
[% INCLUDE 'opac-bottom.inc' %]
[% BLOCK jsinclude %]
[% IF ( SCOUserJS ) %]<script type="text/javascript">[% SCOUserJS %]</script>[% END %]
[% IF ( SCOUserJS ) %]<script type="text/javascript">[% SCOUserJS.raw %]</script>[% END %]
[% END %]

View File

@ -9,7 +9,7 @@
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/jquery/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/sco.css" />
[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS.raw %]</style>[% END %]
[% IF ( SCOUserCSS ) %]<style type="text/css">[% SCOUserCSS %]</style>[% END %]
[% IF ( SCOUserCSS ) %]<style type="text/css">[% SCOUserCSS.raw %]</style>[% END %]
<!--[if lt IE 9]>
<script src="[% interface %]/[% theme %]/lib/respond.min.js"></script>
<![endif]-->
@ -381,5 +381,5 @@
//]]>
</script>
[% IF ( SCOUserJS ) %]<script type="text/javascript">[% SCOUserJS %]</script>[% END %]
[% IF ( SCOUserJS ) %]<script type="text/javascript">[% SCOUserJS.raw %]</script>[% END %]
[% END %]