| | |
| | | if ($uri && stripos($uri, 'http') !== 0) { |
| | | $uri = 'http://' . $uri; |
| | | } |
| | | |
| | | |
| | | $table->add_row(); |
| | | $table->add('name', Q($data['name'] ? $data['name'] : $name)); |
| | | $table->add('version', Q($data['version'])); |
| | |
| | | foreach ($metadata as $key => $path) { |
| | | $data[$key] = $xpath->evaluate($path); |
| | | } |
| | | |
| | | console($name); |
| | | $plugins[$name] = $data; |
| | | |
| | | // dependent required plugins (can be used, but not included in config) |
| | |
| | | |
| | | for ($i=0; $i<$cnt; $i++) { |
| | | $dn = $deps->item($i)->nodeValue; |
| | | console($dn); |
| | | if (!array_key_exists($dn, $plugins)) { |
| | | rcube_plugin_data($dn, $plugins); |
| | | } |