While I could create one theme per domain and assign that to each user, it seems a little bit of overkill just to change the logo. (And I don't really want people to be able to select someone else's domain theme!) So instead I'd prefer to just load the logo from a PHP file rather than a static image.
How would I pass in the logged-in user's domain? (ie, it's not the domain they're looking at in their browser but the domain for the email account that matters)
<roundcube:button command="mail" image="/logo.php" alt="RoundCube Webmail" width="165" height="55" />
Somehow I need to include the domain like image="/logo.php?address=foo@example.com" .. but (unless I'm very much mistaken) there's no way to nest tags.
I'm sure I can't be the first person to want to do this .. right?
Cheers!
Rick