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:
Lukas Fleischer 2012-07-18 07:57:53 +02:00
parent caf997d9b1
commit 51b8213ff1

View file

@ -56,17 +56,19 @@ $sources = package_sources($row["ID"]);
<?php endif; ?> <?php endif; ?>
</ul> </ul>
<form action="<?php echo htmlspecialchars(get_pkg_uri($row['Name']), ENT_QUOTES); ?>" method="post"> <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="IDs[<?php echo $row['ID'] ?>]" value="1" />
<input type="hidden" name="ID" value="<?php echo $row['ID'] ?>" /> <input type="hidden" name="ID" value="<?php echo $row['ID'] ?>" />
<input type="hidden" name="token" value="<?php echo htmlspecialchars($_COOKIE['AURSID']) ?>" /> <input type="hidden" name="token" value="<?php echo htmlspecialchars($_COOKIE['AURSID']) ?>" />
</div>
<p>
<?php if ($row["MaintainerUID"] === NULL): ?> <?php if ($row["MaintainerUID"] === NULL): ?>
<input type="submit" class="button" name="do_Adopt" value="<?php echo __("Adopt Packages") ?>" /> <input type="submit" class="button" name="do_Adopt" value="<?php echo __("Adopt Packages") ?>" />
<?php elseif ($uid == $row["MaintainerUID"] || <?php elseif ($uid == $row["MaintainerUID"] ||
$atype == "Trusted User" || $atype == "Developer"): ?> $atype == "Trusted User" || $atype == "Developer"): ?>
<input type="submit" class="button" name="do_Disown" value="<?php echo __("Disown Packages") ?>" /> <input type="submit" class="button" name="do_Disown" value="<?php echo __("Disown Packages") ?>" />
<?php endif; ?> <?php endif; ?>
</fieldset> </p>
</form> </form>
</div> </div>
</div> </div>