aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-10-13 23:52:49 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-10-13 23:52:49 -0500
commitc5f280351a96aaebd90c27da095c9b1ff28624a5 (patch)
tree2a1ff285ceb73ba8bc0a3090afe619e51997749f /phpBB/styles
parent94ffbb4050b2985ee62be0ecc0c6a244532e43ca (diff)
downloadforums-c5f280351a96aaebd90c27da095c9b1ff28624a5.tar
forums-c5f280351a96aaebd90c27da095c9b1ff28624a5.tar.gz
forums-c5f280351a96aaebd90c27da095c9b1ff28624a5.tar.bz2
forums-c5f280351a96aaebd90c27da095c9b1ff28624a5.tar.xz
forums-c5f280351a96aaebd90c27da095c9b1ff28624a5.zip
[ticket/11103] UCP Notification option grouping
Also add the ability to specify an _EXPLAIN text for the notification option PHPBB3-11103
Diffstat (limited to 'phpBB/styles')
-rw-r--r--phpBB/styles/prosilver/template/ucp_notifications.html33
1 files changed, 22 insertions, 11 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_notifications.html b/phpBB/styles/prosilver/template/ucp_notifications.html
index 3ee58a278e..94e8432508 100644
--- a/phpBB/styles/prosilver/template/ucp_notifications.html
+++ b/phpBB/styles/prosilver/template/ucp_notifications.html
@@ -23,17 +23,28 @@
<ul class="topiclist cplist">
<!-- BEGIN notification_types -->
- <li class="row<!-- IF notification_types.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
- <dl>
- <dt>
- {notification_types.NAME}
- </dt>
- <!-- BEGIN notification_methods -->
- <dd class="mark"><input type="checkbox" name="{notification_types.TYPE}_{notification_methods.METHOD}"<!-- IF notification_methods.SUBSCRIBED --> checked="checked"<!-- ENDIF --> /> <dfn>{notification_methods.NAME}</dfn></dd>
- <!-- END notification_methods -->
- <dd class="mark"><input type="checkbox" name="{notification_types.TYPE}_notification"<!-- IF notification_types.SUBSCRIBED --> checked="checked"<!-- ENDIF --> /> <dfn>{notification_methods.NAME}</dfn></dd>
- </dl>
- </li>
+ <!-- IF notification_types.GROUP_NAME -->
+ <li class="row bg3">
+ <dl>
+ <dt>
+ {notification_types.GROUP_NAME}
+ </dt>
+ </dl>
+ </li>
+ <!-- ELSE -->
+ <li class="row<!-- IF notification_types.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
+ <dl>
+ <dt>
+ {notification_types.NAME}
+ <!-- IF notification_types.EXPLAIN --><br />&nbsp; &nbsp;{notification_types.EXPLAIN}<!-- ENDIF -->
+ </dt>
+ <!-- BEGIN notification_methods -->
+ <dd class="mark"><input type="checkbox" name="{notification_types.TYPE}_{notification_methods.METHOD}"<!-- IF notification_methods.SUBSCRIBED --> checked="checked"<!-- ENDIF --> /> <dfn>{notification_methods.NAME}</dfn></dd>
+ <!-- END notification_methods -->
+ <dd class="mark"><input type="checkbox" name="{notification_types.TYPE}_notification"<!-- IF notification_types.SUBSCRIBED --> checked="checked"<!-- ENDIF --> /> <dfn>{notification_methods.NAME}</dfn></dd>
+ </dl>
+ </li>
+ <!-- ENDIF -->
<!-- END notification_types -->
</ul>
<!-- ELSE -->