Koha/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt
Kyle M Hall a8942c2884 Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues
Revert "DBRev to make notes of the XSS patches and the new important dependency."

This reverts commit e140603a59.

Revert "Bug 13618: Specific for branches.opac_info"

This reverts commit 06e4a50f00.

Revert "Bug 13618: (follow-up) Specific for other prefs"

This reverts commit d6475a111f.

Revert "Bug 13618: Fix for debarredcomment and patron messages"

This reverts commit dd98c9df92.

Revert "Bug 13618: Do not display html tags in patron's notices"

This reverts commit a065b243fe.

Revert "Bug 13618: Do not display   and html tags in item fields content"

This reverts commit baeeaffbf8.

Revert "Bug 13618: Fix for system preference description"

This reverts commit a967a09261.

Revert "Bug 13618: Remove html filters for newly pushed code"

This reverts commit 0e98662b10.

Revert "Bug 13618: (follow-up) add missing lines for opac-shelves"

This reverts commit fc2fb605e5.

Revert "Bug 13618: (follow-up) Specific for ColumnsSettings"

This reverts commit bc308fdd9c.

Revert "Bug 13618: Fix for edit biblios and items"

This reverts commit 811c4e8402.

Revert "Bug 13618: followup to remove tabs"

This reverts commit ca8e8c397c.

Revert "Bug 13618: Fix last occurrences recently introduced to master"

This reverts commit bb417b256b.

Revert "Bug 13618: Fix for news"

This reverts commit ae5b98020a.

Revert "Bug 13618: Fix escape on sending baskets or shelves by email"

This reverts commit a7731ffe25.

Revert "Bug 13618: Specific for XSLTBloc"

This reverts commit 11fa38dc29.

Revert "Bug 13618: Specific for Salutation on editing a patron"

This reverts commit 36c07ad6d3.

Revert "Bug 13618: Specific for other prefs"

This reverts commit e6ea281a3b.

Revert "Bug 13618 - memberentrygen.tt errors Not a GLOB reference"

This reverts commit 7824874557.

Revert "Bug 13618: Specific for ColumnsSettings"

This reverts commit 1834da3da3.

Revert "Bug 13618: Specific for IntranetUser* and OPACUser* prefs"

This reverts commit 21ae62b253.

Revert "Bug 13618: Fix error 'Not a GLOB reference'"

This reverts commit 602bdbab4c.

Revert "Bug 13618: Specific for the ISBD view"

This reverts commit d254362435.

Revert "Bug 13618: Specific for pagination_bar"

This reverts commit 8837a8ae68.

Revert "Bug 13618: Specific places where we don't need to escape variables - intra"

This reverts commit 00eff140b3.

Revert "Bug 13618: Remove html filters at the intranet"

This reverts commit 7db851ff03.

Revert "Bug 13618: Specific places where we don't need to escape variables"

This reverts commit 49a3738b8d.

Revert "Bug 13618: Remove html filters at the OPAC"

This reverts commit cedaa0e23e.

Revert "Bug 13618: Use Template::Stash::AutoEscaping to use the html filter"

This reverts commit 01b38d3b13.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-02-11 19:39:53 +00:00

