Qual: Uniformize skins code.

This commit is contained in:
Laurent Destailleur 2013-04-03 15:45:06 +02:00
parent 545ac638b0
commit 7f15154c6b
5 changed files with 12 additions and 38 deletions

View File

@ -88,16 +88,6 @@ llxHeader();
print_fiche_titre($langs->trans("CustomerArea")); print_fiche_titre($langs->trans("CustomerArea"));
print '<div class="fichecenter"><div class="fichethirdleft">'; print '<div class="fichecenter"><div class="fichethirdleft">';
/*
print '<table border="0" width="100%" class="notopnoleftnoright">';
print '<tr>';
if ((! empty($conf->propal->enabled) && $user->rights->propale->lire) ||
(! empty($conf->contrat->enabled) && $user->rights->contrat->lire) ||
(! empty($conf->commande->enabled) && $user->rights->commande->lire))
{
print '<td valign="top" width="30%" class="notopnoleft">';
}
*/
// Recherche Propal // Recherche Propal
if (! empty($conf->propal->enabled) && $user->rights->propal->lire) if (! empty($conf->propal->enabled) && $user->rights->propal->lire)
@ -259,18 +249,7 @@ if (! empty($conf->commande->enabled) && $user->rights->commande->lire)
} }
/*if ((! empty($conf->propal->enabled) && $user->rights->propale->lire) || print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
(! empty($conf->contrat->enabled) && $user->rights->contrat->lire) ||
(! empty($conf->commande->enabled) && $user->rights->commande->lire))
{
print '</td>';
print '<td valign="top" width="70%" class="notopnoleftnoright">';
}
else
{
print '<td valign="top" width="100%" class="notopnoleftnoright">';
}*/
print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
$NBMAX=3; $NBMAX=3;
@ -545,7 +524,6 @@ if (! empty($conf->propal->enabled) && $user->rights->propal->lire)
} }
//print '</td></tr></table>';
print '</div></div></div>'; print '</div></div></div>';
llxFooter(); llxFooter();

View File

@ -51,9 +51,8 @@ print $langs->trans("FormatedExportDesc2").' ';
print $langs->trans("FormatedExportDesc3").'<br>'; print $langs->trans("FormatedExportDesc3").'<br>';
print '<br>'; print '<br>';
print '<table class="notopnoleftnoright" width="100%">';
print '<tr><td valign="top" width="70%" class="notopnoleft">'; print '<div class="fichecenter"><div class="fichethirdleft">';
// List export set // List export set
@ -109,9 +108,9 @@ if (count($export->array_export_code))
*/ */
} }
print '</center>'; print '</center>';
print '<br>';
print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
print '</td><td valign="top" width="30%" class="notopnoleftnoright">';
// List of available export format // List of available export format
@ -143,8 +142,7 @@ foreach($liste as $key => $val)
print '</table>'; print '</table>';
print '</td></tr>'; print '</div></div></div>';
print '</table>';
llxFooter(); llxFooter();

View File

@ -47,9 +47,8 @@ print $langs->trans("FormatedImportDesc1").'<br>';
print $langs->trans("FormatedImportDesc2").'<br>'; print $langs->trans("FormatedImportDesc2").'<br>';
print '<br>'; print '<br>';
print '<table class="notopnoleftnoright" width="100%">';
print '<tr><td valign="top" width="70%" class="notopnoleft">'; print '<div class="fichecenter"><div class="fichethirdleft">';
// List of import set // List of import set
@ -99,9 +98,10 @@ if (count($import->array_import_code))
//} //}
} }
print '</center>'; print '</center>';
print '<br>';
print '</td><td valign="top" width="30%" class="notopnoleftnoright">'; print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
// List of available import format // List of available import format
@ -132,12 +132,10 @@ foreach($liste as $key)
print '</table>'; print '</table>';
print '</td></tr>'; print '</div></div></div>';
print '</table>';
$db->close();
llxFooter(); llxFooter();
$db->close();
?> ?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1400,7 +1400,7 @@ div.divbutaction { margin-bottom: 1.4em; }
text-decoration: none; text-decoration: none;
white-space: nowrap; white-space: nowrap;
padding: 0.4em <?php echo ($dol_optimize_smallscreen?'0.4':'0.7'); ?>em; padding: 0.4em <?php echo ($dol_optimize_smallscreen?'0.4':'0.7'); ?>em;
margin: 0em <?php echo ($dol_optimize_smallscreen?'0.9':'0.7'); ?>em; margin: 0em <?php echo ($dol_optimize_smallscreen?'0.7':'0.9'); ?>em;
-moz-border-radius:0px 5px 0px 5px; -moz-border-radius:0px 5px 0px 5px;
-webkit-border-radius:0px 5px 0px 5px; -webkit-border-radius:0px 5px 0px 5px;
border-radius:0px 5px 0px 5px; border-radius:0px 5px 0px 5px;
@ -2492,7 +2492,7 @@ div.ecmjqft {
bottom: 4px !important; bottom: 4px !important;
<?php } ?> <?php } ?>
text-align: center; text-align: center;
min-width: 500px; min-width: <?php echo $dol_optimize_smallscreen?'200':'480'; ?>px;
width: auto; width: auto;
padding-left: 10px !important; padding-left: 10px !important;
padding-right: 10px !important; padding-right: 10px !important;