Add in support for additional requirements to applications
parent
7bba92c432
commit
ace0404646
Binary file not shown.
|
@ -17,7 +17,7 @@ b2871feeb961b0c3cf92cf755117d3a8 ./include/exec.php
|
|||
eb76c1b6ed3da5e5b393f22d2ec18430 ./javascript/libraries.js
|
||||
e29c13353bc1277fc2c3597782d7c954 ./skins/Narrow/css.php
|
||||
e7bf62923b2d7109b6848554701e12f6 ./skins/Narrow/skin.html
|
||||
0400b49b0c11315a744cdd9bb414154e ./skins/Narrow/skin.php
|
||||
3c7f2c96377c32de45d0707118d0359f ./skins/Narrow/skin.php
|
||||
430966e5646376b62905b63a30de7102 ./scripts/PluginAPI.php
|
||||
11eecc7264a3057ee70cc00a24c8299b ./scripts/installMulti.php
|
||||
ce2c904b6a40c4677a3ff3484776959e ./scripts/installMultiPlugin.sh
|
||||
|
|
|
@ -176,7 +176,7 @@ function my_display_apps($file,$pageNumber=1,$selectedApps=false,$startup=false)
|
|||
}
|
||||
|
||||
$template['display_ModeratorComment'] .= $template['ModeratorComment'] ? "</span></strong><font color='purple'>{$template['ModeratorComment']}</font>" : "";
|
||||
|
||||
|
||||
if ( $pinnedApps["{$template['Repository']}&{$template['SortName']}"] ) {
|
||||
$pinned = "pinned";
|
||||
$pinnedTitle = tr("Click to unpin this application");
|
||||
|
@ -265,6 +265,8 @@ function my_display_apps($file,$pageNumber=1,$selectedApps=false,$startup=false)
|
|||
$warningColor = "warning-red";
|
||||
}
|
||||
|
||||
if ( $template['Requires'] )
|
||||
$template['display_warning-text'] = tr("This application has additional requirements");
|
||||
if ( $template['ModeratorComment'] )
|
||||
$template['display_warning-text'] = $template['ModeratorComment'];
|
||||
if ( $template['Deprecated'] || ! $template['Compatible'] || $template['Blacklist'] )
|
||||
|
@ -604,6 +606,9 @@ function getPopupDescriptionSkin($appNumber) {
|
|||
|
||||
$templateDescription .= "<div class='popupDescriptionArea ca_left'>";
|
||||
$templateDescription .= $ovr;
|
||||
if ( $template['Requires'] ) {
|
||||
$templateDescription .= "<br><br><span class='ca_bold'>".tr("Additional Requirements:")." </span>{$template['Requires']}";
|
||||
}
|
||||
$templateDescription .= "</div>";
|
||||
if ( $donatelink )
|
||||
$templateDescription .= "<span style='float:right;text-align:right;'><font size=0.75rem;>$donatetext</font> <a class='popup-donate donateLink' href='$donatelink' target='_blank'>".tr("Donate")."</a></span><br><br>";
|
||||
|
|
Loading…
Reference in New Issue