diff options
author | swiergot <swiergot> | 2006-08-22 14:18:28 +0000 |
---|---|---|
committer | swiergot <swiergot> | 2006-08-22 14:18:28 +0000 |
commit | dce2f7044384c5a94a5c361e8cb715fa00676ae4 (patch) | |
tree | da528b7702664a21f628d5358279f8353ea355f4 /web/lib | |
parent | 6cca148648d31fed4827fc3b5a5e3f841e4e82a3 (diff) | |
download | aurweb-dce2f7044384c5a94a5c361e8cb715fa00676ae4.tar.xz |
Applied license patch from dsa (closes #4085).
Diffstat (limited to 'web/lib')
-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 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>"; |