From b9d70d1681f34fafc2d18a5627d439484c8094af Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 27 Dec 2008 00:11:27 +0000 Subject: [PATCH] - autolock.php: add --ndays option; change default to 90 days - web: added support for KHTML and CSS 3 border radius (from Simek; fixes #803) svn path=/trunk/boinc/; revision=16745 --- checkin_notes | 11 +++++++++++ html/ops/autolock.php | 7 ++++++- html/user/white.css | 32 ++++++++++++++++++++++++++------ 3 files changed, 43 insertions(+), 7 deletions(-) diff --git a/checkin_notes b/checkin_notes index 30012ffb21..427885681c 100644 --- a/checkin_notes +++ b/checkin_notes @@ -10374,3 +10374,14 @@ David 26 Dec 2008 time_stats.cpp sched/ sched_send.cpp + +David 26 Dec 2008 + - autolock.php: add --ndays option; change default to 90 days + - web: added support for KHTML and CSS 3 border radius + (from Simek; fixes #803) + + html/ + ops/ + autolock.php + user/ + white.css diff --git a/html/ops/autolock.php b/html/ops/autolock.php index 7eeb68c60c..13a0f124b4 100755 --- a/html/ops/autolock.php +++ b/html/ops/autolock.php @@ -22,7 +22,12 @@ require_once("../inc/boinc_db.inc"); require_once("../inc/util.inc"); -$max_age_days = 60; // lock threads older than this +$max_age_days = 90; // lock threads older than this +if ($argc > 2) { + if ($argv[1] == "--ndays") { + $max_age_days = $argv[2]; + } +} $t = time_str(time()); echo "starting at $t\n"; diff --git a/html/user/white.css b/html/user/white.css index e5a0ac8ed6..9ac0c93788 100644 --- a/html/user/white.css +++ b/html/user/white.css @@ -44,6 +44,8 @@ table.bordered { border: 2px solid #e8e8e8; -moz-border-radius: 6px; -webkit-border-radius: 6px; + -khtml-border-radius: 6px; + border-radius: 6px; } th { @@ -132,6 +134,8 @@ input[type="text"], select, textarea, .button { border: 1px solid #d8d8d8; -moz-border-radius: 5px; -webkit-border-radius: 5px; + -khtml-border-radius: 5px; + border-radius: 5px; padding: 2px 4px; font-size: 12px; } @@ -192,6 +196,8 @@ img.userimg { border: 0px; } margin: 4px; -moz-border-radius: 10px; -webkit-border-radius: 10px; + -khtml-border-radius: 10px; + border-radius: 10px; } #news h2, #uotd h2, #mainnav h2 { @@ -217,6 +223,8 @@ img.userimg { border: 0px; } margin: 4px; -moz-border-radius: 10px; -webkit-border-radius: 10px; + -khtml-border-radius: 10px; + border-radius: 10px; } /* Forum */ @@ -239,8 +247,13 @@ td.postheader { height: 24px; margin-left: 4px; padding-left: 8px; - -moz-border-radius: 0px 0px 10px 10px; - -webkit-border-radius: 0px 0px 10px 10px; + -moz-border-radius: 0 10px; + -webkit-border-radius-bottomleft: 10px; + -webkit-border-radius-bottomright: 10px; + -khtml-border-radius-bottomleft: 10px; + -khtml-border-radius-bottomright: 10px; + border-radius-bottomleft: 10px; + border-radius-bottomright: 10px; } td.postbody { @@ -254,8 +267,13 @@ td.postfooter { height: 26px; margin-left: 4px; padding-left: 8px; - -moz-border-radius: 10px 10px 0px 0px; - -webkit-border-radius: 10px 10px 0px 0px; + -moz-border-radius: 10px 10px 0 0; + -khtml-border-radius-topleft: 10px; + -khtml-border-radius-topright: 10px; + -webkit-border-radius-topleft: 10px; + -webkit-border-radius-topright: 10px; + border-radius-topleft: 10px; + border-radius-topright: 10px; } tr.helpdeskseperator { height: 10pt; } @@ -300,8 +318,10 @@ div.authorcol { padding: 8px 5px; width: 120px; margin-left: 2px; - -moz-border-radius: 10px; - -webkit-border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + -khtml-border-radius: 10px; + border-radius: 10px; } .authorinfo img {