You are viewing the PKP Support Forum | PKP Home Wiki


Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.


Postby ramon » Fri Oct 24, 2003 5:43 am

John and Kevin,

In some cases you have a strip_html($err) in some of the files, which removes HTML tags in variables. I believe that the HTML is important because Latin languages have special characters, and, if the system is not in the native language, the characters will not print correctly in the HTML page, or may be translated to something not understandable.

However, OJS also uses some of the variables for email messages (title is one of them I think. In portuguese it´s Título). I guess the email is output as text, so the messages are sent with the code, instead of HTML, and you can imagine what the message looks like. So, we removed all the special HTML characters in the language files, but we need a way to print them on the page when necessary.

We were thinking instead of using the strip_html, to use the htmlentities() function, so that we didn´t have to change the add special characters in the variable definitions.

Also, is it possible to use a HTML-based email system, instead of pure text? Or is my concern about HTML unnecessary?

If the special characters issue is resolved with the htmlentities, then HTML email is totally unnecessary...

Posts: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 2 guests