Applied license patch from dsa (closes #4085).

This commit is contained in:
swiergot 2006-08-22 14:18:28 +00:00
parent 6cca148648
commit dce2f70443
3 changed files with 15 additions and 2 deletions

View file

@ -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>";