diff options
Diffstat (limited to 'plugins/help/skins')
-rw-r--r-- | plugins/help/skins/default/help.css | 29 | ||||
-rw-r--r-- | plugins/help/skins/default/help.gif | bin | 0 -> 898 bytes | |||
-rw-r--r-- | plugins/help/skins/default/templates/help.html | 38 |
3 files changed, 67 insertions, 0 deletions
diff --git a/plugins/help/skins/default/help.css b/plugins/help/skins/default/help.css new file mode 100644 index 000000000..8f67f111e --- /dev/null +++ b/plugins/help/skins/default/help.css @@ -0,0 +1,29 @@ +/***** Roundcube|Mail Help task styles *****/ + +#taskbar a.button-help +{ + background-image: url('help.gif'); +} + +.help-box +{ + overflow: auto; + background-color: #F2F2F2; +} + +#helplicense, #helpabout +{ + width: 46em; + padding: 1em 2em; +} + +#helplicense a, #helpabout a +{ + color: #900; +} + +#helpabout +{ + margin: 0 auto; +} + diff --git a/plugins/help/skins/default/help.gif b/plugins/help/skins/default/help.gif Binary files differnew file mode 100644 index 000000000..fe41e43c0 --- /dev/null +++ b/plugins/help/skins/default/help.gif diff --git a/plugins/help/skins/default/templates/help.html b/plugins/help/skins/default/templates/help.html new file mode 100644 index 000000000..42f1a4a93 --- /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="mainscreen" class="box help-box"> +<roundcube:object name="helpcontent" id="helpcontentframe" width="100%" height="100%" frameborder="0" src="/watermark.html" /> +</div> + +</body> +</html> |