' . sprintf(__('Cache directory %s is not writable.'), DC_TPL_CACHE) . '
' . __('Errors:') . '
' . $err . '' . __('Configuration file has been successfully created.') . '
'; } if ($can_install && $step == 0) { echo '' . __('User information') . '
' . '' . __('Please provide the following information needed to create the first user.') . '
' . ''; } elseif ($can_install && $step == 1) { # Plugins install messages $plugins_install_result = ''; if (!empty($plugins_install['success'])) { $plugins_install_result .= '- ';
foreach ($plugins_install['success'] as $k => $v) {
$plugins_install_result .= '
- ' . $k . ' '; } $plugins_install_result .= '
- ';
foreach ($plugins_install['failure'] as $k => $v) {
$plugins_install_result .= '
- ' . $k . ' (' . $v . ') '; } $plugins_install_result .= '
' . __('All done!') . '
' . $plugins_install_result . '' . __('Dotclear has been successfully installed. Here is some useful information you should keep.') . '
' . '' . __('Your account') . '
' . '- ' .
'
- ' . __('Username:') . ' ' . html::escapeHTML($u_login) . ' ' . '
- ' . __('Password:') . ' ' . html::escapeHTML($u_pwd) . ' ' . '
' . __('Your blog') . '
' . '- ' .
'
- ' . __('Blog address:') . ' ' . html::escapeHTML(http::getHost() . $root_url) . '/index.php? ' . '
- ' . __('Administration interface:') . ' ' . html::escapeHTML(http::getHost() . $admin_url) . ' ' . '
' . __('Installation can not be completed') . '
' . '' . __('Errors:') . '
' . $err . '' . __('For the said reasons, Dotclear can not be installed. ' . 'Please refer to ' . 'the documentation to learn how to correct the problem.') . '
'; } ?>