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

View file

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

View file

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

View file

@ -6,7 +6,7 @@
<p>{L_EXTENSIONS_EXPLAIN}</p> <p>{L_EXTENSIONS_EXPLAIN}</p>
<table cellspacing="1"> <table class="table1">
<col class="row1" ><col class="row2" ><col class="row2" > <col class="row1" ><col class="row2" ><col class="row2" >
<thead> <thead>
<tr> <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> <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 --> <!-- IF .forums -->
<table cellspacing="1"> <table class="table1">
<col class="row1" /><col class="row1" /><col class="row2" /> <col class="row1" /><col class="row1" /><col class="row2" />
<tbody> <tbody>
<!-- BEGIN forums --> <!-- BEGIN forums -->

View file

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

View file

@ -27,7 +27,7 @@
<p>{L_LEGEND_EXPLAIN}</p> <p>{L_LEGEND_EXPLAIN}</p>
<table cellspacing="1"> <table class="table1">
<col class="col1" /><col class="col2" /><col class="col2" /> <col class="col1" /><col class="col2" /><col class="col2" />
<thead> <thead>
<tr> <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 --> <!-- 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" /> <col class="col1" /><col class="col2" /><col class="col2" />
<thead> <thead>
<tr> <tr>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -132,7 +132,7 @@
</div> </div>
<!-- ENDIF --> <!-- ENDIF -->
<table cellspacing="1"> <table class="table1">
<tbody> <tbody>
<tr> <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> <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> </table>
<!-- IF .modules --> <!-- IF .modules -->
<table cellspacing="1"> <table class="table1">
<col class="row1" /><col class="row1" /><col class="row2" /><col class="row2" /> <col class="row1" /><col class="row1" /><col class="row2" /><col class="row2" />
<tbody> <tbody>
<!-- BEGIN modules --> <!-- 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 -->> <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> <span class="corners-top"><span></span></span>
<div class="tablewrap"> <div class="tablewrap">
<table id="table00{auth.S_ROW_COUNT}" cellspacing="1"> <table id="table00{auth.S_ROW_COUNT}" class="table1">
<colgroup> <colgroup>
<col class="permissions-name" /> <col class="permissions-name" />
<col class="permissions-yes" /> <col class="permissions-yes" />
@ -144,7 +144,7 @@
<form id="acp_roles" method="post" action="{U_ACTION}"> <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" /> <col class="col2" /><col class="col2" /><col class="col1" /><col class="col2" /><col class="col2" />
<thead> <thead>
<tr> <tr>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -395,7 +395,7 @@
<p>{L_MAPPING_FILE_STRUCTURE}</p> <p>{L_MAPPING_FILE_STRUCTURE}</p>
<table cellspacing="1"> <table class="table1">
<col class="row1" /><col class="row2" /><col class="row1" /> <col class="row1" /><col class="row2" /><col class="row1" />
<thead> <thead>
<tr> <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 -->> <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> <span class="corners-top"><span></span></span>
<div class="tablewrap"> <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> <colgroup>
<col class="permissions-name" /> <col class="permissions-name" />
<col class="permissions-yes" /> <col class="permissions-yes" />

View file

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

View file

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