|
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 | : | 30.9 GB of 70.42 GB (43.88%) |
|
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/
mail.1/
plugins/
jqueryui/
- drwxr-xr-x
|
Viewing file: jqueryui.php (1.6 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
<?php
/** * jQuery UI * * Provide the jQuery UI library with according themes. * * @version 1.8.14 * @author Cor Bosman <roundcube@wa.ter.net> * @author Thomas Bruederli <roundcube@gmail.com> */ class jqueryui extends rcube_plugin { public $noajax = true;
public function init() { $version = '1.8.14';
$rcmail = rcmail::get_instance(); $this->load_config();
// include UI scripts $this->include_script("js/jquery-ui-$version.custom.min.js");
// include UI stylesheet $skin = $rcmail->config->get('skin', 'default'); $ui_map = $rcmail->config->get('jquery_ui_skin_map', array()); $ui_theme = $ui_map[$skin] ? $ui_map[$skin] : 'default';
if (file_exists($this->home . "/themes/$ui_theme/jquery-ui-$version.custom.css")) { $this->include_stylesheet("themes/$ui_theme/jquery-ui-$version.custom.css"); } else { $this->include_stylesheet("themes/default/jquery-ui-$version.custom.css"); }
// jquery UI localization $jquery_ui_i18n = $rcmail->config->get('jquery_ui_i18n', array()); if (count($jquery_ui_i18n) > 0) { $lang_l = str_replace('_', '-', substr($_SESSION['language'], 0, 5)); $lang_s = substr($_SESSION['language'], 0, 2); foreach($jquery_ui_i18n as $package) { if (file_exists($this->home . "/js/i18n/jquery.ui.$package-$lang_l.js")) { $this->include_script("js/i18n/jquery.ui.$package-$lang_l.js"); } else if (file_exists($this->home . "/js/i18n/jquery.ui.$package-$lang_s.js")) { $this->include_script("js/i18n/jquery.ui.$package-$lang_s.js"); } } } }
}
|