diff options
author | thomascube <thomas@roundcube.net> | 2012-02-25 15:52:08 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-02-25 15:52:08 +0000 |
commit | 71e9efb152c07838574f731e184a323236b51358 (patch) | |
tree | 9114d1e97dfad4a3667ebdeab2c9aa77632ed6a2 /skins/larry | |
parent | 14a3f2813acf25c07e1ee861b564f826fe83fe20 (diff) |
Add titles to error and photo upload popups (#1488354)
Diffstat (limited to 'skins/larry')
-rw-r--r-- | skins/larry/includes/footer.html | 1 | ||||
-rw-r--r-- | skins/larry/templates/contactedit.html | 2 | ||||
-rw-r--r-- | skins/larry/ui.js | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/skins/larry/includes/footer.html b/skins/larry/includes/footer.html index f884bdf82..4a6f8f09c 100644 --- a/skins/larry/includes/footer.html +++ b/skins/larry/includes/footer.html @@ -3,6 +3,7 @@ // UI startup var UI = new rcube_mail_ui(); $(document).ready(function(){ + UI.set('errortitle', '<roundcube:label name="errortitle" />'); UI.init(); }); diff --git a/skins/larry/templates/contactedit.html b/skins/larry/templates/contactedit.html index 4bea55bf7..39d48440b 100644 --- a/skins/larry/templates/contactedit.html +++ b/skins/larry/templates/contactedit.html @@ -41,7 +41,7 @@ <roundcube:button name="cancel" type="input" class="button" label="cancel" onclick="history.back()" condition="env:action=='add'" /> </div> -<div id="upload-dialog" class="propform popupdialog"> +<div id="upload-dialog" class="propform popupdialog" title="<roundcube:label name='uploadphoto' />"> <roundcube:object name="photoUploadForm" id="upload-form" size="30" buttons="no" /> <div class="formbuttons"> <roundcube:button command="upload-photo" type="input" class="button mainaction" label="upload" /> diff --git a/skins/larry/ui.js b/skins/larry/ui.js index 86c1b0cdb..759bfabe1 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -251,7 +251,7 @@ function rcube_mail_ui() resizable: false, closeOnEscape: true, dialogClass: 'popupmessage ' + p.type, - title: null, + title: env.errortitle, close: function() { me.messagedialog.dialog('destroy').hide(); }, |