diff options
Diffstat (limited to 'skins/default/templates/contactadd.html')
-rw-r--r-- | skins/default/templates/contactadd.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/skins/default/templates/contactadd.html b/skins/default/templates/contactadd.html index 305940afd..67b7bcd6e 100644 --- a/skins/default/templates/contactadd.html +++ b/skins/default/templates/contactadd.html @@ -10,9 +10,9 @@ <div id="contact-title" class="boxtitle"><roundcube:label name="addcontact" /></div> <div id="contact-details" class="boxcontent"> <form name="editform" method="post" action="./"> - <div id="sourcename" style="height: 20px"> - <roundcube:label name="addressbook" />: <roundcube:object name="sourceselector" class="hint" id="sourceselect" /> - </div> + <roundcube:if condition="strlen(env:sourcename)" /> + <div id="sourcename"><roundcube:label name="addressbook" />: <roundcube:object name="sourceselector" class="hint" id="sourceselect" /></div> + <roundcube:endif /> <div id="contactphoto"> <roundcube:object name="contactphoto" id="contactpic" placeholder="/images/contactpic.png" /> <div class="formlinks"> |