Ignore:
Timestamp:
May 17, 2009, 4:45:18 PM (12 years ago)
Author:
cy_altern@…
Message:

ajout du choix de la langue de publication de l'article généré

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/odt2spip/version_0.1_stable/odt2spip_pipelines.php

    r28068 r28686  
    3131    $out .= "<input type='radio' name='mode_image' value='document' id='mode_document'/>";
    3232    $out .= "<label for='mode_document'>"._T("odtspip:mode_document")."</label>";   
     33    $out .= "<br /><br /><strong>"._T("odtspip:langue_publication").": </strong>";
     34    $out .= "<select name='lang_publi' id='lang_publi' style='font-size:1em;'>";
     35    $Tlangs = explode(',',$GLOBALS['meta']['langues_proposees']);
     36    foreach($Tlangs as $lang) $out .= "<option value='".$lang."'".($lang==$GLOBALS['meta']['langue_site']?" selected='selected'":"").">".$lang."</option>";   
     37    $out .= "</select>";
    3338    $out .= "</small><br />";
    3439    $out .= "<div style='text-align:$spip_lang_right'>";
    35     $out .= "<input type='submit' name='Valider' value='"._T('bouton_valider')."' class='fondo'>";
     40    $out .= "<input type='submit' name='Valider' value='"._T('bouton_valider')."' class='fondo' />";
    3641    $out .= "</div>";
    3742    $out .= "</form>\n";
Note: See TracChangeset for help on using the changeset viewer.