diff --git a/archive/community.applications-2017.10.08.txz b/archive/community.applications-2017.10.08.txz new file mode 100644 index 00000000..96499ca5 Binary files /dev/null and b/archive/community.applications-2017.10.08.txz differ diff --git a/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php b/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php index ee9b4fa1..1fd2a914 100644 --- a/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php +++ b/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php @@ -142,6 +142,8 @@ function DownloadCommunityTemplates() { $o['DonateText'] = $o['DonateText'] ? $o['DonateText'] : $Repo['donatetext']; # Some people can't read the specs correctly $o['DonateLink'] = $o['DonateLink'] ? $o['DonateLink'] : $Repo['donatelink']; $o['DonateImg'] = $o['DonateImg'] ? $o['DonateImg'] : $Repo['donateimg']; + $o['RepoURL'] = $Repo['url']; + $o['ModeratorComment'] = $Repo['RepoComment']; $o['WebPageURL'] = $Repo['web']; $o['Logo'] = $Repo['logo']; $o['Profile'] = $Repo['profile']; @@ -275,12 +277,14 @@ function DownloadApplicationFeed() { } $RepoIndex = searchArray($Repositories,"name",$o['RepoName']); if ( $RepoIndex != false ) { - $o['DonateText'] = $Repositories[$RepoIndex]['donatetext']; - $o['DonateImg'] = $Repositories[$RepoIndex]['donateimg']; - $o['DonateLink'] = $Repositories[$RepoIndex]['donatelink']; - $o['WebPageURL'] = $Repositories[$RepoIndex]['web']; - $o['Logo'] = $Repositories[$RepoIndex]['logo']; - $o['Profile'] = $Repositories[$RepoIndex]['profile']; + $o['DonateText'] = $Repositories[$RepoIndex]['donatetext']; + $o['DonateImg'] = $Repositories[$RepoIndex]['donateimg']; + $o['DonateLink'] = $Repositories[$RepoIndex]['donatelink']; + $o['WebPageURL'] = $Repositories[$RepoIndex]['web']; + $o['Logo'] = $Repositories[$RepoIndex]['logo']; + $o['Profile'] = $Repositories[$RepoIndex]['profile']; + $o['RepoURL'] = $Repositories[$RepoIndex]['url']; + $o['ModeratorComment'] = $Repositories[$RepoIndex]['RepoComment']; } $o['DonateText'] = $file['DonateText'] ? $file['DonateText'] : $o['DonateText']; $o['DonateLink'] = $file['DonateLink'] ? $file['DonateLink'] : $o['DonateLink']; @@ -940,7 +944,9 @@ function displaySearchResults($pageNumber,$viewMode) { $t .= "
"; $t .= ""; $t .= "
".$result['Name']."
"; - $t .= "
"; + if ( $communitySettings['dockerRunning'] == "true" ) { + $t .= "
"; + } $t .= ""; if ( $maxColumn == 2 ) {