summaryrefslogtreecommitdiff
path: root/plugins/help/skins/default/templates
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-07-22 09:15:36 +0000
committeralecpl <alec@alec.pl>2009-07-22 09:15:36 +0000
commit564a2ba793b8d98abc6b7387f9fe1db869fce1b6 (patch)
tree90b083ec6a3f901eab5a81910c9ee713b5179fdd /plugins/help/skins/default/templates
parentc98c82ef6301582bd441571da4e72f7cf51a48c4 (diff)
- Help plugin
- support 'dummy' task (for plugins)
Diffstat (limited to 'plugins/help/skins/default/templates')
-rw-r--r--plugins/help/skins/default/templates/help.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/plugins/help/skins/default/templates/help.html b/plugins/help/skins/default/templates/help.html
new file mode 100644
index 000000000..14b8fca52
--- /dev/null
+++ b/plugins/help/skins/default/templates/help.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><roundcube:object name="pagetitle" /></title>
+<roundcube:include file="/includes/links.html" />
+<link rel="stylesheet" type="text/css" href="/this/help.css" />
+<link rel="stylesheet" type="text/css" href="/settings.css" />
+<script type="text/javascript">
+function help_init_settings_tabs()
+{
+ var tab = '#helptabdefault';
+ if (window.rcmail && rcmail.env.action) {
+ var action = rcmail.env.action.replace(/^plugin\.help/, '');
+ tab = '#helptab' + (action ? action : 'default');
+ }
+ $(tab).addClass('tablink-selected');
+}
+</script>
+</head>
+<body>
+
+<roundcube:include file="/includes/taskbar.html" />
+<roundcube:include file="/includes/header.html" />
+
+<div id="tabsbar">
+<span id="helptabdefault" class="tablink"><roundcube:button name="helpdefault" href="?_task=dummy&_action=plugin.help" type="link" label="help.help" title="help.help" /></span>
+<span id="helptababout" class="tablink"><roundcube:button name="helpabout" href="?_task=dummy&_action=plugin.helpabout" type="link" label="help.about" title="help.about" class="tablink" /></span>
+<span id="helptablicense" class="tablink"><roundcube:button name="helplicense" href="?_task=dummy&_action=plugin.helplicense" type="link" label="help.license" title="help.license" class="tablink" /></span>
+<roundcube:container name="helptabs" id="helptabsbar" />
+<script type="text/javascript"> if (window.rcmail) rcmail.add_onload(help_init_settings_tabs);</script>
+</div>
+
+<div id="help-box">
+<roundcube:object name="helpcontent" id="helpcontentframe" width="100%" height="100%" frameborder="0" src="/watermark.html" />
+</div>
+
+</body>
+</html>