Search for at
Security Code:
Security Code 
Type Security Code:
EVO CMS Advanced Search
 
 
Recent Topics
Latest Site News   Next 5 >>
Forum Author Replies Last Post
fixed  Frage nach JavaScript aktiv oder nicht? Fixes & Patches 2.1.x Guest 8 30 Mar 2013
nighty View latest post
fixed  [FIX 2.1.0] Lost Password Fixes & Patches 2.1.x chiroptera 0 21 Feb 2012
chiroptera View latest post
fixed  [FIX 2.1.0] Forums ACP - FAQ Admin Fixes & Patches 2.1.x chiroptera 1 27 Oct 2011
chiroptera View latest post
fixed  [FIX 2.1.0] Forums Attachment Image Resize Fixes & Patches 2.1.x chiroptera 0 26 Oct 2011
chiroptera View latest post
Important  [INFO] evo-mods service started News & Informationen chiroptera 2 24 Oct 2011
chiroptera View latest post
Recent Topics   Next 15 >>
Forum Author Replies Last Post
Important  Wünsch Dir was für die 2.1.1 EVO-CMS 2.x.x nighty 109 17 May 2013
nighty View latest post
Important  Website Awards Eure Webseiten chiroptera 37 16 May 2013
Anna View latest post
Achtung  EVO Maps does not work any longer Fehlermeldungen chiroptera 0 06 Mar 2012
chiroptera View latest post
Idea  Webhoster Testseite Webhosting Thorm 16 16 Nov 2011
Hepher View latest post
2nd level support  mimetype.php on line 119 mimetype.php on line 121 Support German Community pd35 8 17 May 2013
kaikiste_NEU View latest post
solved  Aktivierungslink in e-mail wenn reinen Text empfangen werden Support German Community drigon 10 16 May 2013
Anna View latest post
No icon  Ein frohes Weihnachtsfest 2011 & Wünsche ChitChat Guest 14 16 May 2013
Anna View latest post
solved  Forum - Anzeige zuletzt bearbeitet Fehlermeldungen 2.1.0 Anna 22 16 May 2013
Anna View latest post
No icon  Wie ein Fels... ChitChat Anna 0 13 May 2013
Anna View latest post
Important  USA: nuke-evolution --> evolution-xtreme // EVO-German EVO-CMS 2.x.x kaikiste_NEU 1 12 May 2013
Anna View latest post
No icon  Benutzerbefugnisse Fehlermeldungen 2.1.0 Maiki 15 17 Oct 2012
Maiki View latest post
No icon  Fehlermeldung Forum-Admin Dateitypen Fehlermeldungen 2.1.0 Entenmann 1 04 Sep 2012
gorgolion View latest post
No icon  Probleme mit der Installation Fragen & Hilfe vor der Installation 2.1.x penther 19 29 Jul 2012
nighty View latest post
No icon  problems installing on the newest xampp for theme dev ? Support German Community WolfxSting 2 29 Jul 2012
WolfxSting View latest post
solved  Forumsblock Fehlermeldungen 2.1.0 Maiki 10 28 Jul 2012
Anna View latest post
 

 
Bug with button
 
 
This forum is locked: you cannot post, reply to, or edit topics. This topic is locked: you cannot edit posts or make replies. printer-friendly view
View previous topic :: View next topic  
Author Message
Litoon
Language Expert
Language Expert



Joined: 25-Nov-2008
Posts: 79
Location: Valeyres sous Montagny (Switzerland)
Offline
EVO Version: Evo Cms 2.1.0 Fr
Post Posted:
 19 Jun 2010
Reply with quote
Post subject: solved Bug with button

Some buttons are cut where the texte have a apostrophe, original text is "Revenir vers l'administration du Module".  define("_RETURN2","Revenir vers l'administration du Module"); See the attached images

Litoon  


 
 
Back to top
View user's profile Send private message Visit poster's website
RTC4EVER
Coding Expert
Coding Expert



Joined: 04-Feb-2009
Posts: 923
Location: Zürich
Offline
EVO Version: 2.1.0 Final
Post Posted:
 20 Jun 2010
Reply with quote
Post subject: No icon Re: Bug with button

Ok.... so you'r probably translating to french... You have to be carefull. Put a backslash (\) before every apostrophe.

Example: Revenir vers l\'administration du Module

This way the apostrophe will be concidered part of variable.

Test it,. and have fun  


 
 
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Litoon
Language Expert
Language Expert



Joined: 25-Nov-2008
Posts: 79
Location: Valeyres sous Montagny (Switzerland)
Offline
EVO Version: Evo Cms 2.1.0 Fr
Post Posted:
 20 Jun 2010
Reply with quote
Post subject: No icon Re: Bug with button

hello, I already tried this, the text appears as its "Revenir vers l\", define("_RETURN2","Revenir vers l\'administration du Module");  , see images bug2.

If I change the line with define('_RETURN2','Revenir vers l\'administration du Module'); the result is a image bug3.

Litoon  


 
 
Back to top
View user's profile Send private message Visit poster's website
RTC4EVER
Coding Expert
Coding Expert



Joined: 04-Feb-2009
Posts: 923
Location: Zürich
Offline
EVO Version: 2.1.0 Final
Post Posted:
 20 Jun 2010
Reply with quote
Post subject: No icon Re: Bug with button

could you please upload the language file here?  


 
 
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ReOrGaNiSaTiOn
EVO World Team
EVO World Team



