[RESOLU]Gestionnaire de fichier - bouton "download"

More
13 years 7 months ago - 13 years 7 months ago #14623 by betrained


Dans le cadre de l'utilisation de champs de type "File", j'affiche dans un tableau l'ensemble des fichiers à télécharger.
Je cherche à éditer le texte du bouton et changer "download" en "télécharger". Je n'ai rien trouvé dans les fichiers de langue de Flexicontent, ni même par une recherche globale dans la source sur ce mot clé "Download".

Merci pour votre aide.
Last edit: 13 years 7 months ago by betrained.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #14624 by micker
hello
va dans /www/plugins/flexicontent_fields/file.php
tu aura ton bonheur !

a+

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #14627 by betrained
Tu peux me mettre le doigt sur le bon code ? Je suis à charge, je sais, mais j'ai déjà regardé ce fichier. Sorry :roll:

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #14629 by betrained
Code:
$str = '<form id="form-download-'.$field->id.'-'.($n+1).'" method="post" action="'.JRoute::_( 'index.php?id='. $value .'&cid='.$field->item_id.'&fid='.$field->id.'&task=download' ).'">'; $str .= $icon.'<input type="submit" name="download-'.$field->id.'[]" class="button" value="'.JText::_('Telecharger').'"/>'.($display_filename?'&nbsp;'.$filename->altname:''); $str .= '</form>';

Désolé je viens de voir. Merci beaucoup.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #14630 by yopyop001
Salut,

Ligne 221 :
Code:
$str .= $icon.'<input type="submit" name="download-'.$field->id.'[]" class="button" value="'.JText::_('Download').'"/>'.($display_filename?'&nbsp;'.$filename->altname:'');

->
Code:
JText::_('Download')

A plus tard

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #14632 by micker
de rien !

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.375 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline