Themes & Styling > Theme Releases

How to use else if for username Elastic skin ?


I have install roundcube with elastic skin, now i want to use else if for username for below code
<roundcube:object name="username" />

I want to check if user1 logged in then hide _bcc else show just like below

<roundcube:if condition="env:username==''" />
hide bcc field
<roundcube:else />
show bcc field
<roundcube:endif />

can anyone help me to do like this

the current username is stored in the session so you want:

--- Code: ---<roundcube:if condition="session:username==''" />

--- End code ---


[0] Message Index

Go to full version