summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatoshi Sahara <sahara.satoshi@gmail.com>2014-08-06 21:41:02 +0900
committerSatoshi Sahara <sahara.satoshi@gmail.com>2014-08-06 21:41:02 +0900
commit3e217a362fe66ee0dba6351d0c748290cdbb992e (patch)
tree6cfa8a0393730b26aa042b4129e0aad463557bd2
parent1f3d447cee540690d134adee84ee484e958f3cbf (diff)
downloadrpg-3e217a362fe66ee0dba6351d0c748290cdbb992e.tar.gz
rpg-3e217a362fe66ee0dba6351d0c748290cdbb992e.tar.bz2
Last Update Date info of extension fix
This request makes "Your last update" of the extension info shown when clicking more info triangle mark. The first installed date of the extension may not be necessary for local site admin work.
-rw-r--r--lib/plugins/extension/helper/list.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/plugins/extension/helper/list.php b/lib/plugins/extension/helper/list.php
index 47edca8c1..9b1988d84 100644
--- a/lib/plugins/extension/helper/list.php
+++ b/lib/plugins/extension/helper/list.php
@@ -387,7 +387,8 @@ class helper_plugin_extension_list extends DokuWiki_Plugin {
$return .= '<dd>';
$return .= hsc($extension->getInstalledVersion());
$return .= '</dd>';
- } else {
+ }
+ if (!$extension->isBundled()) {
$return .= '<dt>'.$this->getLang('install_date').'</dt>';
$return .= '<dd>';
$return .= ($extension->getUpdateDate() ? hsc($extension->getUpdateDate()) : $this->getLang('unknown'));
@@ -401,13 +402,6 @@ class helper_plugin_extension_list extends DokuWiki_Plugin {
$return .= '</dd>';
}
- if($extension->getInstallDate()) {
- $return .= '<dt>'.$this->getLang('installed').'</dt>';
- $return .= '<dd>';
- $return .= hsc($extension->getInstallDate());
- $return .= '</dd>';
- }
-
$return .= '<dt>'.$this->getLang('provides').'</dt>';
$return .= '<dd><bdi>';
$return .= ($extension->getTypes() ? hsc(implode(', ', $extension->getTypes())) : $default);