sortie de la fabrique + ajout champ autorisations
41
action/supprimer_aut_mod.php
Normal file
|
@ -0,0 +1,41 @@
|
|||
<?php
|
||||
/**
|
||||
* Utilisation de l'action supprimer pour l'objet aut_mod
|
||||
*
|
||||
* @plugin Autorisations étendues
|
||||
* @copyright 2020
|
||||
* @author tofulm
|
||||
* @licence GNU/GPL
|
||||
* @package SPIP\Auted\Action
|
||||
*/
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Action pour supprimer un·e aut_mod
|
||||
*
|
||||
* Vérifier l'autorisation avant d'appeler l'action.
|
||||
*
|
||||
* @param null|int $arg
|
||||
* Identifiant à supprimer.
|
||||
* En absence de id utilise l'argument de l'action sécurisée.
|
||||
**/
|
||||
function action_supprimer_aut_mod_dist($arg=null) {
|
||||
if (is_null($arg)){
|
||||
$securiser_action = charger_fonction('securiser_action', 'inc');
|
||||
$arg = $securiser_action();
|
||||
}
|
||||
$arg = intval($arg);
|
||||
|
||||
// cas suppression
|
||||
if ($arg) {
|
||||
sql_delete('spip_aut_mods', 'id_aut_mod=' . sql_quote($arg));
|
||||
}
|
||||
else {
|
||||
spip_log("action_supprimer_aut_mod_dist $arg pas compris");
|
||||
}
|
||||
}
|
57
auted_administrations.php
Normal file
|
@ -0,0 +1,57 @@
|
|||
<?php
|
||||
/**
|
||||
* Fichier gérant l'installation et désinstallation du plugin Autorisations étendues
|
||||
*
|
||||
* @plugin Autorisations étendues
|
||||
* @copyright 2020
|
||||
* @author tofulm
|
||||
* @licence GNU/GPL
|
||||
* @package SPIP\Auted\Installation
|
||||
*/
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Fonction d'installation et de mise à jour du plugin Autorisations étendues.
|
||||
*
|
||||
* @param string $nom_meta_base_version
|
||||
* Nom de la meta informant de la version du schéma de données du plugin installé dans SPIP
|
||||
* @param string $version_cible
|
||||
* Version du schéma de données dans ce plugin (déclaré dans paquet.xml)
|
||||
* @return void
|
||||
**/
|
||||
function auted_upgrade($nom_meta_base_version, $version_cible) {
|
||||
$maj = array();
|
||||
|
||||
$maj['create'] = array(array('maj_tables', array('spip_aut_mods')));
|
||||
|
||||
include_spip('base/upgrade');
|
||||
maj_plugin($nom_meta_base_version, $version_cible, $maj);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Fonction de désinstallation du plugin Autorisations étendues.
|
||||
*
|
||||
* @param string $nom_meta_base_version
|
||||
* Nom de la meta informant de la version du schéma de données du plugin installé dans SPIP
|
||||
* @return void
|
||||
**/
|
||||
function auted_vider_tables($nom_meta_base_version) {
|
||||
|
||||
sql_drop_table('spip_aut_mods');
|
||||
|
||||
# Nettoyer les liens courants (le génie optimiser_base_disparus se chargera de nettoyer toutes les tables de liens)
|
||||
sql_delete('spip_documents_liens', sql_in('objet', array('aut_mod')));
|
||||
sql_delete('spip_mots_liens', sql_in('objet', array('aut_mod')));
|
||||
sql_delete('spip_auteurs_liens', sql_in('objet', array('aut_mod')));
|
||||
# Nettoyer les versionnages et forums
|
||||
sql_delete('spip_versions', sql_in('objet', array('aut_mod')));
|
||||
sql_delete('spip_versions_fragments', sql_in('objet', array('aut_mod')));
|
||||
sql_delete('spip_forum', sql_in('objet', array('aut_mod')));
|
||||
|
||||
effacer_meta($nom_meta_base_version);
|
||||
}
|
84
auted_autorisations.php
Normal file
|
@ -0,0 +1,84 @@
|
|||
<?php
|
||||
/**
|
||||
* Définit les autorisations du plugin Autorisations étendues
|
||||
*
|
||||
* @plugin Autorisations étendues
|
||||
* @copyright 2020
|
||||
* @author tofulm
|
||||
* @licence GNU/GPL
|
||||
* @package SPIP\Auted\Autorisations
|
||||
*/
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Fonction d'appel pour le pipeline
|
||||
* @pipeline autoriser */
|
||||
function auted_autoriser() {
|
||||
}
|
||||
|
||||
|
||||
// -----------------
|
||||
// Objet aut_mods
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Autorisation de créer (autmod)
|
||||
*
|
||||
* @param string $faire Action demandée
|
||||
* @param string $type Type d'objet sur lequel appliquer l'action
|
||||
* @param int $id Identifiant de l'objet
|
||||
* @param array $qui Description de l'auteur demandant l'autorisation
|
||||
* @param array $opt Options de cette autorisation
|
||||
* @return bool true s'il a le droit, false sinon
|
||||
**/
|
||||
function autoriser_autmod_creer_dist($faire, $type, $id, $qui, $opt) {
|
||||
return autoriser('webmestre', '', '', $qui);
|
||||
}
|
||||
|
||||
/**
|
||||
* Autorisation de voir (autmod)
|
||||
*
|
||||
* @param string $faire Action demandée
|
||||
* @param string $type Type d'objet sur lequel appliquer l'action
|
||||
* @param int $id Identifiant de l'objet
|
||||
* @param array $qui Description de l'auteur demandant l'autorisation
|
||||
* @param array $opt Options de cette autorisation
|
||||
* @return bool true s'il a le droit, false sinon
|
||||
**/
|
||||
function autoriser_autmod_voir_dist($faire, $type, $id, $qui, $opt) {
|
||||
return autoriser('webmestre', '', '', $qui);
|
||||
}
|
||||
|
||||
/**
|
||||
* Autorisation de modifier (autmod)
|
||||
*
|
||||
* @param string $faire Action demandée
|
||||
* @param string $type Type d'objet sur lequel appliquer l'action
|
||||
* @param int $id Identifiant de l'objet
|
||||
* @param array $qui Description de l'auteur demandant l'autorisation
|
||||
* @param array $opt Options de cette autorisation
|
||||
* @return bool true s'il a le droit, false sinon
|
||||
**/
|
||||
function autoriser_autmod_modifier_dist($faire, $type, $id, $qui, $opt) {
|
||||
return autoriser('webmestre', '', '', $qui);
|
||||
}
|
||||
|
||||
/**
|
||||
* Autorisation de supprimer (autmod)
|
||||
*
|
||||
* @param string $faire Action demandée
|
||||
* @param string $type Type d'objet sur lequel appliquer l'action
|
||||
* @param int $id Identifiant de l'objet
|
||||
* @param array $qui Description de l'auteur demandant l'autorisation
|
||||
* @param array $opt Options de cette autorisation
|
||||
* @return bool true s'il a le droit, false sinon
|
||||
**/
|
||||
function autoriser_autmod_supprimer_dist($faire, $type, $id, $qui, $opt) {
|
||||
return autoriser('webmestre', '', '', $qui);
|
||||
}
|
14
auted_fonctions.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* Fonctions utiles au plugin Autorisations étendues
|
||||
*
|
||||
* @plugin Autorisations étendues
|
||||
* @copyright 2020
|
||||
* @author tofulm
|
||||
* @licence GNU/GPL
|
||||
* @package SPIP\Auted\Fonctions
|
||||
*/
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
14
auted_options.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* Options au chargement du plugin Autorisations étendues
|
||||
*
|
||||
* @plugin Autorisations étendues
|
||||
* @copyright 2020
|
||||
* @author tofulm
|
||||
* @licence GNU/GPL
|
||||
* @package SPIP\Auted\Options
|
||||
*/
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
34
auted_pipelines.php
Normal file
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
/**
|
||||
* Utilisations de pipelines par Autorisations étendues
|
||||
*
|
||||
* @plugin Autorisations étendues
|
||||
* @copyright 2020
|
||||
* @author tofulm
|
||||
* @licence GNU/GPL
|
||||
* @package SPIP\Auted\Pipelines
|
||||
*/
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Optimiser la base de données
|
||||
*
|
||||
* Supprime les objets à la poubelle.
|
||||
*
|
||||
* @pipeline optimiser_base_disparus
|
||||
* @param array $flux Données du pipeline
|
||||
* @return array Données du pipeline
|
||||
*/
|
||||
function auted_optimiser_base_disparus($flux) {
|
||||
|
||||
sql_delete('spip_aut_mods', "statut='poubelle' AND maj < " . $flux['args']['date']);
|
||||
|
||||
return $flux;
|
||||
}
|
101
base/auted.php
Normal file
|
@ -0,0 +1,101 @@
|
|||
<?php
|
||||
/**
|
||||
* Déclarations relatives à la base de données
|
||||
*
|
||||
* @plugin Autorisations étendues
|
||||
* @copyright 2020
|
||||
* @author tofulm
|
||||
* @licence GNU/GPL
|
||||
* @package SPIP\Auted\Pipelines
|
||||
*/
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Déclaration des alias de tables et filtres automatiques de champs
|
||||
*
|
||||
* @pipeline declarer_tables_interfaces
|
||||
* @param array $interfaces
|
||||
* Déclarations d'interface pour le compilateur
|
||||
* @return array
|
||||
* Déclarations d'interface pour le compilateur
|
||||
*/
|
||||
function auted_declarer_tables_interfaces($interfaces) {
|
||||
|
||||
$interfaces['table_des_tables']['aut_mods'] = 'aut_mods';
|
||||
|
||||
return $interfaces;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Déclaration des objets éditoriaux
|
||||
*
|
||||
* @pipeline declarer_tables_objets_sql
|
||||
* @param array $tables
|
||||
* Description des tables
|
||||
* @return array
|
||||
* Description complétée des tables
|
||||
*/
|
||||
function auted_declarer_tables_objets_sql($tables) {
|
||||
|
||||
$tables['spip_aut_mods'] = array(
|
||||
'type' => 'aut_mod',
|
||||
'principale' => 'oui',
|
||||
'table_objet_surnoms' => array('autmod'), // table_objet('aut_mod') => 'aut_mods'
|
||||
'field'=> array(
|
||||
'id_aut_mod' => 'bigint(21) NOT NULL',
|
||||
'nom' => 'varchar(55) NOT NULL DEFAULT ""',
|
||||
'modele' => 'text NOT NULL DEFAULT ""',
|
||||
'statut' => 'varchar(20) DEFAULT "0" NOT NULL',
|
||||
'maj' => 'TIMESTAMP'
|
||||
),
|
||||
'key' => array(
|
||||
'PRIMARY KEY' => 'id_aut_mod',
|
||||
'KEY statut' => 'statut',
|
||||
),
|
||||
'titre' => 'nom AS titre, "" AS lang',
|
||||
#'date' => '',
|
||||
'champs_editables' => array('nom', 'modele'),
|
||||
'champs_versionnes' => array(),
|
||||
'rechercher_champs' => array(),
|
||||
'tables_jointures' => array(),
|
||||
'statut_textes_instituer' => array(
|
||||
'prepa' => 'texte_statut_en_cours_redaction',
|
||||
'publie' => 'texte_statut_publie',
|
||||
'refuse' => 'texte_statut_refuse',
|
||||
'poubelle' => 'texte_statut_poubelle',
|
||||
),
|
||||
'statut'=> array(
|
||||
array(
|
||||
'champ' => 'statut',
|
||||
'publie' => 'publie',
|
||||
'previsu' => 'publie,prepa',
|
||||
'post_date' => 'date',
|
||||
'exception' => array('statut','tout')
|
||||
)
|
||||
),
|
||||
'texte_changer_statut' => 'aut_mod:texte_changer_statut_aut_mod',
|
||||
|
||||
|
||||
);
|
||||
|
||||
return $tables;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Ajouter des champs aux tables auteurs et articles et rubrique
|
||||
* @param array $tables_principales
|
||||
* @return array
|
||||
*/
|
||||
|
||||
function auted_declarer_tables_principales($tables_principales){
|
||||
|
||||
$tables_principales['spip_auteurs']['field']['autorisations'] = "text NOT NULL";
|
||||
|
||||
return $tables_principales;
|
||||
}
|
213
fabrique_auted.php
Normal file
|
@ -0,0 +1,213 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Fichier généré par la Fabrique de plugin v6
|
||||
* le 2020-02-10 11:18:59
|
||||
*
|
||||
* Ce fichier de sauvegarde peut servir à recréer
|
||||
* votre plugin avec le plugin «Fabrique» qui a servi à le créer.
|
||||
*
|
||||
* Bien évidemment, les modifications apportées ultérieurement
|
||||
* par vos soins dans le code de ce plugin généré
|
||||
* NE SERONT PAS connues du plugin «Fabrique» et ne pourront pas
|
||||
* être recréées par lui !
|
||||
*
|
||||
* La «Fabrique» ne pourra que régénerer le code de base du plugin
|
||||
* avec les informations dont il dispose.
|
||||
*
|
||||
**/
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
$data = array (
|
||||
'fabrique' =>
|
||||
array (
|
||||
'version' => 6,
|
||||
),
|
||||
'paquet' =>
|
||||
array (
|
||||
'prefixe' => 'auted',
|
||||
'nom' => 'Autorisations étendues',
|
||||
'slogan' => '',
|
||||
'description' => '',
|
||||
'logo' =>
|
||||
array (
|
||||
0 => '',
|
||||
),
|
||||
'credits' =>
|
||||
array (
|
||||
'logo' =>
|
||||
array (
|
||||
'texte' => '',
|
||||
'url' => '',
|
||||
),
|
||||
),
|
||||
'version' => '1.0.0',
|
||||
'auteur' => 'tofulm',
|
||||
'auteur_lien' => 'https://gamuza.fr',
|
||||
'licence' => 'GNU/GPL',
|
||||
'categorie' => 'outil',
|
||||
'etat' => 'dev',
|
||||
'compatibilite' => '[3.2.0-dev;3.3.*]',
|
||||
'documentation' => '',
|
||||
'administrations' => 'on',
|
||||
'schema' => '1.0.0',
|
||||
'formulaire_config' => 'on',
|
||||
'formulaire_config_titre' => '',
|
||||
'fichiers' =>
|
||||
array (
|
||||
0 => 'autorisations',
|
||||
1 => 'fonctions',
|
||||
2 => 'options',
|
||||
3 => 'pipelines',
|
||||
),
|
||||
'inserer' =>
|
||||
array (
|
||||
'paquet' => '',
|
||||
'administrations' =>
|
||||
array (
|
||||
'maj' => '',
|
||||
'desinstallation' => '',
|
||||
'fin' => '',
|
||||
),
|
||||
'base' =>
|
||||
array (
|
||||
'tables' =>
|
||||
array (
|
||||
'fin' => '',
|
||||
),
|
||||
),
|
||||
),
|
||||
'scripts' =>
|
||||
array (
|
||||
'pre_copie' => '',
|
||||
'post_creation' => '',
|
||||
),
|
||||
'exemples' => '',
|
||||
),
|
||||
'objets' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'nom' => 'Autmods',
|
||||
'nom_singulier' => 'Autmod',
|
||||
'genre' => 'masculin',
|
||||
'logo' =>
|
||||
array (
|
||||
0 => '',
|
||||
32 => '',
|
||||
24 => '',
|
||||
16 => '',
|
||||
12 => '',
|
||||
),
|
||||
'logo_variantes' => '',
|
||||
'table' => 'spip_aut_mods',
|
||||
'cle_primaire' => 'id_aut_mod',
|
||||
'cle_primaire_sql' => 'bigint(21) NOT NULL',
|
||||
'table_type' => 'aut_mod',
|
||||
'champs' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'nom' => 'Nom',
|
||||
'champ' => 'nom',
|
||||
'sql' => 'varchar(55) NOT NULL DEFAULT \'\'',
|
||||
'caracteristiques' =>
|
||||
array (
|
||||
0 => 'editable',
|
||||
1 => 'obligatoire',
|
||||
),
|
||||
'recherche' => '',
|
||||
'saisie' => '',
|
||||
'explication' => '',
|
||||
'saisie_options' => '',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'nom' => 'Modèle',
|
||||
'champ' => 'modele',
|
||||
'sql' => 'text NOT NULL DEFAULT \'\'',
|
||||
'caracteristiques' =>
|
||||
array (
|
||||
0 => 'editable',
|
||||
1 => 'obligatoire',
|
||||
),
|
||||
'recherche' => '',
|
||||
'saisie' => '',
|
||||
'explication' => '',
|
||||
'saisie_options' => '',
|
||||
),
|
||||
),
|
||||
'champ_titre' => 'nom',
|
||||
'champ_date' => '',
|
||||
'statut' => 'on',
|
||||
'chaines' =>
|
||||
array (
|
||||
'titre_objets' => 'Modèle d\'autorisations',
|
||||
'titre_objet' => 'modèle d\'autorisations',
|
||||
'info_aucun_objet' => 'Aucun modèle d\'autorisation',
|
||||
'info_1_objet' => 'Un modèle d\'autorisation',
|
||||
'info_nb_objets' => '@nb@ de modèle d\'autorisation',
|
||||
'icone_creer_objet' => 'Créer un modèle d\'autorsation',
|
||||
'icone_modifier_objet' => 'Modifier ce modèle d\'autorisation',
|
||||
'titre_logo_objet' => 'Logo de ce modèle d\'autorisation',
|
||||
'titre_langue_objet' => 'Langue de ce modèle d\'autorisation',
|
||||
'texte_definir_comme_traduction_objet' => 'Ce modèle d\'autorisation est une traduction du modèle d\'autorisation numéro :',
|
||||
'titre_\\objets_lies_objet' => 'Liés à ce modèle d\'autorisation',
|
||||
'titre_objets_rubrique' => 'Modèle d\'autorisation de la rubrique',
|
||||
'info_objets_auteur' => 'Les modèles d\'autorisation de cet auteur',
|
||||
'retirer_lien_objet' => 'Retirer ce modèle d\'autorisation',
|
||||
'retirer_tous_liens_objets' => 'Retirer tous les modèles d\'autorisation',
|
||||
'ajouter_lien_objet' => 'Ajouter ce modèle d\'autorisation',
|
||||
'texte_ajouter_objet' => 'Ajouter un modèle d\'autorisation',
|
||||
'texte_creer_associer_objet' => 'Créer et associer un modèle d\'autorisation',
|
||||
'texte_changer_statut_objet' => 'Ce modèle d\'autorisation est :',
|
||||
'supprimer_objet' => 'Supprimer ce modèle d\'autorisation',
|
||||
'confirmer_supprimer_objet' => 'Confirmez-vous la suppression de ce modèle d\'autorisation ?',
|
||||
),
|
||||
'liaison_directe' => '',
|
||||
'table_liens' => '',
|
||||
'afficher_liens' => '',
|
||||
'roles' => '',
|
||||
'auteurs_liens' => '',
|
||||
'vue_auteurs_liens' => '',
|
||||
'fichiers' =>
|
||||
array (
|
||||
'explicites' =>
|
||||
array (
|
||||
0 => 'action/supprimer_objet.php',
|
||||
),
|
||||
),
|
||||
'autorisations' =>
|
||||
array (
|
||||
'objet_creer' => 'webmestre',
|
||||
'objet_voir' => 'webmestre',
|
||||
'objet_modifier' => 'webmestre',
|
||||
'objet_supprimer' => 'webmestre',
|
||||
'associerobjet' => 'webmestre',
|
||||
),
|
||||
),
|
||||
),
|
||||
'images' =>
|
||||
array (
|
||||
'paquet' =>
|
||||
array (
|
||||
'logo' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'extension' => 'svg',
|
||||
'contenu' => 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS4xLWRldiAoNmM5NzdjYjM3ZCwgMjAyMC0wMi0wMykiCiAgIGhlaWdodD0iNDgiCiAgIHdpZHRoPSI0MCIKICAgc29kaXBvZGk6ZG9jbmFtZT0iYXV0b3Jpc2F0aW9ucy5zdmciCiAgIGlkPSJzdmc4OTMiCiAgIHhtbDpzcGFjZT0icHJlc2VydmUiCiAgIHZpZXdCb3g9IjAgMCA0MCA0OCIKICAgeT0iMHB4IgogICB4PSIwcHgiCiAgIHZlcnNpb249IjEuMSI+PG1ldGFkYXRhCiAgICAgaWQ9Im1ldGFkYXRhODk5Ij48cmRmOlJERj48Y2M6V29yawogICAgICAgICByZGY6YWJvdXQ9IiI+PGRjOmZvcm1hdD5pbWFnZS9zdmcreG1sPC9kYzpmb3JtYXQ+PGRjOnR5cGUKICAgICAgICAgICByZGY6cmVzb3VyY2U9Imh0dHA6Ly9wdXJsLm9yZy9kYy9kY21pdHlwZS9TdGlsbEltYWdlIiAvPjwvY2M6V29yaz48L3JkZjpSREY+PC9tZXRhZGF0YT48ZGVmcwogICAgIGlkPSJkZWZzODk3IiAvPjxzb2RpcG9kaTpuYW1lZHZpZXcKICAgICBpbmtzY2FwZTpjdXJyZW50LWxheWVyPSJzdmc4OTMiCiAgICAgaW5rc2NhcGU6d2luZG93LW1heGltaXplZD0iMSIKICAgICBpbmtzY2FwZTp3aW5kb3cteT0iMjAiCiAgICAgaW5rc2NhcGU6d2luZG93LXg9IjAiCiAgICAgaW5rc2NhcGU6Y3k9IjIzLjc4OTcwMSIKICAgICBpbmtzY2FwZTpjeD0iMjQuMDY2MzMiCiAgICAgaW5rc2NhcGU6em9vbT0iOS44NjQiCiAgICAgc2hvd2dyaWQ9ImZhbHNlIgogICAgIGlkPSJuYW1lZHZpZXc4OTUiCiAgICAgaW5rc2NhcGU6d2luZG93LWhlaWdodD0iMTQxNiIKICAgICBpbmtzY2FwZTp3aW5kb3ctd2lkdGg9IjI1NTYiCiAgICAgaW5rc2NhcGU6cGFnZXNoYWRvdz0iMiIKICAgICBpbmtzY2FwZTpwYWdlb3BhY2l0eT0iMCIKICAgICBndWlkZXRvbGVyYW5jZT0iMTAiCiAgICAgZ3JpZHRvbGVyYW5jZT0iMTAiCiAgICAgb2JqZWN0dG9sZXJhbmNlPSIxMCIKICAgICBib3JkZXJvcGFjaXR5PSIxIgogICAgIGJvcmRlcmNvbG9yPSIjNjY2NjY2IgogICAgIHBhZ2Vjb2xvcj0iI2ZmZmZmZiIgLz48ZwogICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01LC0xKSIKICAgICBpZD0iZzkxMCI+PHBhdGgKICAgICAgIGlua3NjYXBlOmNvbm5lY3Rvci1jdXJ2YXR1cmU9IjAiCiAgICAgICBkPSJNIDQ1LDI4LjEgViAyMS42IEggMzguOCBWIDE0LjkgQyAzOC44LDcuMiAzMi42LDEgMjUsMSAxNy40LDEgMTEuMiw3LjIgMTEuMiwxNC44IHYgNi43IEggNSBWIDI4IGggNC4zIHYgMiBIIDUgdiA0LjIgaCA0LjMgdiAyIEggNSB2IDQuMiBoIDQuMyB2IDIgSCA1IFYgNDkgaCA0MCB2IC02LjUgaCAtNC4zIHYgLTIgSCA0NSB2IC00LjIgaCAtNC4zIHYgLTIgSCA0NSB2IC00LjIgaCAtNC4zIHYgLTIgSCA0NSBaIE0gMTcuOCwxNC44IGMgMCwtNCAzLjIsLTcuMiA3LjIsLTcuMiA0LDAgNy4yLDMuMiA3LjIsNy4yIHYgNi43IEggMTcuOCBaIE0gMjguOSw0Mi4zIEggMjEgbCAxLjYsLTcgYyAtMSwtMC43IC0xLjYsLTEuOCAtMS42LC0zLjEgMCwtMi4yIDEuOCwtMy45IDMuOSwtMy45IDIuMiwwIDMuOSwxLjggMy45LDMuOSAwLDEuMyAtMC42LDIuNCAtMS42LDMuMSB6IgogICAgICAgaWQ9InBhdGg4ODciCiAgICAgICBzdHlsZT0iZmlsbDojYzkxODY5O2ZpbGwtb3BhY2l0eToxIiAvPjxwYXRoCiAgICAgICBzdHlsZT0iZmlsbDojZmYwMDAwO3N0cm9rZTojMDAwMDAwO3N0cm9rZS13aWR0aDowLjUxMDY0NSIKICAgICAgIGQ9Im0gMjEuMTEwMTU4LDQyLjAxOTAyIGMgMC4wMzExNCwtMC4xMjU0NTYgMC4zODkyMjQsLTEuNjg3MDU4IDAuNzk1NzQ5LC0zLjQ3MDIyNSBsIDAuNzM5MTM2LC0zLjI0MjEyNCAtMC40OTQzNjUsLTAuNDgxNTI2IGMgLTAuMjcxOTAxLC0wLjI2NDg0IC0wLjYxNjg4OSwtMC43NDQ3NTMgLTAuNzY2NjQsLTEuMDY2NDc0IC0wLjIzNDc1MiwtMC41MDQzMzIgLTAuMjcyNTI4LC0wLjcxNzkyMyAtMC4yNzQxMDgsLTEuNTQ5ODI1IC0wLjAwMTcsLTAuODg1MDI5IDAuMDI1MzYsLTEuMDIwMTQ0IDAuMzI2NzY1LC0xLjYzMjcwNSAwLjM5NTcwOSwtMC44MDQyMjMgMS4xMjA1MTcsLTEuNTE1OTY0IDEuOTMwMzE4LC0xLjg5NTUxOCAwLjUwMTUzLC0wLjIzNTA2NyAwLjcwOTgzMywtMC4yNzE3IDEuNTQ0OTIsLTAuMjcxNyAwLjg4NTk1LDAgMS4wMjA3MTgsMC4wMjczMiAxLjY0MDc5NywwLjMzMjU4IDIuMzY5MzYxLDEuMTY2NDMzIDIuOTIxOTIxLDQuMjY3NjkyIDEuMDg3MjcsNi4xMDIzNDIgbCAtMC40ODAzNSwwLjQ4MDM1MSAwLjgwMzQsMy4zMzQ3NCBjIDAuNDQxODcsMS44MzQxMDcgMC44MjM4MjEsMy4zOTE3NjUgMC44NDg3OCwzLjQ2MTQ2MyAwLjAzNTgsMC4wOTk5NyAtMC43NzgzNzEsMC4xMjY3MjMgLTMuODU2NDUyLDAuMTI2NzIzIGggLTMuOTAxODMyIHoiCiAgICAgICBpZD0icGF0aDkwMSIKICAgICAgIGlua3NjYXBlOmNvbm5lY3Rvci1jdXJ2YXR1cmU9IjAiIC8+PHBhdGgKICAgICAgIHN0eWxlPSJmaWxsOiMwMDAwMDA7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOiMwMDAwMDA7c3Ryb2tlLXdpZHRoOjAuNTEwNjQ1IgogICAgICAgZD0ibSAyMS40NjMzMDgsNDEuODY2OTUyIGMgMi4xMWUtNCwtMC4wNDE4MiAwLjMzOTA1NywtMS41NTgwNDEgMC43NTI5OTIsLTMuMzY5MzgyIGwgMC43NTI2MDksLTMuMjkzMzQ3IC0wLjUzNzU1MSwtMC41NjM1NjYgYyAtMC44MzQ2ODQsLTAuODc1MDc4IC0xLjAwMjY2OCwtMS4yODA4MjYgLTEuMDA2MDYsLTIuNDMwMDMxIC0wLjAwMjUsLTAuODU2NDM5IDAuMDI4MTUsLTEuMDIzMDI0IDAuMjc3MDQyLC0xLjUwNDIwOCAwLjM1NjkzMiwtMC42OTAwNyAxLjAxMzU3NCwtMS4zNDY2MDIgMS43MDMyNTQsLTEuNzAyOTY4IDAuNDc5MDkzLC0wLjI0NzU1NCAwLjY1MTQ5LC0wLjI3OTYyMSAxLjUwNDIwNywtMC4yNzk3OTkgMC44MTEwMTYsLTEuN2UtNCAxLjAzNTEzOCwwLjAzNzEzIDEuNDE5MzAzLDAuMjM2MTk2IDEuMDk2NjIsMC41NjgyNTEgMS43MDkzOCwxLjMzMTExIDEuOTkzMjc5LDIuNDgxNTQ1IDAuMjk0NTk1LDEuMTkzNzg0IC0wLjAzNzE3LDIuMjgzNzg3IC0wLjk5MjU5NCwzLjI2MTA4NSBsIC0wLjUwMzQzOCwwLjUxNDk2NSAwLjc2NDIwNiwzLjEzNDY3IGMgMC40MjAzMTMsMS43MjQwNjggMC43ODgzMTYsMy4yMzczMTUgMC44MTc3ODUsMy4zNjI3NzIgbCAwLjA1MzU4LDAuMjI4MTAyIGggLTMuNDk5NDk5IGMgLTEuOTI0NzI0LDAgLTMuNDk5MzI1LC0wLjAzNDIyIC0zLjQ5OTExNCwtMC4wNzYwMyB6IgogICAgICAgaWQ9InBhdGg5MDUiCiAgICAgICBpbmtzY2FwZTpjb25uZWN0b3ItY3VydmF0dXJlPSIwIiAvPjwvZz48L3N2Zz4K',
|
||||
),
|
||||
),
|
||||
),
|
||||
'objets' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
100
fabrique_diff.diff
Normal file
|
@ -0,0 +1,100 @@
|
|||
Seulement dans ../tmp/cache/fabrique/auted/: action
|
||||
diff -r -x . -x .. -x fabrique_diff.diff -x fabrique_auted.php ../tmp/cache/fabrique/.backup/auted/auted_autorisations.php ../tmp/cache/fabrique/auted/auted_autorisations.php
|
||||
41c41
|
||||
< return in_array($qui['statut'], array('0minirezo', '1comite'));
|
||||
---
|
||||
> return autoriser('webmestre', '', '', $qui);
|
||||
55c55
|
||||
< return true;
|
||||
---
|
||||
> return autoriser('webmestre', '', '', $qui);
|
||||
69c69
|
||||
< return in_array($qui['statut'], array('0minirezo', '1comite'));
|
||||
---
|
||||
> return autoriser('webmestre', '', '', $qui);
|
||||
83c83
|
||||
< return $qui['statut'] == '0minirezo' and !$qui['restreint'];
|
||||
---
|
||||
> return autoriser('webmestre', '', '', $qui);
|
||||
diff -r -x . -x .. -x fabrique_diff.diff -x fabrique_auted.php ../tmp/cache/fabrique/.backup/auted/base/auted.php ../tmp/cache/fabrique/auted/base/auted.php
|
||||
52c52
|
||||
< 'model' => 'text NOT NULL DEFAULT ""',
|
||||
---
|
||||
> 'modele' => 'text NOT NULL DEFAULT ""',
|
||||
62c62
|
||||
< 'champs_editables' => array('nom', 'model'),
|
||||
---
|
||||
> 'champs_editables' => array('nom', 'modele'),
|
||||
diff -r -x . -x .. -x fabrique_diff.diff -x fabrique_auted.php ../tmp/cache/fabrique/.backup/auted/lang/aut_mod_fr.php ../tmp/cache/fabrique/auted/lang/aut_mod_fr.php
|
||||
12c12
|
||||
< 'ajouter_lien_aut_mod' => 'Ajouter cette autmod',
|
||||
---
|
||||
> 'ajouter_lien_aut_mod' => 'Ajouter ce modèle d\'autorisation',
|
||||
15c15
|
||||
< 'champ_model_label' => 'Model',
|
||||
---
|
||||
> 'champ_modele_label' => 'Modèle',
|
||||
17c17
|
||||
< 'confirmer_supprimer_aut_mod' => 'Confirmez-vous la suppression de cette autmod ?',
|
||||
---
|
||||
> 'confirmer_supprimer_aut_mod' => 'Confirmez-vous la suppression de ce modèle d\'autorisation ?',
|
||||
20,25c20,25
|
||||
< 'icone_creer_aut_mod' => 'Créer un model',
|
||||
< 'icone_modifier_aut_mod' => 'Modifier ce model',
|
||||
< 'info_1_aut_mod' => 'Un model',
|
||||
< 'info_aucun_aut_mod' => 'Aucune autmod',
|
||||
< 'info_aut_mods_auteur' => 'Les autmods de cet auteur',
|
||||
< 'info_nb_aut_mods' => '@nb@ autmods',
|
||||
---
|
||||
> 'icone_creer_aut_mod' => 'Créer un modèle d\'autorsation',
|
||||
> 'icone_modifier_aut_mod' => 'Modifier ce modèle d\'autorisation',
|
||||
> 'info_1_aut_mod' => 'Un modèle d\'autorisation',
|
||||
> 'info_aucun_aut_mod' => 'Aucun modèle d\'autorisation',
|
||||
> 'info_aut_mods_auteur' => 'Les modèles d\'autorisation de cet auteur',
|
||||
> 'info_nb_aut_mods' => '@nb@ de modèle d\'autorisation',
|
||||
28,29c28,29
|
||||
< 'retirer_lien_aut_mod' => 'Retirer cette autmod',
|
||||
< 'retirer_tous_liens_aut_mods' => 'Retirer toutes les autmods',
|
||||
---
|
||||
> 'retirer_lien_aut_mod' => 'Retirer ce modèle d\'autorisation',
|
||||
> 'retirer_tous_liens_aut_mods' => 'Retirer tous les modèles d\'autorisation',
|
||||
32c32
|
||||
< 'supprimer_aut_mod' => 'Supprimer cette autmod',
|
||||
---
|
||||
> 'supprimer_aut_mod' => 'Supprimer ce modèle d\'autorisation',
|
||||
35,44c35,44
|
||||
< 'texte_ajouter_aut_mod' => 'Ajouter une autmod',
|
||||
< 'texte_changer_statut_aut_mod' => 'Cette autmod est :',
|
||||
< 'texte_creer_associer_aut_mod' => 'Créer et associer une autmod',
|
||||
< 'texte_definir_comme_traduction_aut_mod' => 'Cett autmod est une traduction de la autmod numéro :',
|
||||
< 'titre_aut_mod' => 'Autmod',
|
||||
< 'titre_aut_mods' => 'Autmods',
|
||||
< 'titre_aut_mods_rubrique' => 'Autmods de la rubrique',
|
||||
< 'titre_langue_aut_mod' => 'Langue de cette autmod',
|
||||
< 'titre_logo_aut_mod' => 'Logo de ce model',
|
||||
< 'titre_objets_lies_aut_mod' => 'Liés à cette autmod',
|
||||
---
|
||||
> 'texte_ajouter_aut_mod' => 'Ajouter un modèle d\'autorisation',
|
||||
> 'texte_changer_statut_aut_mod' => 'Ce modèle d\'autorisation est :',
|
||||
> 'texte_creer_associer_aut_mod' => 'Créer et associer un modèle d\'autorisation',
|
||||
> 'texte_definir_comme_traduction_aut_mod' => 'Ce modèle d\'autorisation est une traduction du modèle d\'autorisation numéro :',
|
||||
> 'titre_aut_mod' => 'modèle d\'autorisations',
|
||||
> 'titre_aut_mods' => 'Modèle d\'autorisations',
|
||||
> 'titre_aut_mods_rubrique' => 'Modèle d\'autorisation de la rubrique',
|
||||
> 'titre_langue_aut_mod' => 'Langue de ce modèle d\'autorisation',
|
||||
> 'titre_logo_aut_mod' => 'Logo de ce modèle d\'autorisation',
|
||||
> 'titre_objets_lies_aut_mod' => 'Liés à ce modèle d\'autorisation',
|
||||
diff -r -x . -x .. -x fabrique_diff.diff -x fabrique_auted.php ../tmp/cache/fabrique/.backup/auted/paquet.xml ../tmp/cache/fabrique/auted/paquet.xml
|
||||
12c12
|
||||
< Paquet généré le 2020-02-10 11:08:20
|
||||
---
|
||||
> Paquet généré le 2020-02-10 11:18:59
|
||||
diff -r -x . -x .. -x fabrique_diff.diff -x fabrique_auted.php ../tmp/cache/fabrique/.backup/auted/prive/objets/contenu/aut_mod.html ../tmp/cache/fabrique/auted/prive/objets/contenu/aut_mod.html
|
||||
7,9c7,9
|
||||
< [<div class="champ contenu_model[ (#MODEL*|strlen|?{'',vide})]">
|
||||
< <div class="label"><:aut_mod:champ_model_label:> : </div>
|
||||
< <span dir="#LANG_DIR" class="#EDIT{model} model">(#MODEL)</span>
|
||||
---
|
||||
> [<div class="champ contenu_modele[ (#MODELE*|strlen|?{'',vide})]">
|
||||
> <div class="label"><:aut_mod:champ_modele_label:> : </div>
|
||||
> <span dir="#LANG_DIR" class="#EDIT{modele} modele">(#MODELE)</span>
|
16
formulaires/configurer_auted.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<div class="formulaire_spip formulaire_configurer formulaire_#FORM">
|
||||
|
||||
<h3 class="titrem"><:auted:cfg_titre_parametrages:></h3>
|
||||
|
||||
[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
|
||||
[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
|
||||
|
||||
<form method="post" action="#ENV{action}">
|
||||
<div>
|
||||
#ACTION_FORMULAIRE
|
||||
|
||||
<input type="hidden" name="_meta_casier" value="auted" />
|
||||
<p class="boutons"><span class="image_loading"> </span><input type="submit" class="submit" value="<:bouton_enregistrer:>" /></p>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
17
formulaires/editer_aut_mod.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<div class='formulaire_spip formulaire_editer formulaire_#FORM formulaire_#FORM-#ENV{id_aut_mod,nouveau}'>
|
||||
[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV**{message_ok})</p>]
|
||||
[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
|
||||
|
||||
[(#ENV{editable})
|
||||
<form method="post" action="#ENV{action}"><div>
|
||||
#ACTION_FORMULAIRE
|
||||
<input type="hidden" name="id_aut_mod" value="#ENV{id_aut_mod}" />
|
||||
<div class="editer-groupe">
|
||||
|
||||
</div>
|
||||
[(#REM) ajouter les saisies supplementaires : extra et autre, a cet endroit ]
|
||||
<!--extra-->
|
||||
<p class="boutons"><input type="submit" class="submit" value="<:bouton_enregistrer:>" /></p>
|
||||
</div></form>
|
||||
]
|
||||
</div>
|
124
formulaires/editer_aut_mod.php
Normal file
|
@ -0,0 +1,124 @@
|
|||
<?php
|
||||
/**
|
||||
* Gestion du formulaire de d'édition de aut_mod
|
||||
*
|
||||
* @plugin Autorisations étendues
|
||||
* @copyright 2020
|
||||
* @author tofulm
|
||||
* @licence GNU/GPL
|
||||
* @package SPIP\Auted\Formulaires
|
||||
*/
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
include_spip('inc/actions');
|
||||
include_spip('inc/editer');
|
||||
|
||||
|
||||
/**
|
||||
* Identifier le formulaire en faisant abstraction des paramètres qui ne représentent pas l'objet edité
|
||||
*
|
||||
* @param int|string $id_aut_mod
|
||||
* Identifiant du aut_mod. 'new' pour un nouveau aut_mod.
|
||||
* @param string $retour
|
||||
* URL de redirection après le traitement
|
||||
* @param int $lier_trad
|
||||
* Identifiant éventuel d'un aut_mod source d'une traduction
|
||||
* @param string $config_fonc
|
||||
* Nom de la fonction ajoutant des configurations particulières au formulaire
|
||||
* @param array $row
|
||||
* Valeurs de la ligne SQL du aut_mod, si connu
|
||||
* @param string $hidden
|
||||
* Contenu HTML ajouté en même temps que les champs cachés du formulaire.
|
||||
* @return string
|
||||
* Hash du formulaire
|
||||
*/
|
||||
function formulaires_editer_aut_mod_identifier_dist($id_aut_mod = 'new', $retour = '', $lier_trad = 0, $config_fonc = '', $row = array(), $hidden = '') {
|
||||
return serialize(array(intval($id_aut_mod)));
|
||||
}
|
||||
|
||||
/**
|
||||
* Chargement du formulaire d'édition de aut_mod
|
||||
*
|
||||
* Déclarer les champs postés et y intégrer les valeurs par défaut
|
||||
*
|
||||
* @uses formulaires_editer_objet_charger()
|
||||
*
|
||||
* @param int|string $id_aut_mod
|
||||
* Identifiant du aut_mod. 'new' pour un nouveau aut_mod.
|
||||
* @param string $retour
|
||||
* URL de redirection après le traitement
|
||||
* @param int $lier_trad
|
||||
* Identifiant éventuel d'un aut_mod source d'une traduction
|
||||
* @param string $config_fonc
|
||||
* Nom de la fonction ajoutant des configurations particulières au formulaire
|
||||
* @param array $row
|
||||
* Valeurs de la ligne SQL du aut_mod, si connu
|
||||
* @param string $hidden
|
||||
* Contenu HTML ajouté en même temps que les champs cachés du formulaire.
|
||||
* @return array
|
||||
* Environnement du formulaire
|
||||
*/
|
||||
function formulaires_editer_aut_mod_charger_dist($id_aut_mod = 'new', $retour = '', $lier_trad = 0, $config_fonc = '', $row = array(), $hidden = '') {
|
||||
$valeurs = formulaires_editer_objet_charger('aut_mod', $id_aut_mod, '', $lier_trad, $retour, $config_fonc, $row, $hidden);
|
||||
return $valeurs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Vérifications du formulaire d'édition de aut_mod
|
||||
*
|
||||
* Vérifier les champs postés et signaler d'éventuelles erreurs
|
||||
*
|
||||
* @uses formulaires_editer_objet_verifier()
|
||||
*
|
||||
* @param int|string $id_aut_mod
|
||||
* Identifiant du aut_mod. 'new' pour un nouveau aut_mod.
|
||||
* @param string $retour
|
||||
* URL de redirection après le traitement
|
||||
* @param int $lier_trad
|
||||
* Identifiant éventuel d'un aut_mod source d'une traduction
|
||||
* @param string $config_fonc
|
||||
* Nom de la fonction ajoutant des configurations particulières au formulaire
|
||||
* @param array $row
|
||||
* Valeurs de la ligne SQL du aut_mod, si connu
|
||||
* @param string $hidden
|
||||
* Contenu HTML ajouté en même temps que les champs cachés du formulaire.
|
||||
* @return array
|
||||
* Tableau des erreurs
|
||||
*/
|
||||
function formulaires_editer_aut_mod_verifier_dist($id_aut_mod = 'new', $retour = '', $lier_trad = 0, $config_fonc = '', $row = array(), $hidden = '') {
|
||||
$erreurs = array();
|
||||
|
||||
$erreurs = formulaires_editer_objet_verifier('aut_mod', $id_aut_mod);
|
||||
|
||||
return $erreurs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Traitement du formulaire d'édition de aut_mod
|
||||
*
|
||||
* Traiter les champs postés
|
||||
*
|
||||
* @uses formulaires_editer_objet_traiter()
|
||||
*
|
||||
* @param int|string $id_aut_mod
|
||||
* Identifiant du aut_mod. 'new' pour un nouveau aut_mod.
|
||||
* @param string $retour
|
||||
* URL de redirection après le traitement
|
||||
* @param int $lier_trad
|
||||
* Identifiant éventuel d'un aut_mod source d'une traduction
|
||||
* @param string $config_fonc
|
||||
* Nom de la fonction ajoutant des configurations particulières au formulaire
|
||||
* @param array $row
|
||||
* Valeurs de la ligne SQL du aut_mod, si connu
|
||||
* @param string $hidden
|
||||
* Contenu HTML ajouté en même temps que les champs cachés du formulaire.
|
||||
* @return array
|
||||
* Retours des traitements
|
||||
*/
|
||||
function formulaires_editer_aut_mod_traiter_dist($id_aut_mod = 'new', $retour = '', $lier_trad = 0, $config_fonc = '', $row = array(), $hidden = '') {
|
||||
$retours = formulaires_editer_objet_traiter('aut_mod', $id_aut_mod, '', $lier_trad, $retour, $config_fonc, $row, $hidden);
|
||||
return $retours;
|
||||
}
|
45
lang/aut_mod_fr.php
Normal file
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
$GLOBALS[$GLOBALS['idx_lang']] = array(
|
||||
|
||||
// A
|
||||
'ajouter_lien_aut_mod' => 'Ajouter ce modèle d\'autorisation',
|
||||
|
||||
// C
|
||||
'champ_modele_label' => 'Modèle',
|
||||
'champ_nom_label' => 'Nom',
|
||||
'confirmer_supprimer_aut_mod' => 'Confirmez-vous la suppression de ce modèle d\'autorisation ?',
|
||||
|
||||
// I
|
||||
'icone_creer_aut_mod' => 'Créer un modèle d\'autorsation',
|
||||
'icone_modifier_aut_mod' => 'Modifier ce modèle d\'autorisation',
|
||||
'info_1_aut_mod' => 'Un modèle d\'autorisation',
|
||||
'info_aucun_aut_mod' => 'Aucun modèle d\'autorisation',
|
||||
'info_aut_mods_auteur' => 'Les modèles d\'autorisation de cet auteur',
|
||||
'info_nb_aut_mods' => '@nb@ de modèle d\'autorisation',
|
||||
|
||||
// R
|
||||
'retirer_lien_aut_mod' => 'Retirer ce modèle d\'autorisation',
|
||||
'retirer_tous_liens_aut_mods' => 'Retirer tous les modèles d\'autorisation',
|
||||
|
||||
// S
|
||||
'supprimer_aut_mod' => 'Supprimer ce modèle d\'autorisation',
|
||||
|
||||
// T
|
||||
'texte_ajouter_aut_mod' => 'Ajouter un modèle d\'autorisation',
|
||||
'texte_changer_statut_aut_mod' => 'Ce modèle d\'autorisation est :',
|
||||
'texte_creer_associer_aut_mod' => 'Créer et associer un modèle d\'autorisation',
|
||||
'texte_definir_comme_traduction_aut_mod' => 'Ce modèle d\'autorisation est une traduction du modèle d\'autorisation numéro :',
|
||||
'titre_aut_mod' => 'modèle d\'autorisations',
|
||||
'titre_aut_mods' => 'Modèle d\'autorisations',
|
||||
'titre_aut_mods_rubrique' => 'Modèle d\'autorisation de la rubrique',
|
||||
'titre_langue_aut_mod' => 'Langue de ce modèle d\'autorisation',
|
||||
'titre_logo_aut_mod' => 'Logo de ce modèle d\'autorisation',
|
||||
'titre_objets_lies_aut_mod' => 'Liés à ce modèle d\'autorisation',
|
||||
);
|
20
lang/auted_fr.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
$GLOBALS[$GLOBALS['idx_lang']] = array(
|
||||
|
||||
// A
|
||||
'auted_titre' => 'Autorisations étendues',
|
||||
|
||||
// C
|
||||
'cfg_exemple' => 'Exemple',
|
||||
'cfg_exemple_explication' => 'Explication de cet exemple',
|
||||
'cfg_titre_parametrages' => 'Paramétrages',
|
||||
|
||||
// T
|
||||
'titre_page_configurer_auted' => 'Autorisations étendues',
|
||||
);
|
14
lang/paquet-auted_fr.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
$GLOBALS[$GLOBALS['idx_lang']] = array(
|
||||
|
||||
// A
|
||||
'auted_description' => '',
|
||||
'auted_nom' => 'Autorisations étendues',
|
||||
'auted_slogan' => '',
|
||||
);
|
32
paquet.xml
Normal file
|
@ -0,0 +1,32 @@
|
|||
<paquet
|
||||
prefix="auted"
|
||||
categorie="outil"
|
||||
version="1.0.0"
|
||||
etat="dev"
|
||||
compatibilite="[3.2.0-dev;3.3.*]"
|
||||
logo="prive/themes/spip/images/auted-64.png"
|
||||
documentation=""
|
||||
schema="1.0.0"
|
||||
>
|
||||
<!--
|
||||
Paquet généré le 2020-02-10 11:18:59
|
||||
-->
|
||||
|
||||
<nom>Autorisations étendues</nom>
|
||||
|
||||
|
||||
<auteur lien='https://gamuza.fr'>tofulm</auteur>
|
||||
|
||||
<licence>GNU/GPL</licence>
|
||||
<necessite nom="saisies" compatibilite="[3.23.2;]" />
|
||||
|
||||
<utilise nom="chosen" compatibilite="[1.8.0;]" />
|
||||
|
||||
|
||||
<pipeline nom="autoriser" inclure="auted_autorisations.php" />
|
||||
|
||||
<pipeline nom="declarer_tables_objets_sql" inclure="base/auted.php" />
|
||||
<pipeline nom="declarer_tables_interfaces" inclure="base/auted.php" />
|
||||
<pipeline nom="optimiser_base_disparus" inclure="auted_pipelines.php" />
|
||||
|
||||
</paquet>
|
12
prive/objets/contenu/aut_mod.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<BOUCLE_aut_mod(AUT_MODS){id_aut_mod}{statut?}>
|
||||
[<div class="champ contenu_nom[ (#NOM*|strlen|?{'',vide})]">
|
||||
<div class="label"><:aut_mod:champ_nom_label:> : </div>
|
||||
<span dir="#LANG_DIR" class="#EDIT{nom} nom">(#NOM)</span>
|
||||
</div>]
|
||||
|
||||
[<div class="champ contenu_modele[ (#MODELE*|strlen|?{'',vide})]">
|
||||
<div class="label"><:aut_mod:champ_modele_label:> : </div>
|
||||
<span dir="#LANG_DIR" class="#EDIT{modele} modele">(#MODELE)</span>
|
||||
</div>]
|
||||
|
||||
</BOUCLE_aut_mod>
|
36
prive/objets/liste/aut_mods.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
[(#SET{defaut_tri,#ARRAY{
|
||||
nom,1,
|
||||
id_aut_mod,1,
|
||||
points,-1
|
||||
}})]<B_liste_aut_mods>
|
||||
#ANCRE_PAGINATION
|
||||
<div class="liste-objets aut_mods">
|
||||
<table class="spip liste">
|
||||
[<caption><strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{aut_mod:info_1_aut_mod,aut_mod:info_nb_aut_mods}})</strong></caption>]
|
||||
<thead>
|
||||
<tr class="first_row">
|
||||
<th class="picto" scope="col"></th>
|
||||
<th class="statut" scope="col">[(#TRI{statut,<span title="<:lien_trier_statut|attribut_html:>">#</span>,ajax})]</th>
|
||||
<th class="nom" scope="col">[(#TRI{nom,<:aut_mod:champ_nom_label:>,ajax})]</th>
|
||||
<th class="id" scope="col">[(#TRI{id_aut_mod,<:info_numero_abbreviation:>,ajax})]</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<BOUCLE_liste_aut_mods(AUT_MODS){id_mot?}{id_auteur?}{where?}{statut?}{recherche?}{tri #ENV{par,num nom},#GET{defaut_tri}}{par nom}{pagination #ENV{nb,10}}>
|
||||
<tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
|
||||
<td class="picto">[(#CHEMIN_IMAGE{aut_mod-16.png}|balise_img)]</td>
|
||||
<td class="statut">[(#STATUT|puce_statut{aut_mod,#ID_AUT_MOD})]</td>
|
||||
<td class="nom principale">[(#LOGO_AUT_MOD|image_reduire{20,26})]<a href="[(#ID_AUT_MOD|generer_url_entite{aut_mod})]" title="<:info_numero_abbreviation|attribut_html:> #ID_AUT_MOD">[(#RANG). ]#NOM</a></td>
|
||||
<td class="id">[(#AUTORISER{modifier,aut_mod,#ID_AUT_MOD}|?{
|
||||
<a href="[(#URL_ECRIRE{aut_mod_edit,id_aut_mod=#ID_AUT_MOD})]">#ID_AUT_MOD</a>,
|
||||
#ID_AUT_MOD
|
||||
})]</td>
|
||||
</tr>
|
||||
</BOUCLE_liste_aut_mods>
|
||||
</tbody>
|
||||
</table>
|
||||
[<p class="pagination">(#PAGINATION{prive})</p>]
|
||||
</div>
|
||||
</B_liste_aut_mods>[
|
||||
<div class="liste-objets aut_mods caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
|
||||
]<//B_liste_aut_mods>
|
7
prive/squelettes/contenu/configurer_auted.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
[(#AUTORISER{configurer,_auted}|sinon_interdire_acces)]
|
||||
|
||||
<h1 class="grostitre"><:auted:titre_page_configurer_auted:></h1>
|
||||
|
||||
<div class="ajax">
|
||||
#FORMULAIRE_CONFIGURER_AUTED
|
||||
</div>
|
39
prive/themes/spip/images/aut_mod-12.png
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:version="1.1-dev (6c977cb37d, 2020-02-03)" height="15" width="12" sodipodi:docname="autorisations.svg" id="svg893" xml:space="preserve" viewBox="0 0 40 48" y="0px" x="0px" version="1.1"><rect x="0" y="0" width="40" height="48" fill="#cccccc"/><metadata
|
||||
id="metadata899"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs897" /><sodipodi:namedview
|
||||
inkscape:current-layer="svg893"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:window-y="20"
|
||||
inkscape:window-x="0"
|
||||
inkscape:cy="23.789701"
|
||||
inkscape:cx="24.06633"
|
||||
inkscape:zoom="9.864"
|
||||
showgrid="false"
|
||||
id="namedview895"
|
||||
inkscape:window-height="1416"
|
||||
inkscape:window-width="2556"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" /><g
|
||||
transform="translate(-5,-1)"
|
||||
id="g910"><path
|
||||
inkscape:connector-curvature="0"
|
||||
d="M 45,28.1 V 21.6 H 38.8 V 14.9 C 38.8,7.2 32.6,1 25,1 17.4,1 11.2,7.2 11.2,14.8 v 6.7 H 5 V 28 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 V 49 h 40 v -6.5 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 Z M 17.8,14.8 c 0,-4 3.2,-7.2 7.2,-7.2 4,0 7.2,3.2 7.2,7.2 v 6.7 H 17.8 Z M 28.9,42.3 H 21 l 1.6,-7 c -1,-0.7 -1.6,-1.8 -1.6,-3.1 0,-2.2 1.8,-3.9 3.9,-3.9 2.2,0 3.9,1.8 3.9,3.9 0,1.3 -0.6,2.4 -1.6,3.1 z"
|
||||
id="path887"
|
||||
style="fill:#c91869;fill-opacity:1" /><path
|
||||
style="fill:#ff0000;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.110158,42.01902 c 0.03114,-0.125456 0.389224,-1.687058 0.795749,-3.470225 l 0.739136,-3.242124 -0.494365,-0.481526 c -0.271901,-0.26484 -0.616889,-0.744753 -0.76664,-1.066474 -0.234752,-0.504332 -0.272528,-0.717923 -0.274108,-1.549825 -0.0017,-0.885029 0.02536,-1.020144 0.326765,-1.632705 0.395709,-0.804223 1.120517,-1.515964 1.930318,-1.895518 0.50153,-0.235067 0.709833,-0.2717 1.54492,-0.2717 0.88595,0 1.020718,0.02732 1.640797,0.33258 2.369361,1.166433 2.921921,4.267692 1.08727,6.102342 l -0.48035,0.480351 0.8034,3.33474 c 0.44187,1.834107 0.823821,3.391765 0.84878,3.461463 0.0358,0.09997 -0.778371,0.126723 -3.856452,0.126723 h -3.901832 z"
|
||||
id="path901"
|
||||
inkscape:connector-curvature="0" /><path
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.463308,41.866952 c 2.11e-4,-0.04182 0.339057,-1.558041 0.752992,-3.369382 l 0.752609,-3.293347 -0.537551,-0.563566 c -0.834684,-0.875078 -1.002668,-1.280826 -1.00606,-2.430031 -0.0025,-0.856439 0.02815,-1.023024 0.277042,-1.504208 0.356932,-0.69007 1.013574,-1.346602 1.703254,-1.702968 0.479093,-0.247554 0.65149,-0.279621 1.504207,-0.279799 0.811016,-1.7e-4 1.035138,0.03713 1.419303,0.236196 1.09662,0.568251 1.70938,1.33111 1.993279,2.481545 0.294595,1.193784 -0.03717,2.283787 -0.992594,3.261085 l -0.503438,0.514965 0.764206,3.13467 c 0.420313,1.724068 0.788316,3.237315 0.817785,3.362772 l 0.05358,0.228102 h -3.499499 c -1.924724,0 -3.499325,-0.03422 -3.499114,-0.07603 z"
|
||||
id="path905"
|
||||
inkscape:connector-curvature="0" /></g></svg>
|
After Width: | Height: | Size: 3.6 KiB |
39
prive/themes/spip/images/aut_mod-16.png
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:version="1.1-dev (6c977cb37d, 2020-02-03)" height="20" width="16" sodipodi:docname="autorisations.svg" id="svg893" xml:space="preserve" viewBox="0 0 40 48" y="0px" x="0px" version="1.1"><rect x="0" y="0" width="40" height="48" fill="#cccccc"/><metadata
|
||||
id="metadata899"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs897" /><sodipodi:namedview
|
||||
inkscape:current-layer="svg893"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:window-y="20"
|
||||
inkscape:window-x="0"
|
||||
inkscape:cy="23.789701"
|
||||
inkscape:cx="24.06633"
|
||||
inkscape:zoom="9.864"
|
||||
showgrid="false"
|
||||
id="namedview895"
|
||||
inkscape:window-height="1416"
|
||||
inkscape:window-width="2556"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" /><g
|
||||
transform="translate(-5,-1)"
|
||||
id="g910"><path
|
||||
inkscape:connector-curvature="0"
|
||||
d="M 45,28.1 V 21.6 H 38.8 V 14.9 C 38.8,7.2 32.6,1 25,1 17.4,1 11.2,7.2 11.2,14.8 v 6.7 H 5 V 28 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 V 49 h 40 v -6.5 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 Z M 17.8,14.8 c 0,-4 3.2,-7.2 7.2,-7.2 4,0 7.2,3.2 7.2,7.2 v 6.7 H 17.8 Z M 28.9,42.3 H 21 l 1.6,-7 c -1,-0.7 -1.6,-1.8 -1.6,-3.1 0,-2.2 1.8,-3.9 3.9,-3.9 2.2,0 3.9,1.8 3.9,3.9 0,1.3 -0.6,2.4 -1.6,3.1 z"
|
||||
id="path887"
|
||||
style="fill:#c91869;fill-opacity:1" /><path
|
||||
style="fill:#ff0000;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.110158,42.01902 c 0.03114,-0.125456 0.389224,-1.687058 0.795749,-3.470225 l 0.739136,-3.242124 -0.494365,-0.481526 c -0.271901,-0.26484 -0.616889,-0.744753 -0.76664,-1.066474 -0.234752,-0.504332 -0.272528,-0.717923 -0.274108,-1.549825 -0.0017,-0.885029 0.02536,-1.020144 0.326765,-1.632705 0.395709,-0.804223 1.120517,-1.515964 1.930318,-1.895518 0.50153,-0.235067 0.709833,-0.2717 1.54492,-0.2717 0.88595,0 1.020718,0.02732 1.640797,0.33258 2.369361,1.166433 2.921921,4.267692 1.08727,6.102342 l -0.48035,0.480351 0.8034,3.33474 c 0.44187,1.834107 0.823821,3.391765 0.84878,3.461463 0.0358,0.09997 -0.778371,0.126723 -3.856452,0.126723 h -3.901832 z"
|
||||
id="path901"
|
||||
inkscape:connector-curvature="0" /><path
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.463308,41.866952 c 2.11e-4,-0.04182 0.339057,-1.558041 0.752992,-3.369382 l 0.752609,-3.293347 -0.537551,-0.563566 c -0.834684,-0.875078 -1.002668,-1.280826 -1.00606,-2.430031 -0.0025,-0.856439 0.02815,-1.023024 0.277042,-1.504208 0.356932,-0.69007 1.013574,-1.346602 1.703254,-1.702968 0.479093,-0.247554 0.65149,-0.279621 1.504207,-0.279799 0.811016,-1.7e-4 1.035138,0.03713 1.419303,0.236196 1.09662,0.568251 1.70938,1.33111 1.993279,2.481545 0.294595,1.193784 -0.03717,2.283787 -0.992594,3.261085 l -0.503438,0.514965 0.764206,3.13467 c 0.420313,1.724068 0.788316,3.237315 0.817785,3.362772 l 0.05358,0.228102 h -3.499499 c -1.924724,0 -3.499325,-0.03422 -3.499114,-0.07603 z"
|
||||
id="path905"
|
||||
inkscape:connector-curvature="0" /></g></svg>
|
After Width: | Height: | Size: 3.6 KiB |
39
prive/themes/spip/images/aut_mod-24.png
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:version="1.1-dev (6c977cb37d, 2020-02-03)" height="29" width="24" sodipodi:docname="autorisations.svg" id="svg893" xml:space="preserve" viewBox="0 0 40 48" y="0px" x="0px" version="1.1"><rect x="0" y="0" width="40" height="48" fill="#cccccc"/><metadata
|
||||
id="metadata899"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs897" /><sodipodi:namedview
|
||||
inkscape:current-layer="svg893"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:window-y="20"
|
||||
inkscape:window-x="0"
|
||||
inkscape:cy="23.789701"
|
||||
inkscape:cx="24.06633"
|
||||
inkscape:zoom="9.864"
|
||||
showgrid="false"
|
||||
id="namedview895"
|
||||
inkscape:window-height="1416"
|
||||
inkscape:window-width="2556"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" /><g
|
||||
transform="translate(-5,-1)"
|
||||
id="g910"><path
|
||||
inkscape:connector-curvature="0"
|
||||
d="M 45,28.1 V 21.6 H 38.8 V 14.9 C 38.8,7.2 32.6,1 25,1 17.4,1 11.2,7.2 11.2,14.8 v 6.7 H 5 V 28 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 V 49 h 40 v -6.5 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 Z M 17.8,14.8 c 0,-4 3.2,-7.2 7.2,-7.2 4,0 7.2,3.2 7.2,7.2 v 6.7 H 17.8 Z M 28.9,42.3 H 21 l 1.6,-7 c -1,-0.7 -1.6,-1.8 -1.6,-3.1 0,-2.2 1.8,-3.9 3.9,-3.9 2.2,0 3.9,1.8 3.9,3.9 0,1.3 -0.6,2.4 -1.6,3.1 z"
|
||||
id="path887"
|
||||
style="fill:#c91869;fill-opacity:1" /><path
|
||||
style="fill:#ff0000;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.110158,42.01902 c 0.03114,-0.125456 0.389224,-1.687058 0.795749,-3.470225 l 0.739136,-3.242124 -0.494365,-0.481526 c -0.271901,-0.26484 -0.616889,-0.744753 -0.76664,-1.066474 -0.234752,-0.504332 -0.272528,-0.717923 -0.274108,-1.549825 -0.0017,-0.885029 0.02536,-1.020144 0.326765,-1.632705 0.395709,-0.804223 1.120517,-1.515964 1.930318,-1.895518 0.50153,-0.235067 0.709833,-0.2717 1.54492,-0.2717 0.88595,0 1.020718,0.02732 1.640797,0.33258 2.369361,1.166433 2.921921,4.267692 1.08727,6.102342 l -0.48035,0.480351 0.8034,3.33474 c 0.44187,1.834107 0.823821,3.391765 0.84878,3.461463 0.0358,0.09997 -0.778371,0.126723 -3.856452,0.126723 h -3.901832 z"
|
||||
id="path901"
|
||||
inkscape:connector-curvature="0" /><path
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.463308,41.866952 c 2.11e-4,-0.04182 0.339057,-1.558041 0.752992,-3.369382 l 0.752609,-3.293347 -0.537551,-0.563566 c -0.834684,-0.875078 -1.002668,-1.280826 -1.00606,-2.430031 -0.0025,-0.856439 0.02815,-1.023024 0.277042,-1.504208 0.356932,-0.69007 1.013574,-1.346602 1.703254,-1.702968 0.479093,-0.247554 0.65149,-0.279621 1.504207,-0.279799 0.811016,-1.7e-4 1.035138,0.03713 1.419303,0.236196 1.09662,0.568251 1.70938,1.33111 1.993279,2.481545 0.294595,1.193784 -0.03717,2.283787 -0.992594,3.261085 l -0.503438,0.514965 0.764206,3.13467 c 0.420313,1.724068 0.788316,3.237315 0.817785,3.362772 l 0.05358,0.228102 h -3.499499 c -1.924724,0 -3.499325,-0.03422 -3.499114,-0.07603 z"
|
||||
id="path905"
|
||||
inkscape:connector-curvature="0" /></g></svg>
|
After Width: | Height: | Size: 3.6 KiB |
39
prive/themes/spip/images/aut_mod-32.png
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:version="1.1-dev (6c977cb37d, 2020-02-03)" height="39" width="32" sodipodi:docname="autorisations.svg" id="svg893" xml:space="preserve" viewBox="0 0 40 48" y="0px" x="0px" version="1.1"><rect x="0" y="0" width="40" height="48" fill="#cccccc"/><metadata
|
||||
id="metadata899"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs897" /><sodipodi:namedview
|
||||
inkscape:current-layer="svg893"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:window-y="20"
|
||||
inkscape:window-x="0"
|
||||
inkscape:cy="23.789701"
|
||||
inkscape:cx="24.06633"
|
||||
inkscape:zoom="9.864"
|
||||
showgrid="false"
|
||||
id="namedview895"
|
||||
inkscape:window-height="1416"
|
||||
inkscape:window-width="2556"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" /><g
|
||||
transform="translate(-5,-1)"
|
||||
id="g910"><path
|
||||
inkscape:connector-curvature="0"
|
||||
d="M 45,28.1 V 21.6 H 38.8 V 14.9 C 38.8,7.2 32.6,1 25,1 17.4,1 11.2,7.2 11.2,14.8 v 6.7 H 5 V 28 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 V 49 h 40 v -6.5 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 Z M 17.8,14.8 c 0,-4 3.2,-7.2 7.2,-7.2 4,0 7.2,3.2 7.2,7.2 v 6.7 H 17.8 Z M 28.9,42.3 H 21 l 1.6,-7 c -1,-0.7 -1.6,-1.8 -1.6,-3.1 0,-2.2 1.8,-3.9 3.9,-3.9 2.2,0 3.9,1.8 3.9,3.9 0,1.3 -0.6,2.4 -1.6,3.1 z"
|
||||
id="path887"
|
||||
style="fill:#c91869;fill-opacity:1" /><path
|
||||
style="fill:#ff0000;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.110158,42.01902 c 0.03114,-0.125456 0.389224,-1.687058 0.795749,-3.470225 l 0.739136,-3.242124 -0.494365,-0.481526 c -0.271901,-0.26484 -0.616889,-0.744753 -0.76664,-1.066474 -0.234752,-0.504332 -0.272528,-0.717923 -0.274108,-1.549825 -0.0017,-0.885029 0.02536,-1.020144 0.326765,-1.632705 0.395709,-0.804223 1.120517,-1.515964 1.930318,-1.895518 0.50153,-0.235067 0.709833,-0.2717 1.54492,-0.2717 0.88595,0 1.020718,0.02732 1.640797,0.33258 2.369361,1.166433 2.921921,4.267692 1.08727,6.102342 l -0.48035,0.480351 0.8034,3.33474 c 0.44187,1.834107 0.823821,3.391765 0.84878,3.461463 0.0358,0.09997 -0.778371,0.126723 -3.856452,0.126723 h -3.901832 z"
|
||||
id="path901"
|
||||
inkscape:connector-curvature="0" /><path
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.463308,41.866952 c 2.11e-4,-0.04182 0.339057,-1.558041 0.752992,-3.369382 l 0.752609,-3.293347 -0.537551,-0.563566 c -0.834684,-0.875078 -1.002668,-1.280826 -1.00606,-2.430031 -0.0025,-0.856439 0.02815,-1.023024 0.277042,-1.504208 0.356932,-0.69007 1.013574,-1.346602 1.703254,-1.702968 0.479093,-0.247554 0.65149,-0.279621 1.504207,-0.279799 0.811016,-1.7e-4 1.035138,0.03713 1.419303,0.236196 1.09662,0.568251 1.70938,1.33111 1.993279,2.481545 0.294595,1.193784 -0.03717,2.283787 -0.992594,3.261085 l -0.503438,0.514965 0.764206,3.13467 c 0.420313,1.724068 0.788316,3.237315 0.817785,3.362772 l 0.05358,0.228102 h -3.499499 c -1.924724,0 -3.499325,-0.03422 -3.499114,-0.07603 z"
|
||||
id="path905"
|
||||
inkscape:connector-curvature="0" /></g></svg>
|
After Width: | Height: | Size: 3.6 KiB |
39
prive/themes/spip/images/aut_mod-new-16.png
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:version="1.1-dev (6c977cb37d, 2020-02-03)" height="20" width="16" sodipodi:docname="autorisations.svg" id="svg893" xml:space="preserve" viewBox="0 0 40 48" y="0px" x="0px" version="1.1"><rect x="0" y="0" width="40" height="48" fill="#cccccc"/><metadata
|
||||
id="metadata899"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs897" /><sodipodi:namedview
|
||||
inkscape:current-layer="svg893"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:window-y="20"
|
||||
inkscape:window-x="0"
|
||||
inkscape:cy="23.789701"
|
||||
inkscape:cx="24.06633"
|
||||
inkscape:zoom="9.864"
|
||||
showgrid="false"
|
||||
id="namedview895"
|
||||
inkscape:window-height="1416"
|
||||
inkscape:window-width="2556"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" /><g
|
||||
transform="translate(-5,-1)"
|
||||
id="g910"><path
|
||||
inkscape:connector-curvature="0"
|
||||
d="M 45,28.1 V 21.6 H 38.8 V 14.9 C 38.8,7.2 32.6,1 25,1 17.4,1 11.2,7.2 11.2,14.8 v 6.7 H 5 V 28 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 V 49 h 40 v -6.5 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 Z M 17.8,14.8 c 0,-4 3.2,-7.2 7.2,-7.2 4,0 7.2,3.2 7.2,7.2 v 6.7 H 17.8 Z M 28.9,42.3 H 21 l 1.6,-7 c -1,-0.7 -1.6,-1.8 -1.6,-3.1 0,-2.2 1.8,-3.9 3.9,-3.9 2.2,0 3.9,1.8 3.9,3.9 0,1.3 -0.6,2.4 -1.6,3.1 z"
|
||||
id="path887"
|
||||
style="fill:#c91869;fill-opacity:1" /><path
|
||||
style="fill:#ff0000;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.110158,42.01902 c 0.03114,-0.125456 0.389224,-1.687058 0.795749,-3.470225 l 0.739136,-3.242124 -0.494365,-0.481526 c -0.271901,-0.26484 -0.616889,-0.744753 -0.76664,-1.066474 -0.234752,-0.504332 -0.272528,-0.717923 -0.274108,-1.549825 -0.0017,-0.885029 0.02536,-1.020144 0.326765,-1.632705 0.395709,-0.804223 1.120517,-1.515964 1.930318,-1.895518 0.50153,-0.235067 0.709833,-0.2717 1.54492,-0.2717 0.88595,0 1.020718,0.02732 1.640797,0.33258 2.369361,1.166433 2.921921,4.267692 1.08727,6.102342 l -0.48035,0.480351 0.8034,3.33474 c 0.44187,1.834107 0.823821,3.391765 0.84878,3.461463 0.0358,0.09997 -0.778371,0.126723 -3.856452,0.126723 h -3.901832 z"
|
||||
id="path901"
|
||||
inkscape:connector-curvature="0" /><path
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.463308,41.866952 c 2.11e-4,-0.04182 0.339057,-1.558041 0.752992,-3.369382 l 0.752609,-3.293347 -0.537551,-0.563566 c -0.834684,-0.875078 -1.002668,-1.280826 -1.00606,-2.430031 -0.0025,-0.856439 0.02815,-1.023024 0.277042,-1.504208 0.356932,-0.69007 1.013574,-1.346602 1.703254,-1.702968 0.479093,-0.247554 0.65149,-0.279621 1.504207,-0.279799 0.811016,-1.7e-4 1.035138,0.03713 1.419303,0.236196 1.09662,0.568251 1.70938,1.33111 1.993279,2.481545 0.294595,1.193784 -0.03717,2.283787 -0.992594,3.261085 l -0.503438,0.514965 0.764206,3.13467 c 0.420313,1.724068 0.788316,3.237315 0.817785,3.362772 l 0.05358,0.228102 h -3.499499 c -1.924724,0 -3.499325,-0.03422 -3.499114,-0.07603 z"
|
||||
id="path905"
|
||||
inkscape:connector-curvature="0" /></g></svg>
|
After Width: | Height: | Size: 3.6 KiB |
56
prive/themes/spip/images/auted-128.png
Normal file
|
@ -0,0 +1,56 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:version="1.1-dev (6c977cb37d, 2020-02-03)"
|
||||
height="48"
|
||||
width="40"
|
||||
sodipodi:docname="autorisations.svg"
|
||||
id="svg893"
|
||||
xml:space="preserve"
|
||||
viewBox="0 0 40 48"
|
||||
y="0px"
|
||||
x="0px"
|
||||
version="1.1"><rect x="0" y="0" width="40" height="48" fill="#cccccc"/><metadata
|
||||
id="metadata899"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs897" /><sodipodi:namedview
|
||||
inkscape:current-layer="svg893"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:window-y="20"
|
||||
inkscape:window-x="0"
|
||||
inkscape:cy="23.789701"
|
||||
inkscape:cx="24.06633"
|
||||
inkscape:zoom="9.864"
|
||||
showgrid="false"
|
||||
id="namedview895"
|
||||
inkscape:window-height="1416"
|
||||
inkscape:window-width="2556"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" /><g
|
||||
transform="translate(-5,-1)"
|
||||
id="g910"><path
|
||||
inkscape:connector-curvature="0"
|
||||
d="M 45,28.1 V 21.6 H 38.8 V 14.9 C 38.8,7.2 32.6,1 25,1 17.4,1 11.2,7.2 11.2,14.8 v 6.7 H 5 V 28 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 V 49 h 40 v -6.5 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 Z M 17.8,14.8 c 0,-4 3.2,-7.2 7.2,-7.2 4,0 7.2,3.2 7.2,7.2 v 6.7 H 17.8 Z M 28.9,42.3 H 21 l 1.6,-7 c -1,-0.7 -1.6,-1.8 -1.6,-3.1 0,-2.2 1.8,-3.9 3.9,-3.9 2.2,0 3.9,1.8 3.9,3.9 0,1.3 -0.6,2.4 -1.6,3.1 z"
|
||||
id="path887"
|
||||
style="fill:#c91869;fill-opacity:1" /><path
|
||||
style="fill:#ff0000;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.110158,42.01902 c 0.03114,-0.125456 0.389224,-1.687058 0.795749,-3.470225 l 0.739136,-3.242124 -0.494365,-0.481526 c -0.271901,-0.26484 -0.616889,-0.744753 -0.76664,-1.066474 -0.234752,-0.504332 -0.272528,-0.717923 -0.274108,-1.549825 -0.0017,-0.885029 0.02536,-1.020144 0.326765,-1.632705 0.395709,-0.804223 1.120517,-1.515964 1.930318,-1.895518 0.50153,-0.235067 0.709833,-0.2717 1.54492,-0.2717 0.88595,0 1.020718,0.02732 1.640797,0.33258 2.369361,1.166433 2.921921,4.267692 1.08727,6.102342 l -0.48035,0.480351 0.8034,3.33474 c 0.44187,1.834107 0.823821,3.391765 0.84878,3.461463 0.0358,0.09997 -0.778371,0.126723 -3.856452,0.126723 h -3.901832 z"
|
||||
id="path901"
|
||||
inkscape:connector-curvature="0" /><path
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.463308,41.866952 c 2.11e-4,-0.04182 0.339057,-1.558041 0.752992,-3.369382 l 0.752609,-3.293347 -0.537551,-0.563566 c -0.834684,-0.875078 -1.002668,-1.280826 -1.00606,-2.430031 -0.0025,-0.856439 0.02815,-1.023024 0.277042,-1.504208 0.356932,-0.69007 1.013574,-1.346602 1.703254,-1.702968 0.479093,-0.247554 0.65149,-0.279621 1.504207,-0.279799 0.811016,-1.7e-4 1.035138,0.03713 1.419303,0.236196 1.09662,0.568251 1.70938,1.33111 1.993279,2.481545 0.294595,1.193784 -0.03717,2.283787 -0.992594,3.261085 l -0.503438,0.514965 0.764206,3.13467 c 0.420313,1.724068 0.788316,3.237315 0.817785,3.362772 l 0.05358,0.228102 h -3.499499 c -1.924724,0 -3.499325,-0.03422 -3.499114,-0.07603 z"
|
||||
id="path905"
|
||||
inkscape:connector-curvature="0" /></g></svg>
|
After Width: | Height: | Size: 3.7 KiB |
39
prive/themes/spip/images/auted-32.png
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:version="1.1-dev (6c977cb37d, 2020-02-03)" height="39" width="32" sodipodi:docname="autorisations.svg" id="svg893" xml:space="preserve" viewBox="0 0 40 48" y="0px" x="0px" version="1.1"><rect x="0" y="0" width="40" height="48" fill="#cccccc"/><metadata
|
||||
id="metadata899"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs897" /><sodipodi:namedview
|
||||
inkscape:current-layer="svg893"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:window-y="20"
|
||||
inkscape:window-x="0"
|
||||
inkscape:cy="23.789701"
|
||||
inkscape:cx="24.06633"
|
||||
inkscape:zoom="9.864"
|
||||
showgrid="false"
|
||||
id="namedview895"
|
||||
inkscape:window-height="1416"
|
||||
inkscape:window-width="2556"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" /><g
|
||||
transform="translate(-5,-1)"
|
||||
id="g910"><path
|
||||
inkscape:connector-curvature="0"
|
||||
d="M 45,28.1 V 21.6 H 38.8 V 14.9 C 38.8,7.2 32.6,1 25,1 17.4,1 11.2,7.2 11.2,14.8 v 6.7 H 5 V 28 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 V 49 h 40 v -6.5 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 Z M 17.8,14.8 c 0,-4 3.2,-7.2 7.2,-7.2 4,0 7.2,3.2 7.2,7.2 v 6.7 H 17.8 Z M 28.9,42.3 H 21 l 1.6,-7 c -1,-0.7 -1.6,-1.8 -1.6,-3.1 0,-2.2 1.8,-3.9 3.9,-3.9 2.2,0 3.9,1.8 3.9,3.9 0,1.3 -0.6,2.4 -1.6,3.1 z"
|
||||
id="path887"
|
||||
style="fill:#c91869;fill-opacity:1" /><path
|
||||
style="fill:#ff0000;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.110158,42.01902 c 0.03114,-0.125456 0.389224,-1.687058 0.795749,-3.470225 l 0.739136,-3.242124 -0.494365,-0.481526 c -0.271901,-0.26484 -0.616889,-0.744753 -0.76664,-1.066474 -0.234752,-0.504332 -0.272528,-0.717923 -0.274108,-1.549825 -0.0017,-0.885029 0.02536,-1.020144 0.326765,-1.632705 0.395709,-0.804223 1.120517,-1.515964 1.930318,-1.895518 0.50153,-0.235067 0.709833,-0.2717 1.54492,-0.2717 0.88595,0 1.020718,0.02732 1.640797,0.33258 2.369361,1.166433 2.921921,4.267692 1.08727,6.102342 l -0.48035,0.480351 0.8034,3.33474 c 0.44187,1.834107 0.823821,3.391765 0.84878,3.461463 0.0358,0.09997 -0.778371,0.126723 -3.856452,0.126723 h -3.901832 z"
|
||||
id="path901"
|
||||
inkscape:connector-curvature="0" /><path
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.463308,41.866952 c 2.11e-4,-0.04182 0.339057,-1.558041 0.752992,-3.369382 l 0.752609,-3.293347 -0.537551,-0.563566 c -0.834684,-0.875078 -1.002668,-1.280826 -1.00606,-2.430031 -0.0025,-0.856439 0.02815,-1.023024 0.277042,-1.504208 0.356932,-0.69007 1.013574,-1.346602 1.703254,-1.702968 0.479093,-0.247554 0.65149,-0.279621 1.504207,-0.279799 0.811016,-1.7e-4 1.035138,0.03713 1.419303,0.236196 1.09662,0.568251 1.70938,1.33111 1.993279,2.481545 0.294595,1.193784 -0.03717,2.283787 -0.992594,3.261085 l -0.503438,0.514965 0.764206,3.13467 c 0.420313,1.724068 0.788316,3.237315 0.817785,3.362772 l 0.05358,0.228102 h -3.499499 c -1.924724,0 -3.499325,-0.03422 -3.499114,-0.07603 z"
|
||||
id="path905"
|
||||
inkscape:connector-curvature="0" /></g></svg>
|
After Width: | Height: | Size: 3.6 KiB |
56
prive/themes/spip/images/auted-64.png
Normal file
|
@ -0,0 +1,56 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:version="1.1-dev (6c977cb37d, 2020-02-03)"
|
||||
height="48"
|
||||
width="40"
|
||||
sodipodi:docname="autorisations.svg"
|
||||
id="svg893"
|
||||
xml:space="preserve"
|
||||
viewBox="0 0 40 48"
|
||||
y="0px"
|
||||
x="0px"
|
||||
version="1.1"><rect x="0" y="0" width="40" height="48" fill="#cccccc"/><metadata
|
||||
id="metadata899"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs897" /><sodipodi:namedview
|
||||
inkscape:current-layer="svg893"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:window-y="20"
|
||||
inkscape:window-x="0"
|
||||
inkscape:cy="23.789701"
|
||||
inkscape:cx="24.06633"
|
||||
inkscape:zoom="9.864"
|
||||
showgrid="false"
|
||||
id="namedview895"
|
||||
inkscape:window-height="1416"
|
||||
inkscape:window-width="2556"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" /><g
|
||||
transform="translate(-5,-1)"
|
||||
id="g910"><path
|
||||
inkscape:connector-curvature="0"
|
||||
d="M 45,28.1 V 21.6 H 38.8 V 14.9 C 38.8,7.2 32.6,1 25,1 17.4,1 11.2,7.2 11.2,14.8 v 6.7 H 5 V 28 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 v 4.2 h 4.3 v 2 H 5 V 49 h 40 v -6.5 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 v -4.2 h -4.3 v -2 H 45 Z M 17.8,14.8 c 0,-4 3.2,-7.2 7.2,-7.2 4,0 7.2,3.2 7.2,7.2 v 6.7 H 17.8 Z M 28.9,42.3 H 21 l 1.6,-7 c -1,-0.7 -1.6,-1.8 -1.6,-3.1 0,-2.2 1.8,-3.9 3.9,-3.9 2.2,0 3.9,1.8 3.9,3.9 0,1.3 -0.6,2.4 -1.6,3.1 z"
|
||||
id="path887"
|
||||
style="fill:#c91869;fill-opacity:1" /><path
|
||||
style="fill:#ff0000;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.110158,42.01902 c 0.03114,-0.125456 0.389224,-1.687058 0.795749,-3.470225 l 0.739136,-3.242124 -0.494365,-0.481526 c -0.271901,-0.26484 -0.616889,-0.744753 -0.76664,-1.066474 -0.234752,-0.504332 -0.272528,-0.717923 -0.274108,-1.549825 -0.0017,-0.885029 0.02536,-1.020144 0.326765,-1.632705 0.395709,-0.804223 1.120517,-1.515964 1.930318,-1.895518 0.50153,-0.235067 0.709833,-0.2717 1.54492,-0.2717 0.88595,0 1.020718,0.02732 1.640797,0.33258 2.369361,1.166433 2.921921,4.267692 1.08727,6.102342 l -0.48035,0.480351 0.8034,3.33474 c 0.44187,1.834107 0.823821,3.391765 0.84878,3.461463 0.0358,0.09997 -0.778371,0.126723 -3.856452,0.126723 h -3.901832 z"
|
||||
id="path901"
|
||||
inkscape:connector-curvature="0" /><path
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.510645"
|
||||
d="m 21.463308,41.866952 c 2.11e-4,-0.04182 0.339057,-1.558041 0.752992,-3.369382 l 0.752609,-3.293347 -0.537551,-0.563566 c -0.834684,-0.875078 -1.002668,-1.280826 -1.00606,-2.430031 -0.0025,-0.856439 0.02815,-1.023024 0.277042,-1.504208 0.356932,-0.69007 1.013574,-1.346602 1.703254,-1.702968 0.479093,-0.247554 0.65149,-0.279621 1.504207,-0.279799 0.811016,-1.7e-4 1.035138,0.03713 1.419303,0.236196 1.09662,0.568251 1.70938,1.33111 1.993279,2.481545 0.294595,1.193784 -0.03717,2.283787 -0.992594,3.261085 l -0.503438,0.514965 0.764206,3.13467 c 0.420313,1.724068 0.788316,3.237315 0.817785,3.362772 l 0.05358,0.228102 h -3.499499 c -1.924724,0 -3.499325,-0.03422 -3.499114,-0.07603 z"
|
||||
id="path905"
|
||||
inkscape:connector-curvature="0" /></g></svg>
|
After Width: | Height: | Size: 3.7 KiB |