Joined: 03-Jan-2006
Posts: 11737
Location: Als Schwabe in Sachsen-Anhalt
Offline
EVO Version: - Developer Edition -
Post Posted:
 20 Jun 2010
Reply with quote
Post subject: No icon Re: Bug with button

The language files are available on Sourceforge CVS !!!
Litoon updates there his French language files.  


 
 
Back to top
View user's profile Send private message Visit poster's website
Litoon
Language Expert
Language Expert



Joined: 25-Nov-2008
Posts: 79
Location: Valeyres sous Montagny (Switzerland)
Offline
EVO Version: Evo Cms 2.1.0 Fr
Post Posted:
 20 Jun 2010
Reply with quote
Post subject: No icon Re: Bug with button

Here is the file. Rename file in .php, I had a problem with the extension.
I have this problem with other modules. In this case modules/your_account.

Litoon

chiroptera: attachment deleted  


 
 
Back to top
View user's profile Send private message Visit poster's website
ReOrGaNiSaTiOn
EVO World Team
EVO World Team



Joined: 03-Jan-2006
Posts: 11737
Location: Als Schwabe in Sachsen-Anhalt
Offline
EVO Version: - Developer Edition -
Post Posted:
 20 Jun 2010
Reply with quote
Post subject: No icon Re: Bug with button

In most cases it is the best to use UTF-8 characters instead of masking Quotes.

This example should make it:
define('_RETURN2','Revenir vers l'administration du Module');

Greetings
Reo  


 
 
Back to top
View user's profile Send private message Visit poster's website
Litoon
Language Expert
Language Expert



Joined: 25-Nov-2008
Posts: 79
Location: Valeyres sous Montagny (Switzerland)
Offline
EVO Version: Evo Cms 2.1.0 Fr
Post Posted:
 21 Jun 2010
Reply with quote
Post subject: No icon Re: Bug with button

If I put this line, define('_RETURN2','Revenir vers l'administration du Module');  it generates the error on file /....../lang-french.php line xxx

If I put this line, define('_RETURN2','Revenir vers l\'administration du Module');  it generates  the text "Revenir vers l "

I think I found the trick

If I put this line, define('_RETURN2','Revenir vers l′administration du Module'); no bug.

I have this problem only with the buttons

Litoon  


 
 
Back to top
View user's profile Send private message Visit poster's website
ReOrGaNiSaTiOn
EVO World Team
EVO World Team



Joined: 03-Jan-2006
Posts: 11737
Location: Als Schwabe in Sachsen-Anhalt
Offline
EVO Version: - Developer Edition -
Post Posted:
 21 Jun 2010
Reply with quote
Post subject: No icon Re: Bug with button

Sorry ... I should have deactivated html for my post.
I posted the UTF-8 code inside my example - but it was converted to be shown as normal sign.

PHP:
define('_RETURN2','Revenir vers l'administration du Module'); 
 


 
 
Back to top
View user's profile Send private message Visit poster's website
RTC4EVER
Coding Expert
Coding Expert



Joined: 04-Feb-2009
Posts: 923
Location: Zürich
Offline
EVO Version: 2.1.0 Final
Post Posted:
 21 Jun 2010
Reply with quote
Post subject: No icon Re: Bug with button

so here is what you use...
PHP:
define("_RETURN2",htmlspecialchars("Revenir vers l'administration du Module",ENT_QUOTES));   

Use the htmlspecialchars function on every line you need to use an apostrophe.
This is, in my opinion, the best solution and the safest one as well.
This way you don't have to use this  & # 0 3 9 ;  "strange things"

Use what ever you feel better to use.
ReO's idea is not bad but if you have ' / \">< etc... you'll have to find out the UTF8 for thouse as well.

Try it and report please.  


 
 
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ReOrGaNiSaTiOn
EVO World Team
EVO World Team



Joined: 03-Jan-2006
Posts: 11737
Location: Als Schwabe in Sachsen-Anhalt
Offline
EVO Version: - Developer Edition -
Post Posted:
 21 Jun 2010
Reply with quote
Post subject: No icon Re: Bug with button

Mmmh ... UTF-8 words works in every environment (JavaScript as example). So if you use your masked Language Variable or Language Constant in different context, you will get problems if not using.
Even too, to use htmlentities or other translators, this slows down time for website creating.

We already use UTF-8 in our language files (as example german umlaute).

Be on the safe site ... and use UTF-8.

Greetings
Reo  


 
 
Back to top
View user's profile Send private message Visit poster's website
RTC4EVER
Coding Expert
Coding Expert



Joined: 04-Feb-2009
Posts: 923
Location: Zürich
Offline
EVO Version: 2.1.0 Final
Post Posted:
 21 Jun 2010
Reply with quote
Post subject: No icon Re: Bug with button

Quote:
We already use UTF-8 in our language files (as example german umlaute).


Sorry  ;( i didn't noticed  


 
 
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Litoon
Language Expert
Language Expert



Joined: 25-Nov-2008
Posts: 79
Location: Valeyres sous Montagny (Switzerland)
Offline
EVO Version: Evo Cms 2.1.0 Fr
Post Posted:
 21 Jun 2010
Reply with quote
Post subject: No icon Re: Bug with button

Thanks it work, i have use the & # 039.

Litoon  


 
 
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:  
This forum is locked: you cannot post, reply to, or edit topics. This topic is locked: you cannot edit posts or make replies. printer-friendly view
EVO CMS Forum Index -> Fehlermeldungen 2.1.0 RC Time synchronized with the forum server time
 
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum