[ticket/11533] Change list to table for notification settings

PHPBB3-11533
This commit is contained in:
Vjacheslav Trushkin 2013-05-11 23:32:23 +03:00
parent b40c6fe46a
commit f129fdb559

View file

@ -9,44 +9,35 @@
<p>{TITLE_EXPLAIN}</p> <p>{TITLE_EXPLAIN}</p>
<!-- IF MODE == 'notification_options' --> <!-- IF MODE == 'notification_options' -->
<ul class="topiclist"> <table class="table1" cellspacing="1">
<li class="header"> <thead>
<dl> <th>{L_NOTIFICATION_TYPE}</th>
<dt>{L_NOTIFICATION_TYPE}</dt> <!-- BEGIN notification_methods -->
<!-- BEGIN notification_methods --> <th class="mark">{notification_methods.NAME}</th>
<dd class="mark">{notification_methods.NAME}</dd> <!-- END notification_methods -->
<!-- END notification_methods --> <th class="mark">{L_NOTIFICATIONS}</th>
<dd class="mark">{L_NOTIFICATIONS}</dd> </thead>
</dl> <tbody>
</li> <!-- BEGIN notification_types -->
</ul> <!-- IF notification_types.GROUP_NAME -->
<ul class="topiclist cplist"> <tr class="bg3">
<td colspan="{NOTIFICATION_TYPES_COLS}">{notification_types.GROUP_NAME}</td>
<!-- BEGIN notification_types --> </tr>
<!-- IF notification_types.GROUP_NAME --> <!-- ELSE -->
<li class="row bg3"> <tr class="<!-- IF notification_types.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
<dl> <td>
<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} {notification_types.NAME}
<!-- IF notification_types.EXPLAIN --><br />&nbsp; &nbsp;{notification_types.EXPLAIN}<!-- ENDIF --> <!-- IF notification_types.EXPLAIN --><br />&nbsp; &nbsp;{notification_types.EXPLAIN}<!-- ENDIF -->
</dt> </td>
<!-- BEGIN notification_methods --> <!-- 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> <td class="mark"><input type="checkbox" name="{notification_types.TYPE}_{notification_methods.METHOD}"<!-- IF notification_methods.SUBSCRIBED --> checked="checked"<!-- ENDIF --> /></td>
<!-- END notification_methods --> <!-- END notification_methods -->
<dd class="mark"><input type="checkbox" name="{notification_types.TYPE}_notification"<!-- IF notification_types.SUBSCRIBED --> checked="checked"<!-- ENDIF --> /> <dfn>{L_NOTIFICATIONS}</dfn></dd> <td class="mark"><input type="checkbox" name="{notification_types.TYPE}_notification"<!-- IF notification_types.SUBSCRIBED --> checked="checked"<!-- ENDIF --> /></td>
</dl> </tr>
</li> <!-- ENDIF -->
<!-- ENDIF --> <!-- END notification_types -->
<!-- END notification_types --> </tbody>
</ul> </table>
<!-- ELSE --> <!-- ELSE -->
<!-- IF .notification_list --> <!-- IF .notification_list -->
<!-- IF .pagination or TOTAL_COUNT --> <!-- IF .pagination or TOTAL_COUNT -->