mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
pkg_details.php: Remove field set in actions box
archweb uses "<div></div>" and "<p></p>" here. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
caf997d9b1
commit
51b8213ff1
1 changed files with 4 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue