[ticket/11935] Replace obsolete table attributes in Admin with CSS

PHPBB3-11935
This commit is contained in:
Matt Friedman 2013-10-19 08:59:08 -07:00
parent 546332b141
commit f003c35fdc
32 changed files with 51 additions and 46 deletions

View file

@ -224,7 +224,7 @@
<fieldset class="tabulated">
<legend>{L_TITLE}</legend>
<table cellspacing="1">
<table class="table1">
<col class="row1" /><col class="row1" /><col class="row2" />
<thead>
<tr>
@ -291,7 +291,7 @@
<fieldset class="tabulated">
<legend>{L_TITLE}</legend>
<table cellspacing="1">
<table class="table1">
<col class="row1" /><col class="row1" /><col class="row2" />
<thead>
<tr>
@ -331,7 +331,7 @@
<fieldset class="tabulated">
<legend>{L_TITLE}</legend>
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_FILENAME}</th>
@ -389,7 +389,7 @@
<!-- ENDIF -->
</div>
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_FILENAME}</th>

View file

@ -56,7 +56,7 @@
<br />
<table cellspacing="1" id="down">
<table class="table1" id="down">
<thead>
<tr>
<th colspan="2">{L_TOKENS}</th>
@ -90,7 +90,7 @@
<fieldset class="tabulated">
<legend>{L_ACP_BBCODES}</legend>
<table cellspacing="1" id="down">
<table class="table1" id="down">
<thead>
<tr>
<th>{L_BBCODE_TAG}</th>

View file

@ -62,7 +62,7 @@
<form id="acp_bots" method="post" action="{U_ACTION}">
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_BOT_NAME}</th>

View file

@ -6,7 +6,7 @@
<p>{L_EXTENSIONS_EXPLAIN}</p>
<table cellspacing="1">
<table class="table1">
<col class="row1" ><col class="row2" ><col class="row2" >
<thead>
<tr>

View file

@ -440,7 +440,7 @@
<p><strong>{NAVIGATION}<!-- IF S_NO_FORUMS --> [<a href="{U_EDIT}">{L_EDIT}</a> | <a href="{U_DELETE}">{L_DELETE}</a><!-- IF not S_LINK --> | <a href="{U_SYNC}">{L_RESYNC}</a><!-- ENDIF -->]<!-- ENDIF --></strong></p>
<!-- IF .forums -->
<table cellspacing="1">
<table class="table1">
<col class="row1" /><col class="row1" /><col class="row2" />
<tbody>
<!-- BEGIN forums -->

View file

@ -150,7 +150,7 @@
<a href="{U_DEFAULT_ALL}">&raquo; {L_MAKE_DEFAULT_FOR_ALL}</a>
</fieldset>
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_USERNAME}</th>
@ -261,7 +261,7 @@
<form id="acp_groups" method="post" action="{U_ACTION}">
<table cellspacing="1">
<table class="table1">
<col class="col1" /><col class="col1" /><col class="col2" /><col class="col2" /><col class="col2" />
<thead>
<tr>
@ -295,7 +295,7 @@
<p>{L_SPECIAL_GROUPS_EXPLAIN}</p>
<table cellspacing="1">
<table class="table1">
<col class="col1" /><col class="col1" /><col class="col2" /><col class="col2" /><col class="col2" />
<thead>
<tr>

View file

@ -27,7 +27,7 @@
<p>{L_LEGEND_EXPLAIN}</p>
<table cellspacing="1">
<table class="table1">
<col class="col1" /><col class="col2" /><col class="col2" />
<thead>
<tr>
@ -115,7 +115,7 @@
<!-- IF S_TEAMPAGE_CATEGORY and CURRENT_CATEGORY_NAME --><p><strong><a href="{U_ACTION}">{L_TEAMPAGE}</a> &raquo; {CURRENT_CATEGORY_NAME}</strong></p><!-- ENDIF -->
<table cellspacing="1">
<table class="table1">
<col class="col1" /><col class="col2" /><col class="col2" />
<thead>
<tr>

View file

