summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib/pkgfuncs.inc')
-rw-r--r--web/lib/pkgfuncs.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index 950de71..96bb1b7 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -333,6 +333,16 @@ function package_details($id=0, $SID="") {
print " <td class='boxSoft' colspan='2'><span class='f3'>".__("Votes").": ";
print $row["NumVotes"] . "</span></td>";
print "</tr>\n";
+
+ # In case of wanting to put a custom message
+ # Added by: dsa <dsandrade@gmail.com>
+ $msg = "unknown";
+ $license = $row["License"] == "" ? $msg : $row["License"];
+
+ print "<tr>\n";
+ print " <td class='boxSoft' colspan='2'><br><span class='f3'>License: ".$license;
+ print "</a></span></td>\n";
+ print "</tr>\n";
print "<tr>\n";
print " <td class='boxSoft' colspan='2'><img src='/images/pad.gif' height='15'></td>";