pull/11/head
Squidly271 2021-08-08 16:20:16 -04:00
parent d19aa5aa2f
commit 5f6a05a929
5 changed files with 11 additions and 7 deletions

View File

@ -2,8 +2,8 @@
<!DOCTYPE PLUGIN [ <!DOCTYPE PLUGIN [
<!ENTITY name "community.applications"> <!ENTITY name "community.applications">
<!ENTITY author "Andrew Zawadzki"> <!ENTITY author "Andrew Zawadzki">
<!ENTITY version "2021.08.08"> <!ENTITY version "2021.08.08a">
<!ENTITY md5 "2448de7657b77c114ba5c588a4518d1d"> <!ENTITY md5 "159b56e397273e8d397abde4f7c2798d">
<!ENTITY launch "Apps"> <!ENTITY launch "Apps">
<!ENTITY plugdir "/usr/local/emhttp/plugins/&name;"> <!ENTITY plugdir "/usr/local/emhttp/plugins/&name;">
<!ENTITY github "Squidly271/community.applications"> <!ENTITY github "Squidly271/community.applications">
@ -13,6 +13,10 @@
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" min="6.6.2" support="https://lime-technology.com/forums/topic/38582-plug-in-community-applications/" icon="users"> <PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" min="6.6.2" support="https://lime-technology.com/forums/topic/38582-plug-in-community-applications/" icon="users">
<CHANGES> <CHANGES>
###2021.08.08a
- Fixed: Branches not installing
- Fixed: Search results didn't include descriptions
###2021.08.08 ###2021.08.08
- Added: Updates to plugins / docker apps directly from popup - Added: Updates to plugins / docker apps directly from popup
- Added: Remove HTML from any private apps' descriptions (security) - Added: Remove HTML from any private apps' descriptions (security)

View File

@ -9,8 +9,8 @@
6e48a62b91bdd066f023f46c6b491afd ./images/discord-gray.svg 6e48a62b91bdd066f023f46c6b491afd ./images/discord-gray.svg
8e7dc33512b8a78f28d7179a972c7c34 ./images/discord-hover.svg 8e7dc33512b8a78f28d7179a972c7c34 ./images/discord-hover.svg
54e46db492ddb033dfeb2827c5efd4a8 ./images/discord-white.svg 54e46db492ddb033dfeb2827c5efd4a8 ./images/discord-white.svg
84c751ea794ed1ec0bcaef2e042f1384 ./include/exec.php c3da3edf0e6eb1970f962c6fab2be134 ./include/exec.php
06b55b88a6ed1834a15c7fd72b2c819d ./include/helpers.php fb83da749030a79db1c00e6a9980fe5c ./include/helpers.php
3893704ad833c765384c5fcf3147a7f7 ./include/paths.php 3893704ad833c765384c5fcf3147a7f7 ./include/paths.php
eb76c1b6ed3da5e5b393f22d2ec18430 ./javascript/libraries.js eb76c1b6ed3da5e5b393f22d2ec18430 ./javascript/libraries.js
8c24d585c7dd3ff9ef961bb2c2705711 ./PluginAPI.page 8c24d585c7dd3ff9ef961bb2c2705711 ./PluginAPI.page

View File

@ -736,7 +736,7 @@ function get_content() {
$searchResults['extraHit'][] = $template; $searchResults['extraHit'][] = $template;
else else
$searchResults['nameHit'][] = $template; $searchResults['nameHit'][] = $template;
} else if ( filterMatch($filter,array($template['Author'],$template['Description'],$template['translatedCategories'])) ) { } else if ( filterMatch($filter,array($template['Author'],$template['CardDescription'],$template['translatedCategories'])) ) {
$template['Description'] = highlight($filter, $template['Description']); $template['Description'] = highlight($filter, $template['Description']);
$template['Author'] = highlight($filter, $template['Author']); $template['Author'] = highlight($filter, $template['Author']);
$template['CardDescription'] = highlight($filter,$template['CardDescription']); $template['CardDescription'] = highlight($filter,$template['CardDescription']);

View File

@ -553,9 +553,9 @@ function formatTags($leadTemplate) {
else { else {
$defaultTag = $template['BranchDefault'] ? $template['BranchDefault'] : "latest"; $defaultTag = $template['BranchDefault'] ? $template['BranchDefault'] : "latest";
$o = "<table>"; $o = "<table>";
$o .= "<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td><a href='#' onclick='xmlInstall(&quot;default&quot;,&quot;".$template['Path']."&quot;);'>Default</a></td><td>".tr("Install Using The Template's Default Tag")." (<span class='ca_bold'>:$defaultTag</span>)</td></tr>"; $o .= "<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td><a class='appIconsPopUp xmlInstall' data-type='default' data-xml='{$template['Path']}'>Default</a></td><td>".tr("Install Using The Template's Default Tag")." (<span class='ca_bold'>:$defaultTag</span>)</td></tr>";
foreach ($childTemplates as $child) { foreach ($childTemplates as $child) {
$o .= "<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td><a href='#' onclick='xmlInstall(&quot;default&quot;,&quot;".$file[$child]['Path']."&quot;);'>".$file[$child]['BranchName']."</a></td><td>".$file[$child]['BranchDescription']."</td></tr>"; $o .= "<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td><a class='appIconsPopUp xmlInstall' data-type='default' data-xml='{$file[$child]['Path']}'>".$file[$child]['BranchName']."</a></td><td>".$file[$child]['BranchDescription']."</td></tr>";
} }
$o .= "</table>"; $o .= "</table>";
} }