diff options
author | alecpl <alec@alec.pl> | 2008-09-29 07:38:16 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-09-29 07:38:16 +0000 |
commit | ffae15e5fcde50cf8c1b168fa313f4ec3454a693 (patch) | |
tree | 88f81d19eb5ebc41710fb9a161b054881ba5e3bd /skins | |
parent | 29e697b24a68d7fca600f88ebc913b3ba5240f50 (diff) |
- Added 'mime_param_folding' option with possibility to choose
long/non-ascii attachment names encoding eg. to be readable
in MS Outlook/OE (#1485320)
- Added "advanced options" feature in User Preferences
Diffstat (limited to 'skins')
-rw-r--r-- | skins/default/settings.css | 15 | ||||
-rw-r--r-- | skins/default/templates/settings.html | 18 |
2 files changed, 32 insertions, 1 deletions
diff --git a/skins/default/settings.css b/skins/default/settings.css index 8c229a15c..9621a21a2 100644 --- a/skins/default/settings.css +++ b/skins/default/settings.css @@ -63,6 +63,11 @@ span.tablink-selected a padding-right: 10px; } +#userprefs-box table tr.advanced +{ + display: none; +} + #identities-list, #folder-manager { @@ -253,3 +258,13 @@ legend { color: #999999; } + +div.advswitch +{ + white-space: nowrap; + text-align: right; + position: absolute; + bottom: 35px; + left: 20px; + width: 640px; +} diff --git a/skins/default/templates/settings.html b/skins/default/templates/settings.html index 2b69f423d..0bc0f1853 100644 --- a/skins/default/templates/settings.html +++ b/skins/default/templates/settings.html @@ -4,6 +4,15 @@ <title><roundcube:object name="pagetitle" /></title> <roundcube:include file="/includes/links.html" /> <link rel="stylesheet" type="text/css" href="/settings.css" /> +<script type="text/javascript"> +function show_adv(box) +{ + var rows = document.getElementsByTagName('TR'); + for(var i=0; i<rows.length; i++) + if(rows[i].className && rows[i].className.match(/advanced/)) + rows[i].style.display = box.checked ? (bw.ie ? 'block' : 'table-row') : 'none'; +} +</script> </head> <body> @@ -19,7 +28,14 @@ </div> </div> -<p id="listbuttons"><roundcube:button command="save" type="input" class="button mainaction" label="save" /></p> +<p id="listbuttons"> +<roundcube:button command="save" type="input" class="button mainaction" label="save" /> +</p> + +<div class="advswitch"> +<label for="advswitch"><roundcube:label name="advancedoptions"><label> +<input type="checkbox" id="advswitch" name="_advanced" value="0" onclick="show_adv(this)" /> +</div> <roundcube:include file="/includes/settingscripts.html" /> |