'; } if ( $f_cookie_error ) { echo lang_get( 'login_cookies_disabled' ) . '
'; } # Display short greeting message echo lang_get( 'login_page_info' ); ?>

'; echo '

WARNING: Plain password authentication is used, this will expose your passwords to administrators.

'; echo ''; } # Generate a warning if administrator/root is valid. if ( user_get_id_by_name( 'administrator' ) !== false ) { if ( auth_does_password_match( user_get_id_by_name( 'administrator' ), 'root' ) ) { echo '
'; echo '

WARNING: You should disable the default "administrator" account or change its password.

'; echo '
'; } } # Check if the admin directory is available and is readable. $t_admin_dir = dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'admin' . DIRECTORY_SEPARATOR; if ( is_dir( $t_admin_dir ) && is_readable( $t_admin_dir ) ) { echo '
'; echo '

WARNING: Admin directory should be removed.

'; echo '
'; } ?>