Compare commits

...

1 Commits

Author SHA1 Message Date
Graphie e89ada166e SPIP 4.1 et icône svg 1 year ago

@ -0,0 +1,23 @@
<svg xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 64 64">
<g>
<path fill="#666666" d="M53.3,32.7c3.1-2.4,4.8-6.3,4.2-10.4c-0.9-6-6.6-10.1-12.6-9.2c-2.7,0.4-5,1.8-6.7,3.8
c-2.4-1.3-5.3-1.9-8.2-1.5c-2.8,0.4-5.2,1.8-7.1,3.6c-2.1-1.2-4.6-1.8-7.2-1.4c-6,0.9-10.1,6.6-9.2,12.6c0.6,4.1,3.5,7.3,7.1,8.7
c-0.2,1.1-0.2,2.1,0,3.3c0.9,5.5,5.7,9.4,11.1,9.3c0,0.1,0,0.2,0,0.3c0.9,6,6.6,10.1,12.6,9.2c6-0.9,10.1-6.6,9.2-12.6
c0-0.1,0-0.2-0.1-0.3c5.2-1.5,8.6-6.7,7.8-12.2C54.1,34.7,53.8,33.6,53.3,32.7z M25,23.7c1.2-2,3.3-3.4,5.7-3.8
c2.5-0.4,4.8,0.4,6.6,1.8c1.5,1.2,2.5,3,2.9,5.1c0.2,1.3,0.1,2.6-0.3,3.8c-0.2,0.7-0.5,1.3-0.9,1.9c-1,1.6-2.5,2.8-4.3,3.4
c-0.4,0.2-0.9,0.3-1.4,0.3c-0.5,0.1-1,0.1-1.4,0.1c-1.9,0-3.8-0.7-5.2-1.9c-0.5-0.4-1-0.9-1.4-1.5c-0.7-1-1.2-2.2-1.5-3.5
C23.5,27.3,24,25.3,25,23.7z M11.5,29.4c-0.5-3.3,1.7-6.3,5-6.9c1.3-0.2,2.6,0,3.7,0.6c-0.3,0.7-0.5,1.4-0.7,2.2
c-0.3,1.5-0.4,3.1-0.1,4.7c0,0.2,0.1,0.4,0.1,0.6c-1.6,0.8-2.9,2-3.9,3.5C13.4,33.5,11.8,31.7,11.5,29.4z M25.5,46.4
c-0.1,0-0.1,0-0.2,0c-3.2,0.4-6.2-1.8-6.7-5c-0.1-0.7-0.1-1.3,0-1.9c0.3-1.7,1.3-3.2,2.8-4.1c0.6,0.9,1.3,1.6,2,2.3
c0.5,0.4,1,0.8,1.5,1.1c1.2,0.8,2.6,1.4,4.1,1.8c0.5,0.1,1,0.2,1.5,0.3C30.3,43.6,28.3,45.9,25.5,46.4z M36.6,55.9
c-3.3,0.5-6.3-1.7-6.9-5c0-0.3-0.1-0.5-0.1-0.8c2.4-1.3,4.2-3.3,5.1-5.8l0,0c1.6,2.1,4,3.5,6.6,4c0.1,0.3,0.1,0.5,0.2,0.8
C42.1,52.3,39.9,55.4,36.6,55.9z M44.5,43.4c-0.1,0-0.1,0-0.2,0c-2.9,0.5-5.6-1.3-6.5-3.9c0.3-0.1,0.6-0.3,0.9-0.4
c1.3-0.8,2.4-1.8,3.3-2.9c0.4-0.5,0.8-1,1.1-1.5c0.6-0.9,1-2,1.3-3c1.9,0.3,3.5,1.5,4.4,3.2c0.3,0.6,0.5,1.2,0.6,1.8
C49.8,39.8,47.7,42.8,44.5,43.4z M50.1,28.8c-1.5-1.2-3.4-2-5.4-2.2c0-0.2,0-0.3-0.1-0.5c-0.3-1.6-0.8-3.1-1.6-4.4
c-0.3-0.6-0.7-1.1-1.1-1.6c0.9-1.1,2.2-1.8,3.7-2.1c3.3-0.5,6.3,1.7,6.9,5C52.9,25.3,51.9,27.5,50.1,28.8z"/>
<g>
<path fill="#1D83D4" d="M23.7,15.3c-2.3-4.3-6.6-6.6-9.5-6.6V3c5.6,0,11.4,3.3,14.9,9.8C26.9,13.3,25,14.1,23.7,15.3z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -4,7 +4,7 @@ if (!defined("_ECRIRE_INC_VERSION")) return;
/**
* Pipeline ieconfig pour l'import/export de configuration
*
*
*
* @see https://contrib.spip.net/Importeur-Exporteur-de-configurations-documentation
* @param array $flux
@ -13,7 +13,7 @@ if (!defined("_ECRIRE_INC_VERSION")) return;
function grappes_ieconfig($flux){
include_spip('inc/texte');
$action = $flux['args']['action'];
// Formulaire d'export
if ($action=='form_export') {
$saisies = array(
@ -22,7 +22,7 @@ function grappes_ieconfig($flux){
'options' => array(
'nom' => 'grappes_export',
'label' => '<:grappes:export_titre:>',
'icone' => 'grappes-16.png'
'icone' => 'grappe-xx.svg'
),
'saisies' => array(
array(
@ -38,11 +38,11 @@ function grappes_ieconfig($flux){
);
$flux['data'] = array_merge($flux['data'],$saisies);
}
// Tableau d'export
if ($action=='export' && is_array(_request('grappes_a_exporter')) && count(_request('grappes_a_exporter'))>0) {
// Spécifier que le plugin grappe est necessité
//
//
$flux['data']['necessite'][] = 'grappes';
$flux['data']['grappes'] = array();
include_spip('base/abstract_sql');
@ -58,7 +58,7 @@ function grappes_ieconfig($flux){
$flux['data']['grappes'][$identifiant] = $objet_export;
}
}
// Formulaire d'import
if ($action=='form_import'&& isset($flux['args']['config']['grappes'])&& is_array($flux['args']['config']['grappes'])&& count($flux['args']['config']['grappes'])>0){
$saisies = array(
@ -67,7 +67,7 @@ function grappes_ieconfig($flux){
'options' => array(
'nom' => 'grappes_import',
'label' => '<:grappes:import_titre:>',
'icone' => 'grappes-16.png'
'icone' => 'grappe-xx.svg'
),
'saisies' => array(
array(

@ -1,10 +1,10 @@
<paquet
prefix="grappes"
categorie="divers"
version="2.0.0"
version="2.1.0"
etat="test"
compatibilite="[3.2.0;3.3.*]"
logo="prive/themes/spip/images/grappe-32.png"
compatibilite="[3.2.0;4.1.*]"
logo="grappe-xx.svg"
schema="0.2.6"
documentation="https://contrib.spip.net/4282"
>
@ -30,5 +30,5 @@
<necessite nom="SelecteurGenerique" compatibilite="[0.8.3;[" />
<menu nom="grappes" titre="grappes:titre_page_grappes" parent="menu_edition" icone="images/grappe-16.png" />
<menu nom="grappes" titre="grappes:titre_page_grappes" parent="menu_edition" icone="images/grappe-xx.svg" />
</paquet>

@ -8,7 +8,7 @@
<tbody>
<BOUCLE_liste(GRAPPES){id_grappe IN #GET{selection}}{pagination 10}{recherche ?}{statut?}{tout}>
<tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]"> #SET{id_grappe,#ID_GRAPPE}
<td class="picto">[(#CHEMIN_IMAGE{grappe-16.png}|balise_img)]</td>
<td class="picto">[(#CHEMIN_IMAGE{grappe-xx.svg}|balise_img)]</td>
<td class="titre principale"><a href="[(#GET{id_grappe}|generer_url_entite{grappe})]">#TITRE</a></td>
<td class="logo">[(#LOGO_GRAPPE|image_reduire{70,*})]</td>
[(#GET{editable})

@ -22,7 +22,7 @@
<tbody>
<BOUCLE_liste_grappes(GRAPPES){id_admin?}{id_mot?}{auteurs_liens.id_auteur?}{where?}{recherche?}{tri #ENV{par,num titre},#GET{defaut_tri}}{par titre}{pagination #ENV{nb,10}}>
<tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
<td class="picto">[(#CHEMIN_IMAGE{grappe-16.png}|balise_img)]</td>
<td class="picto">[(#CHEMIN_IMAGE{grappe-xx.svg}|balise_img)]</td>
<td class="identifiant principale"><a href="[(#ID_GRAPPE|generer_url_entite{grappe})]">#IDENTIFIANT</a></td>
<td class="titre principale"[ (#LOGO_GRAPPE|non)colspan="2"]><a href="[(#ID_GRAPPE|generer_url_entite{grappe})]">[(#RANG). ]#TITRE</a></td>
[<td class="logo">(#LOGO_GRAPPE|image_reduire{70,*})</td>]

@ -9,7 +9,7 @@
]
]
<h1>[(#RANG). ](#TITRE|sinon{<:info_sans_titre:>})[(#CHEMIN_IMAGE{grappe-24.png}|balise_img{grappe,cadre-icone})]</h1>
<h1>[(#RANG). ](#TITRE|sinon{<:info_sans_titre:>})[(#CHEMIN_IMAGE{grappe-xx.svg}|balise_img{grappe,cadre-icone})]</h1>
],simple fiche_objet})]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 800 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

@ -0,0 +1,23 @@
<svg xmlns="http://www.w3.org/2000/svg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