diff options
Diffstat (limited to 'web/lib/pkgfuncs.inc')
-rw-r--r-- | web/lib/pkgfuncs.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 950de71d..96bb1b79 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>"; |