This file is indexed.

/usr/share/roundcube/plugins/jqueryui/jqueryui.php is in roundcube-plugins-extra 0.6-20111030.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php

/**
  * @version 1.8.6
  * @author Cor Bosman (roundcube@wa.ter.net)
  */
  
class jqueryui extends rcube_plugin
{  
  public function init() 
  {    
    $rcmail = rcmail::get_instance();
    $this->load_config();
    
    $skin_path = $this->local_skin_path();
    
    // jquery UI
    $this->include_script('js/jquery-ui.min.js');
  
    // jquery UI stylesheet
    $ui_map = $rcmail->config->get('jquery_ui_skin_map',array('default' => 'smoothness'));
    $ui_theme = $ui_map[$rcmail->config->get('skin','default')];
    if(file_exists("plugins/jqueryui/$skin_path/css/$ui_theme/jquery-ui.css")) {
      $this->include_stylesheet("$skin_path/css/$ui_theme/jquery-ui.css");
    } else {
      $this->include_stylesheet("skins/default/css/smoothness/jquery-ui.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("plugins/jqueryui/js/i18n/jquery.ui.$package-$lang_l.js")) {
          $this->include_script("js/i18n/jquery.ui.$package-$lang_l.js");
        } elseif(file_exists("plugins/jqueryui/js/i18n/jquery.ui.$package-$lang_s.js")) {
          $this->include_script("js/i18n/jquery.ui.$package-$lang_s.js");
        }
      }
    }
  }
}
?>