|
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 | : | 26.43 GB of 70.42 GB (37.53%) |
|
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 ]
|
|
/
http/
guitar/
modules/
i18n/
- dr-xr-xr-x
|
Viewing file: i18n.variable.inc (2.01 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
<?php /** * @file * Variable information */
/** * Implements hook_variable_group_info(). */ function i18n_variable_group_info() { $groups['i18n'] = array( 'title' => t('Multilingual settings'), 'description' => t('Mixed options for multilingual sites.'), 'access' => 'administer site configuration', 'path' => 'admin/config/regional/i18n', ); return $groups; }
/** * Implements hook_variable_info(). */ function i18n_variable_info($options = array()) { $variables['i18n_language_list'] = array( 'title' => t('Languages for content', array(), $options), 'description' => t('Determines which languages will be allowed for content creation.', array(), $options), 'type' => 'select', 'options callback' => 'i18n_variable_option_list', 'default' => I18N_LANGUAGE_ENABLED, 'group' => 'i18n', ); return $variables; }
/** * Implements hook_variable_type_info(). */ function i18n_variable_type_info() { // Multiple variable per language options $types['multiple_language'] = array( 'title' => t('Multiple language'), 'element' => array('#type' => 'fieldset'), 'build callback' => 'variable_build_multiple', 'format callback' => 'variable_format_multiple', 'element callback' => 'variable_form_element_multiple', 'value callback' => 'variable_multiple_get_value', 'default callback' => 'variable_multiple_get_default', 'multiple callback' => 'i18n_variable_multiple_language_options', 'language list' => I18N_LANGUAGE_EXTENDED, ); return $types; }
/** * Options for content languages */ function i18n_variable_option_list($variable, $options = array()) { return array( I18N_LANGUAGE_ENABLED => t('Enabled languages only.', array(), $options), I18N_LANGUAGE_EXTENDED => t('All defined languages will be allowed.', array(), $options), ); }
/** * Callback for multiple per-language variables */ function i18n_variable_multiple_language_options($variable, $options = array()) { return i18n_language_list('name', $variable['language list']); }
|