antiqueone

Anonymous
I have recently installed the Professionalcss_EN theme on my web site and upgraded to 1.7.1sr1. When sending a message to a user, on selecting "Send Message" I get a pop-up message headed "The page at http://www.historyandnews.co.uk says:" Then in the window a question mark icon followed by a text string which I guess should be Japanese.
I get the same message when logged on and as anonymous. I assume the error comes from the theme.
Can anyone help me fix this problem?

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
That comes from the javascript file:

http://www.historyandnews.co.uk/layout/ProfessionalCSS_en/javascript/confirm.js

You could edit this file in your favorite text editor and change the confirmation message

or

you could edit the contactuserform.thtml (in the profiles directory of the theme) and remove the onclick and onkeypress attribute in this line:

Text Formatted Code
<input type="submit" value="{lang_submit}" onclick="return postconfirm();" onkeypress="return postconfirm();" class="submit"{xhtml}>


so it looks like this:

Text Formatted Code
<input type="submit" value="{lang_submit}" class="submit"{xhtml}>


Tom
One of the Geeklog Core Developers.

antiqueone

Anonymous
Thanks for the quick fix Tom.