From 4cce6105c27a42ce083bc96fe84e3260b4c87707 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Tue, 9 Oct 2007 15:42:39 +0000 Subject: [PATCH] Let's be not quite that ambigious. git-svn-id: file:///svn/phpbb/trunk@8158 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/language/en/acp/board.php | 2 +- .../styles/prosilver/template/ucp_agreement.html | 16 ++++++++++++---- .../styles/prosilver/template/ucp_register.html | 16 ++++++++++++---- phpBB/styles/prosilver/theme/forms.css | 5 +++++ 4 files changed, 30 insertions(+), 9 deletions(-) diff --git a/phpBB/language/en/acp/board.php b/phpBB/language/en/acp/board.php index c7584ea8c2..5b109efdc5 100644 --- a/phpBB/language/en/acp/board.php +++ b/phpBB/language/en/acp/board.php @@ -208,7 +208,7 @@ $lang = array_merge($lang, array( 'MIN_CHARS' => 'Min', 'MIN_TIME_REG' => 'Minimum time for registration', 'MIN_TIME_REG_EXPLAIN' => 'The registration form cannot be submitted before this time has passed.', - 'MIN_TIME_TERMS' => 'Minimum time for registration', + 'MIN_TIME_TERMS' => 'Minimum time for accepting terms', 'MIN_TIME_TERMS_EXPLAIN' => 'The terms page cannot be skipped before this time has passed.', 'NO_AUTH_PLUGIN' => 'No suitable auth plugin found.', 'PASSWORD_LENGTH' => 'Password length', diff --git a/phpBB/styles/prosilver/template/ucp_agreement.html b/phpBB/styles/prosilver/template/ucp_agreement.html index 05cb281873..4ac03eb5ca 100644 --- a/phpBB/styles/prosilver/template/ucp_agreement.html +++ b/phpBB/styles/prosilver/template/ucp_agreement.html @@ -2,14 +2,22 @@ diff --git a/phpBB/styles/prosilver/template/ucp_register.html b/phpBB/styles/prosilver/template/ucp_register.html index de043aa081..c8af288885 100644 --- a/phpBB/styles/prosilver/template/ucp_register.html +++ b/phpBB/styles/prosilver/template/ucp_register.html @@ -11,14 +11,22 @@ document.forms['register'].submit.click(); } - function disable(disabl) + function disable(disabl, name) { - document.getElementById("submit").disabled = disabl; + document.getElementById(name).disabled = disabl; + if (disabl) + { + document.getElementById(name).className = 'button1 disabled'; + } + else + { + document.getElementById(name).className = 'button1 enabled'; + } } - onload_functions.push('disable(true)'); - setTimeout("disable(false)", {S_TIME}); + onload_functions.push('disable(true, "submit")'); + setTimeout('disable(false, "submit")', {S_TIME}); // ]]> diff --git a/phpBB/styles/prosilver/theme/forms.css b/phpBB/styles/prosilver/theme/forms.css index 1f48d02dae..570c0ece35 100644 --- a/phpBB/styles/prosilver/theme/forms.css +++ b/phpBB/styles/prosilver/theme/forms.css @@ -355,6 +355,11 @@ a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, inpu color: #BCBCBC; } +input.disabled { + font-weight: normal; + color: #666666; +} + /* Topic and forum Search */ .search-box { margin-top: 3px;