Remove all traces of "pgboxtitle"

Using a div container to format heading is ridiculous. Use "<h2></h2>"
instead.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: canyonknight <canyonknight@gmail.com>
This commit is contained in:
Lukas Fleischer 2012-05-23 13:33:06 -04:00
parent 9cee53f3cf
commit f90d569376
10 changed files with 12 additions and 24 deletions

View file

@ -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");

View file

@ -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>

View file

@ -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>

View file

@ -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) {

View file

@ -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>

View file

@ -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>

View file

@ -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"); ?>' />

View file

@ -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>

View file

@ -1,5 +1,5 @@
<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>

View file

@ -1,7 +1,5 @@
<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>