Changeset 95857 in spip-zone


Ignore:
Timestamp:
Mar 8, 2016, 4:34:44 PM (5 years ago)
Author:
cedric@…
Message:

correction du prive (coding rules) + utiliser insert_head_css pour les CSS

Location:
_plugins_/jqvmap/trunk
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/jqvmap/trunk/formulaires/importer_map.html

    r92867 r95857  
    11<div class="formulaire_spip formulaire_#FORM">
     2    <h3 class="titrem"><:map:titre_importer_map:></h3>
    23
    3 [<p class="reponse_formulaire reponse_formulaire_erreur">
    4     (#ENV*{message_erreur})
    5 </p>]
    6 [<p class="reponse_formulaire reponse_formulaire_ok">
    7     (#ENV*{message_ok})
    8 </p>]
     4    [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
     5    [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
    96
    107    <form action="#ENV{action}" method="post" enctype='multipart/form-data'>
  • _plugins_/jqvmap/trunk/jqvmap_pipelines.php

    r91672 r95857  
    1414}
    1515
    16 function jqvmap_header_prive($flux)
    17 {
     16function jqvmap_header_prive($flux) {
    1817    $css = find_in_path('lib/jqvmap/jqvmap/jqvmap.css');
    1918    $flux = $flux."\n<link href='$css' media='screen' rel='stylesheet' type='text/css' />\n";
     
    2423}
    2524
    26 function jqvmap_affiche_droite($flux)
    27 {
    28     if ($flux['args']['exec'] == 'maps') {
    29         $flux['data'] .= recuperer_fond('prive/squelettes/inclure/importer_map');
    30     }
    31 
     25function jqvmap_insert_head_css($flux) {
     26    $css = find_in_path('lib/jqvmap/jqvmap/jqvmap.css');
     27    $flux = $flux."\n<link href='$css' media='screen' rel='stylesheet' type='text/css' />\n";
    3228    return $flux;
    3329}
    3430
    35 function jqvmap_insert_head($flux)
    36 {
    37     $css = find_in_path('lib/jqvmap/jqvmap/jqvmap.css');
    38     $flux = $flux."\n<link href='$css' media='screen' rel='stylesheet' type='text/css' />\n";
     31function jqvmap_insert_head($flux) {
    3932    $js = find_in_path('lib/jqvmap/jqvmap/jquery.vmap.js');
    4033    $flux = $flux."\n<script type='text/javascript' src='$js'></script>\n";
  • _plugins_/jqvmap/trunk/paquet.xml

    r95018 r95857  
    22        prefix="jqvmap"
    33        categorie="multimedia"
    4         version="0.6.2"
     4        version="0.7.0"
    55        etat="experimental"
    66        compatibilite="[3.0.10;3.1.*]"
     
    2727
    2828        <pipeline nom="insert_head" inclure="jqvmap_pipelines.php" />
     29        <pipeline nom="insert_head_css" inclure="jqvmap_pipelines.php" />
    2930        <pipeline nom="header_prive" inclure="jqvmap_pipelines.php" />
    30         <pipeline nom="affiche_droite" inclure="jqvmap_pipelines.php" />
    3131
    3232        <menu nom="maps" titre="map:titre_maps" parent="menu_edition" icone="images/map-16.png" action="maps" />
  • _plugins_/jqvmap/trunk/prive/squelettes/contenu/maps.html

    r91539 r95857  
    1 <h1><:map:titre_maps:></h1>
    2 <div class="nettoyeur"></div>
    31#FORMULAIRE_RECHERCHE_ECRIRE{#SELF,ajax}
     2<h1 class="grostitre"><:map:titre_maps:></h1>
    43<div class="nettoyeur"></div>
    54
  • _plugins_/jqvmap/trunk/prive/squelettes/inclure/importer_map.html

    r91601 r95857  
    1 [(#BOITE_OUVRIR{<:map:titre_importer_map:>, 'simple sans_marge'})]
    21#FORMULAIRE_IMPORTER_MAP
    3 [(#BOITE_FERMER)]
    4 <div class="nettoyeur"></div>
Note: See TracChangeset for help on using the changeset viewer.