Look: Remove useless array title bar
This commit is contained in:
parent
19ae524ad9
commit
bcd63d2466
@ -278,17 +278,16 @@ $var=true;
|
|||||||
if ($mode != 'marketplace')
|
if ($mode != 'marketplace')
|
||||||
{
|
{
|
||||||
print "<table summary=\"list_of_modules\" class=\"noborder\" width=\"100%\">\n";
|
print "<table summary=\"list_of_modules\" class=\"noborder\" width=\"100%\">\n";
|
||||||
//print "<tr class=\"liste_titre\">\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 colspan=\"2\">".$langs->trans("Module")."</td>\n";
|
||||||
print " <td>".$langs->trans("Description")."</td>\n";
|
print " <td>".$langs->trans("Description")."</td>\n";
|
||||||
print " <td align=\"center\">".$langs->trans("Version")."</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=\"center\">".$langs->trans("Status")."</td>\n";
|
print ' <td align="right">'.$langs->trans("SetupShort").'</td>'."\n";
|
||||||
print " <td align=\"right\">".$langs->trans("SetupShort")."</td>\n";
|
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
*/
|
||||||
|
|
||||||
// Show list of modules
|
// Show list of modules
|
||||||
|
|
||||||
@ -338,11 +337,15 @@ if ($mode != 'marketplace')
|
|||||||
// Print a separator if we change family
|
// Print a separator if we change family
|
||||||
//print "<tr><td>xx".$oldfamily."-".$family."-".$atleastoneforfamily."<br></td><tr>";
|
//print "<tr><td>xx".$oldfamily."-".$family."-".$atleastoneforfamily."<br></td><tr>";
|
||||||
//if ($oldfamily && $family!=$oldfamily && $atleastoneforfamily) {
|
//if ($oldfamily && $family!=$oldfamily && $atleastoneforfamily) {
|
||||||
if ($family!=$oldfamily) {
|
if ($family!=$oldfamily)
|
||||||
print '<tr class="liste_titre">'."\n <td colspan=\"6\">";
|
{
|
||||||
|
print '<tr class="liste_titre">'."\n";
|
||||||
|
print '<td colspan="5">';
|
||||||
$familytext=empty($familylib[$family])?$family:$familylib[$family];
|
$familytext=empty($familylib[$family])?$family:$familylib[$family];
|
||||||
print $familytext;
|
print $familytext;
|
||||||
print "</td>\n</tr>\n";
|
print "</td>\n";
|
||||||
|
print '<td align="right">'.$langs->trans("SetupShort").'</td>'."\n";
|
||||||
|
print "</tr>\n";
|
||||||
$atleastoneforfamily=0;
|
$atleastoneforfamily=0;
|
||||||
//print "<tr><td>yy".$oldfamily."-".$family."-".$atleastoneforfamily."<br></td><tr>";
|
//print "<tr><td>yy".$oldfamily."-".$family."-".$atleastoneforfamily."<br></td><tr>";
|
||||||
}
|
}
|
||||||
@ -382,12 +385,12 @@ if ($mode != 'marketplace')
|
|||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
|
|
||||||
// Desc
|
// Desc
|
||||||
print "<td valign=\"top\">";
|
print '<td valign="top">';
|
||||||
print nl2br($objMod->getDesc());
|
print nl2br($objMod->getDesc());
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
|
|
||||||
// Version
|
// Version
|
||||||
print "<td align=\"center\" valign=\"top\" nowrap=\"nowrap\">";
|
print '<td align="center" valign="top" class="nowrap">';
|
||||||
print $objMod->getVersion();
|
print $objMod->getVersion();
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
|
|
||||||
@ -396,7 +399,7 @@ if ($mode != 'marketplace')
|
|||||||
{
|
{
|
||||||
$disableSetup = 0;
|
$disableSetup = 0;
|
||||||
|
|
||||||
print "<td align=\"center\" valign=\"middle\">";
|
print '<td align="center" valign="middle">';
|
||||||
|
|
||||||
// Module actif
|
// Module actif
|
||||||
if (! empty($objMod->always_enabled) || ((! empty($conf->multicompany->enabled) && $objMod->core_enabled) && ($user->entity || $conf->entity!=1)))
|
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
|
else
|
||||||
{
|
{
|
||||||
print "<td align=\"center\" valign=\"middle\">";
|
print '<td align="center" valign="middle">';
|
||||||
|
|
||||||
if (! empty($objMod->always_enabled))
|
if (! empty($objMod->always_enabled))
|
||||||
{
|
{
|
||||||
@ -502,7 +505,7 @@ dol_fiche_end();
|
|||||||
|
|
||||||
|
|
||||||
// Show warning about external users
|
// 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();
|
llxFooter();
|
||||||
|
|||||||
@ -614,7 +614,7 @@ li.tmenu, li.tmenusel {
|
|||||||
li.tmenusel, li.tmenu:hover {
|
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: -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: -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: -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-image: linear-gradient(bottom, rgba(250,250,250,0.3) 0%, rgba(0,0,0,0.3) 100%) !important;
|
||||||
background: rgb(<?php echo $colorbackhmenu1 ?>);
|
background: rgb(<?php echo $colorbackhmenu1 ?>);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user