Skip to content
Snippets Groups Projects
Commit bcd63d24 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Look: Remove useless array title bar

parent 19ae524a
No related branches found
No related tags found
No related merge requests found
......@@ -278,17 +278,16 @@ $var=true;
if ($mode != 'marketplace')
{
print "<table summary=\"list_of_modules\" class=\"noborder\" width=\"100%\">\n";
//print "<tr class=\"liste_titre\">\n";
/*
print '<tr class="liste_titre">'."\n";
//print " <td>".$langs->trans("Family")."</td>\n";
print " <td colspan=\"2\">".$langs->trans("Module")."</td>\n";
print " <td>".$langs->trans("Description")."</td>\n";
print " <td align=\"center\">".$langs->trans("Version")."</td>\n";
//print " <td align=\"center\">".$langs->trans("DbVersion")."</td>\n";
print " <td align=\"center\">".$langs->trans("Status")."</td>\n";
print " <td align=\"right\">".$langs->trans("SetupShort")."</td>\n";
print ' <td align="center">'.$langs->trans("Status").'</td>'."\n";
print ' <td align="right">'.$langs->trans("SetupShort").'</td>'."\n";
print "</tr>\n";
*/
// Show list of modules
......@@ -338,11 +337,15 @@ if ($mode != 'marketplace')
// Print a separator if we change family
//print "<tr><td>xx".$oldfamily."-".$family."-".$atleastoneforfamily."<br></td><tr>";
//if ($oldfamily && $family!=$oldfamily && $atleastoneforfamily) {
if ($family!=$oldfamily) {
print '<tr class="liste_titre">'."\n <td colspan=\"6\">";
if ($family!=$oldfamily)
{
print '<tr class="liste_titre">'."\n";
print '<td colspan="5">';
$familytext=empty($familylib[$family])?$family:$familylib[$family];
print $familytext;
print "</td>\n</tr>\n";
print "</td>\n";
print '<td align="right">'.$langs->trans("SetupShort").'</td>'."\n";
print "</tr>\n";
$atleastoneforfamily=0;
//print "<tr><td>yy".$oldfamily."-".$family."-".$atleastoneforfamily."<br></td><tr>";
}
......@@ -382,12 +385,12 @@ if ($mode != 'marketplace')
print "</td>\n";
// Desc
print "<td valign=\"top\">";
print '<td valign="top">';
print nl2br($objMod->getDesc());
print "</td>\n";
// Version
print "<td align=\"center\" valign=\"top\" nowrap=\"nowrap\">";
print '<td align="center" valign="top" class="nowrap">';
print $objMod->getVersion();
print "</td>\n";
......@@ -396,7 +399,7 @@ if ($mode != 'marketplace')
{
$disableSetup = 0;
print "<td align=\"center\" valign=\"middle\">";
print '<td align="center" valign="middle">';
// Module actif
if (! empty($objMod->always_enabled) || ((! empty($conf->multicompany->enabled) && $objMod->core_enabled) && ($user->entity || $conf->entity!=1)))
......@@ -457,7 +460,7 @@ if ($mode != 'marketplace')
}
else
{
print "<td align=\"center\" valign=\"middle\">";
print '<td align="center" valign="middle">';
if (! empty($objMod->always_enabled))
{
......@@ -502,7 +505,7 @@ dol_fiche_end();
// Show warning about external users
if ($mode != 'marketplace') print showModulesExludedForExternal($modules).'<br>'."\n";
if ($mode != 'marketplace') print '<div class="info">'.showModulesExludedForExternal($modules).'</div><br>'."\n";
llxFooter();
......
......@@ -614,7 +614,7 @@ li.tmenu, li.tmenusel {
li.tmenusel, li.tmenu:hover {
background-image: -o-linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.3) 100%) !important;
background-image: -moz-linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.3) 100%) !important;
background-image: -webkit-linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.3) 100%) !important;
background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.3) 0%, rgba(250,250,250,0) 100%) !important;
background-image: -ms-linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.3) 100%) !important;
background-image: linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.3) 100%) !important;
background: rgb(<?php echo $colorbackhmenu1 ?>);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment