diff options
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/language/en/acp/board.php | 2 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/ucp_agreement.html | 16 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/ucp_register.html | 16 | ||||
-rw-r--r-- | 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 @@ <script type="text/javascript" defer="defer" > // <![CDATA[ - function disable(disabl) + function disable(disabl, name) { - document.getElementById("agreed").disabled = disabl; + document.getElementById(name).disabled = disabl; + if (disabl) + { + document.getElementById(name).className = 'button1 disabled'; + } + else + { + document.getElementById(name).className = 'button1 enabled'; + } } <!-- IF S_TIME --> - onload_functions.push('disable(true)'); - setTimeout("disable(false)", {S_TIME}); + onload_functions.push('disable(true, "agreed")'); + setTimeout('disable(false, "agreed")', {S_TIME}); <!-- ENDIF --> // ]]> </script> 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'; + } } <!-- IF S_TIME --> - onload_functions.push('disable(true)'); - setTimeout("disable(false)", {S_TIME}); + onload_functions.push('disable(true, "submit")'); + setTimeout('disable(false, "submit")', {S_TIME}); <!-- ENDIF --> // ]]> 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; |