mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2290 add user's language prefix to the PEM link
This commit is contained in:
@@ -113,10 +113,16 @@ foreach($plugins->fs_plugins as $plugin_id => $fs_plugin)
|
||||
}
|
||||
}
|
||||
|
||||
$url_to_replace = array(
|
||||
'http://piwigo.org/ext',
|
||||
'https://piwigo.org/ext'
|
||||
);
|
||||
$visit_url = str_replace($url_to_replace, PEM_URL, $fs_plugin['uri']);
|
||||
|
||||
$tpl_plugin = array(
|
||||
'ID' => $plugin_id,
|
||||
'NAME' => $fs_plugin['name'],
|
||||
'VISIT_URL' => $fs_plugin['uri'],
|
||||
'VISIT_URL' => $visit_url,
|
||||
'VERSION' => $fs_plugin['version'],
|
||||
'DESC' => $fs_plugin['description'],
|
||||
'AUTHOR' => $fs_plugin['author'],
|
||||
|
||||
Reference in New Issue
Block a user