X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/e1c30044b1fa083d89b4bf8f0265fb2785583411..50f88df47f6d5b3cb5dc20fb2e9d3022862adbcf:/install.php diff --git a/install.php b/install.php index df4f106..fbd3667 100644 --- a/install.php +++ b/install.php @@ -18,8 +18,7 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ define ('JIRAFEAU_ROOT', dirname (__FILE__) . '/'); -define ('NL', "\n"); -define ('QUOTE', "'"); + define ('JIRAFEAU_CFG', JIRAFEAU_ROOT . 'lib/config.local.php'); define ('JIRAFEAU_VAR_RAND_LENGTH', 15); @@ -207,8 +206,7 @@ case 1: default: ?><h2><?php printf (t('Installation of Jirafeau') . ' - ' . t('step') . ' %d ' . t('out of') . ' %d', 1, 4); - ?></h2> <div id = "install"> <form action = - "<?php echo basename(__FILE__); ?>" method = "post"> <input type = + ?></h2> <div id = "install"> <form method="post"> <input type = "hidden" name = "jirafeau" value = "<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name = "step" value = "1" /><fieldset> <legend><?php echo t('Language'); @@ -241,8 +239,7 @@ break; case 2: ?><h2><?php printf (t('Installation of Jirafeau') . ' - ' . t('step') . ' %d ' . t('out of') . ' %d', 2, 4); - ?></h2> <div id = "install"> <form action = - "<?php echo basename(__FILE__); ?>" method = "post"> <input type = + ?></h2> <div id = "install"> <form method="post"> <input type = "hidden" name = "jirafeau" value = "<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name = "step" value = "2" /><fieldset> <legend><?php @@ -273,8 +270,7 @@ break; case 3: ?><h2><?php printf (t('Installation of Jirafeau') . ' - ' . t('step') . ' %d ' . t('out of') . ' %d', 3, 4); - ?></h2> <div id = "install"> <form action = - "<?php echo basename(__FILE__); ?>" method = "post"> <input type = + ?></h2> <div id = "install"> <form method="post"> <input type = "hidden" name = "jirafeau" value = "<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name = "step" value = @@ -329,8 +325,7 @@ break; case 4: ?><h2><?php printf (t('Installation of Jirafeau') . ' - ' . t('step') . ' %d ' . t('out of') . ' %d', 4, 4); - ?></h2> <div id = "install"> <form action = - "<?php echo basename(__FILE__); ?>" method = "post"> <input type = + ?></h2> <div id = "install"> <form method="post"> <input type = "hidden" name = "jirafeau" value = "<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name = "step" value = @@ -351,8 +346,7 @@ case 4: if ($err['has_error']) { echo '<div class="error"><p>'.$err['why'].'<br />'.NL; - ?><form action = "<?php echo basename(__FILE__); ?>" method = - "post"> <input type = "hidden" name = "jirafeau" value = + ?><form method="post"> <input type = "hidden" name = "jirafeau" value = "<?php echo JIRAFEAU_VERSION; ?>" /><input type = "hidden" name = "step" value = "4" /><input type = "submit" name = "retry" value =