~ubuntu-branches/debian/squeeze/spip/squeeze

« back to all changes in this revision

Viewing changes to ecrire/balise/logo_.php

  • Committer: Bazaar Package Importer
  • Author(s): Romain Beauxis
  • Date: 2010-09-18 15:08:53 UTC
  • mfrom: (11.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100918150853-2g8yh71duum53p5s
Added patch to fix int overflow
in articles' published date.
Thanks to David Prévot for reporting.
Closes: #597026 

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        } else {
86
86
                $code = logo_survol($id_objet, $_id_objet, $type, $align, $fichier, $lien, $p, $suite_logo);
87
87
        }
 
88
 
 
89
        // demande de reduction sur logo avec ecriture spip 2.1 : #LOGO_xxx{200, 0}
 
90
        if ($coord_x OR $coord_y) {
 
91
                $code = "filtrer('image_graver',filtrer('image_reduire',".$code.", '$coord_x', '$coord_y'))";
 
92
        }
 
93
 
88
94
        $p->code = $code;
89
95
        $p->interdire_scripts = false;
90
96
        return $p;