{$lang_update_php['welcome_updater']}{$help}
|
EOT;
if ($error_msg) {
echo <<< EOT
ERROR
|
{$lang_update_php['errors_encountered']}:
|
{$error_msg}
|
EOT;
}
echo <<< EOT
EOT;
}
function html_install_success($notes)
{
global $DFLT, $lang_update_php;
//Coppermine is now upgraded and ready to roll.
echo ' ' . $lang_update_php['update_completed'] . '
';
echo '
';
printf($lang_update_php['check_versions'], '', '');
echo '. ';
printf($lang_update_php['start_page'], '', '');
echo '.
';
}
function html_footer()
{
if (function_exists('pagefooter') && defined('COPPERMINE_VERSION') && GALLERY_ADMIN_MODE) {
pagefooter();
} else {
echo <<< EOT
EOT;
}
}
function html_auth_box($method)
{
global $lang_update_php, $lang_common, $help;
$superCage = Inspekt::makeSuperCage();
if ($superCage->get->keyExists('debug')) {
$debug_mode = '?debug';
} else {
$debug_mode = '';
}
if (function_exists('cpg_fetch_icon')) {
$update_icon = cpg_fetch_icon('update_database', 2);
$ok_icon = cpg_fetch_icon('ok', 2);
$login_icon = cpg_fetch_icon('login', 2);
$username_icon = cpg_fetch_icon('my_profile', 2);
$password_icon = cpg_fetch_icon('key_enter', 2);
} else {
$update_icon = '';
$ok_icon = '';
$login_icon = '';
$username_icon = '';
$password_icon = '';
}
echo <<< EOT