{** * templates/install/install.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2000-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Installation form. * *} {strip} {include file="common/header.tpl"} {/strip} {if is_writeable('config.inc.php')}{translate|assign:"writable_config" key="installer.checkYes"}{else}{translate|assign:"writable_config" key="installer.checkNo"}{/if} {if is_writeable('cache')}{translate|assign:"writable_cache" key="installer.checkYes"}{else}{translate|assign:"writable_cache" key="installer.checkNo"}{/if} {if is_writeable('public')}{translate|assign:"writable_public" key="installer.checkYes"}{else}{translate|assign:"writable_public" key="installer.checkNo"}{/if} {if is_writeable('cache/_db')}{translate|assign:"writable_db_cache" key="installer.checkYes"}{else}{translate|assign:"writable_db_cache" key="installer.checkNo"}{/if} {if is_writeable('cache/t_cache')}{translate|assign:"writable_templates_cache" key="installer.checkYes"}{else}{translate|assign:"writable_templates_cache" key="installer.checkNo"}{/if} {if is_writeable('cache/t_compile')}{translate|assign:"writable_templates_compile" key="installer.checkYes"}{else}{translate|assign:"writable_templates_compile" key="installer.checkNo"}{/if} {if !$phpIsSupportedVersion} {translate|assign:"wrongPhpText" key="installer.installationWrongPhp"} {/if} {url|assign:"upgradeUrl" page="install" op="upgrade"} {translate key="installer.installationInstructions" version=$version->getVersionString() upgradeUrl=$upgradeUrl baseUrl=$baseUrl writable_config=$writable_config writable_db_cache=$writable_db_cache writable_cache=$writable_cache writable_public=$writable_public writable_templates_cache=$writable_templates_cache writable_templates_compile=$writable_templates_compile phpRequiredVersion=$phpRequiredVersion wrongPhpText=$wrongPhpText phpVersion=$phpVersion}
{include file="common/formErrors.tpl"} {if $isInstallError}

{translate key="installer.installErrorsOccurred"}:

{/if}

{translate key="installer.localeSettings"}

{translate key="installer.localeSettingsInstructions" supportsMBString=$supportsMBString}

{fieldLabel name="locale" key="locale.primary"}
{translate key="installer.localeInstructions"}
{fieldLabel suppressId="true" name="additionalLocales" key="installer.additionalLocales"} {foreach from=$localeOptions key=localeKey item=localeName} {if !$localesComplete[$localeKey]} * {assign var=incompleteLocaleFound value=1} {/if}
{/foreach} {translate key="installer.additionalLocalesInstructions"} {if $incompleteLocaleFound}
* {translate key="installer.locale.maybeIncomplete"} {/if}{* $incompleteLocaleFound *}
{fieldLabel name="clientCharset" key="installer.clientCharset"}
{translate key="installer.clientCharsetInstructions"}
{fieldLabel name="connectionCharset" key="installer.connectionCharset"}
{translate key="installer.connectionCharsetInstructions"}
{fieldLabel name="databaseCharset" key="installer.databaseCharset"}
{translate key="installer.databaseCharsetInstructions"}
{if !$skipFilesDirSection}

{translate key="installer.fileSettings"}

{fieldLabel name="filesDir" key="installer.filesDir"}
{translate key="installer.filesDirInstructions"}
 

{translate key="installer.allowFileUploads" allowFileUploads=$allowFileUploads}

{translate key="installer.maxFileUploadSize" maxFileUploadSize=$maxFileUploadSize}

{/if}{* !$skipFilesDirSection *}

{translate key="installer.securitySettings"}

{fieldLabel name="encryption" key="installer.encryption"}
{translate key="installer.encryptionInstructions"}

{translate key="installer.administratorAccount"}

{translate key="installer.administratorAccountInstructions"}

{fieldLabel name="adminUsername" key="user.username"}
{fieldLabel name="adminPassword" key="user.password"}
{translate key="user.register.passwordLengthRestriction" length=$passwordLength}
{fieldLabel name="adminPassword2" key="user.repeatPassword"}
{fieldLabel name="adminEmail" key="user.email"}

{translate key="installer.databaseSettings"}

{translate key="installer.databaseSettingsInstructions"}

{fieldLabel name="databaseDriver" key="installer.databaseDriver"}
{translate key="installer.databaseDriverInstructions"}
{fieldLabel name="databaseHost" key="installer.databaseHost"}
{translate key="installer.databaseHostInstructions"}
{fieldLabel name="databaseUsername" key="installer.databaseUsername"}
{fieldLabel name="databasePassword" key="installer.databasePassword"}
{fieldLabel name="databaseName" key="installer.databaseName"}
 
{translate key="installer.createDatabaseInstructions"}

{translate key="installer.oaiSettings"}

{fieldLabel name="oaiRepositoryId" key="installer.oaiRepositoryId"}
{translate key="installer.oaiRepositoryIdInstructions"}

{include file="common/footer.tpl"}