diff -r de56132c008d -r bdac73ed481e install/includes/stages/website.php --- a/install/includes/stages/website.php Sun Mar 28 21:49:26 2010 -0400 +++ b/install/includes/stages/website.php Sun Mar 28 23:10:46 2010 -0400 @@ -14,7 +14,7 @@ */ if ( !defined('IN_ENANO_INSTALL') ) - die(); + die(); // Note: this is called from database_*.php, not directly from install.php @@ -24,329 +24,329 @@ ?>
&$value ) - { - if ( !preg_match('/^[a-z0-9_]+$/', $key) ) - die('You idiot hacker...'); - if ( $key == '_cont' ) - continue; - $value_clean = str_replace(array('\\', '"', '<', '>'), array('\\\\', '\\"', '<', '>'), $value); - echo "\n "; - } - - $https = ( isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ); - $scriptpath_full = 'http' . ( $https ? 's' : '' ) . '://' . $_SERVER['HTTP_HOST'] . scriptPath . '/'; - ?> - - -
- get('website_msg_modrewrite_enabled'); ?>
- - get('website_msg_modrewrite_necessary'); ?> - - get('website_msg_modrewrite_unnecessary'); ?> - -
- -
- get('website_msg_modrewrite_disabled'); ?>
- get('website_msg_modrewrite_maybeneeded'); ?> -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- get('website_field_name'); ?>
- get('website_field_name_hint'); ?> -
- -
- get('website_field_desc'); ?>
- get('website_field_desc_hint'); ?> -
- -
- get('website_field_copyright'); ?>
- get('website_field_copyright_hint'); ?> -
- -
- get('website_field_startwith'); ?> - - - - - - -
- - - -

get('website_field_startwith_blank_hint'); ?>

-
- -
- - - -

get('website_field_startwith_tutorial_hint'); ?>

-
- -
- -
- get('website_field_urlscheme'); ?>
- get('website_field_urlscheme_hint'); ?> -
- - - - - - -
- - - - -

get('website_field_urlscheme_opt_standard_hint'); ?>

-

get('website_field_urlscheme_lbl_example'); ?>

-
-
- - - - - - -
- - - - -

get('website_field_urlscheme_opt_shortened_hint'); ?>

-

get('website_field_urlscheme_lbl_example'); ?>

-
-
- - - - - - -
- - - - -

get('website_field_urlscheme_opt_rewrite_hint'); ?>

-

get('website_field_urlscheme_lbl_example'); ?>

-
-
- - - - - - -
- - - - -

get('website_field_urlscheme_opt_tiny_hint'); ?>

-

get('website_field_urlscheme_lbl_example'); ?>

-
-
- -

- get('website_btn_urlscheme_detect'); ?> -

- -
- -
- -
- -
- + foreach ( $_POST as $key => &$value ) + { + if ( !preg_match('/^[a-z0-9_]+$/', $key) ) + die('You idiot hacker...'); + if ( $key == '_cont' ) + continue; + $value_clean = str_replace(array('\\', '"', '<', '>'), array('\\\\', '\\"', '<', '>'), $value); + echo "\n "; + } + + $https = ( isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off' ); + $scriptpath_full = 'http' . ( $https ? 's' : '' ) . '://' . $_SERVER['HTTP_HOST'] . scriptPath . '/'; + ?> + + +
+ get('website_msg_modrewrite_enabled'); ?>
+ + get('website_msg_modrewrite_necessary'); ?> + + get('website_msg_modrewrite_unnecessary'); ?> + +
+ +
+ get('website_msg_modrewrite_disabled'); ?>
+ get('website_msg_modrewrite_maybeneeded'); ?> +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ get('website_field_name'); ?>
+ get('website_field_name_hint'); ?> +
+ +
+ get('website_field_desc'); ?>
+ get('website_field_desc_hint'); ?> +
+ +
+ get('website_field_copyright'); ?>
+ get('website_field_copyright_hint'); ?> +
+ +
+ get('website_field_startwith'); ?> + + + + + + +
+ + + +

get('website_field_startwith_blank_hint'); ?>

+
+ +
+ + + +

get('website_field_startwith_tutorial_hint'); ?>

+
+ +
+ +
+ get('website_field_urlscheme'); ?>
+ get('website_field_urlscheme_hint'); ?> +
+ + + + + + +
+ + + + +

get('website_field_urlscheme_opt_standard_hint'); ?>

+

get('website_field_urlscheme_lbl_example'); ?>

+
+
+ + + + + + +
+ + + + +

get('website_field_urlscheme_opt_shortened_hint'); ?>

+

get('website_field_urlscheme_lbl_example'); ?>

+
+
+ + + + + + +
+ + + + +

get('website_field_urlscheme_opt_rewrite_hint'); ?>

+

get('website_field_urlscheme_lbl_example'); ?>

+
+
+ + + + + + +
+ + + + +

get('website_field_urlscheme_opt_tiny_hint'); ?>

+

get('website_field_urlscheme_lbl_example'); ?>

+
+
+ +

+ get('website_btn_urlscheme_detect'); ?> +

+ +
+ +
+ +
+ +
+