diff options
author | Satoshi Sahara <sahara.satoshi@gmail.com> | 2014-08-06 21:41:02 +0900 |
---|---|---|
committer | Satoshi Sahara <sahara.satoshi@gmail.com> | 2014-08-06 21:41:02 +0900 |
commit | 3e217a362fe66ee0dba6351d0c748290cdbb992e (patch) | |
tree | 6cfa8a0393730b26aa042b4129e0aad463557bd2 /lib/plugins/extension | |
parent | 1f3d447cee540690d134adee84ee484e958f3cbf (diff) | |
download | rpg-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.
Diffstat (limited to 'lib/plugins/extension')
-rw-r--r-- | lib/plugins/extension/helper/list.php | 10 |
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); |