diff options
| author | kasimi <mail@kasimi.net> | 2017-08-24 10:36:54 +0200 |
|---|---|---|
| committer | kasimi <mail@kasimi.net> | 2017-08-24 10:39:59 +0200 |
| commit | ec2d983ab1864affc6fd5718fc2faede488301dd (patch) | |
| tree | 5c9029ea1cd7bf21b446b6e255e62c33c450fcb0 /phpBB/styles | |
| parent | 1e605efaf126f5474bb1be99e7fdaed834ebb2a0 (diff) | |
| download | forums-ec2d983ab1864affc6fd5718fc2faede488301dd.tar forums-ec2d983ab1864affc6fd5718fc2faede488301dd.tar.gz forums-ec2d983ab1864affc6fd5718fc2faede488301dd.tar.bz2 forums-ec2d983ab1864affc6fd5718fc2faede488301dd.tar.xz forums-ec2d983ab1864affc6fd5718fc2faede488301dd.zip | |
[ticket/15328] Disable checkbox if notification method isn't supported
PHPBB3-15328
Diffstat (limited to 'phpBB/styles')
| -rw-r--r-- | phpBB/styles/prosilver/template/ucp_notifications.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_notifications.html b/phpBB/styles/prosilver/template/ucp_notifications.html index 32efae17fd..55e30477d2 100644 --- a/phpBB/styles/prosilver/template/ucp_notifications.html +++ b/phpBB/styles/prosilver/template/ucp_notifications.html @@ -31,7 +31,7 @@ <!-- IF notification_types.EXPLAIN --><br /> {notification_types.EXPLAIN}<!-- ENDIF --> </td> <!-- BEGIN notification_methods --> - <td class="mark"><input type="checkbox" name="{notification_types.TYPE}_{notification_methods.METHOD}"<!-- IF notification_methods.SUBSCRIBED --> checked="checked"<!-- ENDIF --> /></td> + <td class="mark"><input type="checkbox" name="{notification_types.TYPE}_{notification_types.notification_methods.METHOD}"<!-- IF notification_types.notification_methods.AVAILABLE and notification_types.notification_methods.SUBSCRIBED --> checked="checked"<!-- ENDIF --><!-- IF not notification_types.notification_methods.AVAILABLE --> disabled="disabled"<!-- ENDIF --> /></td> <!-- END notification_methods --> </tr> <!-- ENDIF --> |
