Thomas
2013-10-21 4af76d20cafcd456bf3ce0fcb17b25a888c45160
program/steps/settings/about.inc
@@ -7,7 +7,10 @@
 | This file is part of the Roundcube Webmail client                     |
 | Copyright (C) 2005-2011, The Roundcube Dev Team                       |
 | Copyright (C) 2011, Kolab Systems AG                                  |
 | Licensed under the GNU GPL                                            |
 |                                                                       |
 | Licensed under the GNU General Public License version 3 or            |
 | any later version with exceptions for skins & plugins.                |
 | See the README file for a full license statement.                     |
 |                                                                       |
 | PURPOSE:                                                              |
 |   Display license information about program and enabled plugins       |
@@ -15,9 +18,6 @@
 +-----------------------------------------------------------------------+
 | Author: Aleksander Machniak <alec@alec.pl>                            |
 +-----------------------------------------------------------------------+
 $Id: identities.inc 4410 2011-01-12 18:25:02Z thomasb $
*/
@@ -61,11 +61,11 @@
  $table->add_header('source', rcube_label('source'));
  foreach ($plugins as $name => $data) {
    $uri = $data['srcuri'];
    $uri = $data['srcuri'] ? $data['srcuri'] : $data['uri'];
    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']));
@@ -87,6 +87,7 @@
    'license' => 'string(//rc:package/rc:license)',
    'license_uri' => 'string(//rc:package/rc:license/@uri)',
    'srcuri' => 'string(//rc:package/rc:srcuri)',
    'uri' => 'string(//rc:package/rc:uri)',
  );
  $package = INSTALL_PATH . "/plugins/$name/package.xml";