#1467 Redesign of the extension update page

This commit is contained in:
Zacharie Guet
2021-11-03 16:14:02 +01:00
parent be760d25d7
commit 21a021da9c
8 changed files with 104 additions and 33 deletions
+1 -4
View File
@@ -60,13 +60,10 @@ foreach ($autoupdate->types as $type)
'REVISION_ID' => $ext_info['revision_id'],
'EXT_ID' => $ext_id,
'EXT_NAME' => $fs_ext['name'],
'EXT_URL' => PEM_URL.'/extension_view.php?eid='.$ext_info['extension_id'],
'EXT_DESC' => trim($ext_info['extension_description'], " \n\r"),
'EXT_URL' => PEM_URL.'/extension_view.php?eid='.$ext_info['extension_id'].'#changelog',
'REV_DESC' => trim($ext_info['revision_description'], " \n\r"),
'CURRENT_VERSION' => $fs_ext['version'],
'NEW_VERSION' => $ext_info['revision_name'],
'AUTHOR' => $ext_info['author_name'],
'DOWNLOADS' => $ext_info['extension_nb_downloads'],
'URL_DOWNLOAD' => $ext_info['download_url'] . '&origin=piwigo_download',
'IGNORED' => in_array($ext_id, $conf['updates_ignored'][$type]),
)