Koha/koha-tmpl/intranet-tmpl/prog/en/installer/step3.tmpl
2007-07-03 16:17:54 +00:00

196 lines
6.8 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha &rsaquo; Web Installer &rsaquo; 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/en/images/koha.org-logo.gif" /></h1>
<h1>Koha &rsaquo; Web Installer &rsaquo; 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="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" />
<p>Each language has a set of default settings that cover a wide range of configuration options. Please select a language from the dropdown or use the default lanaguage already selected.</p>
<p><select name="fwklanguage" onchange="javascript:refresh(this.value)">
<!--TMPL_LOOP Name="languagelist" -->
<!--TMPL_IF Name="checked"--><option value="<!--TMPL_VAR Name="dirname"-->" selected ><!--TMPL_VAR Name="languagedescription"--></option>
<!--TMPL_ELSE--><option value="<!--TMPL_VAR Name="dirname"-->"><!--TMPL_VAR Name="languagedescription"--></option>
<!--/TMPL_IF-->
<!--/TMPL_LOOP-->
</select>
</p>
<p>
<!--TMPL_LOOP Name="levelloop"-->
<div>
<h3><!--TMPL_VAR Name="label"--></h3>
<!--TMPL_LOOP Name="frameworks"-->
<div style="border:1px;">
<p>
<!--TMPL_IF Name="checked"--><input type="checkbox" Name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" checked />
<!--TMPl_ELSE--><input type="checkbox" Name="framework" value="<!--TMPL_VAR Name="fwkfile"-->" />
<!--/TMPL_IF-->
<!--TMPL_VAR Name="fwkdescription"-->
<em>(<!--TMPL_VAR Name="fwkname"-->)</em>
</p>
</div>
<!--/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"-->
<h2 align="center">Results of installation:</h2>
<p>Language :<!--TMPL_VAR Name="fwklanguage"--></p>
<!--TMPL_LOOP Name="list"-->
<h3><!--TMPL_VAR Name="level"--> data added</h3>
<p>
<ul>
<!--TMPL_LOOP Name="fwklist"-->
<li><!--TMPL_VAR Name="fwkname"--><!--TMPL_IF Name="error"--><br /><font color="red"><b></b><!--TMPL_VAR Name="error"--></font><!--/TMPL_IF--> </li>
<!--/TMPL_LOOP-->
</ul>
</p>
<!--/TMPL_LOOP-->
<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 &gt;&gt;" 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 &gt;&gt;" type="submit"></p>
</form>
<!--/TMPL_IF-->
<!--TMPL_IF Name="default"-->
<p>Now we're ready to do some basic configuration. Please <a href="install.pl?step=3&amp;op=selectframeworks" class="button">install basic configuration settings</a> to continue the installation.</p>
<p>
Alternatively, if you are upgrading from a previous version of Koha, you can <a href="install.pl?step=3&amp;op=updatestructure" class="button">update your database</a>. Otherwise, you can skip this step.
</p>
<!--/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.</p>
<!--/TMPL_IF-->
<a href="install.pl?step=3&amp;op=selectframeworks" class="button">Continue to Framework Selection</a>
</div>
<!--/TMPL_IF-->
</body>
</html>