Qual: Indentation muse be done with css and not using multiple
spaces.
This commit is contained in:
parent
e101bfceea
commit
86d25146cc
@ -211,7 +211,6 @@ class MenuManager
|
||||
// We add sub entry
|
||||
print str_pad('',1).'<li data-role="list-dividerxxx" class="lilevel1 ui-btn-icon-right ui-btn">'; // ui-btn to highlight on clic
|
||||
print '<a href="'.$relurl.'">';
|
||||
print str_pad('',12,' ');
|
||||
if ($langs->trans(ucfirst($val['mainmenu'])."Dashboard") == ucfirst($val['mainmenu'])."Dashboard") print $langs->trans("Access"); // No translation
|
||||
else print $langs->trans(ucfirst($val['mainmenu'])."Dashboard");
|
||||
print '</a>';
|
||||
@ -228,7 +227,6 @@ class MenuManager
|
||||
if ($val2['level']==0) print str_pad('',$val2['level']+1).'<li'.($val2['level']==0?' data-role="list-dividerxxx"':'').' class="lilevel'.($val2['level']+1).' ui-btn-icon-right ui-btn">'; // ui-btn to highlight on clic
|
||||
else print str_pad('',$val2['level']+1).'<li class="lilevel'.($val2['level']+1).'">'; // ui-btn to highlight on clic
|
||||
if ($relurl2) print '<a href="'.$relurl2.'">';
|
||||
print str_pad('',($val2['level']+1)*12,' ');
|
||||
print $val2['titre'];
|
||||
if ($relurl2) print '</a>';
|
||||
print '</li>'."\n";
|
||||
|
||||
@ -177,7 +177,6 @@ class MenuManager
|
||||
print '<a href="'.$relurl.'"';
|
||||
//print ' data-ajax="false"';
|
||||
print '>';
|
||||
print str_pad('',12,' ');
|
||||
if ($langs->trans(ucfirst($val['mainmenu'])."Dashboard") == ucfirst($val['mainmenu'])."Dashboard") print $langs->trans("Access"); // No translation
|
||||
else print $langs->trans(ucfirst($val['mainmenu'])."Dashboard");
|
||||
print '</a>';
|
||||
@ -199,7 +198,6 @@ class MenuManager
|
||||
//print ' data-ajax="false"';
|
||||
print '>';
|
||||
}
|
||||
print str_pad('',($val2['level']+1)*12,' ');
|
||||
print $val2['titre'];
|
||||
if ($relurl2) print '</a>';
|
||||
print '</li>'."\n";
|
||||
|
||||
@ -2280,6 +2280,14 @@ ul.ulmenu {
|
||||
background-image: -o-linear-gradient( #eee,#e1e1e1 ) !important;
|
||||
background-image: linear-gradient( #eee,#e1e1e1 ) !important;
|
||||
}
|
||||
.lilevel2
|
||||
{
|
||||
padding-left: 22px;
|
||||
}
|
||||
.lilevel3
|
||||
{
|
||||
padding-left: 54px;
|
||||
}
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
@ -2449,6 +2449,14 @@ ul.ulmenu {
|
||||
background-image: -o-linear-gradient( #eee,#e1e1e1 ) !important;
|
||||
background-image: linear-gradient( #eee,#e1e1e1 ) !important;
|
||||
}
|
||||
.lilevel2
|
||||
{
|
||||
padding-left: 22px;
|
||||
}
|
||||
.lilevel3
|
||||
{
|
||||
padding-left: 54px;
|
||||
}
|
||||
|
||||
<?php
|
||||
if (is_object($db)) $db->close();
|
||||
|
||||
@ -2616,6 +2616,14 @@ ul.ulmenu {
|
||||
background-image: -o-linear-gradient( #eee,#e1e1e1 ) !important;
|
||||
background-image: linear-gradient( #eee,#e1e1e1 ) !important;
|
||||
}
|
||||
.lilevel2
|
||||
{
|
||||
padding-left: 22px;
|
||||
}
|
||||
.lilevel3
|
||||
{
|
||||
padding-left: 54px;
|
||||
}
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
@ -2527,6 +2527,14 @@ ul.ulmenu {
|
||||
background-image: -o-linear-gradient( #eee,#e1e1e1 ) !important;
|
||||
background-image: linear-gradient( #eee,#e1e1e1 ) !important;
|
||||
}
|
||||
.lilevel2
|
||||
{
|
||||
padding-left: 22px;
|
||||
}
|
||||
.lilevel3
|
||||
{
|
||||
padding-left: 54px;
|
||||
}
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
@ -3053,6 +3053,14 @@ border-top-right-radius: 6px;
|
||||
background-image: -o-linear-gradient( #ddd,#d1d1d1 ) !important;
|
||||
background-image: linear-gradient( #ddd,#d1d1d1 ) !important;
|
||||
}
|
||||
.lilevel2
|
||||
{
|
||||
padding-left: 22px;
|
||||
}
|
||||
.lilevel3
|
||||
{
|
||||
padding-left: 54px;
|
||||
}
|
||||
|
||||
<?php
|
||||
if (is_object($db)) $db->close();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user