# HG changeset patch # User Dan # Date 1194649769 18000 # Node ID f4323fa79313f60f01d53dec2ba67b250682773d # Parent ed13b72b13cc2bb68096db65a467f54e5b7e6530 Fully localized all of the installer except the install and finish pages diff -r ed13b72b13cc -r f4323fa79313 install.php --- a/install.php Fri Nov 09 11:18:54 2007 -0500 +++ b/install.php Fri Nov 09 18:09:29 2007 -0500 @@ -772,25 +772,15 @@ switch($topic) { case 'admin_embed_php': - $title = 'Allow administrators to embed PHP'; - $content = '

This option allows you to control whether anything between the standard <?php and ?> tags will be treated as - PHP code by Enano. If this option is enabled, and members of the Administrators group use these tags, Enano will - execute that code when the page is loaded. There are obvious potential security implications here, which should - be carefully considered before enabling this option.

-

If you are the only administrator of this site, or if you have a high level of trust for those will be administering - the site with you, you should enable this to allow extreme customization of pages.

-

Leave this option off if you are at all concerned about security – if your account is compromised and PHP embedding - is enabled, an attacker can run arbitrary code on your server! Enabling this will also allow administrators to - embed Javascript and arbitrary HTML and CSS.

-

If you don\'t have experience coding in PHP, you can safely disable this option. You may change this at any time - using the ACL editor by selecting the Administrators group and This Entire Website under the scope selection.

'; + $title = $lang->get('pophelp_admin_embed_php_title'); + $content = $lang->get('pophelp_admin_embed_php_body'); break; default: $title = 'Invalid topic'; $content = 'Invalid help topic.'; break; } + $close_window = $lang->get('pophelp_btn_close_window'); echo << @@ -815,7 +805,7 @@

{$title}

{$content}

- Close window + {$close_window}

@@ -1439,19 +1429,81 @@ echo ''."\n"; } ?> -

The next step is to enter some information about your website. You can always change this information later, using the administration panel.

+

get('website_header_blurb'); ?>

- - - - - + + + + + + + + + + + + + + + + + + + + + + + +
Website name
The display name of your website. Allowed characters are uppercase and lowercase letters, numerals, and spaces. This must not be blank or "Enano".
Good/bad icon
Website description
This text will be shown below the name of your website.
Good/bad icon
Copyright info
This should be a one-line legal notice that will appear at the bottom of all your pages.
Good/bad icon
Wiki mode
This feature allows people to create and edit pages on your site. Enano keeps a history of all page modifications, and you can protect pages to prevent editing.
URL scheme
Choose how the page URLs will look. Depending on your server configuration, you may need to select the first option. If you don't know, select the first option, and you can always change it later.
name="urlscheme" value="ugly" id="ugly">
name="urlscheme" value="short" id="short">
+ get('website_field_name_title'); ?>
+ get('website_field_name_body'); ?> +
+ + + Good/bad icon +
+ get('website_field_desc_title'); ?>
+ get('website_field_desc_body'); ?> +
+ + + Good/bad icon +
+ get('website_field_copyright_title'); ?>
+ get('website_field_copyright_body'); ?> +
+ + + Good/bad icon +
+ get('website_field_wikimode_title'); ?>
+ get('website_field_wikimode_body'); ?> +
+ + +   +
+ get('website_field_urlscheme_title'); ?>
+ get('website_field_urlscheme_body'); ?> +
+ name="urlscheme" value="ugly" id="ugly" />
+ name="urlscheme" value="short" id="short" />
+ +
@@ -1476,7 +1528,7 @@ $handle = @fopen(ENANO_ROOT.'/config.new.php', 'w'); if(!$handle) { - echo '

ERROR: Cannot open config.php for writing - exiting!

'; + echo '

ERROR: Despite my repeated attempts to verify that the configuration file can be written, I was indeed prevented from opening it for writing. Maybe you\'re still on crack Windows?

'; $template->footer(); exit; } @@ -1537,40 +1589,69 @@ echo ''."\n"; } ?> -

Next, enter your desired username and password. The account you create here will be used to administer your site.

+

get('login_header_blurb'); ?>

- - - - + + + + + + + + + + + + + + + + + + + - +
Administration username
The administration username you will use to log into your site.
This cannot be "anonymous" or in the form of an IP address.
Good/bad icon
Administration password:Good/bad icon
Enter it again to confirm:
Your e-mail address:Good/bad icon
get('login_field_username_title'); ?>
get('login_field_username_body'); ?>
Good/bad icon
get('login_field_password_title'); ?>Good/bad icon
get('login_field_password_confirm'); ?>
get('login_field_email_title'); ?>Good/bad icon
- Allow administrators to embed PHP code into pages:
- Do not under any circumstances enable this option without reading these - important security implications. - + get('login_field_allowphp_title'); ?>
+ + + get('login_field_allowphp_body', + array( + 'important_notes' => '' . $lang->get('login_field_allowphp_isi') . '' + ) + ); + ?> + +
-    - +    +
If your browser supports Javascript, the password you enter here will be encrypted with AES before it is sent to the server.
get('login_aes_blurb'); ?>
- - - + + +