afficher tt item si vu item only
This commit is contained in:
parent
4a941665dc
commit
39c469fd45
Binary file not shown.
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Binary file not shown.
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
@ -6,7 +6,7 @@
|
||||
{% if mode=="datauser" %}
|
||||
Paramétrage de la Fiche Utilisateur
|
||||
{% else %}
|
||||
Paramétrage de la Listes des Utilisateurs
|
||||
Paramétrage de la Liste des Utilisateurs
|
||||
{% endif %}
|
||||
</h1>
|
||||
|
||||
|
@ -33,7 +33,7 @@ td { font-size: 10px; }
|
||||
<th class="no-sort">Action</th>
|
||||
{% endif %}
|
||||
<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["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>
|
||||
|
@ -523,7 +523,12 @@ class PagewidgetController extends Controller
|
||||
}
|
||||
$itemsroles=$qb->getQuery()->getResult();
|
||||
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();
|
||||
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();
|
||||
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
Block a user