From e74c82eb1f1d09a24900c4398a10ca9b2d915e9b Mon Sep 17 00:00:00 2001 From: stevetruckstuff Date: Thu, 24 Aug 2006 16:58:29 +0000 Subject: [PATCH] Advanced option highlighting demo. Make require some additional tweaks in IE, but the testing I did seems to work OK. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11628 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- .../options_highlight_addedit.tpl | 282 ++++++++++++++++++ .../options_highlight_list.tpl | 110 +++++++ .../default_advanced/stylesheet_advanced.tpl | 16 + templates/default_advanced/template.php | 2 + 4 files changed, 410 insertions(+) create mode 100644 templates/default_advanced/options_highlight_addedit.tpl create mode 100644 templates/default_advanced/options_highlight_list.tpl diff --git a/templates/default_advanced/options_highlight_addedit.tpl b/templates/default_advanced/options_highlight_addedit.tpl new file mode 100644 index 00000000..983f6432 --- /dev/null +++ b/templates/default_advanced/options_highlight_addedit.tpl @@ -0,0 +1,282 @@ + + +
+
+ + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + +
+ : + + /> +
+ + : + + size="40" /> +
+ : + + + + +   + +
+   + + - - +
+ +
+ - - +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                   
                   
                   
                   
                   
+
+ " onclick="setSampleColor('#'+document.getElementById('newcolor_input').defaultValue)" /> + " /> +
+
+
\ No newline at end of file diff --git a/templates/default_advanced/options_highlight_list.tpl b/templates/default_advanced/options_highlight_list.tpl new file mode 100644 index 00000000..bd1f6647 --- /dev/null +++ b/templates/default_advanced/options_highlight_list.tpl @@ -0,0 +1,110 @@ + +
+ + + + + + + + + + +
+ +
+ + + + + + $rule) { + ?> + + + + + + + + + +
+ +
+ + + + + 0) { + ?> + + +   + + + + + +   + + + + + +
+
+ Add Rule +
+
\ No newline at end of file diff --git a/templates/default_advanced/stylesheet_advanced.tpl b/templates/default_advanced/stylesheet_advanced.tpl index 90d2dfc3..01c11938 100644 --- a/templates/default_advanced/stylesheet_advanced.tpl +++ b/templates/default_advanced/stylesheet_advanced.tpl @@ -48,6 +48,22 @@ extract($t); padding-bottom: 2px; } +/* advanced message editing defs */ +#colorSample { + width: 50px; + padding-left:10px; +} + +#optionHighlightAdd table.colorTable { + margin-left: 0; + margin-top: 2px; +} + +#optionHighlightAdd td.fieldValue { + font-size: 75%; + font-weight: bold; +} + /* Advanced Tree definitions */ .dtree { font-size:11px; diff --git a/templates/default_advanced/template.php b/templates/default_advanced/template.php index aacf78bb..80fde498 100644 --- a/templates/default_advanced/template.php +++ b/templates/default_advanced/template.php @@ -19,6 +19,8 @@ $templates_provided = array ( 'left_main.tpl', 'stylesheet_advanced.tpl', 'options_order.tpl', + 'options_highlight_list.tpl', + 'options_highlight_addedit.tpl', ); /** -- 2.25.1