diff options
Diffstat (limited to 'skins')
-rw-r--r-- | skins/classic/templates/contact.html | 2 | ||||
-rw-r--r-- | skins/larry/templates/contact.html | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/skins/classic/templates/contact.html b/skins/classic/templates/contact.html index 2022a2ce0..3835222e1 100644 --- a/skins/classic/templates/contact.html +++ b/skins/classic/templates/contact.html @@ -21,7 +21,9 @@ </div> <p> <roundcube:button command="edit" type="input" class="button" label="editcontact" condition="!ENV:readonly" /> + <roundcube:if condition="env:qrcode" /> <roundcube:button command="qrcode" type="input" class="button" label="qrcode" /> + <roundcube:endif /> </p> </div> <script type="text/javascript">rcube_init_tabs('contacttabs')</script> diff --git a/skins/larry/templates/contact.html b/skins/larry/templates/contact.html index de42e1a9d..252d83d45 100644 --- a/skins/larry/templates/contact.html +++ b/skins/larry/templates/contact.html @@ -25,7 +25,9 @@ <div id="headerbuttons" class="formbuttons"> <roundcube:button command="edit" type="input" class="button mainaction" label="editcontact" condition="!ENV:readonly" /> + <roundcube:if condition="env:qrcode" /> <roundcube:button command="qrcode" type="input" class="button" label="qrcode" /> + <roundcube:endif /> </div> <roundcube:include file="/includes/footer.html" /> |