@ -74,7 +74,7 @@
<fieldset class="tabulated">
<legend>{L_TITLE}</legend>
<table cellspacing="1" id="smilies">
<table class="table1" id="smilies">
<thead>
<tr>
<th colspan="{COLSPAN}">{L_CONFIG}</th>
@ -218,7 +218,7 @@
<legend>{L_TITLE}</legend>
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_TITLE}</th>

View file

@ -16,7 +16,7 @@
</div>
<!-- ENDIF -->
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_USERNAME}</th>

View file

@ -75,7 +75,7 @@
<form id="missing" method="post" action="{U_MISSING_ACTION}">
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_LANGUAGE_KEY}</th>
@ -129,7 +129,7 @@
</style>
<![endif]-->
<table cellspacing="1">
<table class="table1">
<thead>
<!-- IF S_EMAIL_FILE -->
<tr>
@ -211,7 +211,7 @@
<p>{L_ACP_LANGUAGE_PACKS_EXPLAIN}</p>
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_LANGUAGE_PACK_NAME}</th>

View file

@ -22,7 +22,7 @@
<div><br style="clear: both;" /></div>
<!-- IF .log -->
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_USERNAME}</th>

View file

@ -78,7 +78,7 @@
<!-- EVENT acp_main_notice_after -->
<table cellspacing="1">
<table class="table1">
<caption>{L_FORUM_STATS}</caption>
<col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" />
<thead>
@ -216,7 +216,7 @@
<div style="text-align: right;"><a href="{U_ADMIN_LOG}">&raquo; {L_VIEW_ADMIN_LOG}</a></div>
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_USERNAME}</th>
@ -249,7 +249,7 @@
<div style="text-align: right;"><a href="{U_INACTIVE_USERS}">&raquo; {L_VIEW_INACTIVE_USERS}</a></div>
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_USERNAME}</th>

View file

@ -132,7 +132,7 @@
</div>
<!-- ENDIF -->
<table cellspacing="1">
<table class="table1">
<tbody>
<tr>
<td class="row3">{NAVIGATION}<!-- IF S_NO_MODULES --> [<a href="{U_EDIT}">{L_EDIT}</a> | <a href="{U_DELETE}">{L_DELETE}</a> | <!-- IF MODULE_ENABLED --><a href="{U_DISABLE}">{L_DISABLE}</a><!-- ELSE --><a href="{U_ENABLE}">{L_ENABLE}</a><!-- ENDIF -->]<!-- ENDIF --></td>
@ -141,7 +141,7 @@
</table>
<!-- IF .modules -->
<table cellspacing="1">
<table class="table1">
<col class="row1" /><col class="row1" /><col class="row2" /><col class="row2" />
<tbody>
<!-- BEGIN modules -->

View file

@ -92,7 +92,7 @@
<div class="permissions-panel" id="options00{auth.S_ROW_COUNT}"<!-- IF auth.S_FIRST_ROW --><!-- ELSE --> style="display: none;"<!-- ENDIF -->>
<span class="corners-top"><span></span></span>
<div class="tablewrap">
<table id="table00{auth.S_ROW_COUNT}" cellspacing="1">
<table id="table00{auth.S_ROW_COUNT}" class="table1">
<colgroup>
<col class="permissions-name" />
<col class="permissions-yes" />
@ -144,7 +144,7 @@
<form id="acp_roles" method="post" action="{U_ACTION}">
<table cellspacing="1">
<table class="table1">
<col class="col2" /><col class="col2" /><col class="col1" /><col class="col2" /><col class="col2" />
<thead>
<tr>

View file

@ -185,7 +185,7 @@
</div>
<!-- ENDIF -->
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_FIELD_IDENT}</th>

View file

@ -8,7 +8,7 @@
<p>{L_PRUNE_SUCCESS}</p>
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_FORUM}</th>

View file

@ -65,7 +65,7 @@
<fieldset class="tabulated">
<legend>{L_ACP_MANAGE_RANKS}</legend>
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_RANK_IMAGE}</th>

View file

