diff options
author | thomascube <thomas@roundcube.net> | 2012-01-18 11:50:17 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-01-18 11:50:17 +0000 |
commit | 50d6e918e147b12a547d01b877c98b558d6cfd66 (patch) | |
tree | 40e27a6ded3cce81029c9bc0cd18c97824634c4d | |
parent | a49a00fd30bda2fc67d74d515bff9bf2d30df089 (diff) |
Use <uri> value from package.xml to build download links in about screen; show links in default style
-rw-r--r-- | program/steps/settings/about.inc | 3 | ||||
-rw-r--r-- | skins/larry/mail.css | 7 | ||||
-rw-r--r-- | skins/larry/styles.css | 7 | ||||
-rw-r--r-- | skins/larry/templates/about.html | 4 |
4 files changed, 11 insertions, 10 deletions
diff --git a/program/steps/settings/about.inc b/program/steps/settings/about.inc index 5351dd89e..a17b3c09c 100644 --- a/program/steps/settings/about.inc +++ b/program/steps/settings/about.inc @@ -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"; diff --git a/skins/larry/mail.css b/skins/larry/mail.css index b74a2f09d..2e9f88629 100644 --- a/skins/larry/mail.css +++ b/skins/larry/mail.css @@ -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 { diff --git a/skins/larry/styles.css b/skins/larry/styles.css index 4ca9ac7a0..3d090c0ac 100644 --- a/skins/larry/styles.css +++ b/skins/larry/styles.css @@ -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; diff --git a/skins/larry/templates/about.html b/skins/larry/templates/about.html index 04e308a4e..2236ba56a 100644 --- a/skins/larry/templates/about.html +++ b/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 © 2005-2011, The Roundcube Dev Team</p> +<p class="copyright">Copyright © 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> |