mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11533] Fix colspan and unnecessary tables
Fix colspan and remove unnecessary tables in notification settings page in subsilver2. PHPBB3-11533
This commit is contained in:
parent
f129fdb559
commit
858f644c38
1 changed files with 119 additions and 127 deletions
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<!-- IF MODE == 'notification_options' -->
|
||||||
<table width="100%" cellspacing="1">
|
<table width="100%" cellspacing="1">
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="4">{TITLE}</th>
|
<th colspan="{NOTIFICATION_TYPES_COLS}">{TITLE}</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1" colspan="4" align="center"><span class="genmed">{TITLE_EXPLAIN}</span></td>
|
<td class="row1" colspan="{NOTIFICATION_TYPES_COLS}" align="center"><span class="genmed">{TITLE_EXPLAIN}</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- IF MODE == 'notification_options' -->
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>{L_NOTIFICATION_TYPE}</th>
|
<th>{L_NOTIFICATION_TYPE}</th>
|
||||||
<th width="10%">{L_NOTIFICATIONS}</th>
|
<th width="10%">{L_NOTIFICATIONS}</th>
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
<!-- BEGIN notification_types -->
|
<!-- BEGIN notification_types -->
|
||||||
<!-- IF notification_types.GROUP_NAME -->
|
<!-- IF notification_types.GROUP_NAME -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row3" colspan="3">{notification_types.GROUP_NAME}</td>
|
<td class="row3" colspan="{NOTIFICATION_TYPES_COLS}">{notification_types.GROUP_NAME}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
<!-- IF notification_types.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
<!-- IF notification_types.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- END notification_types -->
|
<!-- END notification_types -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="cat" colspan="3" align="center">
|
<td class="cat" colspan="{NOTIFICATION_TYPES_COLS}" align="center">
|
||||||
<input type="hidden" name="form_time" value="{FORM_TIME}" />
|
<input type="hidden" name="form_time" value="{FORM_TIME}" />
|
||||||
{S_HIDDEN_FIELDS}
|
{S_HIDDEN_FIELDS}
|
||||||
<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" />
|
<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" />
|
||||||
|
@ -45,9 +45,8 @@
|
||||||
{S_FORM_TOKEN}
|
{S_FORM_TOKEN}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
</table>
|
||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<table class="tablebg" width="100%" cellspacing="1" cellpadding="0">
|
<table class="tablebg" width="100%" cellspacing="1" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1">
|
<td class="row1">
|
||||||
|
@ -70,8 +69,6 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div style="padding: 2px;"></div>
|
|
||||||
|
|
||||||
<div class="notification_list">
|
<div class="notification_list">
|
||||||
<table class="tablebg" width="100%" cellspacing="1">
|
<table class="tablebg" width="100%" cellspacing="1">
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -120,8 +117,6 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="padding: 2px;"></div>
|
|
||||||
|
|
||||||
<!-- IF .pagination -->
|
<!-- IF .pagination -->
|
||||||
<table class="tablebg" width="100%" cellspacing="1" cellpadding="0">
|
<table class="tablebg" width="100%" cellspacing="1" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -137,10 +132,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</table>
|
|
||||||
|
|
||||||
<!-- IF .notifications -->
|
<!-- IF .notifications -->
|
||||||
<div class="gensmall" style="float: {S_CONTENT_FLOW_END}; padding-top: 2px;"><b><a href="#" onclick="$('#ucp input:checkbox').attr('checked', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="$('#ucp input:checkbox').attr('checked', false); return false;">{L_UNMARK_ALL}</a></b></div>
|
<div class="gensmall" style="float: {S_CONTENT_FLOW_END}; padding-top: 2px;"><b><a href="#" onclick="$('#ucp input:checkbox').attr('checked', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="$('#ucp input:checkbox').attr('checked', false); return false;">{L_UNMARK_ALL}</a></b></div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue