Fixed a few more PostgreSQL bugs with insert_id() and an issue with setting SERIAL columns manually. May break things if installed into a database without first dropping tables.
/*
* Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
* Version 1.1.1
* Copyright (C) 2006-2007 Dan Fuhry
*
* This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
*/
// Enano installer strings
// Language: ISO-639-3 eng (English)
var enano_lang_install = {
categories: [
'meta', 'language', 'welcome', 'license', 'sysreqs', 'database', 'dbmysql', 'dbpgsql', 'website', 'login', 'confirm', 'install', 'finish', 'pophelp', 'upgrade'
],
strings: {
meta: {
site_name: 'Enano installation',
site_desc: 'Install Enano on your server.',
enano_copyright: 'Enano and its various components, related documentation, and artwork are copyright © 2006 Dan Fuhry.<br />This program is Free Software; see the file "GPL" included with this package for details.',
sidebar_heading: 'Installation progress',
btn_article: 'installation page',
btn_continue: 'Continue',
lbl_before_continue: 'Before continuing:',
step: 'Step %step%: %title%',
msg_err_verification: 'One or more of the form fields is incorrect. Please correct any information in the form that has an "X" next to it.',
msg_err_stagefailed_title: 'Enano installation failed.',
msg_err_stagefailed_body: 'When you have corrected the error, click the button below to attempt to continue the installation.',
msg_err_stagefailed_mysqlerror: 'The error returned from MySQL was:',
btn_retry_installation: 'Retry installation',
},
language: {
modetitle: 'Language',
},
welcome: {
modetitle: 'Welcome',
heading: 'Welcome to Enano',
version: 'version',
branch_stable: 'stable',
branch_unstable: 'unstable',
aka: 'also affectionately known as "%codename%" <tt>:)</tt>',
btn_start: 'Start installation',
},
license: {
modetitle: 'License',
modetitle_long: 'License agreement',
heading: 'Welcome to the Enano installer.',
blurb_thankyou: 'Thank you for choosing Enano as your CMS. You\'ve selected the finest in design, the strongest in security, and the latest in Web 2.0 toys. Trust us, you\'ll like it.',
blurb_pleaseread: 'To get started, please read and accept the following license agreement. You\'ve probably seen it before.',
info_unstable_title: 'Notice for prerelease versions',
info_unstable_body: 'This version of Enano is designed only for testing and evaluation purposes. <b>It is not yet completely stable, and should not be used on production websites.</b> As with any Enano version, Dan Fuhry and the Enano team cannot be responsible for any damage, physical or otherwise, to any property as a result of the use of Enano. While security is a number one priority, sometimes things slip through.',
section_gpl_heading: 'Lawyer-readable version',
btn_i_agree: 'I agree to the license terms',
objective_ensure_agree: 'Ensure that you agree with the terms of the license',
objective_have_db_info: 'Have your database host, name, username, and password available',
gpl_blurb_inenglish: 'You may view a copy of the GNU General Public License in English in the file GPL-EN included with this package.',
},
sysreqs: {
modetitle: 'Requirements',
modetitle_long: 'Server requirements',
heading: 'Checking your server',
blurb: 'Enano has several requirements that must be met before it can be installed. If all is good then note any warnings and click Continue below.',
req_php: 'PHP Version >=4.3.0',
req_php5: 'PHP 5.2.0 or later',
req_postgres: 'PostgreSQL extension for PHP',
req_mysql: 'MySQL extension for PHP',
req_uploads: 'File upload support',
req_apache: 'Apache HTTP Server',
req_config: 'Configuration file writable',
req_magick: 'ImageMagick support',
req_cachewriteable: 'Cache directory writable',
req_fileswriteable: 'File uploads directory writable',
req_desc_php: 'It seems that the version of PHP that your server is running is too old to support Enano properly. If this is your server, please upgrade to the most recent version of PHP, remembering to use the --with-mysql configure option if you compile it yourself. If this is not your server, please contact your webhost and ask them if it would be possible to upgrade PHP. If this is not possible, you will need to switch to a different webhost in order to use Enano.',
req_desc_php5: 'Your server does not have support for PHP 5.2.0. While you may continue installing Enano, please be warned that as of December 31, 2007, all support for Enano on PHP 4 servers is discontinued. If you have at least PHP 5.0.0, support will still be available, but there are many security problems in PHP versions under 5.2.0 that Enano cannot effectively prevent.',
req_desc_postgres: 'It seems that your PHP installation does not have the PostgreSQL extension enabled. Because of this, you won\'t be able to use the PostgreSQL database driver. This is OK in the majority of cases. If you want to use PostgreSQL support, you\'ll need to either compile the PHP extension for Postgres or install the extension with your distribution\'s package manager. Windows administrators will need enable php_pgsql.dll in their php.ini.',
req_desc_mysql: 'It seems that your PHP installation does not have the MySQL extension enabled. If this is your own server, you may need to just enable the "libmysql.so" extension in php.ini. If you do not have the MySQL extension installed, you will need to either use your distribution\'s package manager to install it, or you will have to compile PHP from source. If you compile PHP from source, please remember to use the "--with-mysql" configure option, and you will have to have the MySQL development files installed (they usually are). If this is not your server, please contact your hosting company and ask them to install the PHP MySQL extension.',
req_desc_uploads: 'It seems that your server does not support uploading files. Enano *requires* this functionality in order to work properly. Please ask your server administrator to set the "file_uploads" option in php.ini to "On".',
req_desc_apache: 'Apparently your server is running a web server other than Apache. Enano will work nontheless, but there are some known bugs with non-Apache servers, and the "fancy" URLs will not work properly. The "Standard URLs" option will be set on the website configuration page, only change it if you are absolutely certain that your server is running Apache.',
req_desc_config: 'It looks like the configuration file, config.new.php, is not writable. Enano needs to be able to write to this file in order to install.<br /><br /><b>If you are installing Enano on a SourceForge web site:</b><br />SourceForge mounts the web partitions read-only now, so you will need to use the project shell service to symlink config.php to a file in the /tmp/persistent directory.',
req_desc_magick: 'Enano uses ImageMagick to scale images into thumbnails. Because ImageMagick was not found on your server, Enano will use the width= and height= attributes on the <img> tag to scale images. This can cause somewhat of a performance increase, but bandwidth usage will be higher, especially if you use high-resolution images on your site.<br /><br />If you are sure that you have ImageMagick, you can set the location of the "convert" program using the administration panel after installation is complete.',
req_desc_cachewriteable: 'Apparently the cache/ directory is not writable. Enano will still work, but you will not be able to cache thumbnails, meaning the server will need to re-render them each time they are requested. In some cases, this can cause a significant slowdown.',
req_desc_fileswriteable: 'It seems that the directory where uploaded files are stored (%enano_root%/files) cannot be written by the server. Enano will still function, but file uploads will not function, and will be disabled by default.',
summary_success_title: 'Your server meets all the requirements for running Enano.',
summary_success_body: 'Click the button below to continue the installation.',
summary_warn_title: 'Some of the features of Enano have been turned off to accommodate your server.',
summary_warn_body: 'Enano has detected that some of the features or configuration settings on your server are not optimal for the best behavior and/or performance for Enano. As a result, Enano has disabled these features as a precaution to prevent errors and potential security issues.',
summary_fail_title: 'Your server does not meet the requirements for Enano to run.',
summary_fail_body: 'As a precaution, Enano will not install until the above requirements have been met. Contact your server administrator or hosting company and convince them to upgrade. Good luck.',
objective_scalebacks: 'Review the list above to ensure that you are satisfied with any of Enano\'s workarounds for your server. If you need a particular feature and that feature is listed as disabled above, you should take the opportunity now to correct the problem.'
},
database: {
modetitle: 'Database',
modetitle_long: 'Database information',
heading_optionalinfo: 'Optional information',
driver_heading: 'Choose a database driver',
driver_intro: 'The next step is to choose the database driver that Enano will use. In most cases this is MySQL, but there are certain advantages to PostgreSQL, which is made available only experimentally.',
driver_msg_virt_appliance: '<b>You\'re using the Enano virtual appliance.</b><br />Unless you configured the appliance manually, PostgreSQL support is not available. In 99% of cases you\'ll want to click MySQL below.',
driver_err_no_mysql: 'You don\'t have the MySQL PHP extension installed.',
driver_err_no_pgsql: 'You don\'t have the PostgreSQL PHP extensnion installed.',
driver_mysql: 'MySQL',
driver_mysql_intro: 'Click this button to use MySQL as the database backend for your site. Most web hosts support MySQL, and if you have administrative access to your MySQL server, you can create a new database and user during this installation process if you haven\'t done so already.',
driver_pgsql: 'PostgreSQL',
driver_pgsql_intro: 'Click this button to use PostgreSQL as the database backend for your site. While not as widely supported, PostgreSQL has more liberal licensing conditions and when properly configured is faster than MySQL. Some plugins may not work with the PostgreSQL driver.',
objective_test: 'Check your MySQL connection using the "Test Connection" button.',
objective_uncrypt: 'Be aware that your database information will be transmitted unencrypted several times.',
// database_post module
btn_go_back: 'Go back',
msg_success_title: 'Connection successful',
msg_success_body: 'The database has been contacted and initial tables created successfully. Redirecting...',
msg_success_redirect: 'Click if you\'re not redirected within 2 seconds',
msg_post_fail_title: 'Database connection failed',
msg_post_fail_body: 'The installer couldn\'t connect to the database because something went wrong while the connection attempt was being made. Please press your browser\'s back button and correct your database information.',
msg_post_fail_desc: 'Error description:',
msg_sql_fail_title: 'Database operation failed',
msg_sql_fail_body: 'The installer couldn\'t create one of the tables used for installation.',
},
dbmysql: {
msg_err_mysql_connect: '<b>Error:</b> The database server "%db_host%" couldn\'t be contacted.<br />%mysql_error%',
msg_err_mysql_auth: '<b>Error:</b> Access to MySQL under the specified credentials was denied.<br />%mysql_error%',
msg_err_mysql_dbperm: '<b>Error:</b> Access to the specified database using those login credentials was denied.<br />%mysql_error%',
msg_err_mysql_dbexist: '<b>Error:</b> The specified database does not exist<br />%mysql_error%',
msg_err_mysql_version: '<b>Error:</b> Your version of MySQL (%mysql_version%) is older than 4.1.17. Enano will still work, but there is a known bug with the comment system and MySQL 4.1.11 that involves some comments not being displayed, due to an issue with the PHP function mysql_fetch_row().',
msg_warn_creating_db: '<b>Warning:</b> The database you specified does not exist. It will be created during installation.',
msg_warn_creating_user: '<b>Warning:</b> The specified regular user does not exist or the password is incorrect. The user will be created during installation. If the user already exists, the password will be reset.',
msg_warn_mysql_version: 'The MySQL version that your server is running could not be determined.',
msg_info_mysql_good: 'Your version of MySQL meets Enano requirements.',
msg_test_success: 'All checks passed! You can use this database configuration with Enano.',
blurb_needdb: 'Now we need some information that will allow Enano to contact your database server. Enano uses MySQL as a data storage backend, and we need to have access to a MySQL server in order to continue.',
blurb_howtomysql: 'If you do not have access to a MySQL server, and you are using your own server, you can download MySQL for free from <a href="http://www.mysql.com/">MySQL.com</a>. <b>Please note that, like Enano, MySQL is licensed under the GNU GPL.</b> If you need to modify MySQL and then distribute your modifications, you must either distribute them under the terms of the GPL or purchase a proprietary license.',
vm_login_info: '<b>MySQL login information for this virtual appliance:</b><br /><br />Database hostname: %host%<br />Database login: username "%user%", password: "%pass%" (without quotes)<br />Database name: %name%',
table_title: 'Database information',
field_hostname_title: 'Database hostname',
field_hostname_body: 'This is the hostname (or sometimes the IP address) of your MySQL server. In many cases, this is "localhost".',
field_dbname_title: 'Database name',
field_dbname_body: 'The name of the actual database. If you don\'t already have a database, you can create one here, if you have the username and password of a MySQL user with administrative rights.',
field_dbauth_title: 'Database login',
field_dbauth_body: 'These fields should be the username and password of a user with "select", "insert", "update", "delete", "create table", and "replace" privileges for your database.',
field_tableprefix_title: 'Table prefix',
field_tableprefix_body: 'The value that you enter here will be added to the beginning of the name of each Enano table. You may use lowercase letters (a-z), numbers (0-9), and underscores (_).',
field_rootauth_title: 'Database administrative login',
field_rootauth_body: 'If the MySQL database or username that you entered above does not exist yet, you can create them here, assuming that you have the login information for an administrative user (such as root). Leave these fields blank unless you need to use them.',
field_mysqlversion_title: 'MySQL version',
field_mysqlversion_blurb_willbechecked: 'MySQL version information will be checked when you click "Test Connection".',
field_droptables_title: 'Delete existing tables?',
field_droptables_body: 'If this option is checked, all the tables that will be used by Enano will be dropped (deleted) before the schema is executed. Do NOT use this option unless specifically instructed to.',
field_droptables_lbl: 'Drop existing tables',
btn_testconnection: 'Test connection',
},
dbpgsql: {
msg_err_connect: 'There was a problem connecting to PostgreSQL. Please check your connection information above.',
msg_err_version: '<b>Error:</b> Your version of PostgreSQL (%pg_version%) is older than 8.2.5. Enano cannot be installed.',
msg_warn_pg_version: 'The PostgreSQL version that your server is running could not be determined.',
msg_err_auth: 'Access to the database was denied. Ensure that your database exists and that your username and password are correct.',
msg_info_version_good: 'Your version of PostgreSQL meets Enano requirements.',
msg_test_success: 'All checks passed! You can use this database configuration with Enano.',
blurb_needdb: 'Now we need some information that will allow Enano to contact your database server. Enano uses PostgreSQL as a data storage backend, and we need to have access to a PostgreSQL server in order to continue.',
blurb_howtomysql: 'If you do not have access to a PostgreSQL server, and you are using your own server, you can download PostgreSQL for free from <a href="http://www.mysql.com/">PostgreSQL.com</a>. <b>Please note that, like Enano, PostgreSQL is licensed under the GNU GPL.</b> If you need to modify PostgreSQL and then distribute your modifications, you must either distribute them under the terms of the GPL or purchase a proprietary license.',
vm_login_info: '<b>PostgreSQL login information for this virtual appliance:</b><br /><br />Database hostname: %host%<br />Database login: username "%user%", password: "%pass%" (without quotes)<br />Database name: %name%',
table_title: 'Database information',
field_hostname_title: 'Database hostname',
field_hostname_body: 'This is the hostname (or sometimes the IP address) of your PostgreSQL server. In many cases, this is "localhost".',
field_dbname_title: 'Database name',
field_dbname_body: 'The name of the actual database. If you don\'t already have a database, you can create one here, if you have the username and password of a PostgreSQL user with administrative rights.',
field_dbauth_title: 'Database login',
field_dbauth_body: 'These fields should be the username and password of a user with "select", "insert", "update", "delete", "create table", and "replace" privileges for your database.',
field_tableprefix_title: 'Table prefix',
field_tableprefix_body: 'The value that you enter here will be added to the beginning of the name of each Enano table. You may use lowercase letters (a-z), numbers (0-9), and underscores (_).',
field_rootauth_title: 'Database administrative login',
field_rootauth_body: 'If the PostgreSQL database or username that you entered above does not exist yet, you can create them here, assuming that you have the login information for an administrative user (such as root). Leave these fields blank unless you need to use them.',
field_pgsqlversion_title: 'PostgreSQL version',
field_pgsqlversion_blurb_willbechecked: 'PostgreSQL version information will be checked when you click "Test Connection".',
field_droptables_title: 'Delete existing tables?',
field_droptables_body: 'If this option is checked, all the tables that will be used by Enano will be dropped (deleted) before the schema is executed. Do NOT use this option unless specifically instructed to.',
field_droptables_lbl: 'Drop existing tables',
btn_testconnection: 'Test connection',
},
website: {
modetitle: 'Site info',
modetitle_long: 'Website information',
header_blurb: 'The next step is to enter some information about your website. You can always change this information later, using the administration panel.',
msg_ajax_test_fail_title: 'All tests failed',
msg_ajax_test_fail_body: 'None of the URL handling tests worked; you may have problems using Enano on your server.',
msg_bestmethod_rewrite: 'The installer has detected that using rewritten URLs is the best level that will work.',
msg_bestmethod_shortened: 'The installer has detected that using shortened URLs is the best level that will work.',
msg_bestmethod_standard: 'The installer has detected that using standard URLs is the only level that will work.',
field_name: 'Pick a name',
field_name_hint: 'Now for the fun part - it\'s time to name your website. Try to pick something that doesn\'t include any special characters, since this can make project-page URLs look botched.',
field_desc: 'Enter a short description',
field_desc_hint: 'Here you should enter a very short description of your site. Sometimes this is a slogan or, depending on the theme you\'ve chosen, a set of keywords that can go into a META description tag.',
field_copyright: 'Copyright info',
field_copyright_hint: 'The text you enter here will be shown at the bottom of most pages. Typically this is where a copyright notice would go. Keep it short and sweet; you can use <a href="http://docs.enanocms.org/Help:3.1">internal links</a> to link to project pages you\'ll create later.',
field_urlscheme: 'URL formatting',
field_urlscheme_hint: 'This lets you choose how URLs within your site will be formatted. If the setting you pick doesn\'t work, you can change it by editing config.php after installation.',
field_urlscheme_lbl_example: 'Example:',
field_urlscheme_opt_standard: 'Standard URLs',
field_urlscheme_opt_standard_hint: 'Compatible with all servers. This is the default option and should be used unless you\'re sure that one of the other options below will work.',
field_urlscheme_opt_shortened: 'Shortened URLs',
field_urlscheme_opt_shortened_hint: 'This eliminates the "?title=" portion of your URL, and instead uses a slash. This is occasionally more friendly to search engines.',
field_urlscheme_opt_rewrite: 'Rewritten URLs',
field_urlscheme_opt_rewrite_hint: 'Using this option, you can completely eliminate the "index.php" from URLs. This is the most friendly option to search engines and looks very professional, but requires support for URL rewriting on your server. If you\'re running Apache and have the right permissions, Enano can configure this automatically. Otherwise, you\'ll need to configure your server manually and have a knowledge of regular expressions for this option to work.',
btn_urlscheme_detect: 'Auto-detect the best formatting scheme',
objective_verify: 'Verify that your site information is correct. Again, all of the above settings can be changed from the administration panel.',
},
login: {
modetitle: 'Admin login',
header_blurb: 'Next, enter your desired username and password. The account you create here will be used to administer your site.',
modetitle_long: 'Administration login',
welcome_title: 'Administration account',
welcome_body: '<p>Now it\'s time to create the account you\'ll use to administer your site. The e-mail address you enter here will also be used for the global contact address; you can change this after installation is finished if need be.</p>
<p>Do not forget the information you enter here. Otherwise you will be unable to administer your site.</p>',
err_verify_failure: 'One or more of the form fields contains an incorrect value. Please correct any fields that have an X next to them.',
err_rijndael_failed: 'Received a bad response from rijndaelEncrypt(). Shift-click "reload" or "refresh" (depending on your browser) and try again.',
field_username: 'Username',
field_password: 'Password',
aes_blurb: 'This will be encrypted with AES before it\'s sent to the server.',
field_password_confirm: '(confirm)',
field_email: 'E-mail',
objective_remember: 'Remember the username and password you enter here! You will not be able to administer your site without the information you enter on this page.',
},
confirm: {
modetitle: 'Review',
modetitle_long: 'Confirm installation',
title: 'Enano is ready to install.',
body: 'Almost there! You\'ve entered all the information we need for now. Click the button below to install the Enano database.',
info_aes_title: 'A note on AES encryption:',
info_aes_body: 'Enano is currently configured to use %aes_bits%-bit AES encryption. While the default value of 192 bits is perfectly acceptable for most sites, those in need of extreme security will want to change this value to 256 bits (the maximum available strength). If you need to change the cipher strength, please edit the file includes/constants.php and then <u>restart</u> this installation. Do not click Continue below until you redo the installation process up until this point, or you will experience severe problems with logging into your site.',
btn_install_enano: 'Install Enano!',
},
install: {
modetitle: 'Install',
modetitle_long: 'Database installation',
title: 'Installing Enano',
body: 'Please wait while Enano creates its database and initial content on your server.',
heading_progress: 'Installation progress',
stg_load_title: 'Load installer files',
stg_load_body: 'One of the files needed for installation couldn\'t be loaded. Please check your Enano directory.',
stg_setpass_title: 'Retrieve administrator password',
stg_setpass_body: 'The administrator password couldn\'t be decrypted. This really shouldn\'t happen.',
stg_genaes_title: 'Generate private key',
stg_genaes_body: 'Couldn\'t generate a private key for the site. This really shouldn\'t happen.',
stg_sqlparse_title: 'Prepare database schema',
stg_sqlparse_body: 'Couldn\'t load or parse the schema file. This really shouldn\'t happen.',
stg_payload_title: 'Install database',
stg_payload_body: 'There was a problem with an SQL query. Details are above.',
stg_writeconfig_title: 'Write configuration files',
stg_writeconfig_body: 'Enano was unable to write the configuration file with your site\'s database credentials. This is almost always because your configuration file does not have the correct permissions. On Windows servers, you may see this message even if the check on the System Requirements page passed. Temporarily running IIS as the Administrator user may help.',
stg_startapi_title: 'Start the Enano API',
stg_startapi_body: 'The Enano API could not be started. This is an error that should never occur; please contact the Enano team for support.',
stg_importlang_title: 'Import default language',
stg_importlang_body: 'Enano couldn\'t import the English language file.',
stg_initlogs_title: 'Initialize logs',
stg_initlogs_body: '<b>The session manager denied the request to flush logs for the main page.</b><br />
While under most circumstances you can still <a href="install.php?mode=finish">finish the installation</a>, you should be aware that some servers cannot
properly set cookies due to limitations with PHP. These limitations are exposed primarily when this issue is encountered during installation. If you choose
to finish the installation, please be aware that you may be unable to log into your site.',
stg_cleanup_title: 'Clean up encryption keys',
stg_cleanup_body: 'There was a database error while removing the temporary encryption keys from the database. For maximum site security you should delete the config entries install_aes_key and site_aes_key manually.',
stg_rename_title: 'Rename configuration files',
stg_rename_body: 'Enano couldn\'t rename the configuration files to their correct production names. <span style="font-weight: bold; color: red;">Please perform the following rename operations and then follow the instructions to finish the installation below.</span>
<ul>
<li>Rename config.new.php to config.php</li>
<li>Rename .htaccess.new to .htaccess (only if you selected the Rewrite URL scheme)</li>
</ul>
%this.finish_body%
%this.finish_link_mainpage%',
stg_buildindex_title: 'Initialize search index',
stg_buildindex_body: 'Something went wrong while the page manager was attempting to build a search index.',
},
finish: {
modetitle: 'Finish',
modetitle_long: 'Complete installation',
heading_progress: 'Performing final installation steps',
msg_progress: 'Enano is cleaning up and performing some final installation tasks. Please wait...',
msg_success_title: 'Congratulations! You\'ve finished installing Enano.',
msg_success_body: 'Enano has finished setting up on your server. Now you can go to your <a href="%mainpage_link%">new website</a> and start creating content!',
body: '<h3>Wait... Now what?</h3>
<p>Click the link below to see the main page for your website. Where to go from here:</p>
<ul>
<li>The first thing you should do is log into your site using the Log in link on the sidebar.</li>
<li>Go into the Administration panel, expand General, and click General Configuration. There you will be able to configure some basic information about your site.</li>
<li>Visit the <a href="http://enanocms.org/Category:Plugins" onclick="window.open(this.href); return false;">Enano Plugin Gallery</a> to download and use plugins on your site.</li>
<li>Periodically create a backup of your database and filesystem, in case something goes wrong. This should be done at least once a week – more for wiki-based sites.</li>
<li>Hire some moderators, to help you keep rowdy users tame.</li>
<li>Tell the <a href="http://enanocms.org/Contact_us">Enano team</a> what you think.</li>
<li><b>Spread the word about Enano by adding a link to the Enano homepage on your sidebar!</b> You can enable this option in the General Configuration section of the administration panel.</li>
</ul>',
link_mainpage: '<a href="%mainpage_link%">Go to your website...</a>',
},
pophelp: {
admin_embed_php_title: 'Allow administrators to embed PHP',
admin_embed_php_body: '<p>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.</p>
<p>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.</p>
<p>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.</p>
<p>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.</p>',
url_schemes_title: 'URL schemes',
url_schemes_body: '<p>The URL scheme allows you to decide how the URLs to your Enano pages will look.</p>
<p>The first option (Standard URLs) works on any web server. You should select it if your server doesn\'t run Apache, or
if you are at all unsure of your server\'s configuration. With this scheme, URLs at your site will look like <tt>
http://yoursite.com/path-to-enano/index.php/Main_Page</tt>.</p>
<p>The second option, Small URLs, will be selected by default if Enano detects Apache. Small URLs are more friendly towards
search engines, but they don\'t work on very many non-Apache servers, or if PHP is set up through CGI on your server. Many
free and low-cost web hosts will configure PHP through CGI in order to keep your user account as the owner of any files that
Enano generates. With this scheme, URLs at your site will look like <tt>http://yoursite.com/path-to-enano/index.php/Main_Page</tt>.
</p>
<p>The last option, Tiny URLs, is the most friendly URL scheme for search engines, because your URLs won\'t have any special characters
at all in them. However, this only works if your webhost has configured Apache with support for mod_rewrite. Most of the time if your
host supports this you will see a listing for it in their feature matrix. None of the popular Linux distributions (such as Ubuntu,
Debian, Red Hat Enterprise Linux™, Fedora, openSUSE™, or CentOS) come with mod_rewrite enabled, so if you run a
home-brew server, you should consult your distribution\'s documentation for enabling mod_rewrite before selecting this option.
With this scheme, URLs at your site will look like <tt>http://yoursite.com/path-to-enano/Main_Page</tt>.</p>
</p>',
btn_close_window: 'Close window',
},
upgrade: {
login_msg_auth_needed_title: 'Authentication needed',
login_msg_auth_needed_body_level1: 'To continue, you need to log in. Please enter an administrator username and password below.',
login_msg_auth_needed_body_level2: 'To confirm the upgrade, you need to re-enter your login information. Please enter your username and password below.',
login_btn_login: 'Log in',
login_err_failed: 'The following error occurred during the login process: %error_code%.',
confirm_title: 'Confirm upgrade',
confirm_body: 'You are about to upgrade to Enano version <b>%enano_version%</b>. You should make sure that you\'ve done the following before you continue:',
confirm_objective_backup_fs: 'Back up Enano installation directory (<b>%dir%</b>)',
confirm_objective_backup_db: 'Back up Enano database, including non-Enano tables if any (<b>%dbname%</b>)',
confirm_btn_upgrade: 'Pimp my Enano!',
msg_schema_complete_title: 'Database upgrades complete',
msg_schema_complete_body: 'You\'re past the hard part - all of the modifications to your database were successful. We need to perform a few final steps to finish the upgrade; just click the button below to finish everything up.',
btn_continue: 'Finish upgrade',
err_current_title: 'Already running current version',
err_current_body: 'No database upgrades are needed right now, you\'re already running the Enano version set in this installer. Try <a href="%mainpage_link%">heading back to your site</a>. Think there\'s a mistake somewhere? <a href="http://forum.enanocms.org/">Let the Enano team know about it</a>.',
err_current_body_para2: 'You might also want to use the administration panel to check for updates, or <a href="http://enanocms.org/download">download the latest release</a> of Enano.',
err_post_not_available: 'You\'re trying to run the post-upgrade process, but your site isn\'t in the correct state for this.',
post_status_title: 'Finishing upgrade',
post_status_body: 'Enano is cleaning up some data and finalizing the upgrade.',
post_status_finish_title: 'All done!',
post_status_finish_body: 'That\'s it - Enano has been upgraded. You should <a href="%mainpage_link%">go back to your site</a> now and make sure that everything works right. If you find a problem, be sure to report it to the <a href="http://forum.enanocms.org/">Enano development team</a>. (Make sure you disable any plugins first, since we can\'t easily tell if your problem is caused by the Enano core or by a plugin, unless all of your non-system plugins are disabled.)',
stg_flushcache_title: 'Flush caches',
stg_flushcache_body: 'The upgrader failed to delete some cached data. You may experience some problems with file corruption or badly drawn pages until the caches expire, which is often no longer than 20 minutes.',
stg_setversion_title: 'Set Enano version and log upgrade',
stg_setversion_body: 'There was a problem finalizing the upgrade and inserting logs. You really shouldn\'t ever see this message, but calling setConfig(\'enano_version\', installer_enano_version()) should get you rolling again since everything else is probably done by now.',
}
}
}