Am 08.08.22 um 17:29 schrieb [email protected]:
On 08-08-2022 12:53 am, Reindl Harald wrote:
bnreaking news: you can echo <script>-tags and javascript from PHP


Yes, yes you can. Pretty common knowledge even a script kiddie would know.

However roundcube functions this way:

     $this->include_script('stay_loggedin.js');

and wont accept PHP tags in the *.js file. You also can't echo the javascript from 
the calling PHP file because then the <script> is placed at the top of the 
document (out of order) when it needs to be after the HTML elements the script is 
modifying. Again, basic HTML/Javascript stuff even a script kiddie would know


at least now the problem is described properly
_______________________________________________
Roundcube Development discussion mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/dev

Reply via email to