From 6df7ebc5e8d4813734d8b14d4b3c7d6a0d7f776b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 19 Jan 2005 19:08:46 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5144 --- checkin_notes | 5 +++++ html/inc/profile.inc | 2 +- html/inc/uotd.inc | 2 +- html/ops/db_update.php | 2 +- html/user/white.css | 1 + 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/checkin_notes b/checkin_notes index fc01e8a888..ada397b576 100755 --- a/checkin_notes +++ b/checkin_notes @@ -22956,4 +22956,9 @@ Bruce 19 Jan 2005 lib/ filesys.C +David 19 Jan 2005 + - don't show rating buttons when user looks at their own profile + html/inc/ + profile.inc + uotd.inc diff --git a/html/inc/profile.inc b/html/inc/profile.inc index 56f1e8e5a6..609c7a048b 100644 --- a/html/inc/profile.inc +++ b/html/inc/profile.inc @@ -457,7 +457,7 @@ function show_profile($userid) { row1($profile->response1, 2, "foobar"); row1(show_profile_heading2()); row1($profile->response2, 2, "foobar"); - if (true) { + if (!$can_edit) { row1("Your feedback on this profile"); row2( "Recommend this profile for User of the Day:", diff --git a/html/inc/uotd.inc b/html/inc/uotd.inc index f02d18a0b8..6c72b113d4 100644 --- a/html/inc/uotd.inc +++ b/html/inc/uotd.inc @@ -4,7 +4,7 @@ define('UOTD_THRESHOLD', 7); function uotd_thumbnail($profile, $user) { if ($profile->has_picture) { - return "id>"; + return "id>"; } else { return ""; } diff --git a/html/ops/db_update.php b/html/ops/db_update.php index 887ba46b2c..d8b0bdd793 100644 --- a/html/ops/db_update.php +++ b/html/ops/db_update.php @@ -220,7 +220,7 @@ function update_1_13_2005() { } function update_1_18_2005() { - mysql_query("ALTER TABLE `forum_preferences` CHANGE `special_user` `special_user` CHAR( 8 ) DEFAULT '0' NOT NULL"); + mysql_query("ALTER TABLE forum_preferences CHANGE special_user special_user CHAR( 8 ) DEFAULT '0' NOT NULL"); } function update_1_19_2005() { diff --git a/html/user/white.css b/html/user/white.css index 8c43160829..2d6d620484 100644 --- a/html/user/white.css +++ b/html/user/white.css @@ -11,6 +11,7 @@ a:active { } body , table , input , select { + background-color: #ffffff; font-family: Verdana, Arial, Sans Serif; font-size: 12px; }