* 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);
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');
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
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 =
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 =
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 =