1
Bezoops
How to add more help in language file.
  • 2005/10/6 21:35

  • Bezoops

  • Friend of XOOPS

  • Posts: 38

  • Since: 2004/12/9


How to add more help to the users or administrators.

I add this java script code into a define line in a language file. This open a popup window with a text. This can provide extra information about a item.:
define("_MYTEXTDSC",
"Description of this option<br>
<a href="
xavascript:
newWindow=window.open('','newWindow','scrollbars,resizable,width=200,height=200');
newWindow.document.open();
newWindow.document.write(
'This text appears into a popup window'
)">+ info</a>");
(I change java for xava for security reasons.)

I probe it and works properly, but... is it secure?

Moreover, i can open a html file, not a text, and make a more big help file, with bookmarks thats makes easy to read and more completed.

This problem happened me because i am making a traslation to spanish of Protector module, and there are very much thinks to explain about the several options.