Minor change on plugin new page

* Change native tooltip in tiptip
* On the last revision tooltip on a plugin, add the time since the publication of the revision
This commit is contained in:
Zacharie Guet
2022-08-05 15:10:58 +02:00
parent 1ed159f7a7
commit 906d8b85a2
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ if ($plugins->get_server_plugins(true, $beta_test))
'BIG_DESC' => $ext_desc,
'VERSION' => $plugin['revision_name'],
'REVISION_DATE' => preg_replace('/[^0-9]/', '', strtotime($plugin['revision_date'])),
'REVISION_FORMATED_DATE' => format_date($plugin['revision_date'], array('day','month','year')),
'REVISION_FORMATED_DATE' => format_date($plugin['revision_date'], array('day','month','year')).", ".time_since($plugin['revision_date'], "day"),
'AUTHOR' => $plugin['author_name'],
'DOWNLOADS' => $plugin['extension_nb_downloads'],
'URL_INSTALL' => $url_auto_install,