summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-05-23 13:33:06 -0400
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-06 11:25:58 +0200
commitf90d56937697ad3709fa15bdf3526f679d84ef60 (patch)
tree4ffa0add03ff1166d789af49ba58f55baab8eb95 /web
parent9cee53f3cfbe64286db9ac0361db205e6b9509e3 (diff)
downloadaurweb-f90d56937697ad3709fa15bdf3526f679d84ef60.tar.xz
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>
Diffstat (limited to 'web')
-rw-r--r--web/html/account.php2
-rw-r--r--web/html/addvote.php2
-rw-r--r--web/html/index.php4
-rw-r--r--web/html/passreset.php4
-rw-r--r--web/html/pkgsubmit.php4
-rw-r--r--web/template/pkg_details.php2
-rw-r--r--web/template/pkg_search_form.php4
-rw-r--r--web/template/pkg_search_results.php4
-rw-r--r--web/template/tu_details.php6
-rw-r--r--web/template/tu_list.php4
10 files changed, 12 insertions, 24 deletions
diff --git a/web/html/account.php b/web/html/account.php
index f17ba48..5c793be 100644
--- a/web/html/account.php
+++ b/web/html/account.php
@@ -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");
diff --git a/web/html/addvote.php b/web/html/addvote.php
index 4b6c5b5..fe0047f 100644
--- a/web/html/addvote.php
+++ b/web/html/addvote.php
@@ -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>
diff --git a/web/html/index.php b/web/html/index.php
index 21de99d..cf56974 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -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>
diff --git a/web/html/passreset.php b/web/html/passreset.php
index 98aa685..2651c98 100644
--- a/web/html/passreset.php
+++ b/web/html/passreset.php
@@ -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) {
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
index 566890b..ce43e2c 100644
--- a/web/html/pkgsubmit.php
+++ b/web/html/pkgsubmit.php
@@ -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>
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index 102694c..6764bbf 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -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>
diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php
index 53d34fe..3e291e1 100644
--- a/web/template/pkg_search_form.php
+++ b/web/template/pkg_search_form.php
@@ -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"); ?>' />
diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php
index 8ef352b..209a80d 100644
--- a/web/template/pkg_search_results.php
+++ b/web/template/pkg_search_results.php
@@ -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>
diff --git a/web/template/tu_details.php b/web/template/tu_details.php
index 52a8656..45c7f9a 100644
--- a/web/template/tu_details.php
+++ b/web/template/tu_details.php
@@ -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>
diff --git a/web/template/tu_list.php b/web/template/tu_list.php
index 16dd690..7eb6f32 100644
--- a/web/template/tu_list.php
+++ b/web/template/tu_list.php
@@ -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>