X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/9b1e04d31f80fd39c55d710def8eb180918fa33f..32842e276eaf9f2fcd310c476828c53ae90beed3:/install.php diff --git a/install.php b/install.php index ffe86c0..3ba2d5b 100644 --- a/install.php +++ b/install.php @@ -38,9 +38,9 @@ function jirafeau_quoted($str) function jirafeau_export_cfg($cfg) { $content = '<?php' . NL; - $content .= '/* ' . t('This file was generated by the install process. ' . + $content .= '/* This file was generated by the install process. ' . 'You can edit it. Please see config.original.php to understand the ' . - 'configuration items.') . ' */' . NL; + 'configuration items. */' . NL; $content .= '$cfg = ' . var_export($cfg, true) . ';'; $fileWrite = file_put_contents(JIRAFEAU_CFG, $content); @@ -225,8 +225,11 @@ case 2: <td class = "field"><input type = "text" name = "web_root" id = "input_web_root" value = "<?php echo(empty($cfg['web_root']) ? - 'http://' . $_SERVER['HTTP_HOST'] . str_replace(basename(__FILE__), - '', $_SERVER['REQUEST_URI']) : $cfg['web_root']); + $_SERVER['HTTP_HOST'] . str_replace( + basename(__FILE__), + '', + $_SERVER['REQUEST_URI'] + ) : $cfg['web_root']); ?>" size = "40" /></td> </tr> <tr> <td class = "info" colspan = "2"><?php echo t('DATA_DIR_EXPLAINATION'); @@ -251,8 +254,8 @@ case 2: </tr> <tr> <td colspan = "2"><input type = "submit" class = "navleft" name = "previous" value = "<?php echo t('PREV_STEP'); ?>" /> - <input type = "submit" class = "navright" name = "next" value = " - <?php echo t('NEXT_STEP'); ?>" /> + <input type = "submit" class = "navright" name = "next" value = + "<?php echo t('NEXT_STEP'); ?>" /> </td> </tr> </table> </fieldset> </form> </div> <?php break; @@ -268,10 +271,7 @@ case 3: ?></legend> <table> <tr> <td class = "info" colspan = "2"><?php echo t('SETTING_UP'); ?></td> </tr> <tr> <td class = "nav previous"><input type = - "submit" name = "previous" value = - " - <?php - echo t('PREV_STEP'); + "submit" name = "previous" value = " <?php echo t('PREV_STEP'); ?>" /></td> <td></td> </tr> </table> </fieldset> </form> </div> <?php