Search for at
Security Code:
Security Code 
Type Security Code:
EVO CMS Advanced Search
 
 
Recent Topics
Latest Site News << Previous 5  Next 5 >>
Forum Author Replies Last Post
Important  Evo German Support Icons News & Informationen chiroptera 0 03 Sep 2008
chiroptera View latest post
Warning !  Impressumspflicht News & Informationen chiroptera 18 25 Oct 2011
Anna View latest post
No icon  [INFO] Neues Wiki in Arbeit News & Informationen chiroptera 0 04 Apr 2011
chiroptera View latest post
fixed  Google Analytics Haftungsausschluß/Disclaimer News & Informationen Spiders 11 13 Jan 2011
ReOrGaNiSaTiOn View latest post
Hehehe !  Nützliche PHP/WEB/Admin Software für jederman! News & Informationen Ostpower 16 07 Jan 2011
Anna View latest post
Recent Topics << Previous 15  Next 15 >>
Forum Author Replies Last Post
No icon  FREE, Download-Manager. ChitChat nighty 0 18 Mar 2012
nighty View latest post
added to Bug Tracker  Little problem with AUC of Forum Fehlermeldungen 2.1.0 Litoon 3 13 Mar 2012
chiroptera View latest post
solved in Bug Tracker  Banner Adden ! Support German Community Codex87 5 08 Mar 2012
chiroptera View latest post
solved  Passwort kann nicht zurückgesetzt werden Fehlermeldungen 2.1.0 der-cyberwolf 10 21 Feb 2012
der-cyberwolf View latest post
No icon  Update nicht ohne Fehler möglich Fragen & Hilfe zur Installation/Upgrade 2.1.x der-cyberwolf 17 19 Feb 2012
Loneranger View latest post
solved  Probleme mit Forums Scroller oder Forums Scroll Anfragen zu Blöcken der-cyberwolf 8 19 Feb 2012
Loneranger View latest post
No icon  Hack auf Dateien im Root Security mdlasse 5 15 Feb 2012
KaiKiste View latest post
2nd level support  Feedback versedet keine Mail Fehlermeldungen 2.1.0 BlackThor 6 13 Feb 2012
KaiKiste View latest post
No icon  Problem mit Registrierung Fehlermeldungen 2.1.0 Reptile2k 11 12 Feb 2012
Reptile2k View latest post
Idea  Geburtstage (Geburtstagsübersicht) - oder andere Daten Tips & Tricks ReOrGaNiSaTiOn 9 10 Feb 2012
Loneranger View latest post
No icon  Kein Update möglich von 102 Fragen & Hilfe zur Installation/Upgrade 2.1.x Maiki 23 10 Feb 2012
Loneranger View latest post
solved  (KILU) Registrierung-Email kann nicht versandt werden Fehlermeldungen 2.1.0 sinchris2000 5 07 Feb 2012
sinchris2000 View latest post
No icon  EVO CMS Basic 2.1.0 Build 2028-Spanish Fragen & Hilfe vor der Installation 2.1.x valecar 0 06 Feb 2012
valecar View latest post
No icon  Datenbank als sql datei Fragen & Hilfe vor der Installation 2.1.x onkelv 5 06 Feb 2012
der-cyberwolf View latest post
solved  gästebuch verursacht homepageausfall! Module manulito 6 23 Jan 2012
manulito 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: 78
Location: Yverdon (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: 78
Location: Yverdon (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: 11731
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: 78
Location: Yverdon (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: 11731
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: 78
Location: Yverdon (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&prime;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: 11731
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&#039;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: 11731
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: 78
Location: Yverdon (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