Hello,
I have a multiple user environment and
I would like to add the connected user in the document.title of the web page (in webui.js file, setStatusUpdate function) (rutorrent/js/webui.js)
I tried to make a webui.php (in same folder) with <?php $user = getUser(); ?> (getUser() function available in util.php)
And add something like this in webui.js:
document.title = "Server " + user;
But it doesn't work...
Im not a php/js programmer
Thanks !
Kr,
ODB
I have a multiple user environment and
I would like to add the connected user in the document.title of the web page (in webui.js file, setStatusUpdate function) (rutorrent/js/webui.js)
I tried to make a webui.php (in same folder) with <?php $user = getUser(); ?> (getUser() function available in util.php)
And add something like this in webui.js:
document.title = "Server " + user;
But it doesn't work...
Im not a php/js programmer
Thanks !
Kr,
ODB