Won't you have to change the skin/larry/includes/header.html template anyway, because that displays the username before the logout button?
If you're going to customize a skin, then this becomes simple, no?
<div class="topright">
<roundcube:button command="logout" label="logout"
class="button-logout" /> <span class="username"><roundcube:object name="username" /></span> </div>
On 2012-03-09 10:23, Rahul Amaram wrote:
Hi, I am writing a plugin so that the logout button text changes to "Logout <username>". Currently the way I am doing it is by creating a html span element with content $_SESSION["username"] (using html::span) in .php and then later making this html span element child of logout button in the .js file. However, I would like to know whether it is possible to change the logout button text in the .php file itself?
Regards, Rahul. _______________________________________________ Roundcube Development discussion mailing list dev@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/dev