summaryrefslogtreecommitdiff
path: root/skins/classic/includes/settingstabs.html
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/classic/includes/settingstabs.html
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/classic/includes/settingstabs.html')
-rw-r--r--skins/classic/includes/settingstabs.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/skins/classic/includes/settingstabs.html b/skins/classic/includes/settingstabs.html
index 0aea80b67..a47db2274 100644
--- a/skins/classic/includes/settingstabs.html
+++ b/skins/classic/includes/settingstabs.html
@@ -1,8 +1,6 @@
<div id="tabsbar">
-<span id="settingstabdefault" class="tablink"><roundcube:button command="preferences" type="link" label="preferences" title="editpreferences" /></span>
-<span id="settingstabfolders" class="tablink"><roundcube:button command="folders" type="link" label="folders" title="managefolders" class="tablink" /></span>
-<span id="settingstabidentities" class="tablink"><roundcube:button command="identities" type="link" label="identities" title="manageidentities" class="tablink" /></span>
-<span id="settingstababout" class="tablink"><roundcube:button command="about" type="link" label="about" title="about" class="tablink" /></span>
+<roundcube:object name="settingstabs" class="tablink" selClass="tablink-selected" />
<roundcube:container name="tabs" id="tabsbar" />
+<span id="settingstababout" class="tablink"><roundcube:button command="about" type="link" label="about" title="about" class="tablink" /></span>
<script type="text/javascript"> if (window.rcmail) rcmail.add_onload(rcube_init_settings_tabs); </script>
</div>