$val ) { $query .= $key .'='. $val.'&'; } $url = $urlArr['path'].'?'.$query; } else { $url_appendix = '?'; } echo "\n"; echo "
\n"; echo "\n"; $mode = extGetParam( $_SESSION, 'file_mode', $GLOBALS['ext_conf']['authentication_method_default'] ); $logoutlink = ' ['.$GLOBALS['messages']['logoutlink'].']'; $alternate_modes = array(); foreach( $GLOBALS['ext_conf']['authentication_methods_allowed'] as $method ) { if( $method != $mode ) { $onclick = ''; if( empty($_SESSION['credentials_'.$method])) { $onclick = "onclick=\"openActionDialog('switch_file_mode', '".$method."_authentication');return false;\""; } $alternate_modes[] = "$method"; } } echo '"; //echo ""; echo "\n"; echo "\n"; echo '
'; if( is_object( $GLOBALS['_VERSION'] ) || class_exists( 'jversion')) { echo 'Back to '.( !empty($GLOBALS['_VERSION']->PRODUCT) ? @$GLOBALS['_VERSION']->PRODUCT : 'Joomla!' ).''; } else { echo ext_selectList('language_selector', $GLOBALS['language'], get_languages(), 1, '', 'onchange="document.location.href=\''.$GLOBALS['script_name'].'?lang=\' + this.options[this.selectedIndex].value;"'); } // Logo echo ""; //echo "
"; echo " \"eXtplorer
" .sprintf( $GLOBALS['messages']['switch_file_mode'], $mode . $logoutlink, implode(', ', $alternate_modes ) ). "
'; echo '
'; } //------------------------------------------------------------------------------ ?>