Support changelogs from private apps

pull/11/head
Squidly271 2021-07-15 21:06:33 -04:00
parent 9516c40508
commit 7bba92c432
3 changed files with 6 additions and 4 deletions

View File

@ -17,7 +17,7 @@ b2871feeb961b0c3cf92cf755117d3a8 ./include/exec.php
eb76c1b6ed3da5e5b393f22d2ec18430 ./javascript/libraries.js
e29c13353bc1277fc2c3597782d7c954 ./skins/Narrow/css.php
e7bf62923b2d7109b6848554701e12f6 ./skins/Narrow/skin.html
f61943ef2af01f093ad21ac325dbace5 ./skins/Narrow/skin.php
0400b49b0c11315a744cdd9bb414154e ./skins/Narrow/skin.php
430966e5646376b62905b63a30de7102 ./scripts/PluginAPI.php
11eecc7264a3057ee70cc00a24c8299b ./scripts/installMulti.php
ce2c904b6a40c4677a3ff3484776959e ./scripts/installMultiPlugin.sh

View File

@ -582,9 +582,11 @@ function getPopupDescriptionSkin($appNumber) {
$template['Changes'] = @plugin("changes",$caPaths['pluginTempDownload']);
$template['pluginVersion'] = @plugin("version",$caPaths['pluginTempDownload']) ?: $template['pluginVersion'];
} else {
download_url($template['TemplateURL'],$caPaths['pluginTempDownload']);
$xml = readXmlFile($caPaths['pluginTempDownload']);
$template['Changes'] = $xml['Changes'];
if ( ! $template['Changes'] ) {
download_url($template['TemplateURL'],$caPaths['pluginTempDownload']);
$xml = readXmlFile($caPaths['pluginTempDownload']);
$template['Changes'] = $xml['Changes'];
}
}
$template['Changes'] = Markdown(strip_tags(str_replace(["[","]"],["<",">"],$template['Changes']),"<br>"));