summaryrefslogtreecommitdiff
path: root/skins/larry
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-09-28 12:03:20 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-09-28 12:03:20 +0200
commitc49c35ca0fdd4d3972748a8846c0c71f50c80b16 (patch)
tree538c3eb20fefd22a8d2bfba96afe207241a2d1f9 /skins/larry
parent85fece2c4dbc6ef36ccd08d32e35501a1d131f81 (diff)
Generate settings tabs with a template object 'settingstabs' and let plugins register themselves there using the 'settings_actions' hook
Diffstat (limited to 'skins/larry')
-rw-r--r--skins/larry/includes/header.html2
-rw-r--r--skins/larry/includes/settingstabs.html4
2 files changed, 2 insertions, 4 deletions
diff --git a/skins/larry/includes/header.html b/skins/larry/includes/header.html
index 5a934d89b..69e8b8aa6 100644
--- a/skins/larry/includes/header.html
+++ b/skins/larry/includes/header.html
@@ -29,7 +29,7 @@
<roundcube:button command="logout" label="logout" class="button-logout" classSel="button-logout" innerClass="button-inner" />
<span class="minmodetoggle"></span>
</div>
- <roundcube:object name="logo" src="/images/roundcube_logo.png" id="toplogo" alt="Logo" onclick="rcmail.command('switch-task','mail');return false;" />
+ <roundcube:object name="logo" src="/images/roundcube_logo.png" id="toplogo" alt="Logo" onclick="if(window.rcmail)rcmail.command('switch-task','mail')" />
</div>
<roundcube:endif />
diff --git a/skins/larry/includes/settingstabs.html b/skins/larry/includes/settingstabs.html
index bb26fc6a6..e62695848 100644
--- a/skins/larry/includes/settingstabs.html
+++ b/skins/larry/includes/settingstabs.html
@@ -1,9 +1,7 @@
<div id="settings-sections" class="uibox listbox">
<h2 class="boxtitle"><roundcube:label name="settings" /></h2>
<div id="settings-tabs" class="scroller">
- <span id="settingstabpreferences" class="listitem preferences"><roundcube:button command="preferences" type="link" label="preferences" title="editpreferences" /></span>
- <span id="settingstabfolders" class="listitem folders"><roundcube:button command="folders" type="link" label="folders" title="managefolders" /></span>
- <span id="settingstabidentities" class="listitem identities"><roundcube:button command="identities" type="link" label="identities" title="manageidentities" /></span>
+ <roundcube:object name="settingstabs" class="listitem" />
<roundcube:container name="tabs" id="settings-tabs" />
</div>
</div>