remplacement class=tableab en id=actions

This commit is contained in:
beedauchon 2003-10-19 00:01:53 +00:00
parent 1e80b9b42b
commit 9bbfc33ab1
6 changed files with 9 additions and 20 deletions

View File

@ -280,7 +280,7 @@ if ($id)
{ {
print '<form method="post" action="'.$PHP_SELF.'?id='.$id.'">'; print '<form method="post" action="'.$PHP_SELF.'?id='.$id.'">';
print '<input type="hidden" name="action" value="confirm_delete">'; print '<input type="hidden" name="action" value="confirm_delete">';
print '<table class="tableab" cellspacing="0" border="1" width="100%" cellpadding="3">'; print '<table id="actions" cellspacing="0" border="1" width="100%" cellpadding="3">';
print '<tr><td colspan="3">Supprimer l\'action</td></tr>'; print '<tr><td colspan="3">Supprimer l\'action</td></tr>';
@ -362,7 +362,7 @@ if ($id)
/* /*
* *
*/ */
print '<br><table class="tableab" border="1" cellspadding="3" cellspacing="0" width="100%"><tr>'; print '<br><table id="actions" border="1" cellspadding="3" cellspacing="0" width="100%"><tr>';
print '<td align="center" width="20%">'; print '<td align="center" width="20%">';
if ($action=='edit') if ($action=='edit')
{ {

View File

@ -169,7 +169,7 @@ else
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
print '<br><table class="tableab" width="100%" border="1" cellspacing="0" cellpadding="3">'; print '<br><table id="actions" width="100%" border="1" cellspacing="0" cellpadding="3">';
print '<td width="20%" align="center">-</td>'; print '<td width="20%" align="center">-</td>';
print '<td width="20%" align="center">-</td>'; print '<td width="20%" align="center">-</td>';
print '<td width="20%" align="center">-</td>'; print '<td width="20%" align="center">-</td>';

View File

@ -577,7 +577,7 @@ if ($id && $action == '' && $product->envente)
{ {
$num = $db->num_rows(); $num = $db->num_rows();
$i = 0; $i = 0;
print '<table class="tableab" border="0" width="100%" cellspacing="0" cellpadding="4">'; print '<table id="actions" border="0" width="100%" cellspacing="0" cellpadding="4">';
$var=True; $var=True;
while ($i < $num) while ($i < $num)
{ {

View File

@ -47,7 +47,7 @@ if ($action == 'delete')
print '<form method="post" action="'.$PHP_SELF.'?id='.$id.'">'; print '<form method="post" action="'.$PHP_SELF.'?id='.$id.'">';
print '<input type="hidden" name="action" value="confirm_delete">'; print '<input type="hidden" name="action" value="confirm_delete">';
print '<table class="tableab" cellspacing="0" border="1" width="100%" cellpadding="3">'; print '<table id="actions" cellspacing="0" border="1" width="100%" cellpadding="3">';
print '<tr><td colspan="3">Supprimer le projet</td></tr>'; print '<tr><td colspan="3">Supprimer le projet</td></tr>';
@ -164,7 +164,7 @@ if ($action == 'create')
} }
print "<p><TABLE class=\"tableab\" border=\"1\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\"><tr>"; print "<p><TABLE id=\"actions\" border=\"1\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\"><tr>";
if ($action == "edit") if ($action == "edit")
{ {

View File

@ -54,9 +54,10 @@ table.noborder td {
border: 0px } border: 0px }
table#actions { table#actions {
background: #444444;
color: #eeeeee;
border: 0px; border: 0px;
cell-spacing: 1em; cell-spacing: 1em;
} }
table#actions td { table#actions td {
@ -229,18 +230,6 @@ tr.impair {
border-left: 1px dashed #666666; border-left: 1px dashed #666666;
} }
.tableab {
background: #444444;
font-family: Helvetica, Verdana;
font-size: 1.0em;
color: #eeeeee;
border-top: 1px dashed #555555;
border-right: 1px dashed #888888;
border-bottom: 1px dashed #777777;
border-left: 1px dashed #666666;
}
/* /*
* Classes TR * Classes TR
*/ */

View File

@ -321,7 +321,7 @@ else
print '</table>'; print '</table>';
print '<br><table class="tableab" width="100%" border="1" cellspacing="0" cellpadding="2">'."<tr>"; print '<br><table id="actions" width="100%" border="1" cellspacing="0" cellpadding="2">'."<tr>";
if ($user->admin) if ($user->admin)
{ {