mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Applied license patch from dsa (closes #4085).
This commit is contained in:
parent
6cca148648
commit
dce2f70443
3 changed files with 15 additions and 2 deletions
|
@ -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>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue