Changeset 23656 in spip-zone


Ignore:
Timestamp:
Oct 26, 2008, 4:05:36 PM (11 years ago)
Author:
eric@…
Message:

La rainette est joueuse de nature. Mais bon 3 commits pour une correction ça lasse...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/rainette/public/rainette_balises.php

    r23652 r23656  
    11<?php
    2 include_spip('inc/rainette_utils');
    32function balise_RAINETTE_INFOS($p) {
    43
     
    87        $type_info = isset($type_info) ? str_replace('\'', '"', $type_info) : '""';
    98
    10         $p->code = 'charger_infos('.$code_meteo.', '.$type_info.')';
     9        $p->code = 'calculer_infos('.$code_meteo.', '.$type_info.')';
    1110        $p->interdire_scripts = false;
    1211        return $p;
    1312}
    1413
     14function calculer_infos($code, $type) {
     15        include_spip('inc/rainette_utils');
     16        return charger_infos($code, $type);
     17}
    1518?>
Note: See TracChangeset for help on using the changeset viewer.