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/default/templates | |
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/default/templates')
-rw-r--r-- | skins/default/templates/settings.html | 18 |
1 files changed, 17 insertions, 1 deletions
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" /> |