Rev 13775 | Rev 14241 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13775 | Rev 14101 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | !endif |
69 | !endif |
70 | 70 | ||
71 | 71 | ||
72 | !let name_WYSIWYG_activate=Activate editor |
72 | !let name_WYSIWYG_activate=Activate editor |
73 | !let name_WYSIWYG_disable=Disable editor |
73 | !let name_WYSIWYG_disable=Disable editor |
- | 74 | !if $lang=ca |
|
- | 75 | !set tiny_lang=language: 'ca', |
|
- | 76 | !let name_WYSIWYG_activate=Activate editor |
|
- | 77 | !let name_WYSIWYG_disable=Disable editor |
|
- | 78 | !endif |
|
- | 79 | !if $lang=cn |
|
- | 80 | !set tiny_lang=language: 'zh_CN', |
|
- | 81 | !let name_WYSIWYG_activate=Activate editor |
|
- | 82 | !let name_WYSIWYG_disable=Disable editor |
|
- | 83 | !endif |
|
- | 84 | !if $lang=es |
|
- | 85 | !set tiny_lang=language: 'es_ES', |
|
- | 86 | !let name_WYSIWYG_activate=Activate editor |
|
- | 87 | !let name_WYSIWYG_disable=Disable editor |
|
- | 88 | !endif |
|
74 | !if $lang=fr |
89 | !if $lang=fr |
75 | !set tiny_lang=language: 'fr_FR', |
90 | !set tiny_lang=language: 'fr_FR', |
76 | !let name_WYSIWYG_activate=Activer l'éditeur |
91 | !let name_WYSIWYG_activate=Activer l'éditeur |
77 | !let name_WYSIWYG_disable=Désactiver l'éditeur |
92 | !let name_WYSIWYG_disable=Désactiver l'éditeur |
78 | !endif |
93 | !endif |
79 | !if $lang=it |
94 | !if $lang=it |
- | 95 | !set tiny_lang=language: 'it_IT', |
|
- | 96 | !let name_WYSIWYG_activate=Activate editor |
|
- | 97 | !let name_WYSIWYG_disable=Disable editor |
|
- | 98 | !endif |
|
- | 99 | !if $lang=nl |
|
80 | !set tiny_lang=language: |
100 | !set tiny_lang=language: 'nl', |
81 | !let name_WYSIWYG_activate=Activate editor |
101 | !let name_WYSIWYG_activate=Activate editor |
82 | !let name_WYSIWYG_disable=Disable editor |
102 | !let name_WYSIWYG_disable=Disable editor |
83 | !endif |
103 | !endif |
84 | !if $lang= |
104 | !if $lang=si |
85 | !set tiny_lang=language: |
105 | !set tiny_lang=language: 'sl_SI', |
86 | !let name_WYSIWYG_activate=Activate editor |
106 | !let name_WYSIWYG_activate=Activate editor |
87 | !let name_WYSIWYG_disable=Disable editor |
107 | !let name_WYSIWYG_disable=Disable editor |
88 | !endif |
108 | !endif |
- | 109 | ||
89 | 110 | ||
90 | !set wims_html_header= !append line <script src="scripts/js/external/tinymce/tinymce.min.js"></script>\ |
111 | !set wims_html_header= !append line <script src="scripts/js/external/tinymce/tinymce.min.js"></script>\ |
91 | <style>.hidden_btn{display:none}.wysiwyg_btns{text-align:right;font-size:.6em}</style>\ |
112 | <style>.hidden_btn{display:none}.wysiwyg_btns{text-align:right;font-size:.6em}</style>\ |
92 | <script>\ |
113 | <script>\ |
93 | document.addEventListener("DOMContentLoaded", function() {\ |
114 | document.addEventListener("DOMContentLoaded", function() {\ |
Line 125... | Line 146... | ||
125 | entities : '160,nbsp,162,cent,8364,euro,163,pound',\ |
146 | entities : '160,nbsp,162,cent,8364,euro,163,pound',\ |
126 | content_css : 'html/themes/$wims_theme/css.css',\ |
147 | content_css : 'html/themes/$wims_theme/css.css',\ |
127 | body_class: 'main_body',\ |
148 | body_class: 'main_body',\ |
128 | content_style : ':root{--wims_bgcolor: $wims_bgcolor;--wims_link_color: $wims_link_color;--wims_vlink_color: $wims_vlink_color;--wims_hlink_color: $wims_hlink_color;--wims_ref_menucolor: $wims_ref_menucolor;--wims_ref_bgcolor: $wims_ref_bgcolor;--wims_ref_button_color: $wims_ref_button_color;--wims_ref_button_bgcolor: $wims_ref_button_bgcolor;}a, .ui-widget-content a{color:$wims_link_color}a:hover, a:focus {color:$wims_hlink_color}table.wimstable th{background-color: $wims_ref_bgcolor;color: $wims_ref_menucolor}table.wimstable th a{color: $wims_ref_menucolor}.wimstable caption a{color: $wims_ref_menucolor}.wims_emph {color:$wims_ref_bgcolor}input[type="submit"],input[type="button"],.main_body .wims_button{background-color:$wims_ref_button_bgcolor;color:$wims_ref_button_color}.main_body .wims_button_help{background-color:$wims_ref_button_help_bgcolor;color:$wims_ref_button_help_color}.property_fields{border-color:$wims_ref_bgcolor}.property_fields legend{background-color: $wims_ref_bgcolor}.property_fields legend,.property_fields legend>a{color:$wims_ref_menucolor}.wims_color1 {background-color: $wims_ref_bgcolor;color:$wims_ref_menucolor}.wims_color2 {background-color:$wims_ref_button_bgcolor;color:$wims_ref_button_color}.wims_color3 {background-color:$wims_ref_button_help_bgcolor;color:$wims_ref_button_help_color}'\ |
149 | content_style : ':root{--wims_bgcolor: $wims_bgcolor;--wims_link_color: $wims_link_color;--wims_vlink_color: $wims_vlink_color;--wims_hlink_color: $wims_hlink_color;--wims_ref_menucolor: $wims_ref_menucolor;--wims_ref_bgcolor: $wims_ref_bgcolor;--wims_ref_button_color: $wims_ref_button_color;--wims_ref_button_bgcolor: $wims_ref_button_bgcolor;}a, .ui-widget-content a{color:$wims_link_color}a:hover, a:focus {color:$wims_hlink_color}table.wimstable th{background-color: $wims_ref_bgcolor;color: $wims_ref_menucolor}table.wimstable th a{color: $wims_ref_menucolor}.wimstable caption a{color: $wims_ref_menucolor}.wims_emph {color:$wims_ref_bgcolor}input[type="submit"],input[type="button"],.main_body .wims_button{background-color:$wims_ref_button_bgcolor;color:$wims_ref_button_color}.main_body .wims_button_help{background-color:$wims_ref_button_help_bgcolor;color:$wims_ref_button_help_color}.property_fields{border-color:$wims_ref_bgcolor}.property_fields legend{background-color: $wims_ref_bgcolor}.property_fields legend,.property_fields legend>a{color:$wims_ref_menucolor}.wims_color1 {background-color: $wims_ref_bgcolor;color:$wims_ref_menucolor}.wims_color2 {background-color:$wims_ref_button_bgcolor;color:$wims_ref_button_color}.wims_color3 {background-color:$wims_ref_button_help_bgcolor;color:$wims_ref_button_help_color}'\ |
129 | });\ |
150 | });\ |
- | 151 | });</script>\ |
|
130 |
|
152 | to $wims_html_header |
131 | !endif |
153 | !endif |