@ -68,7 +68,7 @@
<legend>{L_ACP_REASONS}</legend>
<!-- IF .reasons -->
<table cellspacing="1">
<table class="table1">
<col class="row1" /><col class="row1" /><col class="row2" />
<thead>
<tr>

View file

@ -112,7 +112,7 @@
<legend>{L_INDEX_STATS}{L_COLON} {backend.L_NAME} <!-- IF backend.S_ACTIVE -->({L_ACTIVE}) <!-- ENDIF --></legend>
<table cellspacing="1">
<table class="table1">
<caption>{backend.L_NAME} <!-- IF backend.S_ACTIVE -->({L_ACTIVE}) <!-- ENDIF --></caption>
<col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" />
<thead>

View file

@ -79,7 +79,7 @@
<!-- ENDIF -->
<!-- IF .styles_list -->
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_STYLE_NAME}</th>

View file

@ -125,7 +125,7 @@
<form id="user_groups" method="post" action="{U_ACTION}">
<table cellspacing="1">
<table class="table1">
<tbody>
<!-- BEGIN group -->
<!-- IF group.S_NEW_GROUP_TYPE -->
@ -164,7 +164,7 @@
</div>
<!-- IF .attach -->
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_FILENAME}</th>

View file

@ -7,7 +7,7 @@
</div>
<!-- IF .log -->
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_REPORT_BY}</th>

View file

@ -1,7 +1,7 @@
<form id="list" method="post" action="{U_ACTION}">
<!-- IF .warn -->
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_REPORT_BY}</th>

View file

@ -47,7 +47,7 @@
<input class="button2" name="add" type="submit" value="{L_ADD_WORD}" />
</p>
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th>{L_WORD}</th>

View file

@ -529,6 +529,11 @@ td {
text-align: right;
}
.table1 {
border-collapse: separate;
border-spacing: 1px;
}
table.type2 {
border: none;
background: none;

View file

@ -14,7 +14,7 @@
<fieldset class="tabulated">
<legend>{L_QUESTIONS}</legend>
<table cellspacing="1">
<table class="table1">
<thead>
<tr>
<th colspan="3">{L_QUESTIONS}</th>

View file

@ -44,7 +44,7 @@
numberList[4] = 'CC';
numberList[5] = 'FF';
document.writeln('<table cellspacing="0" cellpadding="0" border="0">');
document.writeln('<table>');
for (r = 0; r < 6; r++)
{

View file

@ -22,7 +22,7 @@
<!-- ENDIF -->
<!-- IF S_LIST -->
<table cellspacing="1">
<table class="table1">
<caption>{L_AVAILABLE_CONVERTORS}</caption>
<col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" />
<thead>

View file

@ -395,7 +395,7 @@
<p>{L_MAPPING_FILE_STRUCTURE}</p>
<table cellspacing="1">
<table class="table1">
<col class="row1" /><col class="row2" /><col class="row1" />
<thead>
<tr>

View file

@ -77,7 +77,7 @@
<div class="permissions-panel" id="options{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}{p_mask.f_mask.category.S_ROW_COUNT}" <!-- IF p_mask.S_FIRST_ROW and p_mask.f_mask.S_FIRST_ROW and p_mask.f_mask.category.S_FIRST_ROW --><!-- ELSE --> style="display: none;"<!-- ENDIF -->>
<span class="corners-top"><span></span></span>
<div class="tablewrap">
<table id="table{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}{p_mask.f_mask.category.S_ROW_COUNT}" cellspacing="1">
<table id="table{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}{p_mask.f_mask.category.S_ROW_COUNT}" class="table1">
<colgroup>
<col class="permissions-name" />
<col class="permissions-yes" />

View file

@ -1,7 +1,7 @@
<!-- BEGIN role_mask -->
<table cellspacing="1">
<table class="table1">
<caption><!-- IF role_mask.FORUM_ID -->{L_FORUM}{L_COLON} <!-- ENDIF -->{role_mask.NAME}</caption>
<tbody>
<tr>

View file

@ -8,7 +8,7 @@
<br />
<table cellspacing="1" class="type1">
<table class="table1">
<thead>
<tr>
<th>{L_TRACE_WHO}</th>