[SOLVED] mail contact form in 1.2.5 backend>blank dropdow

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
User avatar
najbo
Posts: 10
Joined: Thu 3. Jun 2004, 22:36
Location: La Neuveville (BE), Switzerland

[SOLVED] mail contact form in 1.2.5 backend>blank dropdow

Post by najbo »

Hi !

On 1.2.5-DEV in the new "Email contact form", when language in back-end is french, I noticed that the drop-down list that contains the field types has some blank entries ..

See html code here :

<select name="cform_field_type[1]" class="v10">
<option value="text" selected></option>
<option value="textarea"></option>
<option value="special"></option>
<option value="hidden"></option>
<option value="password"></option>
<option value="email">email</option>
<option value="select"></option>
<option value="list"></option>
<option value="checkbox">checkbox</option>
<option value="radio">bouton radio</option>
<option value="upload">fichier</option>
<option value="submit"></option>
<option value="reset">boutton reset</option>

<option value="break">break</option>
<option value="breaktext"></option>
</select>

I was not able to find neither a file nore an entry in a mysql table.

Has anybody an idea about this issue ?
Thank you very much !
Last edited by najbo on Mon 12. Sep 2005, 12:15, edited 1 time in total.
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

you'll find it in

../include/inc_tmpl/content/cnt23.inc.php
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

User avatar
najbo
Posts: 10
Joined: Thu 3. Jun 2004, 22:36
Location: La Neuveville (BE), Switzerland

Post by najbo »

Thank you very much !

I solved it by changing values in include/inc_lang/backend/fr/lang.inc.php ; text was wrong labelled.

Here are the correct parameters for be_cnt_field value :


$BL['be_cnt_field'] = array("text"=>'texte', "email"=>'email', "textarea"=>'texte (multi-lignes)',
"hidden"=>'caché', "password"=>'mot de passe', "select"=>'sélectionner le menu',
"list"=>'menu de la liste', "checkbox"=>'checkbox', "radio"=>'bouton radio',
"upload"=>'upload fichier', "submit"=>'bouton d\'envoi', "reset"=>'bouton reset',
"break"=>'séparateur', "breaktext"=>'séparateur (texte)', "special"=>'texte (spécial)');

Thanks a lot guys for your quick reply !!
Najbo
Last edited by najbo on Mon 12. Sep 2005, 12:31, edited 1 time in total.
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

Thank you Najbo!

solved my problem as well...

Cheers!
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Cool Najbo! 8)
Thanks :wink:
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
Locked