From 01d1a8606a3710ee3417232c7e299e8714634943 Mon Sep 17 00:00:00 2001 From: guy9000 Date: Fri, 5 Jun 2015 03:22:55 -0400 Subject: [PATCH 1/3] Corrected email field link styling in Yotsuba CSS --- stylesheets/yotsuba.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stylesheets/yotsuba.css b/stylesheets/yotsuba.css index c0dcc839..43665720 100644 --- a/stylesheets/yotsuba.css +++ b/stylesheets/yotsuba.css @@ -2,9 +2,12 @@ body { background: #ffe url('img/fade-yotsuba.png') repeat-x 50% 0%; color: #800000; } -a:link, a:visited, .intro a.email span.name { +a:link, a:visited, .intro span.name { color: #800; } +a.email { + color: #00f; +} a:link:hover { color: #e00; } From 8ebdc7a69ac6a3999ec401c7e93545068639cb92 Mon Sep 17 00:00:00 2001 From: guy9000 Date: Fri, 12 Jun 2015 04:31:00 -0400 Subject: [PATCH 2/3] Allow global volunteers to PM users. --- inc/mod/pages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 48864297..415cddca 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -2317,8 +2317,8 @@ function mod_new_pm($username) { } } - // Lock users into only being able to message users assigned to their board. - if (!hasPermission($config['mod']['pm_all'])) { + // Lock users into only being able to message users assigned to their board; Exclude global volunteers. + if (!hasPermission($config['mod']['clean_global']) { if ($mod['boards'][0] != $row['boards'] && !($row['boards'] === '*')) { error(_('You may only PM users assigned to your board')); } From 1032cd12a51eabe13e20633e56f4111dd8581fd9 Mon Sep 17 00:00:00 2001 From: Fredrick Brennan Date: Fri, 12 Jun 2015 16:37:13 +0800 Subject: [PATCH 3/3] Revert "Allow global volunteers to PM users." --- inc/mod/pages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 415cddca..48864297 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -2317,8 +2317,8 @@ function mod_new_pm($username) { } } - // Lock users into only being able to message users assigned to their board; Exclude global volunteers. - if (!hasPermission($config['mod']['clean_global']) { + // Lock users into only being able to message users assigned to their board. + if (!hasPermission($config['mod']['pm_all'])) { if ($mod['boards'][0] != $row['boards'] && !($row['boards'] === '*')) { error(_('You may only PM users assigned to your board')); }