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

Qual: Indentation muse be done with css and not using multiple  

spaces.
parent e101bfce
No related branches found
No related tags found
No related merge requests found
......@@ -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,'&nbsp;');
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,'&nbsp;');
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,'&nbsp;');
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,'&nbsp;');
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();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment