diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-10-09 15:42:39 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-10-09 15:42:39 +0000 |
commit | 4cce6105c27a42ce083bc96fe84e3260b4c87707 (patch) | |
tree | c36c815f89e30f713c4c7367d4a256bcf0475310 /phpBB/styles/prosilver | |
parent | 96617d8902441ba68d97637e4dbe3e079dc13fdf (diff) | |
download | forums-4cce6105c27a42ce083bc96fe84e3260b4c87707.tar forums-4cce6105c27a42ce083bc96fe84e3260b4c87707.tar.gz forums-4cce6105c27a42ce083bc96fe84e3260b4c87707.tar.bz2 forums-4cce6105c27a42ce083bc96fe84e3260b4c87707.tar.xz forums-4cce6105c27a42ce083bc96fe84e3260b4c87707.zip |
Let's be not quite that ambigious.
git-svn-id: file:///svn/phpbb/trunk@8158 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/styles/prosilver')
-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 |
3 files changed, 29 insertions, 8 deletions
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; |