|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 25.79 GB of 70.42 GB (36.62%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
home/
yalagina/
map/
site/
sql_control/
libraries/
- drwxr-sr-x
|
Viewing file: display_select_lang.lib.php (2.4 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Code for displaying language selection * * @package phpMyAdmin */ if (! defined('PHPMYADMIN')) { exit; }
/** * Sorts available languages by their true english names * * @param array the array to be sorted * @param mixed a required parameter * @return the sorted array * @access private */ function PMA_language_cmp(&$a, &$b) { return (strcmp($a[1], $b[1])); } // end of the 'PMA_language_cmp()' function
/** * Displays for for language selection * * @access public */ function PMA_select_language($use_fieldset = FALSE, $show_doc = TRUE) { global $cfg, $lang; ?>
<form method="post" action="index.php" target="_parent"> <?php $_form_params = array( 'db' => $GLOBALS['db'], 'table' => $GLOBALS['table'], ); echo PMA_generate_common_hidden_inputs($_form_params);
// For non-English, display "Language" with emphasis because it's // not a proper word in the current language; we show it to help // people recognize the dialog $language_title = __('Language') . (__('Language') != 'Language' ? ' - <em>Language</em>' : ''); if ($show_doc) { $language_title .= PMA_showDocu('faq7_2'); } if ($use_fieldset) { echo '<fieldset><legend xml:lang="en" dir="ltr">' . $language_title . '</legend>'; } else { echo '<bdo xml:lang="en" dir="ltr">' . $language_title . ':</bdo>'; } ?>
<select name="lang" onchange="this.form.submit();" xml:lang="en" dir="ltr"> <?php
uasort($GLOBALS['available_languages'], 'PMA_language_cmp'); foreach ($GLOBALS['available_languages'] as $id => $tmplang) { $lang_name = PMA_langName($tmplang);
//Is current one active? if ($lang == $id) { $selected = ' selected="selected"'; } else { $selected = ''; }
echo ' '; echo '<option value="' . $id . '"' . $selected . '>' . $lang_name . '</option>' . "\n"; } ?>
</select> <?php if ($use_fieldset) { echo '</fieldset>'; } ?>
<noscript> <?php if ($use_fieldset) { echo '<fieldset class="tblFooters">'; } ?>
<input type="submit" value="Go" /> <?php if ($use_fieldset) { echo '</fieldset>'; } ?>
</noscript> </form> <?php } // End of function PMA_select_language ?>
|