resolv conflict
This commit is contained in:
commit
4ae4dabb9f
|
@ -6,7 +6,7 @@
|
||||||
{% if mode=="datauser" %}
|
{% if mode=="datauser" %}
|
||||||
Paramétrage de la Fiche Utilisateur
|
Paramétrage de la Fiche Utilisateur
|
||||||
{% else %}
|
{% else %}
|
||||||
Paramétrage de la Listes des Utilisateurs
|
Paramétrage de la Liste des Utilisateurs
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ td { font-size: 10px; }
|
||||||
<th class="no-sort">Action</th>
|
<th class="no-sort">Action</th>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<th class="no-sort {% if fields["avatar"] is defined and fields["avatar"].perm==0 %}no-visible{% endif %}">Avatar</th>
|
<th class="no-sort {% if fields["avatar"] is defined and fields["avatar"].perm==0 %}no-visible{% endif %}">Avatar</th>
|
||||||
<th class=="{% if fields["login"] is defined and fields["login"].perm==0 %}no-visible{% endif %}">Login</th>
|
<th class="{% if fields["login"] is defined and fields["login"].perm==0 and access!="config"%}no-visible{% endif %}">Login</th>
|
||||||
<th class="{% if fields["lastname"] is defined and fields["lastname"].perm==0 %}no-visible{% endif %}">Nom</th>
|
<th class="{% if fields["lastname"] is defined and fields["lastname"].perm==0 %}no-visible{% endif %}">Nom</th>
|
||||||
<th class="{% if fields["firstname"] is defined and fields["firstname"].perm==0 %}no-visible{% endif %}">Prénom</th>
|
<th class="{% if fields["firstname"] is defined and fields["firstname"].perm==0 %}no-visible{% endif %}">Prénom</th>
|
||||||
<th class="{% if fields["email"] is defined and fields["email"].perm==0 %}no-visible{% endif %}">Email</th>
|
<th class="{% if fields["email"] is defined and fields["email"].perm==0 %}no-visible{% endif %}">Email</th>
|
||||||
|
|
|
@ -523,7 +523,12 @@ class PagewidgetController extends Controller
|
||||||
}
|
}
|
||||||
$itemsroles=$qb->getQuery()->getResult();
|
$itemsroles=$qb->getQuery()->getResult();
|
||||||
foreach($itemsroles as $itemrole) {
|
foreach($itemsroles as $itemrole) {
|
||||||
if(!$bookmarksitems->contains($itemrole) && !$items->contains($itemrole)) $items->add($itemrole);
|
if($withbookmark==1) {
|
||||||
|
if(!$items->contains($itemrole)) $items->add($itemrole);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if(!$bookmarksitems->contains($itemrole) && !$items->contains($itemrole)) $items->add($itemrole);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -541,7 +546,12 @@ class PagewidgetController extends Controller
|
||||||
}
|
}
|
||||||
$itemsgroups=$qb->getQuery()->getResult();
|
$itemsgroups=$qb->getQuery()->getResult();
|
||||||
foreach($itemsgroups as $itemgroup) {
|
foreach($itemsgroups as $itemgroup) {
|
||||||
if(!$bookmarksitems->contains($itemgroup) && !$items->contains($itemgroup)) $items->add($itemgroup);
|
if($withbookmark==1) {
|
||||||
|
if(!$items->contains($itemgroup)) $items->add($itemgroup);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if(!$bookmarksitems->contains($itemgroup) && !$items->contains($itemgroup)) $items->add($itemgroup);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -559,7 +569,12 @@ class PagewidgetController extends Controller
|
||||||
}
|
}
|
||||||
$itemsniveau01s=$qb->getQuery()->getResult();
|
$itemsniveau01s=$qb->getQuery()->getResult();
|
||||||
foreach($itemsniveau01s as $itemniveau01) {
|
foreach($itemsniveau01s as $itemniveau01) {
|
||||||
if(!$bookmarksitems->contains($itemniveau01) && !$items->contains($itemniveau01)) $items->add($itemniveau01);
|
if($withbookmark==1) {
|
||||||
|
if(!$items->contains($itemniveau01)) $items->add($itemniveau01);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if(!$bookmarksitems->contains($itemniveau01) && !$items->contains($itemniveau01)) $items->add($itemniveau01);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue