com web/master: Fixed minor styling issues.: manage/user-notes.php
| From: | Sherif Ramadan | Date: | Sat, 15 Dec 2012 19:42:17 +0000 |
| Subject: | com web/master: Fixed minor styling issues.: manage/user-notes.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-15100@lists.php.net to get a copy of this message | ||
Commit: d1173c76af77ceb33889ee50dfb3d21405c52370
Author: Sherif Ramadan <googleguy@php.net> Sat, 15 Dec 2012 14:42:17 -0500
Parents: 2f1bcddabf59085f460d44dc66382d94502c1dc5
Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=d1173c76af77ceb33889ee50dfb3d21405c52370
Log:
Fixed minor styling issues.
Changed paths:
M manage/user-notes.php
Diff:
diff --git a/manage/user-notes.php b/manage/user-notes.php
index 3a56680..fcc9995 100644
--- a/manage/user-notes.php
+++ b/manage/user-notes.php
@@ -85,13 +85,13 @@ if (!$action) {
} else {
$page = isset($_REQUEST["page"]) ? intval($_REQUEST["page"]) : 0;
$NextPage = isset($_REQUEST["page"]) ? intval($_REQUEST["page"]) : 0;
- $PrevPage = ($NextPage - 1) > -1 ? $NextPage - 1 : 0;
$type = isset($_REQUEST["type"]) ? intval($_REQUEST["type"]) : 0;
if($page < 0) { $page = 0; }
if($NextPage < 0) { $NextPage = 0; }
$limit = $page * 10; $page++;
$limitVotes = $NextPage * 25; $NextPage++;
+ $PrevPage = ($NextPage - 1) > -1 ? $NextPage - 1 : 0;
/* Added new voting information to be included in note from votes table. */
/* First notes */
@@ -318,13 +318,13 @@ if (!$action) {
}
/* Display the stats on the front page only */
?>
-<div style="float: right; clear: both; border: 1px solid gray; padding: 5px;
background-color: lightgray;">
- <p><span style="color: white;"><strong>User Contributed Voting
Statistics</strong></span></p>
+<div style="float: right; clear: both; border: 1px solid gray; padding: 5px;
background-color: #C8C8C0;">
+ <p><span style="color: #8A2BE2; font-size: 18px;"><strong>User
Contributed Voting Statistics</strong></span></p>
<?php foreach (array_chunk($stats, 3, true) as $statset) { ?>
<?php foreach ($statset as $figure => $stat) { ?>
- <div style="display: inline-block; float: left; padding:
15px;"><strong><?= $figure ?></strong>: <?= $stat ?></div>
+ <div style="display: inline-block; float: left; padding: 15px; border-bottom: 1px solid
white; color: #483D8B;"><strong><?= $figure ?></strong>: <?= $stat
?></div>
<?php } ?>
- <hr>
+ <p> </p>
<?php } ?>
</div>
<?php
@@ -647,8 +647,8 @@ case 'deletevotes':
}
$ids = implode(',',$ids);
if (db_query("DELETE FROM votes WHERE id IN ($ids)")) {
- header('Location: user-notes.php?id=1&view=notes&was=' . urlencode($action) .
(isset($_GET['type']) ? '&type=' .
- urlencode($_GET['type']) : null) ..
+ header('Location: user-notes.php?id=1&view=notes&was=' . urlencode($action) .
+ (isset($_GET['type']) ? ('&type=' .
urlencode($_GET['type'])) : null) .
(isset($_GET['votessearch']) ? '&votessearch=' .
urlencode($_GET['votessearch']) : null)
);
}