Changeset 109824 in spip-zone
- Timestamp:
- Apr 6, 2018, 10:59:15 AM (3 years ago)
- Location:
- _plugins_/projets_sites/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/projets_sites/trunk/paquet.xml
r108124 r109824 2 2 prefix="projets_sites" 3 3 categorie="divers" 4 version="1. 8.18"4 version="1.9.0" 5 5 etat="stable" 6 6 compatibilite="[3.0.5;3.2.*]" … … 33 33 <pipeline nom="optimiser_base_disparus" inclure="projets_sites_pipelines.php"/> 34 34 <pipeline nom="lister_logiciels_noms" inclure="projets_sites_pipelines.php"/> 35 <pipeline nom="revisions_chercher_label" inclure="projets_sites_pipelines.php"/> 35 36 36 37 <menu nom="projets_sites" titre="projets_site:titre_projets_sites" parent="menu_edition" icone="images/projets_site-16.png" action="projets_sites"/> -
_plugins_/projets_sites/trunk/prive/style_prive_plugin_projets_sites.html
r89546 r109824 120 120 } 121 121 122 .revision #wysiwyg.projets_site .champ { 123 margin-top: 1em; 124 padding-top: 1em; 125 border-top: 1px solid #GET{claire}; 126 } 127 .revision #wysiwyg.projets_site .champ div { 128 display:block; 129 width: 69%; 130 float: right; 131 } 132 .revision #wysiwyg.projets_site .champ .label { 133 display: block; 134 width: 30%; 135 margin-top:0; 136 float: left; 137 font-weight: bold; 138 color: #GET{color}; 139 white-space: normal; 140 } -
_plugins_/projets_sites/trunk/projets_sites_pipelines.php
r104416 r109824 84 84 * Insert header prive 85 85 * 86 * @param string $flux 87 * 88 * @return string $flux 86 89 */ 87 90 function projets_sites_header_prive($flux) { … … 96 99 * Ce pipeline permet de rajouter des écritures de noms de logiciels d'un site 97 100 * 98 * @param $flux 101 * @param array $flux 102 * 103 * @return array $flux 99 104 */ 100 105 function projets_sites_lister_logiciels_noms($flux) { … … 124 129 125 130 } 131 132 /** 133 * Insertion dans le pipeline revisions_chercher_label (Plugin révisions) 134 * Trouver le bon label à afficher sur les champs dans les listes de révisions 135 * 136 * Si un champ est un champ extra, son label correspond au label défini du champs extra 137 * 138 * @pipeline revisions_chercher_label 139 * @param array $flux Données du pipeline 140 * @return array Données du pipeline 141 **/ 142 function projets_sites_revisions_chercher_label($flux) { 143 if (isset($flux['args']['objet']) and $flux['args']['objet'] == 'projets_site') { 144 foreach (array('id_projets_site', 'titre', 'descriptif', 'type_site', 'uniqid', 'webservice', 'logiciel_nom', 'logiciel_version', 'logiciel_revision', 'logiciel_plugins', 'logiciel_charset', 'auteurs_admin', 'auteurs_webmestres', 'fo_url', 'fo_login', 'fo_password', 'bo_url', 'bo_login', 'bo_password', 'serveur_nom', 'serveur_port', 'serveur_path', 'serveur_logiciel', 'serveur_surveillance', 'versioning_path', 'versioning_trac', 'versioning_type', 'sas_serveur', 'sas_port', 'sas_protocole', 'sas_login', 'sas_password', 'sgbd_type', 'sgbd_version', 'sgbd_serveur', 'sgbd_port', 'sgbd_gestion', 'sgbd_nom', 'sgbd_prefixe', 'sgbd_charset', 'sgbd_collation', 'sgbd_login', 'sgbd_password', 'apache_modules', 'php_version', 'php_memory', 'php_extensions', 'php_timezone', 'sso', 'perimetre_acces', 'statistiques', 'moteur_recherche', 'autres_outils', 'remarques', 'date_creation', 'maj') as $champ) { 145 if ($flux['args']['champ'] == $champ) { 146 $flux['data'] = 'projets_site:' . $champ . '_label'; 147 } 148 } 149 } 150 151 return $flux; 152 }
Note: See TracChangeset
for help on using the changeset viewer.