256 lines
8.8 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]<title>Koha &rsaquo; Web installer &rsaquo; Step 3</title>
[% IF ( finish ) %]<meta http-equiv="refresh" content="10; url=/cgi-bin/koha/mainpage.pl">[% END %]
[% INCLUDE 'installer-doc-head-close.inc' %]
<div>
<h1 id="logo"><img alt="Koha" src="[% interface %]/[% theme %]/img/koha.org-logo.gif" /> Web installer &rsaquo; Step 3</h1>
[% IF ( selectframeworks ) %]
<script type="text/javascript">
//<![CDATA[
var surl = unescape(window.location.pathname);
function doLoad()
{
// the timeout value should be the same as in the "refresh" meta-tag
setTimeout( "refresh()", 2*1000 );
}
function refresh(value)
{
// The argument to the location.reload function determines
// if the browser should retrieve the document from the
// web-server. In our example all we need to do is cause
// the JavaScript block in the document body to be
// re-evaluated. If we needed to pull the document from
// the web-server again (such as where the document contents
// change dynamically) we would pass the argument as 'true'.
//
surl=surl+'?step=3&op=selectframeworks&fwklanguage='+value;
window.location.replace( surl );
}
function selectAllFrameworks()
{
// A handy short link that selects all available checkboxes
// on the page.
//
var checkboxes = document.getElementsByTagName("input");
for (var i = 0; i < checkboxes.length; i++)
{
if (checkboxes[i].type == 'checkbox')
{
checkboxes[i].checked = true;
}
}
// Prevent event propergation.
return false;
}
function Hide(link)
{
// Toggle the display of a given element on the page.
//
subfield = document.getElementById('bloc'+link);
var initstyle = subfield.style.display;
if (initstyle == 'block') subfield.style.display = 'none' ;
if (initstyle == 'none') subfield.style.display = 'block' ;
}
//]]>
</script>
[% END %]
[% IF ( finish ) %]
<h1>Congratulations, installation complete</h1>
<p>If this page does not redirect in 5 seconds, click <a href="/">here</a>.</p>
[% END %]
[% IF ( choosemarc ) %]
<h2 align="center">Select your MARC flavor</h2>
<form name="frameworkselection" method="post" action="install.pl">
<input type="hidden" name="step" value="3" />
<input type="hidden" name="op" value="selectframeworks" />
<p>
[% FOREACH flavourloo IN flavourloop %]
<div>
[% IF ( flavourloo.checked ) %]
<input type="radio" name="marcflavour" value="[% flavourloo.code %]" checked /> [% flavourloo.label %] <br/>
[% ELSE %]
<input type="radio" name="marcflavour" value="[% flavourloo.code %]" /> [% flavourloo.label %] <br/>
[% END %]
</div>
[% END %]
</p>
<p> Click 'Next' to continue <input value="Next &gt;&gt;" type="submit" /></p>
</form>
[% END %]
[% IF ( selectframeworks ) %]
<h2 align="center">Selecting Default Settings</h2>
<script type="text/javascript">
var linklabel = _("Select all sample data");
document.write('<p><a href="#" onclick="return selectAllFrameworks();">'+linklabel+'</a></p>');
</script>
<form name="frameworkselection" method="post" action="install.pl">
<input type="hidden" name="step" value="3" />
<input type="hidden" name="op" value="addframeworks" />
[% IF ( frameworksloop ) %]
<h2>MARC frameworks: [% marcflavour %]</h2>
[% IF ( en_marc_frameworks ) %]
<h4><span class="error">No MARC frameworks are available for your language.
Defaulting to the frameworks supplied for English (en)<span></h4>
[% END %]
[% FOREACH frameworksloo IN frameworksloop %]
<div>
<h3>[% frameworksloo.label %]</h3>
[% FOREACH framework IN frameworksloo.frameworks %]
<table style="border:1px;vertical-align:top;">
<tr>
<td style="vertical-align:top;">
[% IF ( framework.checked ) %]
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" checked="checked" id="[% framework.fwkname %]" />
[% ELSE %]
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id="[% framework.fwkname %]" />
[% END %]
</td>
<td>
<label for="[% framework.fwkname %]">
[% framework.fwkdescription %]
<em>([% framework.fwkname %])</em>
</label>
</td>
</table>
[% END %]
</div>
[% END %]
<h2>Other data</h2>
[% END %]
[% IF ( en_sample_data ) %]
<h4><span class="error">No sample data and settings are available for your language.
Defaulting to the samples supplied for English (en)<span></h4>
[% END %]
[% FOREACH levelloo IN levelloop %]
<div>
<h3>[% levelloo.label %]</h3>
[% FOREACH framework IN levelloo.frameworks %]
<table style="border:1px;vertical-align:top;">
<tr>
<td style="vertical-align:top;">
[% IF ( framework.checked ) %]
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" checked="checked" id="[% framework.fwkname %]" />
[% ELSE %]
<input type="checkbox" name="framework" value="[% framework.fwkfile %]" id="[% framework.fwkname %]" />
[% END %]
</td>
<td>
<label for="[% framework.fwkname %]">
[% framework.fwkdescription %]
<em>([% framework.fwkname %])</em>
</label>
</td>
</table>
[% END %]
</div>
[% END %]
<p>When you've made your selections, please click 'Import' below to begin the process. It may take a while to complete,
please be patient.</p>
<p><input type="submit" value="Import &gt;&gt;" />
</p>
</form>
[% END %]
[% IF ( addframeworks ) %]
[% FOREACH lis IN list %]
<h3>[% lis.level %] data added</h3>
<ul>
[% FOREACH fwklis IN lis.fwklist %]
<li>[% fwklis.fwkname %][% IF ( fwklis.error ) %]<br /><span class="error">[% fwklis.error %]</span>[% END %] </li>
[% END %]
</ul>
[% END %]
<h3>All done!</h3>
<p>Installation complete.<br />
<p>Click on 'Finish' to complete and load the Koha Staff Interface.
<form name="finish">
<input type="hidden" name="step" value="3" />
<input type="hidden" name="op" value="finish" />
<input type="submit" value="Finish" /></form>
</p>
</p>
[% END %]
[% IF ( importdatastructure ) %]
[% IF ( error ) %]
<p>The following error occurred while importing the database structure:</p>
<p class="error">[% error %] </p>
<p>Please contact your system administrator</p>
[% ELSE %]
<h2 align="center">Success</h2>
<ul>
<li>Database tables created</li>
</ul>
<form action="install.pl">
<input type="hidden" name="step" value="3" />
<p> Click 'Next' to continue <input value="Next &gt;&gt;" type="submit" /></p>
</form>
[% END %]
[% END %]
[% IF ( proposeimport ) %]
<p>Now we're ready to create the database tables and fill them with some default data.</p>
<form action="install.pl">
<input type="hidden" name="step" value="3" />
<input type="hidden" name="op" value="importdatastructure" />
<p> Click 'Next' to continue <input value="Next &gt;&gt;" type="submit" /></p>
</form>
[% END %]
[% IF ( default ) %]
[% IF ( upgrading ) %]
<p>
We are upgrading from Koha [% dbversion %] to [% kohaversion %], you must <a href="install.pl?step=3&amp;op=updatestructure" class="button">update your database</a>
</p>
[% ELSE %]
<p>We are ready to do some basic configuration. Please
<a href="install.pl?step=3&amp;op=choosemarc" class="button">install basic configuration settings</a>
to continue the installation.
</p>
[% END %]
[% END %]
[% IF ( updatestructure ) %]
<div><h2 align="center">Updating database structure</h2>
[% IF ( has_update_succeeds ) %]
<p>Update report :</p>
<ul>
[% FOREACH update_repor IN update_report %]
<li>[% update_repor.line |html %]</li>
[% END %]
</ul>
[% END %]
[% IF ( has_update_errors ) %]
<p>Update errors :</p>
<ul>
[% FOREACH update_error IN update_errors %]
<li class="update_error">[% update_error.line |html %]</li>
[% END %]
</ul>
[% END %]
[% UNLESS ( has_update_errors ) %]
<p>Everything went OK, update done.</p>
[% END %]
<a href="install.pl?step=3&amp;op=finished" class="button">Continue to log in to Koha</a>
</div>
[% END %]
</div>
</body>
</html>