diff options
Diffstat (limited to 'plugins/help/skins')
-rw-r--r-- | plugins/help/skins/default/help.css | 26 | ||||
-rw-r--r-- | plugins/help/skins/default/help.gif | bin | 0 -> 1146 bytes | |||
-rw-r--r-- | plugins/help/skins/default/templates/help.html | 38 |
3 files changed, 64 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..7ccc671a2 --- /dev/null +++ b/plugins/help/skins/default/help.css @@ -0,0 +1,26 @@ +/***** RoundCube|Mail Help task styles *****/ + +#taskbar a.button-help +{ + background-image: url('help.gif'); +} + +#help-box +{ + position: absolute; + bottom: 30px; + top: 95px; + left: 20px; + right: 20px; + border: 1px solid #999999; + overflow: auto; + background-color: #F2F2F2; + /* IE hack */ + height: expression((parseInt(document.documentElement.clientHeight)-125)+'px'); + width: expression((parseInt(document.documentElement.clientWight)-40)+'px'); +} + +#helplicense, #helpabout +{ + padding: 20px; +} diff --git a/plugins/help/skins/default/help.gif b/plugins/help/skins/default/help.gif Binary files differnew file mode 100644 index 000000000..1ae90320c --- /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..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> |