30e6a55268
Changing structure : adding a marcflavour directory to data/language/ This directory shall have the same subdirectory structure as /data/language This allows for instance adding optionals CD-Framework or Serials Frameworks keeping default frameworks mandatory. install.pl was changed in order to manage those changes. Could be changed in order to skip marcflavour selection if marcflavour directory is not found. Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
270 lines
10 KiB
Cheetah
270 lines
10 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha › Web Installer › Step 3</title>
|
|
<!--TMPL_IF Name="finish"--><meta http-equiv="refresh" content="10; url=/cgi-bin/koha/mainpage.pl"><!--/TMPL_IF-->
|
|
<!-- TMPL_INCLUDE NAME="installer-doc-head-close.inc" -->
|
|
<div>
|
|
<h1 id="logo"><img alt="Koha" src="/intranet-tmpl/prog/img/koha.org-logo.gif" /> Web Installer › Step 3</h1>
|
|
|
|
<!--TMPL_IF NAME="selectframeworks"-->
|
|
<script language="JavaScript">
|
|
<!--
|
|
|
|
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)
|
|
{
|
|
// This version of the refresh function will cause a new
|
|
// entry in the visitor's history. It is provided for
|
|
// those browsers that only support JavaScript 1.0.
|
|
//
|
|
sURL=sURL+'?step=3&op=selectframeworks&fwklanguage='+value;
|
|
window.location.href = sURL;
|
|
}
|
|
|
|
//-->
|
|
</script>
|
|
|
|
<script language="JavaScript1.1">
|
|
<!--
|
|
function refresh(value)
|
|
{
|
|
// This version does NOT cause an entry in the browser's
|
|
// page view history. Most browsers will always retrieve
|
|
// the document from the web-server whether it is already
|
|
// in the browsers page-cache or not.
|
|
//
|
|
sURL=sURL+'?step=3&op=selectframeworks&fwklanguage='+value;
|
|
window.location.replace( sURL );
|
|
}
|
|
//-->
|
|
</script>
|
|
|
|
<script language="JavaScript1.2">
|
|
<!--
|
|
function refresh(value)
|
|
{
|
|
// This version of the refresh function will be invoked
|
|
// for browsers that support JavaScript version 1.2
|
|
//
|
|
|
|
// 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 );
|
|
}
|
|
//-->
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<script language="JavaScript">
|
|
function Hide(link) {
|
|
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>
|
|
<!--/TMPL_IF-->
|
|
<!--TMPL_IF Name="finish"-->
|
|
<h1>Congratulations, Installation complete</h1>
|
|
<p>If this page does not redirect in 5 seconds, click <a href="/">here</a>.</p>
|
|
<!--/TMPL_IF-->
|
|
<!--TMPL_IF Name="choosemarc"-->
|
|
<h2 align="center">Select your MARC flavour</h2>
|
|
<form name="frameworkselection" method="post" action="install.pl">
|
|
<input type="hidden" name="step" value="3" />
|
|
<input type="hidden" name="op" value="selectframeworks" />
|
|
<p>
|
|
<!--TMPL_LOOP Name="flavourloop"-->
|
|
<div>
|
|
<!--TMPL_IF Name="checked"-->
|
|
<input type="radio" name="marcflavour" value="<!--TMPL_VAR Name="code"-->" checked /> <!--TMPL_VAR Name="label"--> <br/>
|
|
<!--TMPl_ELSE-->
|
|
<input type="radio" name="marcflavour" value="<!--TMPL_VAR Name="code"-->" /> <!--TMPL_VAR Name="label"--> <br/>
|
|
<!--/TMPL_IF-->
|
|
</div>
|
|
<!--/TMPL_LOOP-->
|
|
</p>
|
|
<p> Click Next to continue <input value="Next >>" type="submit" /></p>
|
|
</form>
|
|
<!--/TMPL_IF-->
|
|
|
|
<!--TMPL_IF Name="selectframeworks"-->
|
|
<h2 align="center">Selecting Default Settings</h2>
|
|
<form name="frameworkselection" method="post" action="install.pl">
|
|
<input type="hidden" name="step" value="3" />
|
|
<input type="hidden" name="op" value="addframeworks" />
|
|
|
|
<h2>MARC Frameworks: <!--TMPL_VAR Name="marcflavour"--></h2>
|
|
<!--TMPL_LOOP Name="frameworksloop"-->
|
|
<div>
|
|
<h3><!--TMPL_VAR Name="label"--></h3>
|
|
<!--TMPL_LOOP Name="frameworks"-->
|
|
<table style="border:1px;vertical-align:top;">
|
|
<tr>
|
|
<td style="vertical-align:top;">
|
|
<!--TMPL_IF Name="checked"-->
|
|
<input type="checkbox" name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" checked="checked" />
|
|
<!--TMPl_ELSE-->
|
|
<input type="checkbox" name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" />
|
|
<!--/TMPL_IF-->
|
|
</td>
|
|
<td>
|
|
<!--TMPL_VAR Name="fwkdescription"-->
|
|
<em>(<!--TMPL_VAR Name="fwkname"-->)</em>
|
|
</td>
|
|
</table>
|
|
<!--/TMPL_LOOP-->
|
|
</div>
|
|
</p>
|
|
<!--/TMPL_LOOP-->
|
|
<h2>Other data</h2>
|
|
<!--TMPL_LOOP Name="levelloop"-->
|
|
<div>
|
|
<h3><!--TMPL_VAR Name="label"--></h3>
|
|
<!--TMPL_LOOP Name="frameworks"-->
|
|
<table style="border:1px;vertical-align:top;">
|
|
<tr>
|
|
<td style="vertical-align:top;">
|
|
<!--TMPL_IF Name="checked"-->
|
|
<input type="checkbox" name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" checked="checked" />
|
|
<!--TMPl_ELSE-->
|
|
<input type="checkbox" name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" />
|
|
<!--/TMPL_IF-->
|
|
</td>
|
|
<td>
|
|
<!--TMPL_VAR Name="fwkdescription"-->
|
|
<em>(<!--TMPL_VAR Name="fwkname"-->)</em>
|
|
</td>
|
|
</table>
|
|
<!--/TMPL_LOOP-->
|
|
</div>
|
|
</p>
|
|
<!--/TMPL_LOOP-->
|
|
<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" />
|
|
</p>
|
|
</form>
|
|
</p>
|
|
<!--/TMPL_IF-->
|
|
|
|
|
|
<!--TMPL_IF Name="addframeworks"-->
|
|
<!--TMPL_LOOP Name="list"-->
|
|
<h3><!--TMPL_VAR Name="level"--> data added</h3>
|
|
<ul>
|
|
<!--TMPL_LOOP Name="fwklist"-->
|
|
<li><!--TMPL_VAR Name="fwkname"--><!--TMPL_IF Name="error"--><br /><span class="error"><!--TMPL_VAR Name="error"--></span><!--/TMPL_IF--> </li>
|
|
<!--/TMPL_LOOP-->
|
|
</ul>
|
|
<!--/TMPL_LOOP-->
|
|
<h2>Zebra or Nozebra ?</h2>
|
|
<p>Koha comes in 2 flavours : Zebra and NoZebra. You will now decide the version you need</p>
|
|
<p>some directions to help you choose:</p>
|
|
<h3>Zebra version</h3>
|
|
<ul>
|
|
<li>is highly scalable (can support easily more than 300 000 items on a public library with an OPAC widely accessed on the web : see http://catalog.ccfls.org/cgi-bin/koha/opac-main.pl or http://www.mediathequeouestprovence.fr/)<li>
|
|
<li>provide a public (external) z3950 server</li>
|
|
<li>is complex to configure and administrate</li>
|
|
</ul>
|
|
<h3>NoZebra version</h3>
|
|
<ul>
|
|
<li>is available immediatly once Koha is installed</li>
|
|
<li>is probably not that speedy for catalogue with more than 100 000 items</li>
|
|
<li>does not provide a public (external) z3950 server</li>
|
|
</ul>
|
|
<p>Whatever you choose now, you can always change your mind and setup the other version.</p>
|
|
<p>Note that, if you choose "Zebra", you won't have a working koha, you must set up zebra first (catalogue search won't work, the rest will)</p>
|
|
<h3>What do you choose ?</h3>
|
|
<form action="install.pl">
|
|
<input type="hidden" name="step" value="3" />
|
|
<input type="hidden" name="op" value="Nozebra" />
|
|
<p><input type="radio" name="NoZebra" value="1" />Nozebra: my catalogue is not that large and I want something simple to setup</p>
|
|
<p><input type="radio" name="NoZebra" value="0" />Zebra: I have a large catalogue, I'm not afraid having to setup more software on my server</p>
|
|
<input type="submit" value="Choose" /></form>
|
|
</form>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF name="Nozebra" -->
|
|
<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>
|
|
<!--/TMPL_IF-->
|
|
|
|
|
|
<!--TMPL_IF Name="importdatastructure"-->
|
|
<!--TMPL_IF Name="error"-->
|
|
<p>The following error occcurred while importing the database structure:</p>
|
|
<p class="error"><!-- TMPL_VAR NAME="error" --> </p>
|
|
<p>Please contact your system administrator</p>
|
|
<!-- TMPL_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 >>" type="submit" /></p>
|
|
</form>
|
|
<!-- /TMPL_IF -->
|
|
<!--/TMPL_IF-->
|
|
|
|
|
|
<!--TMPL_IF Name="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 >>" type="submit" /></p>
|
|
</form>
|
|
<!--/TMPL_IF-->
|
|
|
|
|
|
<!--TMPL_IF Name="default"-->
|
|
<!-- TMPL_IF name="upgrading" -->
|
|
<p>
|
|
We are upgrading from Koha <!-- TMPL_VAR name="dbversion" --> to <!-- TMPL_VAR name="kohaversion" -->, you must <a href="install.pl?step=3&op=updatestructure" class="button">update your database</a>
|
|
</p>
|
|
<!-- TMPL_ELSE -->
|
|
<p>We are ready to do some basic configuration. Please
|
|
<a href="install.pl?step=3&op=choosemarc" class="button">install basic configuration settings</a>
|
|
to continue the installation.
|
|
</p>
|
|
<!-- /TMPL_IF -->
|
|
<!--/TMPL_IF-->
|
|
|
|
|
|
|
|
<!--TMPL_IF Name="updatestructure"-->
|
|
<div><h2 align="center">Updating Mysql database</h2>
|
|
<!--TMPL_IF Name="updatereport"-->
|
|
<p>Update report :</p>
|
|
<p>
|
|
<!--TMPL_VAR Name="updatereport"-->
|
|
</p>
|
|
<!--TMPL_ELSE-->
|
|
<p>Everything went OK, update done.</p>
|
|
<!--/TMPL_IF-->
|
|
<a href="install.pl?step=3&op=finished" class="button">Continue to login to Koha</a>
|
|
</div>
|
|
<!--/TMPL_IF-->
|
|
|
|
</body>
|
|
</html>
|