Jump to content

Image selon la langue


Recommended Posts

Bonjour,

 

J'aimerais savoir comment ajouter la possibilité de choisir une image selon la langue...

foreach ($languages as $language)
        $this->_html .= '<div id="slide_img_'.$language['id_lang'].'" style="display:'.($language['id_lang'] == $default_language ? 'block' : 'none').'">
	<input type="file" name="slide_img_'.$language['id_lang'].'" id="slide_imgFile_'.$language['id_lang'].'" style="width:55%" />
	</div>';
$this->_html .= $this->displayFlags($languages, $default_language, $div_lang_name, 'slide_img', true);
$this->_html .= '</div>

Mais cela ne semble pas fonctionner...

 

Avez-vous une idée?

 

Merci

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...