diff options
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/pkg_details.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 207ecfdc..774d670b 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -56,17 +56,19 @@ $sources = package_sources($row["ID"]); <?php endif; ?> </ul> <form action="<?php echo htmlspecialchars(get_pkg_uri($row['Name']), ENT_QUOTES); ?>" method="post"> - <fieldset> + <div> <input type="hidden" name="IDs[<?php echo $row['ID'] ?>]" value="1" /> <input type="hidden" name="ID" value="<?php echo $row['ID'] ?>" /> <input type="hidden" name="token" value="<?php echo htmlspecialchars($_COOKIE['AURSID']) ?>" /> + </div> + <p> <?php if ($row["MaintainerUID"] === NULL): ?> <input type="submit" class="button" name="do_Adopt" value="<?php echo __("Adopt Packages") ?>" /> <?php elseif ($uid == $row["MaintainerUID"] || $atype == "Trusted User" || $atype == "Developer"): ?> <input type="submit" class="button" name="do_Disown" value="<?php echo __("Disown Packages") ?>" /> <?php endif; ?> - </fieldset> + </p> </form> </div> </div> |