[aur-dev] [PATCH 2/2] pkg_details.php: Remove field set in actions box

Lukas Fleischer archlinux at cryptocrack.de
Wed Jul 18 02:09:51 EDT 2012


archweb uses "<div></div>" and "<p></p>" here.

Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
 web/template/pkg_details.php | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index 207ecfd..774d670 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>
-- 
1.7.11.2



More information about the aur-dev mailing list