mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-06 03:49:56 +02:00
65 lines
1.9 KiB
PHP
65 lines
1.9 KiB
PHP
<?php
|
|
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
|
|
/*
|
|
|
|
Copyright (c) Ampache.org
|
|
All rights reserved.
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License
|
|
as published by the Free Software Foundation; either version 2
|
|
of the License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
$prefix = realpath(dirname(__FILE__). "/../");
|
|
require $prefix . '/templates/install_header.inc.php';
|
|
?>
|
|
<?php require_once 'templates/show_install_check.inc.php'; ?>
|
|
<?php if (Error::occurred()) { ?>
|
|
<div class="content">
|
|
<span class="fatalerror"><?php echo _('Minimum requirements not met. Unable to install Ampache.'); ?></span>
|
|
</div>
|
|
<?php } ?>
|
|
|
|
<div class="content">
|
|
<strong><?php echo _('Choose Installation Language'); ?></strong>
|
|
<p>
|
|
<?php Error::display('general'); ?>
|
|
</p>
|
|
<form method="post" action="<?php echo WEB_PATH . "?action=init"; ?>" enctype="multipart/form-data" >
|
|
|
|
<?php
|
|
$languages = get_languages();
|
|
$var_name = $value . "_lang";
|
|
${$var_name} = "selected=\"selected\"";
|
|
|
|
echo "<select name=\"htmllang\">\n";
|
|
|
|
foreach ($languages as $lang=>$name) {
|
|
$var_name = $lang . "_lang";
|
|
|
|
echo "\t<option value=\"$lang\" " . ${$var_name} . ">$name</option>\n";
|
|
} // end foreach
|
|
echo "</select>\n";
|
|
?>
|
|
|
|
<input type="submit" value="<?php echo _('Start configuration'); ?>" />
|
|
|
|
</form>
|
|
</div>
|
|
<div id="bottom">
|
|
<p><strong>Ampache Installation.</strong><br />
|
|
For the love of Music.</p>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|