Commit f90d5693 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Remove all traces of "pgboxtitle"



Using a div container to format heading is ridiculous. Use "<h2></h2>"
instead.
Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: default avatarcanyonknight <canyonknight@gmail.com>
parent 9cee53f3
......@@ -13,7 +13,7 @@ html_header(__('Accounts'));
# Main page processing here
#
echo "<div class=\"pgbox\">\n";
echo " <div class=\"pgboxtitle\"><span class=\"f3\">".__("Accounts")."</span></div>\n";
echo " <h2>".__("Accounts")."</h2>\n";
echo " <div class=\"pgboxbody\">\n";
$action = in_request("Action");
......
......@@ -82,7 +82,7 @@ if ($atype == "Trusted User" || $atype == "Developer") {
<?php endif; ?>
<div class="pgbox">
<div class="pgboxtitle"><?php print __("Submit a proposal to vote on.") ?></div>
<h2><?php print __("Submit a proposal to vote on.") ?></h2>
<div class="pgboxbody">
<form action='addvote.php' method='post'>
<p>
......
......@@ -17,9 +17,7 @@ $dbh = db_connect();
?>
<div class="pgbox">
<div class="pgboxtitle">
<span class="f3">AUR <?php print __("Home"); ?></span>
</div>
<h2>AUR <?php print __("Home"); ?></h2>
<div class="frontpgboxbody">
<p>
......
......@@ -85,9 +85,7 @@ html_header(__("Password Reset"));
?>
<div class="pgbox">
<div class="pgboxtitle">
<span class="f3"><?php print __("Password Reset"); ?></span>
</div>
<h2><?php print __("Password Reset"); ?></h2>
<div class="pgboxbody">
<?php
if ($error) {
......
......@@ -434,9 +434,7 @@ html_header("Submit");
<?php endif; ?>
<div class="pgbox">
<div class="pgboxtitle">
<span class="f3"><?php print __("Submit"); ?></span>
</div>
<h2><?php print __("Submit"); ?></h2>
<div class="pgboxbody">
<p><?php echo __("Upload your source packages here. Create source packages with `makepkg --source`.") ?></p>
......
......@@ -70,7 +70,7 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("Y-m-d", intval($
?>
<div class="pgbox">
<div class="pgboxtitle"><span class="f3"><?php echo __("Package Details") ?></span></div>
<h2><?php echo __("Package Details") . ': ' . htmlspecialchars($row['Name']) . ' ' . htmlspecialchars($row['Version']) ?></h2>
<div class="pgboxbody">
<p>
......
......@@ -2,8 +2,8 @@
<div class='pgbox'>
<form action='packages.php' method='get'>
<div class='pgboxtitle'>
<span class='f3'><?php print __("Search Criteria"); ?></span>
<h2><?php print __("Search Criteria"); ?></h2>
<div>
<input type='hidden' name='O' value='0' />
<input type='text' name='K' size='30' value="<?php if (isset($_REQUEST["K"])) { print stripslashes(trim(htmlspecialchars($_REQUEST["K"], ENT_QUOTES))); } ?>" maxlength='35' />
<input type='submit' style='min-width:80px' class='button' name='do_Search' value='<?php print __("Go"); ?>' />
......
......@@ -5,9 +5,7 @@
<?php } else { ?>
<form action='packages.php?<?php echo htmlentities($_SERVER['QUERY_STRING']) ?>' method='post'>
<div class="pgbox">
<div class="pgboxtitle">
<span class='f3'><?php print __("Package Listing") ?></span>
</div>
<h2><?php print __("Package Listing") ?></h2>
......
<div class="pgbox">
<div class="pgboxtitle"><span class="f3"><?php print __("Proposal Details") ?></span></div>
<h2><?php print __("Proposal Details") ?></h2>
<div class="pgboxbody">
<?php
if ($isrunning == 1) { ?>
......@@ -51,9 +51,7 @@ N/A
<?php
if (!$isrunning) { ?>
<div class="pgbox">
<div class="pgboxtitle">
<span class="f3"><?php echo __('Voters'); ?></span>
</div>
<h2><?php echo __('Voters'); ?></h2>
<div class="pgboxbody">
<?php echo $whovoted; ?>
</div>
......
<div class="pgbox">
<div class="pgboxtitle" style="text-align:right;">
<span class='f3'><?php print $type ?></span>
</div>
<h2><?php print $type ?></h2>
<table class='results'>
<tr>
<th class='header'><span class='f2'><?php print __("Proposal") ?></span></th>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment