Modernisation liste clients + mise en commentaire fonctionnalité non implémentée
This commit is contained in:
parent
530f0886b3
commit
6db516f5b2
|
@ -10,7 +10,11 @@
|
||||||
<table class="list">
|
<table class="list">
|
||||||
<thead class="userOrder">
|
<thead class="userOrder">
|
||||||
<tr>
|
<tr>
|
||||||
{if $session->canAccess($session::SECTION_USERS, $session::ACCESS_ADMIN)}<td class="check"><input type="checkbox" title="Tout cocher / décocher" /></td>{/if}
|
{* FIXME
|
||||||
|
{if $session->canAccess($session::SECTION_USERS, $session::ACCESS_ADMIN)}
|
||||||
|
<td class="check"><input type="checkbox" title="Tout cocher / décocher" /></td>
|
||||||
|
{/if}
|
||||||
|
*}
|
||||||
{foreach from=$champs key="c" item="champ"}
|
{foreach from=$champs key="c" item="champ"}
|
||||||
<td>{if $c == "numero"}#{else}{$champ.title}{/if} </td>
|
<td>{if $c == "numero"}#{else}{$champ.title}{/if} </td>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
@ -20,10 +24,13 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{foreach from=$clients item="membre"}
|
{foreach from=$clients item="membre"}
|
||||||
<tr>
|
<tr>
|
||||||
{if $session->canAccess($session::SECTION_USERS, $session::ACCESS_ADMIN)}<td class="check">
|
{* FIXME
|
||||||
{input type="checkbox" name="selected" value=$membre.id default=0}
|
{if $session->canAccess($session::SECTION_USERS, $session::ACCESS_ADMIN)}
|
||||||
</td>
|
<td class="check">
|
||||||
{/if}
|
{input type="checkbox" name="selected" value=$membre.id default=0}
|
||||||
|
</td>
|
||||||
|
{/if}
|
||||||
|
*}
|
||||||
{foreach from=$champs key="c" item="cfg"}
|
{foreach from=$champs key="c" item="cfg"}
|
||||||
<td>
|
<td>
|
||||||
{if $c == 'nom'}<a href="{plugin_url file="client.php"}?id={$membre.id}">{/if}
|
{if $c == 'nom'}<a href="{plugin_url file="client.php"}?id={$membre.id}">{/if}
|
||||||
|
@ -32,15 +39,19 @@
|
||||||
</td>
|
</td>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
<td class="tabs">
|
<td class="tabs">
|
||||||
<a class="icn" href="{plugin_url file="client.php"}?id={$membre.id}" title="Fiche membre">👤</a>
|
{linkbutton shape="user" href="client.php?id=%d"|args:$membre.id label="Fiche client"}
|
||||||
{if $session->canAccess($session::SECTION_USERS, $session::ACCESS_WRITE)}<a class="icn" href="{plugin_url file="client_modifier.php"}?id={$membre.id}" title="Modifier la fiche membre">✎</a>{/if}
|
{if $session->canAccess($session::SECTION_USERS, $session::ACCESS_WRITE)}
|
||||||
|
{linkbutton shape="edit" href="client_modifier.php?id=%d"|args:$membre.id label="Modifier"}
|
||||||
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
{* FIXME
|
||||||
{if $session->canAccess($session::SECTION_USERS, $session::ACCESS_ADMIN)}
|
{if $session->canAccess($session::SECTION_USERS, $session::ACCESS_ADMIN)}
|
||||||
{include file="%s/templates/_list_actions.tpl"|args:$plugin_root colspan=count((array)$champs)}
|
{include file="%s/templates/_list_actions.tpl"|args:$plugin_root colspan=count((array)$champs)}
|
||||||
{/if}
|
{/if}
|
||||||
|
*}
|
||||||
</table>
|
</table>
|
||||||
{else}
|
{else}
|
||||||
<p class="alert block">
|
<p class="alert block">
|
||||||
|
|
Loading…
Reference in New Issue