Commit 3737a3ab by Scott

Change installer button labels

Second attempt to bypass Apache mod_security
parent de5d2eed
...@@ -213,11 +213,11 @@ if (qa_db_connection(false) !== null && !@$pass_failure_from_install) { ...@@ -213,11 +213,11 @@ if (qa_db_connection(false) !== null && !@$pass_failure_from_install) {
$errorhtml .= "\n\nWhen you click below, your Question2Answer site will be set up to integrate with your existing user database and management. Users will be referenced with database column type ".qa_html(qa_get_mysql_user_column_type()).". Please consult the online documentation for more information."; $errorhtml .= "\n\nWhen you click below, your Question2Answer site will be set up to integrate with your existing user database and management. Users will be referenced with database column type ".qa_html(qa_get_mysql_user_column_type()).". Please consult the online documentation for more information.";
} }
$buttons = array('create' => 'Create the Database'); $buttons = array('create' => 'Set up the Database');
} }
else { else {
$errorhtml .= "\n\nWhen you click below, your Question2Answer database will be set up to manage user identities and logins internally.\n\nIf you want to offer a single sign-on for an existing user base or website, please consult the online documentation before proceeding."; $errorhtml .= "\n\nWhen you click below, your Question2Answer database will be set up to manage user identities and logins internally.\n\nIf you want to offer a single sign-on for an existing user base or website, please consult the online documentation before proceeding.";
$buttons = array('create' => 'Create the Database including User Management'); $buttons = array('create' => 'Set up the Database including User Management');
} }
break; break;
...@@ -233,7 +233,7 @@ if (qa_db_connection(false) !== null && !@$pass_failure_from_install) { ...@@ -233,7 +233,7 @@ if (qa_db_connection(false) !== null && !@$pass_failure_from_install) {
case 'non-users-missing': case 'non-users-missing':
$errorhtml = 'This Question2Answer site is sharing its users with another Q2A site, but it needs some additional database tables for its own content. Please click below to create them.'; $errorhtml = 'This Question2Answer site is sharing its users with another Q2A site, but it needs some additional database tables for its own content. Please click below to create them.';
$buttons = array('nonuser' => 'Create the Tables'); $buttons = array('nonuser' => 'Set up the Tables');
break; break;
case 'table-missing': case 'table-missing':
...@@ -256,7 +256,7 @@ if (qa_db_connection(false) !== null && !@$pass_failure_from_install) { ...@@ -256,7 +256,7 @@ if (qa_db_connection(false) !== null && !@$pass_failure_from_install) {
'password' => array('label' => 'Password:', 'type' => 'password'), 'password' => array('label' => 'Password:', 'type' => 'password'),
'email' => array('label' => 'Email address:', 'type' => 'text'), 'email' => array('label' => 'Email address:', 'type' => 'text'),
); );
$buttons = array('super' => 'Create the Super Administrator'); $buttons = array('super' => 'Set up the Super Administrator');
} }
else { else {
$tables = qa_db_list_tables(); $tables = qa_db_list_tables();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment