Use <uri> value from package.xml to build download links in about screen; show links in default style

pull/1/head
thomascube 13 years ago
parent a49a00fd30
commit 50d6e918e1

@ -64,7 +64,7 @@ function rcmail_plugins_list($attrib)
$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 @@ function rcube_plugin_data($name, &$plugins = array())
'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";

@ -384,6 +384,13 @@ a.iconbutton.threadmode.selected {
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 {

@ -958,13 +958,6 @@ table.records-table {
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;

@ -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 @@ as published by the Free Software Foundation, either version 3 of the License, o
<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>

Loading…
Cancel
Save