<?php /** * @package ImpressPages * @copyright Copyright (C) 2011 ImpressPages LTD. * @license GNU/GPL, see ip_license.html */ if (!defined('INSTALL')) { exit; } complete_step(0); $answer = '<h1>' . IP_STEP_LANGUAGE_LONG . "</h1>"; $languages = array(); $languages['cs'] = 'Čeština'; $languages['nl'] = 'Dutch'; $languages['en'] = 'English'; $languages['de'] = 'Deutsch'; $languages['lt'] = 'Lietuvių'; $languages['pl'] = 'Polski'; $languages['ro'] = 'Română'; foreach ($languages as $key => $language) { $answer .= '<a href="index.php?lang=' . htmlspecialchars($key) . '">' . htmlspecialchars($language) . '</a><br/>'; } $answer .= '<br/><br/>'; output($answer . '<a class="button_act" href="?step=2">' . IP_NEXT . '</a>'); ?>
$error['writable_video'] = 1; } else { $table[] = '<span class="correct">' . IP_OK . '</span>'; } $table[] = '<b>/ip_config.php</b> ' . IP_WRITABLE; if (!is_writable(dirname(__FILE__) . '/../ip_config.php')) { $table[] = '<span class="error">' . IP_ERROR . "</span>"; $error['writable_config'] = 1; } else { $table[] = '<span class="correct">' . IP_OK . '</span>'; } $table[] = '<b>/robots.txt</b> ' . IP_WRITABLE; if (!is_writable(dirname(__FILE__) . '/../robots.txt')) { $table[] = '<span class="error">' . IP_ERROR . "</span>"; $error['writable_robots'] = 1; } else { $table[] = '<span class="correct">' . IP_OK . '</span>'; } $answer .= gen_table($table); $answer .= '<br><br>'; if (sizeof($error) > 0) { $_SESSION['step'] = 1; $answer .= '<a class="button_act" href="?step=1">' . IP_CHECK_AGAIN . '</a>'; } else { complete_step(1); $answer .= '<a class="button_act" href="?step=2">' . IP_NEXT . '</a><a class="button" href="?step=1">' . IP_CHECK_AGAIN . '</a>'; } $answer .= "<br>"; output($answer); ?>
* @copyright Copyright (C) 2011 ImpressPages LTD. * @license GNU/GPL, see ip_license.html */ if (!defined('INSTALL')) { exit; } $licenseFile = "../ip_license.html"; $fh = fopen($licenseFile, 'r'); $license = fread($fh, filesize($licenseFile)); fclose($fh); output(' <h1>' . IP_STEP_LICENSE_LONG . '</h1> <p> ImpressPages - Content Management System<br/> Copyright ' . date("Y") . ' by <a href="http://www.impresspages.org">ImpressPages LTD</a> </p> <p> This program is free software: you can redistribute it and/or modify it under the terms of the <a href="../ip_license.html">GNU General Public License</a> as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. </p><p> 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. </p><p> You are required to keep these "Appropriate Legal Notices" intact as specified in GPL3 section 5(d) and 7(b). </p><p> <a class="button_act" href="?step=3">' . IP_ACCEPT . '</a> <a class="button" href="?step=1">' . IP_BACK . '</a> '); complete_step(2);