Skip to content
This repository has been archived by the owner on Jan 11, 2020. It is now read-only.

Commit

Permalink
Renvoyer vers la page type_plugin dans toutes les listes concernées
Browse files Browse the repository at this point in the history
  • Loading branch information
smellup committed Aug 12, 2019
1 parent b363f41 commit 7798ed1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
3 changes: 1 addition & 2 deletions inc/svptype_type_plugin.php
Expand Up @@ -16,8 +16,7 @@
* @param string $typologie Typologie concernée : categorie, tag... Ne sert que si le type est passé sous forme du champ `identifiant`
* qui n'est unique qu'au sein d'une même typologie.
* @param int|string $type_plugin Identifiant d'un type de plugin correspondant soit à son `id_mot` soit au champ `identifiant`.
* @param array|string $informations
* Identifiant d'un champ ou de plusieurs champs de la description d'un type de plugin.
* @param array|string $informations Identifiant d'un champ ou de plusieurs champs de la description d'un type de plugin.
* Si l'argument est vide, la fonction renvoie la description complète.
*
* @return array|string
Expand Down
6 changes: 4 additions & 2 deletions prive/objets/affectation/types_plugins.html
@@ -1,7 +1,6 @@
[(#SET{defaut_tri,#ARRAY{
prefixe,1,
identifiant,1,
id_mot,1,
points,-1
}})
]<B_liste_categorie>
Expand Down Expand Up @@ -40,7 +39,10 @@
</a>
</td>
<td class="titre">
<a href="[(#ID_MOT|generer_url_entite{mot})]" title="<:info_numero_abbreviation|attribut_html:> #ID_MOT">
<a href="[(#URL_ECRIRE{type_plugin}
|parametre_url{typologie, #ENV{typologie}}
|parametre_url{id_mot, #ID_MOT})]"
title="<:info_numero_abbreviation|attribut_html:> #ID_MOT">
[(#IDENTIFIANT)]
</a>
</td>
Expand Down
5 changes: 2 additions & 3 deletions prive/objets/liste/types_plugins.html
@@ -1,6 +1,5 @@
[(#SET{defaut_tri, #ARRAY{
identifiant, 1,
titre, 1,
id_mot, 1,
points, -1
}})
Expand Down Expand Up @@ -32,8 +31,8 @@
</caption>]
<thead>
<tr class="first_row">
<th class="titre" scope="col">[(#TRI{titre,<:svptype:identifiant_label:>,ajax})]</th>
<th class="nombre" scope="col">[(#TRI{type,<:svptype:plugin_compteur_label:>,ajax})]</th>
<th class="titre" scope="col">[(#TRI{identifiant,<:svptype:identifiant_label:>,ajax})]</th>
<th class="nombre" scope="col"><:svptype:plugin_compteur_label:></th>
<th class="id" scope="col">[(#TRI{id_mot,<:info_numero_abbreviation:>,ajax})]</th>
<th class="action" scope="col">&nbsp;</th>
</tr>
Expand Down
8 changes: 4 additions & 4 deletions prive/objets/liste/types_plugins_affectes.html
@@ -1,7 +1,5 @@
[(#SET{defaut_tri, #ARRAY{
identifiant, 1,
titre, 1,
id_mot, 1
}})
]
[(#SET{bouton_desaffecter, #VAL{svptype:}|concat{#ENV{typologie}_desaffecter_label}|_T})]
Expand All @@ -15,7 +13,7 @@
</caption>]
<thead>
<tr class="first_row">
<th class="titre" scope="col">[(#TRI{titre,<:svptype:identifiant_label:>,ajax})]</th>
<th class="titre" scope="col">[(#TRI{identifiant,<:svptype:identifiant_label:>,ajax})]</th>
<th class="action" scope="col">&nbsp;</th>
</tr>
</thead>
Expand All @@ -29,7 +27,9 @@
{pagination #ENV{nb,10}}>
<tr class="[(#ENV{compteur_boucle}|alterner{row_odd,row_even})]">
<td class="titre principale">
<a href="[(#ID_MOT|generer_url_entite{mot})]"
<a href="[(#URL_ECRIRE{type_plugin}
|parametre_url{typologie, #ENV{typologie}}
|parametre_url{id_mot, #ID_MOT})]"
title="[(#TITRE|sinon{<:info_numero_abbreviation:> #ID_MOT}|attribut_html)]">
#IDENTIFIANT
</a>
Expand Down

0 comments on commit 7798ed1

Please sign in to comment.