Browse Source

preview devient porte_plume_preview (pour eviter des conflits de noms) ; reduire les images a 500 pour rester idem aux crayons, a l'espace prive et a l'espace public (et ca evite de generer des images reduites pour rien)

2.1
fil@rezo.net 14 years ago
parent
commit
d28adac27e
  1. 2
      .gitattributes
  2. 2
      porte_plume_pipelines.php
  3. 2
      porte_plume_preview.html

2
.gitattributes vendored

@ -38,7 +38,7 @@ markitup/templates/preview.html -text
/porte_plume.js_fonctions.php -text
/porte_plume_options.php -text
/porte_plume_pipelines.php -text
/preview.html -text
/porte_plume_preview.html -text
tests/all_tests.php -text
tests/barre_outil_markitup.php -text
tests/lanceur_spip.php -text

2
porte_plume_pipelines.php

@ -20,7 +20,7 @@ function porte_plume_insert_head($flux){
. "<script type='text/javascript' src='$js_previsu'></script>\n"
. "<script type='text/javascript' src='$js_settings'></script>\n";
$preview = url_absolue(generer_url_public('preview'));
$preview = url_absolue(generer_url_public('porte_plume_preview'));
$tEditer = _T('barre_outils:editer');
$tVoir = _T('barre_outils:voir');
$flux .= <<<EOF

2
preview.html → porte_plume_preview.html

@ -1,6 +1,6 @@
#CACHE{0}
#HTTP_HEADER{Content-Type: text/html; charset=#CHARSET}
<div class="preview">
[(#ENV*{data}|propre|image_reduire{440}|liens_absolus)]
[(#ENV*{data}|propre|image_reduire{500,0}|liens_absolus)]
[<hr style='clear:both;' /><div class="notes">(#NOTES)</div>]
</div>
Loading…
Cancel
Save