Changeset 5771 in spip-zone


Ignore:
Timestamp:
Sep 29, 2006, 7:51:04 AM (15 years ago)
Author:
cedric@…
Message:

calcul du chart force dans l'espace privé et previsu affichée par defaut lors de l'edition

Location:
_plugins_/_stable_/charts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/charts/exec/charts_edit.php

    r4505 r5771  
    189189
    190190                        echo "<div style='padding: 2px; background-color: $couleur_claire; color: black;'>&nbsp;";
    191                         echo bouton_block_invisible("preview_chart");
     191                        echo bouton_block_visible("preview_chart");
    192192                        echo "<strong class='verdana3' style='text-transchart: uppercase;'>"
    193193                                ._T("charts:apparence_graphique")."</strong>";
    194194                        echo "</div>\n";
    195195
    196                         echo debut_block_invisible("preview_chart");
     196                        echo debut_block_visible("preview_chart");
    197197                        echo _T("charts:previsu_info")."<p>\n";
    198198                        echo "<div class='spip_charts'>";
  • _plugins_/_stable_/charts/modeles/chart.html

    r4881 r5771  
    77]
    88#SET{hauteur,#ENV{hauteur,#HAUTEUR}} #SET{largeur,#ENV{largeur,#LARGEUR}}
     9#SET{xml_source,#EVAL{_SPIP_SCRIPT}|parametre_url{page,chart_code,'&'}|parametre_url{id_chart,#ID_CHART,'&'}}
     10[(#EVAL{_DIR_RACINE}|?{' ',''}) #SET{xml_source,#GET{xml_source}|parametre_url{var_mode,calcul,'&'}} ]
    911<div class='spip_chart_#ID_CHART spip_documents[ spip_documents_(#ENV{align})]'[
    1012style='[(#ENV{align}|match{^(left|right)$}|?{' '})float:#ENV{align};] (#ENV{align,center}|=={center}|?{'',' '})']>
     
    1214                data="#CHEMIN{charts.swf}" width="#GET{largeur}" height="#GET{hauteur}">
    1315                <param name="movie" value="#CHEMIN{charts.swf}" />
    14                 <param name="FlashVars" value="library_path=[(#CHEMIN{charts_library}|urlencode)]&xml_source=[#EVAL{_DIR_RACINE}(#REM|sinon{spip.php?page=chart_code&id_chart=#ID_CHART}|urlencode)]" />
     16                <param name="FlashVars" value="library_path=[(#CHEMIN{charts_library}|urlencode)]&xml_source=[#EVAL{_DIR_RACINE}(#GET{xml_source}|urlencode)]" />
    1517                <param name="quality" value="high" />
    1618                <param name="bgcolor" value="##BACKGROUND" />
Note: See TracChangeset for help on using the changeset viewer.