thomascube
2012-01-18 50d6e918e147b12a547d01b877c98b558d6cfd66
Use <uri> value from package.xml to build download links in about screen; show links in default style

4 files modified
21 ■■■■ changed files
program/steps/settings/about.inc 3 ●●●● patch | view | raw | blame | history
skins/larry/mail.css 7 ●●●●● patch | view | raw | blame | history
skins/larry/styles.css 7 ●●●●● patch | view | raw | blame | history
skins/larry/templates/about.html 4 ●●●● patch | view | raw | blame | history
program/steps/settings/about.inc
@@ -64,7 +64,7 @@
  $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;
    }
@@ -90,6 +90,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";
skins/larry/mail.css
@@ -384,6 +384,13 @@
    display: inline-block;
}
#messagelist tbody td a {
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    cursor: default;
}
#messagelist tbody tr td.flag,
#messagelist tbody tr td.status,
#messagelist tbody tr td.subject span.status {
skins/larry/styles.css
@@ -958,13 +958,6 @@
    border-left: 0;
}
.records-table tbody td a {
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    cursor: default;
}
.records-table tr.selected td {
    color: #fff !important;
    background: #019bc6;
skins/larry/templates/about.html
@@ -10,7 +10,7 @@
<roundcube:object name="aboutcontent" />
<h2 class="sysname">Roundcube Webmail <roundcube:object name="version" /></h2>
<p class="copyright">Copyright &copy; 2005-2011, The Roundcube Dev Team</p>
<p class="copyright">Copyright &copy; 2005-2012, The Roundcube Dev Team</p>
<p class="license">This program is free software; you can redistribute it and/or modify
it under the terms of the <a href="http://www.gnu.org/licenses/gpl.html" target="_blank">GNU General Public License</a>
as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
@@ -20,7 +20,7 @@
<div class="readtext">
<h3><roundcube:label name="installedplugins" en_US="Installed plugins" /></h3>
<roundcube:object name="pluginlist" id="pluginlist" class="records-table" cellspacing="0" />
<roundcube:object name="pluginlist" id="pluginlist" class="records-table" />
</div>
</body>