/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/editor_template_src.js |
---|
New file |
0,0 → 1,84 |
/** |
* $Id: editor_template_src.js 162 2007-01-03 16:16:52Z spocke $ |
* |
* @author Moxiecode |
* @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved. |
*/ |
var TinyMCE_SimpleTheme = { |
// List of button ids in tile map |
_buttonMap : 'bold,bullist,cleanup,italic,numlist,redo,strikethrough,underline,undo', |
getEditorTemplate : function() { |
var html = ''; |
html += '<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}">'; |
html += '<tr><td align="center">'; |
html += '<span id="{$editor_id}">IFRAME</span>'; |
html += '</td></tr>'; |
html += '<tr><td class="mceToolbar" align="center" height="1">'; |
html += tinyMCE.getButtonHTML('bold', 'lang_bold_desc', '{$themeurl}/images/{$lang_bold_img}', 'Bold'); |
html += tinyMCE.getButtonHTML('italic', 'lang_italic_desc', '{$themeurl}/images/{$lang_italic_img}', 'Italic'); |
html += tinyMCE.getButtonHTML('underline', 'lang_underline_desc', '{$themeurl}/images/{$lang_underline_img}', 'Underline'); |
html += tinyMCE.getButtonHTML('strikethrough', 'lang_striketrough_desc', '{$themeurl}/images/strikethrough.gif', 'Strikethrough'); |
html += '<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />'; |
html += tinyMCE.getButtonHTML('undo', 'lang_undo_desc', '{$themeurl}/images/undo.gif', 'Undo'); |
html += tinyMCE.getButtonHTML('redo', 'lang_redo_desc', '{$themeurl}/images/redo.gif', 'Redo'); |
html += '<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />'; |
html += tinyMCE.getButtonHTML('cleanup', 'lang_cleanup_desc', '{$themeurl}/images/cleanup.gif', 'mceCleanup'); |
html += '<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />'; |
html += tinyMCE.getButtonHTML('bullist', 'lang_bullist_desc', '{$themeurl}/images/bullist.gif', 'InsertUnorderedList'); |
html += tinyMCE.getButtonHTML('numlist', 'lang_numlist_desc', '{$themeurl}/images/numlist.gif', 'InsertOrderedList'); |
html += '</td></tr></table>'; |
return { |
delta_width : 0, |
delta_height : 20, |
html : html |
}; |
}, |
handleNodeChange : function(editor_id, node) { |
// Reset old states |
tinyMCE.switchClass(editor_id + '_bold', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_italic', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_underline', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_strikethrough', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_bullist', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_numlist', 'mceButtonNormal'); |
// Handle elements |
do { |
switch (node.nodeName.toLowerCase()) { |
case "b": |
case "strong": |
tinyMCE.switchClass(editor_id + '_bold', 'mceButtonSelected'); |
break; |
case "i": |
case "em": |
tinyMCE.switchClass(editor_id + '_italic', 'mceButtonSelected'); |
break; |
case "u": |
tinyMCE.switchClass(editor_id + '_underline', 'mceButtonSelected'); |
break; |
case "strike": |
tinyMCE.switchClass(editor_id + '_strikethrough', 'mceButtonSelected'); |
break; |
case "ul": |
tinyMCE.switchClass(editor_id + '_bullist', 'mceButtonSelected'); |
break; |
case "ol": |
tinyMCE.switchClass(editor_id + '_numlist', 'mceButtonSelected'); |
break; |
} |
} while ((node = node.parentNode) != null); |
} |
}; |
tinyMCE.addTheme("simple", TinyMCE_SimpleTheme); |
tinyMCE.addButtonMap(TinyMCE_SimpleTheme._buttonMap); |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/underline_fr.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/underline_fr.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/spacer.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/spacer.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/bullist.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/bullist.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/bold_de_se.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/bold_de_se.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/italic_tw.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/italic_tw.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/bold.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/bold.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/underline.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/underline.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/bold_ru.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/bold_ru.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/cleanup.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/cleanup.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/redo.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/redo.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/bold_tw.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/bold_tw.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/numlist.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/numlist.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/underline_ru.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/underline_ru.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/buttons.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/buttons.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/underline_tw.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/underline_tw.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/separator.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/separator.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/strikethrough.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/strikethrough.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/italic_de_se.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/italic_de_se.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/undo.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/undo.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/italic.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/italic.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/bold_fr.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/bold_fr.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/italic_ru.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/images/italic_ru.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/css/editor_ui.css |
---|
New file |
0,0 → 1,125 |
.mceSeparatorLine { |
border: 0; |
padding: 0; |
margin-left: 4px; |
margin-right: 2px; |
} |
.mceSelectList { |
font-family: "MS Sans Serif"; |
font-size: 7pt; |
font-weight: normal; |
margin-top: 2px; |
} |
.mceLabel, .mceLabelDisabled { |
font-family: "MS Sans Serif"; |
font-size: 9pt; |
} |
.mceLabel { |
color: #000000; |
} |
.mceLabelDisabled { |
cursor: text; |
color: #999999; |
} |
.mceEditor { |
background: #F0F0EE; |
border: 1px solid #cccccc; |
} |
.mceEditorArea { |
font-family: "MS Sans Serif"; |
background: #FFFFFF; |
} |
.mceToolbar { |
background: #F0F0EE; |
border-top: 1px solid #cccccc; |
line-height: 1px; |
font-size: 1px; |
padding-bottom: 1px; |
} |
.mceEditorIframe { |
border: 0; |
} |
/* Button CSS rules */ |
a.mceButtonDisabled img, a.mceButtonNormal img, a.mceButtonSelected img { |
width: 20px; |
height: 20px; |
cursor: default; |
margin-top: 1px; |
margin-left: 1px; |
} |
a.mceButtonDisabled img { |
border: 0 !important; |
} |
a.mceButtonNormal img, a.mceButtonSelected img { |
border: 1px solid #F0F0EE !important; |
} |
a.mceButtonSelected img { |
border: 1px solid #C0C0BB !important; |
} |
a.mceButtonNormal img:hover, a.mceButtonSelected img:hover { |
border: 1px solid #0A246A !important; |
cursor: default; |
background-color: #B6BDD2; |
} |
a.mceButtonDisabled img { |
-moz-opacity:0.3; |
opacity: 0.3; |
border: 1px solid #F0F0EE !important; |
cursor: default; |
} |
a.mceTiledButton img { |
background-image: url('../images/buttons.gif'); |
background-repeat: no-repeat; |
} |
/* MSIE specific rules */ |
* html a.mceButtonNormal img, * html a.mceButtonSelected img, * html a.mceButtonDisabled img { |
border: 0px !important; |
margin-top: 2px; |
margin-bottom: 1px; |
} |
* html a.mceButtonDisabled img { |
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30); |
border: 0px !important; |
} |
* html a.mceButtonDisabled { |
border: 1px solid #F0F0EE !important; |
} |
* html a.mceButtonNormal, * html a.mceButtonSelected { |
border: 1px solid #F0F0EE; |
cursor: default; |
} |
* html a.mceButtonSelected { |
border: 1px solid #C0C0BB; |
} |
* html a.mceButtonNormal:hover, * html a.mceButtonSelected:hover { |
border: 1px solid #0A246A; |
cursor: default; |
background-color: #B6BDD2; |
} |
* html .mceSelectList { |
margin-top: 2px; |
} |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/css/editor_popup.css |
---|
New file |
0,0 → 1,41 |
body { |
background-color: #F0F0EE; |
font-family: Verdana, Arial, Helvetica, sans-serif; |
font-size: 11px; |
scrollbar-3dlight-color: #F0F0EE; |
scrollbar-arrow-color: #676662; |
scrollbar-base-color: #F0F0EE; |
scrollbar-darkshadow-color: #DDDDDD; |
scrollbar-face-color: #E0E0DD; |
scrollbar-highlight-color: #F0F0EE; |
scrollbar-shadow-color: #F0F0EE; |
scrollbar-track-color: #F5F5F5; |
} |
td { |
font-family: Verdana, Arial, Helvetica, sans-serif; |
font-size: 11px; |
} |
input { |
background: #FFFFFF; |
border: 1px solid #cccccc; |
} |
td, input, select, textarea { |
font-family: Verdana, Arial, Helvetica, sans-serif; |
font-size: 10px; |
} |
input, select, textarea { |
border: 1px solid #808080; |
} |
.input_noborder { |
border: 0; |
} |
.title { |
font-size: 12px; |
font-weight: bold; |
} |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/css/editor_content.css |
---|
New file |
0,0 → 1,25 |
body, td, pre { |
font-family: Verdana, Arial, Helvetica, sans-serif; |
font-size: 10px; |
} |
body { |
background-color: #FFFFFF; |
} |
.mceVisualAid { |
border: 1px dashed #BBBBBB; |
} |
/* MSIE specific */ |
* html body { |
scrollbar-3dlight-color: #F0F0EE; |
scrollbar-arrow-color: #676662; |
scrollbar-base-color: #F0F0EE; |
scrollbar-darkshadow-color: #DDDDDD; |
scrollbar-face-color: #E0E0DD; |
scrollbar-highlight-color: #F0F0EE; |
scrollbar-shadow-color: #F0F0EE; |
scrollbar-track-color: #F5F5F5; |
} |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/simple/editor_template.js |
---|
New file |
0,0 → 1,0 |
var TinyMCE_SimpleTheme={_buttonMap:'bold,bullist,cleanup,italic,numlist,redo,strikethrough,underline,undo',getEditorTemplate:function(){var html='';html+='<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}">';html+='<tr><td align="center">';html+='<span id="{$editor_id}">IFRAME</span>';html+='</td></tr>';html+='<tr><td class="mceToolbar" align="center" height="1">';html+=tinyMCE.getButtonHTML('bold','lang_bold_desc','{$themeurl}/images/{$lang_bold_img}','Bold');html+=tinyMCE.getButtonHTML('italic','lang_italic_desc','{$themeurl}/images/{$lang_italic_img}','Italic');html+=tinyMCE.getButtonHTML('underline','lang_underline_desc','{$themeurl}/images/{$lang_underline_img}','Underline');html+=tinyMCE.getButtonHTML('strikethrough','lang_striketrough_desc','{$themeurl}/images/strikethrough.gif','Strikethrough');html+='<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';html+=tinyMCE.getButtonHTML('undo','lang_undo_desc','{$themeurl}/images/undo.gif','Undo');html+=tinyMCE.getButtonHTML('redo','lang_redo_desc','{$themeurl}/images/redo.gif','Redo');html+='<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';html+=tinyMCE.getButtonHTML('cleanup','lang_cleanup_desc','{$themeurl}/images/cleanup.gif','mceCleanup');html+='<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';html+=tinyMCE.getButtonHTML('bullist','lang_bullist_desc','{$themeurl}/images/bullist.gif','InsertUnorderedList');html+=tinyMCE.getButtonHTML('numlist','lang_numlist_desc','{$themeurl}/images/numlist.gif','InsertOrderedList');html+='</td></tr></table>';return{delta_width:0,delta_height:20,html:html}},handleNodeChange:function(editor_id,node){tinyMCE.switchClass(editor_id+'_bold','mceButtonNormal');tinyMCE.switchClass(editor_id+'_italic','mceButtonNormal');tinyMCE.switchClass(editor_id+'_underline','mceButtonNormal');tinyMCE.switchClass(editor_id+'_strikethrough','mceButtonNormal');tinyMCE.switchClass(editor_id+'_bullist','mceButtonNormal');tinyMCE.switchClass(editor_id+'_numlist','mceButtonNormal');do{switch(node.nodeName.toLowerCase()){case"b":case"strong":tinyMCE.switchClass(editor_id+'_bold','mceButtonSelected');break;case"i":case"em":tinyMCE.switchClass(editor_id+'_italic','mceButtonSelected');break;case"u":tinyMCE.switchClass(editor_id+'_underline','mceButtonSelected');break;case"strike":tinyMCE.switchClass(editor_id+'_strikethrough','mceButtonSelected');break;case"ul":tinyMCE.switchClass(editor_id+'_bullist','mceButtonSelected');break;case"ol":tinyMCE.switchClass(editor_id+'_numlist','mceButtonSelected');break}}while((node=node.parentNode)!=null)}};tinyMCE.addTheme("simple",TinyMCE_SimpleTheme);tinyMCE.addButtonMap(TinyMCE_SimpleTheme._buttonMap); |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/css/editor_content.css |
---|
New file |
0,0 → 1,58 |
/* This file contains the CSS data for the editable area(iframe) of TinyMCE */ |
/* You can extend this CSS by adding your own CSS file with the the content_css option */ |
body, td, pre { |
font-family: Verdana, Arial, Helvetica, sans-serif; |
font-size: 10px; |
} |
body { |
background-color: #FFFFFF; |
} |
.mceVisualAid { |
border: 1px dashed #BBBBBB !important; |
} |
div.mceVisualAid { |
background-image:url('../images/spacer.gif'); |
visibility: visible !important; |
} |
.mceItemAnchor { |
width: 12px; |
line-height: 6px; |
overflow: hidden; |
padding-left: 12px; |
background-image: url('../images/anchor_symbol.gif'); |
background-position: bottom; |
background-repeat: no-repeat; |
} |
/* Important is needed in Gecko browsers inorder to style links */ |
/* |
a { |
color: green !important; |
} |
*/ |
/* Style selection range colors in Gecko browsers */ |
/* |
::-moz-selection { |
background-color: red; |
color: green; |
} |
*/ |
/* MSIE specific */ |
* html body { |
scrollbar-3dlight-color: #F0F0EE; |
scrollbar-arrow-color: #676662; |
scrollbar-base-color: #F0F0EE; |
scrollbar-darkshadow-color: #DDDDDD; |
scrollbar-face-color: #E0E0DD; |
scrollbar-highlight-color: #F0F0EE; |
scrollbar-shadow-color: #F0F0EE; |
scrollbar-track-color: #F5F5F5; |
} |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/css/editor_ui.css |
---|
New file |
0,0 → 1,97 |
/* This file contains the CSS data for the editor UI of TinyMCE instances */ |
.mceToolbarTop a, .mceToolbarTop a:visited, .mceToolbarTop a:hover, .mceToolbarBottom a, .mceToolbarBottom a:visited, .mceToolbarBottom a:hover {border: 0; margin: 0; padding: 0; background: transparent;} |
.mceSeparatorLine {border: 0; padding: 0; margin-left: 4px; margin-right: 2px;} |
.mceSelectList {font-family: 'MS Sans Serif', sans-serif, Verdana, Arial; font-size: 7pt !important; font-weight: normal; margin-top: 3px; padding: 0; display: inline; vertical-align: top; background-color: #F0F0EE;} |
.mceLabel, .mceLabelDisabled {font-family: 'MS Sans Serif', sans-serif, Verdana, Arial; font-size: 9pt;} |
.mceLabel {color: #000000;} |
.mceLabelDisabled {cursor: text; color: #999999;} |
.mceEditor {background: #F0F0EE; border: 1px solid #cccccc; padding: 0; margin: 0;} |
.mceEditorArea { font-family: 'MS Sans Serif', sans-serif, Verdana, Arial; background: #FFFFFF; padding: 0; margin: 0; } |
.mceToolbarTop, .mceToolbarBottom {background: #F0F0EE; line-height: 1px; font-size: 1px;} |
.mceToolbarTop {border-bottom: 1px solid #cccccc; padding-bottom: 1px;} |
.mceToolbarBottom {border-top: 1px solid #cccccc;} |
.mceToolbarContainer {display: block; position: relative; left: 0; top: 0; width: 100%;} |
.mceStatusbarTop, .mceStatusbarBottom, .mceStatusbar {height: 20px;} |
.mceStatusbarTop .mceStatusbarPathText, .mceStatusbarBottom .mceStatusbarPathText, .mceStatusbar .mceStatusbarPathText {font-family: 'MS Sans Serif', sans-serif, Verdana, Arial; font-size: 9pt; padding: 2px; line-height: 16px; overflow: visible;} |
.mceStatusbarTop {border-bottom: 1px solid #cccccc;} |
.mceStatusbarBottom {border-top: 1px solid #cccccc;} |
.mceStatusbar {border-bottom: 1px solid #cccccc;} |
.mcePathItem, .mcePathItem:link, .mcePathItem:visited, .mcePathItem:hover {text-decoration: none; font-family: 'MS Sans Serif', sans-serif, Verdana, Arial; font-size: 9pt; color: #000000;} |
.mcePathItem:hover {text-decoration: underline;} |
.mceStatusbarPathText {float: left;} |
.mceStatusbarResize {float: right; background-image: url('../images/statusbar_resize.gif'); background-repeat: no-repeat; width: 11px; height: 20px; cursor: se-resize;} |
.mceResizeBox {width: 10px; height: 10px; display: none; border: 1px dotted gray; margin: 0; padding: 0;} |
.mceEditorIframe {border: 0;} |
/* Button CSS rules */ |
a.mceButtonDisabled img, a.mceButtonNormal img, a.mceButtonSelected img {width: 20px; height: 20px; cursor: default; margin-top: 1px; margin-left: 1px;} |
a.mceButtonDisabled img {border: 0 !important;} |
a.mceButtonNormal img, a.mceButtonSelected img {border: 1px solid #F0F0EE !important;} |
a.mceButtonSelected img {border: 1px solid #6779AA !important; background-color: #D4D5D8;} |
a.mceButtonNormal img:hover, a.mceButtonSelected img:hover {border: 1px solid #0A246A !important; cursor: default; background-color: #B6BDD2;} |
a.mceButtonDisabled img {-moz-opacity:0.3; opacity: 0.3; border: 1px solid #F0F0EE !important; cursor: default;} |
a.mceTiledButton img {background-image: url('../images/buttons.gif'); background-repeat: no-repeat;} |
/* Menu button CSS rules */ |
span.mceMenuButton img, span.mceMenuButtonSelected img {border: 1px solid #F0F0EE; margin-left: 1px;} |
span.mceMenuButtonSelected img {border: 1px solid #6779AA; background-color: #B6BDD2;} |
span.mceMenuButtonSelected img.mceMenuButton {border: 1px solid #F0F0EE; background-color: transparent;} |
span.mceMenuButton img.mceMenuButton, span.mceMenuButtonSelected img.mceMenuButton {border-left: 0; margin-left: 0;} |
span.mceMenuButton:hover img, span.mceMenuButtonSelected:hover img {border: 1px solid #0A246A; background-color: #B6BDD2;} |
span.mceMenuButton:hover img.mceMenuButton, span.mceMenuButtonSelected:hover img.mceMenuButton {border-left: 0;} |
span.mceMenuButtonFocus img {border: 1px solid gray; border-right: 0; margin-left: 1px; background-color: #F5F4F2;} |
span.mceMenuButtonFocus img.mceMenuButton {border: 1px solid gray; border-left: 1px solid #F5F4F2; margin-left: 0;} |
span.mceMenuHover img {border: 1px solid #0A246A; background-color: #B6BDD2;} |
span.mceMenuButtonSelected.mceMenuHover img.mceMenuButton {border: 1px solid #0A246A; background-color: #B6BDD2; border-left: 0;} |
/* Menu */ |
.mceMenu {position: absolute; left: 0; top: 0; display: none; z-index: 1000; background-color: white; border: 1px solid gray; font-weight: normal;} |
.mceMenu a, .mceMenuTitle, .mceMenuDisabled {display: block; width: 100%; text-decoration: none; background-color: white; font-family: Tahoma, Verdana, Arial, Helvetica; font-size: 11px; line-height: 20px; color: black;} |
.mceMenu a:hover {background-color: #B6BDD2; color: black; text-decoration: none !important;} |
.mceMenu span {padding-left: 10px; padding-right: 10px; display: block; line-height: 20px;} |
.mceMenuSeparator {border-bottom: 1px solid gray; background-color: gray; height: 1px;} |
.mceMenuTitle span {padding-left: 5px;} |
.mceMenuTitle {background-color: #DDDDDD; font-weight: bold;} |
.mceMenuDisabled {color: gray;} |
span.mceMenuSelectedItem {background-image: url('../images/menu_check.gif'); background-repeat: no-repeat; background-position: 5px 8px; padding-left: 20px;} |
span.mceMenuCheckItem {padding-left: 20px;} |
span.mceMenuLine {display: block; position: absolute; left: 0; top: -1px; background-color: #F5F4F2; width: 30px; height: 1px; overflow: hidden; padding-left: 0; padding-right: 0;} |
.mceColors table, .mceColors td {margin: 0; padding: 2px;} |
a.mceMoreColors {width: auto; padding: 0; margin: 0 3px 3px 3px; text-align: center; border: 1px solid white; text-decoration: none !important;} |
.mceColorPreview {position: absolute; overflow:hidden; left: 0; top: 0; margin-left: 3px; margin-top: 15px; width: 16px; height: 4px; background-color: red;} |
a.mceMoreColors:hover {border: 1px solid #0A246A;} |
.mceColors td a {width: 9px; height: 9px; overflow: hidden; border: 1px solid #808080;} |
/* MSIE 6 specific rules */ |
* html a.mceButtonNormal img, * html a.mceButtonSelected img, * html a.mceButtonDisabled img {border: 0 !important; margin-top: 2px; margin-bottom: 1px;} |
* html a.mceButtonDisabled img {filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30); border: 0 !important;} |
* html a.mceButtonDisabled {border: 1px solid #F0F0EE !important;} |
* html a.mceButtonNormal, * html a.mceButtonSelected {border: 1px solid #F0F0EE !important; cursor: default;} |
* html a.mceButtonSelected {border: 1px solid #6779AA !important; background-color: #D4D5D8;} |
* html a.mceButtonNormal:hover, * html a.mceButtonSelected:hover {border: 1px solid #0A246A !important; background-color: #B6BDD2; cursor: default;} |
* html .mceSelectList {margin-top: 2px;} |
* html span.mceMenuButton, * html span.mceMenuButtonFocus {position: relative; left: 0; top: 0;} |
* html span.mceMenuButton img, * html span.mceMenuButtonSelected img, * html span.mceMenuButtonFocus img {position: relative; top: 1px;} |
* html a.mceMoreColors {width: auto;} |
* html .mceColors td a {width: 10px; height: 10px;} |
* html .mceColorPreview {margin-left: 2px; margin-top: 14px;} |
/* MSIE 7 specific rules */ |
*:first-child+html a.mceButtonNormal img, *:first-child+html a.mceButtonSelected img, *:first-child+html a.mceButtonDisabled img {border: 0 !important; margin-top: 2px; margin-bottom: 1px;} |
*:first-child+html a.mceButtonDisabled img {filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30); border: 0 !important;} |
*:first-child+html a.mceButtonDisabled {border: 1px solid #F0F0EE !important;} |
*:first-child+html a.mceButtonNormal, *:first-child+html a.mceButtonSelected {border: 1px solid #F0F0EE !important; cursor: default;} |
*:first-child+html a.mceButtonSelected {border: 1px solid #6779AA !important; background-color: #D4D5D8;} |
*:first-child+html a.mceButtonNormal:hover, *:first-child+html a.mceButtonSelected:hover {border: 1px solid #0A246A !important; background-color: #B6BDD2; cursor: default;} |
*:first-child+html .mceSelectList {margin-top: 2px;} |
*:first-child+html span.mceMenuButton, *:first-child+html span.mceMenuButtonFocus {position: relative; left: 0; top: 0;} |
*:first-child+html span.mceMenuButton img, *:first-child+html span.mceMenuButtonSelected img, *:first-child+html span.mceMenuButtonFocus img {position: relative; top: 1px;} |
*:first-child+html a.mceMoreColors {width: 137px;} |
*:first-child+html .mceColors td a {width: 10px; height: 10px;} |
*:first-child+html .mceColorPreview {margin: 0; padding-left: 4px; margin-top: 14px; width: 14px;} |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/css/editor_popup.css |
---|
New file |
0,0 → 1,331 |
/* This file contains the CSS data for all popups in TinyMCE */ |
body { |
background-color: #F0F0EE; |
font-family: Verdana, Arial, Helvetica, sans-serif; |
font-size: 11px; |
scrollbar-3dlight-color: #F0F0EE; |
scrollbar-arrow-color: #676662; |
scrollbar-base-color: #F0F0EE; |
scrollbar-darkshadow-color: #DDDDDD; |
scrollbar-face-color: #E0E0DD; |
scrollbar-highlight-color: #F0F0EE; |
scrollbar-shadow-color: #F0F0EE; |
scrollbar-track-color: #F5F5F5; |
margin: 8px; |
} |
td { |
font-family: Verdana, Arial, Helvetica, sans-serif; |
font-size: 11px; |
} |
input { |
background: #FFFFFF; |
border: 1px solid #cccccc; |
} |
td, input, select, textarea { |
font-family: Verdana, Arial, Helvetica, sans-serif; |
font-size: 10px; |
} |
input, select, textarea { |
border: 1px solid #808080; |
} |
.input_noborder { |
border: 0; |
} |
#insert, .updateButton { |
font-weight: bold; |
width: 90px; |
height: 21px; |
border: 0; |
background-image: url('../images/insert_button_bg.gif'); |
cursor: pointer; |
} |
#cancel { |
font-weight: bold; |
width: 90px; |
height: 21px; |
border: 0; |
background-image: url('../images/cancel_button_bg.gif'); |
cursor: pointer; |
} |
/* Mozilla only style */ |
html>body #insert, html>body #cancel { |
padding-bottom: 2px; |
} |
.title { |
font-size: 12px; |
font-weight: bold; |
color: #2B6FB6; |
} |
table.charmap { |
border-style: solid; |
border-width: 1px; |
border-color: #AAAAAA; |
} |
td.charmap, td.charmapOver { |
color: #000000; |
border-color: #AAAAAA; |
border-style: solid; |
border-width: 1px; |
text-align: center; |
font-size: 12px; |
} |
td.charmapOver { |
background-color: #CCCCCC; |
cursor: default; |
} |
a.charmap { |
color: #000000; |
text-decoration: none |
} |
.wordWrapCode { |
vertical-align: middle; |
border: 1px none #000000; |
background-color: transparent; |
} |
input.radio { |
border: 1px none #000000; |
background-color: transparent; |
vertical-align: middle; |
} |
input.checkbox { |
border: 1px none #000000; |
background-color: transparent; |
vertical-align: middle; |
} |
.mceButtonNormal, .mceButtonOver, .mceButtonDown, .mceSeparator, .mceButtonDisabled, .mceButtonSelected { |
margin-left: 1px; |
} |
.mceButtonNormal { |
border-top: 1px solid; |
border-left: 1px solid; |
border-bottom: 1px solid; |
border-right: 1px solid; |
border-color: #F0F0EE; |
cursor: default; |
} |
.mceButtonOver { |
border: 1px solid #0A246A; |
cursor: default; |
background-color: #B6BDD2; |
} |
.mceButtonDown { |
cursor: default; |
border: 1px solid #0A246A; |
background-color: #8592B5; |
} |
.mceButtonDisabled { |
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30); |
-moz-opacity:0.3; |
opacity: 0.3; |
border-top: 1px solid; |
border-left: 1px solid; |
border-bottom: 1px solid; |
border-right: 1px solid; |
border-color: #F0F0EE; |
cursor: default; |
} |
.mceActionPanel { |
margin-top: 5px; |
} |
/* Tabs classes */ |
.tabs { |
float: left; |
width: 100%; |
line-height: normal; |
background-image: url("../images/xp/tabs_bg.gif"); |
} |
.tabs ul { |
margin: 0; |
padding: 0 0 0; |
list-style: none; |
} |
.tabs li { |
float: left; |
background: url("../images/xp/tab_bg.gif") no-repeat left top; |
margin: 0; |
margin-left: 0; |
margin-right: 2px; |
padding: 0 0 0 10px; |
line-height: 18px; |
} |
.tabs li.current { |
background: url("../images/xp/tab_sel_bg.gif") no-repeat left top; |
margin-right: 2px; |
} |
.tabs span { |
float: left; |
display: block; |
background: url("../images/xp/tab_end.gif") no-repeat right top; |
padding: 0px 10px 0 0; |
} |
.tabs .current span { |
background: url("../images/xp/tab_sel_end.gif") no-repeat right top; |
} |
.tabs a { |
text-decoration: none; |
font-family: Verdana, Arial; |
font-size: 10px; |
} |
.tabs a:link, .tabs a:visited, .tabs a:hover { |
color: black; |
} |
.tabs a:hover { |
} |
.tabs .current { |
} |
.tabs .current a, .tabs .current a:link, .tabs .current a:visited { |
} |
.panel_wrapper div.panel { |
display: none; |
} |
.panel_wrapper div.current { |
display: block; |
width: 100%; |
height: 300px; |
overflow: visible; /* Should be auto but that breaks Safari */ |
} |
.panel_wrapper { |
border: 1px solid #919B9C; |
border-top: 0px; |
padding: 10px; |
padding-top: 5px; |
clear: both; |
background-color: white; |
} |
fieldset { |
border: 1px solid #919B9C; |
font-family: Verdana, Arial; |
font-size: 10px; |
padding: 0; |
margin: 0; |
padding: 4px; |
} |
legend { |
color: #2B6FB6; |
font-weight: bold; |
} |
.properties { |
width: 100%; |
} |
.properties .column1 { |
} |
.properties .column2 { |
text-align: left; |
} |
a:link, a:visited { |
color: black; |
} |
a:hover { |
color: #2B6FB6; |
} |
#plugintable thead { |
font-weight: bold; |
background-color: #DDDDDD; |
} |
#plugintable, #about #plugintable td { |
border: 1px solid #919B9C; |
} |
#plugintable { |
width: 99%; |
margin-top: 10px; |
} |
#pluginscontainer { |
height: 290px; |
overflow: auto; |
} |
/* MSIE Specific styles */ |
* html .panel_wrapper { |
width: 100%; |
} |
.column { |
float: left; |
} |
h1, h2, h3, h4 { |
color: #2B6FB6; |
margin: 0; |
padding: 0; |
padding-top: 5px; |
} |
h3 { |
font-size: 14px; |
} |
#link .panel_wrapper, #link div.current { |
height: 125px; |
} |
#image .panel_wrapper, #image div.current { |
height: 190px; |
} |
label.msg { display: none; } |
label.invalid { color: #EE0000; display: inline; } |
input.invalid { border: 1px solid #EE0000; } |
/* Disables the advanced tab in the table plugin. */ |
/* |
#table #advanced_tab { |
display: none; |
} |
*/ |
/* Disables the border input field and label in the table plugin. */ |
/* |
#table #border, #table #borderlabel { |
display: none; |
} |
*/ |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/css/colorpicker.css |
---|
New file |
0,0 → 1,53 |
/* Colorpicker dialog specific CSS */ |
#preview { |
float: right; |
width: 50px; |
height: 14px; |
line-height: 1px; |
border: 1px solid black; |
margin-left: 5px; |
} |
#colorpicker { |
float: left; |
cursor: crosshair; |
} |
#light { |
border: 1px solid gray; |
margin-left: 5px; |
float: left; |
width: 15px; |
cursor: crosshair; |
} |
#light div { |
overflow: hidden; |
} |
#previewblock { |
float: right; |
padding-left: 10px; |
height: 20px; |
} |
.panel_wrapper div.current { |
height: 175px; |
} |
#namedcolors { |
width: 150px; |
} |
#namedcolors a { |
display: block; |
float: left; |
width: 10px; height: 10px; |
margin: 1px 1px 0 0; |
overflow: hidden; |
} |
#colornamecontainer { |
margin-top: 5px; |
} |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/insert_image_button.htm |
---|
New file |
0,0 → 1,65 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<HEAD> |
<TITLE>Insert image button</TITLE> |
<link href="style.css" rel="stylesheet" type="text/css"> |
</HEAD> |
<BODY> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader"> |
<tr> |
<td><span class="title">Insert image button</span></td> |
<td align="right"><a href="index.htm"><acronym title="Table of contents">TOC</acronym></a></td> |
</tr> |
</table> |
<hr noshade> |
<br> |
The insert image button opens the window shown below.<br> |
<br> |
<img src="images/insert_image_window.gif" alt="Insert image dialog/window" /><br> |
<br> |
You simply enter a URL to the image you want to link to and enter a image description, |
this is then displayed as an alternative text descripton of the image on the page.<br> |
<br> |
<strong>Field descriptions:</strong><br> |
<table border="1" cellspacing="0"> |
<tr> |
<td width="150"><strong>Image URL </strong></td> |
<td>URL/path to the image.</td> |
</tr> |
<tr> |
<td width="150"><strong>Image description </strong></td> |
<td>Alternative description of image contents.</td> |
</tr> |
<tr> |
<td><strong>Dimentions</strong></td> |
<td>Image width/height. </td> |
</tr> |
<tr> |
<td><strong>Alignment</strong></td> |
<td>Image alignment, useful when wrapping text around images.</td> |
</tr> |
<tr> |
<td><strong>Border</strong></td> |
<td>Border thickness. </td> |
</tr> |
<tr> |
<td><strong>VSpace</strong></td> |
<td>Vertical space, useful when wrapping text around images.</td> |
</tr> |
<tr> |
<td><strong>HSpace</strong></td> |
<td>Horizontal space, useful when wrapping text around images.</td> |
</tr> |
</table> |
<br> |
<hr noshade> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter"> |
<tr> |
<td>Go to: <a href="index.htm">Table of contents</a></td> |
<td align="right"><a href="#">Top</a></td> |
</tr> |
</table> |
<br> |
</BODY> |
</HTML> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/common_buttons.htm |
---|
New file |
0,0 → 1,162 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<HEAD> |
<TITLE>Common buttons</TITLE> |
<link href="style.css" rel="stylesheet" type="text/css"> |
</HEAD> |
<BODY> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader"> |
<tr> |
<td><span class="title">Common buttons</span></td> |
<td align="right"><a href="index.htm"><acronym title="Table of contents">TOC</acronym></a></td> |
</tr> |
</table> |
<hr noshade> |
<br> |
Below is a short description about each button. |
<br> |
<br> |
<table border="1" cellpadding="3" cellspacing="0"> |
<tr> |
<td><img src="../../images/bold.gif" width="20" height="20" alt="Bold text icon" /></td> |
<td>Bold text style (Ctrl+B).</td> |
</tr> |
<tr> |
<td><img src="../../images/italic.gif" width="20" height="20" alt="Italic text icon" /></td> |
<td>Italic text style (Ctrl+I).</td> |
</tr> |
<tr> |
<td><img src="../../images/underline.gif" width="20" height="20" alt="Underline text icon." /></td> |
<td>Underline text style (Ctrl+U).</td> |
</tr> |
<tr> |
<td><img src="../../images/strikethrough.gif" width="20" height="20" alt="Strikethrough text icon." /></td> |
<td>Strikethrough text style.</td> |
</tr> |
<tr> |
<td><img src="../../images/justifyleft.gif" width="20" height="20" alt="Align left icon." /></td> |
<td>Align left.</td> |
</tr> |
<tr> |
<td><img src="../../images/justifycenter.gif" width="20" height="20" alt="Align center icon." /></td> |
<td>Align center.</td> |
</tr> |
<tr> |
<td><img src="../../images/justifyright.gif" width="20" height="20" alt="Align right icon." /></td> |
<td>Align right.</td> |
</tr> |
<tr> |
<td><img src="../../images/justifyfull.gif" width="20" height="20" alt="Align full icon." /></td> |
<td>Align full.</td> |
</tr> |
<tr> |
<td><img src="../../images/bullist.gif" width="20" height="20" alt="Unordered list/bullet list icon." /></td> |
<td>Unordered list/bullet list.</td> |
</tr> |
<tr> |
<td><img src="../../images/numlist.gif" width="20" height="20" alt="Ordered list/numbered list icon." /></td> |
<td>Ordered list/numbered list</td> |
</tr> |
<tr> |
<td><img src="../../images/outdent.gif" width="20" height="20" alt="Outdent/decrease indentation icon." /></td> |
<td>Outdent/decrease indentation.</td> |
</tr> |
<tr> |
<td><img src="../../images/indent.gif" width="20" height="20" alt="Indent/increase indentation icon." /></td> |
<td>Indent/increase indentation.</td> |
</tr> |
<tr> |
<td><img src="../../images/undo.gif" width="20" height="20" alt="Undo the last operation." /></td> |
<td>Undo the last operation (Ctrl+Z).</td> |
</tr> |
<tr> |
<td><img src="../../images/redo.gif" width="20" height="20" alt="Redo the last operation icon." /></td> |
<td>Redo the last operation (Ctrl+Y).</td> |
</tr> |
<tr> |
<td><img src="../../images/link.gif" width="20" height="20" alt="Insert a new link icon." /></td> |
<td>Insert a new link, read more about this function in the <a href="insert_link_button.htm">Insert |
link section</a>.</td> |
</tr> |
<tr> |
<td><img src="../../images/unlink.gif" width="20" height="20" alt="Unlinks the current selection icon." /></td> |
<td>Unlinks the current selection/removes all selected links.</td> |
</tr> |
<tr> |
<td><img src="../../images/anchor.gif" width="20" height="20" alt="Insert a new anchor icon." /></td> |
<td>Insert a new anchor, read more about this function in the <a href="insert_anchor_button.htm">Insert anchor section.</a></td> |
</tr> |
<tr> |
<td><img src="../../images/image.gif" width="20" height="20" alt="Insert a new image icon." /></td> |
<td>Insert a new image, read more about this function in the <a href="insert_image_button.htm">Insert |
image section</a>.</td> |
</tr> |
<tr> |
<td><img src="../../images/cleanup.gif" width="20" height="20" alt="Cleanup code icon." /></td> |
<td>Cleanup code/Removes unwanted formating. This function is useful when |
you copy contents from for example a office product.</td> |
</tr> |
<tr> |
<td><img src="../../images/help.gif" width="20" height="20" alt="Show help icon." /></td> |
<td>Shows this help window.</td> |
</tr> |
<tr> |
<td><img src="../../images/code.gif" width="20" height="20" alt="Source code editor icon." /></td> |
<td>Opens HTML source code editor. </td> |
</tr> |
<tr> |
<td><img src="../../../../plugins/table/images/table.gif" width="20" height="20" alt="Insert table icon." /></td> |
<td>Inserts a new table at the current location. </td> |
</tr> |
<tr> |
<td><img src="../../../../plugins/table/images/table_insert_row_before.gif" width="20" height="20" alt="Adds a row above icon." /></td> |
<td>Adds a row above the current one. </td> |
</tr> |
<tr> |
<td><img src="../../../../plugins/table/images/table_insert_row_after.gif" width="20" height="20" alt="Adds a row under icon." /></td> |
<td>Adds a row under the current one. </td> |
</tr> |
<tr> |
<td><img src="../../../../plugins/table/images/table_delete_row.gif" width="20" height="20" alt="Remove row icon." /></td> |
<td>Removes the row. </td> |
</tr> |
<tr> |
<td><img src="../../../../plugins/table/images/table_insert_col_before.gif" width="20" height="20" alt="Add column before icon." /></td> |
<td>Adds a column before the current one.</td> |
</tr> |
<tr> |
<td><img src="../../../../plugins/table/images/table_insert_col_after.gif" width="20" height="20" alt="Add column after icon." /></td> |
<td>Adds a column after the current one.</td> |
</tr> |
<tr> |
<td><img src="../../../../plugins/table/images/table_delete_col.gif" width="20" height="20" alt="Remove column icon." /></td> |
<td>Removes the current column.</td> |
</tr> |
<tr> |
<td><img src="../../images/hr.gif" width="20" height="20" alt="Insert horizontal ruler icon." /></td> |
<td>Inserts a new horizontal ruler </td> |
</tr> |
<tr> |
<td><img src="../../images/removeformat.gif" width="20" height="20" alt="Remove formatting icon." /></td> |
<td>Removes formatting from the selection. </td> |
</tr> |
<tr> |
<td><img src="../../images/sub.gif" width="20" height="20" alt="Subscript icon." /></td> |
<td>Makes the selection to be subscript. </td> |
</tr> |
<tr> |
<td><img src="../../images/sup.gif" width="20" height="20" alt="Superscript icon." /></td> |
<td>Makes the selection to be superscripted. </td> |
</tr> |
</table> |
<br> |
<hr noshade="noshade" /> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter"> |
<tr> |
<td>Go to: <a href="index.htm">Table of contents</a></td> |
<td align="right"><a href="#">Top</a></td> |
</tr> |
</table> |
</BODY> |
</HTML> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/insert_table_button.htm |
---|
New file |
0,0 → 1,71 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<HEAD> |
<TITLE>Insert table button</TITLE> |
<link href="style.css" rel="stylesheet" type="text/css"> |
</HEAD> |
<BODY> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader"> |
<tr> |
<td><span class="title">Insert table button</span></td> |
<td align="right"><a href="index.htm"><acronym title="Table of contents">TOC</acronym></a></td> |
</tr> |
</table> |
<hr noshade> |
<br> |
The insert table button opens the window shown below. This action enables you to create tables. <br> |
<br> |
<img src="images/insert_table_window.gif" width="340" height="229" alt="Image of table window" /><br> |
<br> |
<strong>Field descriptions:</strong><br> |
<table border="1" cellspacing="0"> |
<tr> |
<td width="150"><strong>Columns</strong></td> |
<td>Number of columns in the table. </td> |
</tr> |
<tr> |
<td width="150"><strong>Rows</strong></td> |
<td>Number of rows in the new table.</td> |
</tr> |
<tr> |
<td><strong>Cellpadding</strong></td> |
<td>Cellpadding of the table . </td> |
</tr> |
<tr> |
<td><strong>Cellspacing</strong></td> |
<td>Cellspacing of the table .</td> |
</tr> |
<tr> |
<td><strong>Alignment</strong></td> |
<td>Table alignment . </td> |
</tr> |
<tr> |
<td><strong>Border</strong></td> |
<td>Border thinkness of table.</td> |
</tr> |
<tr> |
<td><strong>Width</strong></td> |
<td>Width in pixels of table .</td> |
</tr> |
<tr> |
<td><strong>Height</strong></td> |
<td>Height in pixels of table.</td> |
</tr> |
<tr> |
<td><strong>Class</strong></td> |
<td>Style or CSS class of table.</td> |
</tr> |
</table> |
<br> |
<br> |
<hr noshade> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter"> |
<tr> |
<td>Go to: <a href="index.htm">Table of contents</a></td> |
<td align="right"><a href="#">Top</a></td> |
</tr> |
</table> |
<br> |
</BODY> |
</HTML> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/index.htm |
---|
New file |
0,0 → 1,27 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<HEAD> |
<TITLE>Help Index</TITLE> |
<link href="style.css" rel="stylesheet" type="text/css"> |
</HEAD> |
<BODY onload="window.focus();"> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader"> |
<tr> |
<td><span class="title">Table of contents</span></td> |
<td align="right"> </td> |
</tr> |
</table> |
<hr noshade> |
<br> |
Click the links below to go to the different help sections. |
<ul class="toc_ul"> |
<li class="toc_li"><a href="about.htm">About TinyMCE</a></li> |
<li class="toc_li"><a href="common_buttons.htm">Common buttons</a></li> |
<li class="toc_li"><a href="insert_image_button.htm">Insert image button</a></li> |
<li class="toc_li"><a href="insert_link_button.htm">Insert link button</a></li> |
<li class="toc_li"><a href="insert_anchor_button.htm">Insert anchor button</a></li> |
<li class="toc_li"><a href="insert_table_button.htm">Insert table button</a></li> |
<li class="toc_li"><a href="create_accessible_content.htm">Create accessible content</a></li> |
</ul> |
<hr noshade> |
</BODY> |
</HTML> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/insert_anchor_button.htm |
---|
New file |
0,0 → 1,32 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<HEAD> |
<TITLE>Insert anchor button</TITLE> |
<link href="style.css" rel="stylesheet" type="text/css"> |
</HEAD> |
<BODY> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader"> |
<tr> |
<td><span class="title">Insert anchor button</span></td> |
<td align="right"><a href="index.htm"><acronym title="Table of contents">TOC</acronym></a></td> |
</tr> |
</table> |
<hr noshade> |
<br> |
This button opens a new window with the insert/edit anchor function.<br> |
<br> |
<img src="images/insert_anchor_window.gif" width="330" height="139" alt="Anchor dialog/window" /><br> |
<br> |
There are one field in this window, this is where you enter the name of you anchor point. Remember the anchor name needs to be unique. <br> |
<br> |
<hr noshade> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter"> |
<tr> |
<td>Go to: <a href="index.htm">Table of contents</a></td> |
<td align="right"><a href="#">Top</a></td> |
</tr> |
</table> |
<br> |
</BODY> |
</HTML> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/about.htm |
---|
New file |
0,0 → 1,31 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<HEAD> |
<TITLE>About TinyMCE</TITLE> |
<link href="style.css" rel="stylesheet" type="text/css"> |
</HEAD> |
<BODY> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader"> |
<tr> |
<td><span class="title">About TinyMCE</span></td> |
<td align="right"><a href="index.htm"><acronym title="Table of contents">TOC</acronym></a></td> |
</tr> |
</table> |
<hr noshade> |
<br> |
TinyMCE is a small WYSIWYG editor control for web browsers such as MSIE or Mozilla |
that enables you to edit HTML contents in a more user friendly way. It has common |
features that are found in most word processors and should not be difficult to |
use.<br> |
<br> |
<hr noshade> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter"> |
<tr> |
<td>Go to: <a href="index.htm">Table of contents</a></td> |
<td align="right"><a href="#">Top</a></td> |
</tr> |
</table> |
<br> |
</BODY> |
</HTML> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/create_accessible_content.htm |
---|
New file |
0,0 → 1,45 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<HEAD> |
<TITLE>Insert table button</TITLE> |
<link href="style.css" rel="stylesheet" type="text/css"> |
</HEAD> |
<BODY> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader"> |
<tr> |
<td><span class="title">Create accessible content</span></td> |
<td align="right"><a href="index.htm"><acronym title="Table of contents">TOC</acronym></a></td> |
</tr> |
</table> |
<hr noshade> |
<p>TinyMCE can create HTML content that will be accessible to all users, including those with disabilities using assistive technologies, as well as those using text-based browsers, or those browsing the Web with images turned off. </p> |
<p><strong>Things you can do to make your content accessible:</strong></p> |
<ol> |
<li><strong>Include an Image Description:</strong> Blind users, or others who are unable to view images, will rely on the Image Description (or Alt text) to take the place of the image. If an image contains no meaning, such as a decoration or a spacer image, leave the Image Description empty. TinyMCE will then insert an empty Alt text attribute that will force assistive technologies to ignore the image. <br /><br /></li> |
<li> <strong>Add Scope to data table header cells:</strong> In the table cell editor dialog window, choose a Scope when creating Header cells so the column or row label in that cell becomes explicitely associated with its data cells. Table cell headers will then be announced with each data cell, making it easier for blind users using a screen reader to understand what the content of each cell represents. <br /><br /></li> |
<li><strong> Structure content with properly nested headings:</strong> In the format selection menu choose Heading 1 to Heading 6 to represent headings in your content, rather than using other font formating options. Blind users using a screen reader can then extract the headings from the page to generate a summary of the content it contains, and use those headings to navigate quickly to subsections within the page.<br /><br /></li> |
<li><strong> Include alternate content:</strong> Create an alternate page for non-HTML content such as Flash, Java applets, or embedded movies. This might be a static image, with a description of the image, and a description of the content that would have appeared in its place. An alternate HTML page could also be created, and a link to it included next to the non-HTML object. This will ensure that the content will be accessible to users of assistive technologies that can not view or play the content, and ensure the content will be available to those who do not have the appropriate plugin or helper application installed.<br /><br /></li> |
<li><strong> Check accessbility: </strong> When the AChecker plugin is installed with TinyMCE, click on the Check Accessibility button to generate a report of potential accessibility problems.<br /><br /></li> |
</ol> |
<p>See the <a href="http://checker.atrc.utoronto.ca" target="_new">AChecker Web Site</a> for further details about creating content that will be accessible to all users.<br /> |
</p> |
<hr noshade> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter"> |
<tr> |
<td>Go to: <a href="index.htm">Table of contents</a></td> |
<td align="right"><a href="#">Top</a></td> |
</tr> |
</table> |
<br> |
</BODY> |
</HTML> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/insert_link_button.htm |
---|
New file |
0,0 → 1,33 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<HEAD> |
<TITLE>Insert link button</TITLE> |
<link href="style.css" rel="stylesheet" type="text/css"> |
</HEAD> |
<BODY> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pageheader"> |
<tr> |
<td><span class="title">Insert link button</span></td> |
<td align="right"><a href="index.htm"><acronym title="Table of contents">TOC</acronym></a></td> |
</tr> |
</table> |
<hr noshade> |
<br> |
This button opens a new window with the insert/edit link function.<br> |
<br> |
<img src="images/insert_link_window.gif" width="330" height="159" alt="Insert link dialog/window" /><br> |
<br> |
There are two fields in this window the first one "Link URL" is the |
URL of the link. The target enables you to select how the link is to be opened.<br> |
<br> |
<hr noshade> |
<table width="100%" border="0" cellpadding="1" cellspacing="3" class="pagefooter"> |
<tr> |
<td>Go to: <a href="index.htm">Table of contents</a></td> |
<td align="right"><a href="#">Top</a></td> |
</tr> |
</table> |
<br> |
</BODY> |
</HTML> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_image_window.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_image_window.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_table_window.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_table_window.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_anchor_window.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_anchor_window.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_link_window.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_link_window.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/docs/en/style.css |
---|
New file |
0,0 → 1,28 |
body { background-color: #FFFFFF; } |
body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } |
.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } |
.subtitle { font-size: 12px; font-weight: bold; } |
.toc_ul, .toc_li { margin-left: 8px; line-height: 16px; } |
.step_ol, .step_li { margin-left: 11px; line-height: 16px; } |
img { border: #000000 solid 1px; } |
a:visited { color: #666666; text-decoration: underline; } |
a:active { color: #666666; text-decoration: underline; } |
a:hover { color: #666666; text-decoration: underline; } |
a { color: #666666; text-decoration: underline; } |
.pageheader { border: #E0E0E0 solid 1px; } |
.pagefooter { border: #E0E0E0 solid 1px; } |
.sample { background-color: #FFFFFF; border: #000000 solid 1px; } |
.samplecontent { font-size: 10px; } |
.code { background-color: #FFFFFF; border: #000000 solid 1px; } |
.codecontent { font-size: 10px; } |
.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } |
.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } |
.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } |
.codecontent a { color: #666666; text-decoration: none; font-weight: bold } |
hr { height: 1px; } |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/image.htm |
---|
New file |
0,0 → 1,100 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>{$lang_insert_image_title}</title> |
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script> |
<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script> |
<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script> |
<script language="javascript" type="text/javascript" src="jscripts/image.js"></script> |
<base target="_self" /> |
</head> |
<body id="image" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none"> |
<form onsubmit="insertImage();return false;" action="#"> |
<div class="tabs"> |
<ul> |
<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_insert_image_title}</a></span></li> |
</ul> |
</div> |
<div class="panel_wrapper"> |
<div id="general_panel" class="panel current"> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td nowrap="nowrap"><label for="src">{$lang_insert_image_src}</label></td> |
<td><table border="0" cellspacing="0" cellpadding="0"> |
<tr> |
<td><input id="src" name="src" type="text" value="" style="width: 200px" onchange="getImageData();" /></td> |
<td id="srcbrowsercontainer"> </td> |
</tr> |
</table></td> |
</tr> |
<!-- Image list --> |
<script language="javascript"> |
if (typeof(tinyMCEImageList) != "undefined" && tinyMCEImageList.length > 0) { |
var html = ""; |
html += '<tr><td><label for="image_list">{$lang_image_list}</label></td>'; |
html += '<td><select id="image_list" name="image_list" style="width: 200px" onchange="this.form.src.value=this.options[this.selectedIndex].value;resetImageData();getImageData();">'; |
html += '<option value="">---</option>'; |
for (var i=0; i<tinyMCEImageList.length; i++) |
html += '<option value="' + tinyMCEImageList[i][1] + '">' + tinyMCEImageList[i][0] + '</option>'; |
html += '</select></td></tr>'; |
document.write(html); |
} |
</script> |
<!-- /Image list --> |
<tr> |
<td nowrap="nowrap"><label for="alt">{$lang_insert_image_alt}</label></td> |
<td><input id="alt" name="alt" type="text" value="" style="width: 200px" /></td> |
</tr> |
<tr> |
<td nowrap="nowrap"><label for="align">{$lang_insert_image_align}</label></td> |
<td><select id="align" name="align"> |
<option value="">{$lang_insert_image_align_default}</option> |
<option value="baseline">{$lang_insert_image_align_baseline}</option> |
<option value="top">{$lang_insert_image_align_top}</option> |
<option value="middle">{$lang_insert_image_align_middle}</option> |
<option value="bottom">{$lang_insert_image_align_bottom}</option> |
<option value="texttop">{$lang_insert_image_align_texttop}</option> |
<option value="absmiddle">{$lang_insert_image_align_absmiddle}</option> |
<option value="absbottom">{$lang_insert_image_align_absbottom}</option> |
<option value="left">{$lang_insert_image_align_left}</option> |
<option value="right">{$lang_insert_image_align_right}</option> |
</select></td> |
</tr> |
<tr> |
<td nowrap="nowrap"><label for="width">{$lang_insert_image_dimensions}</label></td> |
<td><input id="width" name="width" type="text" value="" size="3" maxlength="5" /> |
x |
<input id="height" name="height" type="text" value="" size="3" maxlength="5" /></td> |
</tr> |
<tr> |
<td nowrap="nowrap"><label for="border">{$lang_insert_image_border}</label></td> |
<td><input id="border" name="border" type="text" value="" size="3" maxlength="3" /></td> |
</tr> |
<tr> |
<td nowrap="nowrap"><label for="vspace">{$lang_insert_image_vspace}</label></td> |
<td><input id="vspace" name="vspace" type="text" value="" size="3" maxlength="3" /></td> |
</tr> |
<tr> |
<td nowrap="nowrap"><label for="hspace">{$lang_insert_image_hspace}</label></td> |
<td><input id="hspace" name="hspace" type="text" value="" size="3" maxlength="3" /></td> |
</tr> |
</table> |
</div> |
</div> |
<div class="mceActionPanel"> |
<div style="float: left"> |
<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertImage();" /> |
</div> |
<div style="float: right"> |
<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" /> |
</div> |
</div> |
</form> |
</body> |
</html> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/editor_template.js |
---|
New file |
0,0 → 1,0 |
tinyMCE.importThemeLanguagePack('advanced');var TinyMCE_AdvancedTheme={_defColors:"000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,008000,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF",_autoImportCSSClasses:true,_resizer:{},_buttons:[['bold','{$lang_bold_img}','lang_bold_desc','Bold'],['italic','{$lang_italic_img}','lang_italic_desc','Italic'],['underline','{$lang_underline_img}','lang_underline_desc','Underline'],['strikethrough','strikethrough.gif','lang_striketrough_desc','Strikethrough'],['justifyleft','justifyleft.gif','lang_justifyleft_desc','JustifyLeft'],['justifycenter','justifycenter.gif','lang_justifycenter_desc','JustifyCenter'],['justifyright','justifyright.gif','lang_justifyright_desc','JustifyRight'],['justifyfull','justifyfull.gif','lang_justifyfull_desc','JustifyFull'],['bullist','bullist.gif','lang_bullist_desc','InsertUnorderedList'],['numlist','numlist.gif','lang_numlist_desc','InsertOrderedList'],['outdent','outdent.gif','lang_outdent_desc','Outdent'],['indent','indent.gif','lang_indent_desc','Indent'],['cut','cut.gif','lang_cut_desc','Cut'],['copy','copy.gif','lang_copy_desc','Copy'],['paste','paste.gif','lang_paste_desc','Paste'],['undo','undo.gif','lang_undo_desc','Undo'],['redo','redo.gif','lang_redo_desc','Redo'],['link','link.gif','lang_link_desc','mceLink',true],['unlink','unlink.gif','lang_unlink_desc','unlink'],['image','image.gif','lang_image_desc','mceImage',true],['cleanup','cleanup.gif','lang_cleanup_desc','mceCleanup'],['help','help.gif','lang_help_desc','mceHelp'],['code','code.gif','lang_theme_code_desc','mceCodeEditor'],['hr','hr.gif','lang_theme_hr_desc','inserthorizontalrule'],['removeformat','removeformat.gif','lang_theme_removeformat_desc','removeformat'],['sub','sub.gif','lang_theme_sub_desc','subscript'],['sup','sup.gif','lang_theme_sup_desc','superscript'],['forecolor','forecolor.gif','lang_theme_forecolor_desc','forecolor',true],['forecolorpicker','forecolor.gif','lang_theme_forecolor_desc','forecolorpicker',true],['backcolor','backcolor.gif','lang_theme_backcolor_desc','HiliteColor',true],['backcolorpicker','backcolor.gif','lang_theme_backcolor_desc','backcolorpicker',true],['charmap','charmap.gif','lang_theme_charmap_desc','mceCharMap'],['visualaid','visualaid.gif','lang_theme_visualaid_desc','mceToggleVisualAid'],['anchor','anchor.gif','lang_theme_anchor_desc','mceInsertAnchor'],['newdocument','newdocument.gif','lang_newdocument_desc','mceNewDocument']],_buttonMap:'anchor,backcolor,bold,bullist,charmap,cleanup,code,copy,cut,forecolor,help,hr,image,indent,italic,justifycenter,justifyfull,justifyleft,justifyright,link,newdocument,numlist,outdent,paste,redo,removeformat,strikethrough,sub,sup,underline,undo,unlink,visualaid,advhr,ltr,rtl,emotions,flash,fullpage,fullscreen,iespell,insertdate,inserttime,pastetext,pasteword,selectall,preview,print,save,replace,search,table,cell_props,delete_col,delete_row,col_after,col_before,row_after,row_before,merge_cells,row_props,split_cells,delete_table',getControlHTML:function(button_name){var i,x,but;for(i=0;i<TinyMCE_AdvancedTheme._buttons.length;i++){but=TinyMCE_AdvancedTheme._buttons[i];if(but[0]==button_name&&(button_name=="forecolor"||button_name=="backcolor"))return tinyMCE.getMenuButtonHTML(but[0],but[2],'{$themeurl}/images/'+but[1],but[3]+"Menu",but[3],(but.length>4?but[4]:false),(but.length>5?but[5]:null));if(but[0]==button_name)return tinyMCE.getButtonHTML(but[0],but[2],'{$themeurl}/images/'+but[1],but[3],(but.length>4?but[4]:false),(but.length>5?but[5]:null))}switch(button_name){case"formatselect":var html='<select id="{$editor_id}_formatSelect" name="{$editor_id}_formatSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FormatBlock\',false,this.options[this.selectedIndex].value);" class="mceSelectList">';var formats=tinyMCE.getParam("theme_advanced_blockformats","p,address,pre,h1,h2,h3,h4,h5,h6",true).split(',');var lookup=[['p','{$lang_theme_paragraph}'],['address','{$lang_theme_address}'],['pre','{$lang_theme_pre}'],['h1','{$lang_theme_h1}'],['h2','{$lang_theme_h2}'],['h3','{$lang_theme_h3}'],['h4','{$lang_theme_h4}'],['h5','{$lang_theme_h5}'],['h6','{$lang_theme_h6}'],['div','{$lang_theme_div}'],['blockquote','{$lang_theme_blockquote}'],['code','{$lang_theme_code}'],['dt','{$lang_theme_dt}'],['dd','{$lang_theme_dd}'],['samp','{$lang_theme_samp}']];html+='<option value="">{$lang_theme_block}</option>';for(var i=0;i<formats.length;i++){for(var x=0;x<lookup.length;x++){if(formats[i]==lookup[x][0])html+='<option value="<'+lookup[x][0]+'>">'+lookup[x][1]+'</option>'}}html+='</select>';return html;case"styleselect":return'<select id="{$editor_id}_styleSelect" onmousedown="tinyMCE.themes.advanced._setupCSSClasses(\'{$editor_id}\');" name="{$editor_id}_styleSelect" onfocus="tinyMCE.addSelectAccessibility(event,this,window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceSetCSSClass\',false,this.options[this.selectedIndex].value);" class="mceSelectList">{$style_select_options}</select>';case"fontselect":var fontHTML='<select id="{$editor_id}_fontNameSelect" name="{$editor_id}_fontNameSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FontName\',false,this.options[this.selectedIndex].value);" class="mceSelectList"><option value="">{$lang_theme_fontdefault}</option>';var iFonts='Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings';var nFonts='Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats';var fonts=tinyMCE.getParam("theme_advanced_fonts",nFonts).split(';');for(i=0;i<fonts.length;i++){if(fonts[i]!=''){var parts=fonts[i].split('=');fontHTML+='<option value="'+parts[1]+'">'+parts[0]+'</option>'}}fontHTML+='</select>';return fontHTML;case"fontsizeselect":return'<select id="{$editor_id}_fontSizeSelect" name="{$editor_id}_fontSizeSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FontSize\',false,this.options[this.selectedIndex].value);" class="mceSelectList">'+'<option value="0">{$lang_theme_font_size}</option>'+'<option value="1">1 (8 pt)</option>'+'<option value="2">2 (10 pt)</option>'+'<option value="3">3 (12 pt)</option>'+'<option value="4">4 (14 pt)</option>'+'<option value="5">5 (18 pt)</option>'+'<option value="6">6 (24 pt)</option>'+'<option value="7">7 (36 pt)</option>'+'</select>';case"|":case"separator":return'<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" alt="" />';case"spacer":return'<img src="{$themeurl}/images/separator.gif" width="2" height="15" border="0" class="mceSeparatorLine" style="vertical-align: middle" alt="" />';case"rowseparator":return'<br />'}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case'mceHelp':tinyMCE.openWindow({file:'about.htm',width:480,height:380},{tinymce_version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion,tinymce_releasedate:tinyMCE.releaseDate,inline:"yes"});return true;case"mceLink":var inst=tinyMCE.getInstanceById(editor_id);var doc=inst.getDoc();var selectedText="";if(tinyMCE.isMSIE){var rng=doc.selection.createRange();selectedText=rng.text}else selectedText=inst.getSel().toString();if(!tinyMCE.linkElement){if((tinyMCE.selectedElement.nodeName.toLowerCase()!="img")&&(selectedText.length<=0))return true}var href="",target="",title="",onclick="",action="insert",style_class="";if(tinyMCE.selectedElement.nodeName.toLowerCase()=="a")tinyMCE.linkElement=tinyMCE.selectedElement;if(tinyMCE.linkElement!=null&&tinyMCE.getAttrib(tinyMCE.linkElement,'href')=="")tinyMCE.linkElement=null;if(tinyMCE.linkElement){href=tinyMCE.getAttrib(tinyMCE.linkElement,'href');target=tinyMCE.getAttrib(tinyMCE.linkElement,'target');title=tinyMCE.getAttrib(tinyMCE.linkElement,'title');onclick=tinyMCE.getAttrib(tinyMCE.linkElement,'onclick');style_class=tinyMCE.getAttrib(tinyMCE.linkElement,'class');if(onclick=="")onclick=tinyMCE.getAttrib(tinyMCE.linkElement,'onclick');onclick=tinyMCE.cleanupEventStr(onclick);href=eval(tinyMCE.settings['urlconverter_callback']+"(href, tinyMCE.linkElement, true);");mceRealHref=tinyMCE.getAttrib(tinyMCE.linkElement,'mce_href');if(mceRealHref!=""){href=mceRealHref;if(tinyMCE.getParam('convert_urls'))href=eval(tinyMCE.settings['urlconverter_callback']+"(href, tinyMCE.linkElement, true);")}action="update"}var template=new Array();template['file']='link.htm';template['width']=310;template['height']=200;template['width']+=tinyMCE.getLang('lang_insert_link_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_link_delta_height',0);if(inst.settings['insertlink_callback']){var returnVal=eval(inst.settings['insertlink_callback']+"(href, target, title, onclick, action, style_class);");if(returnVal&&returnVal['href'])TinyMCE_AdvancedTheme._insertLink(returnVal['href'],returnVal['target'],returnVal['title'],returnVal['onclick'],returnVal['style_class'])}else{tinyMCE.openWindow(template,{href:href,target:target,title:title,onclick:onclick,action:action,className:style_class,inline:"yes"})}return true;case"mceImage":var src="",alt="",border="",hspace="",vspace="",width="",height="",align="";var title="",onmouseover="",onmouseout="",action="insert";var img=tinyMCE.imgElement;var inst=tinyMCE.getInstanceById(editor_id);if(tinyMCE.selectedElement!=null&&tinyMCE.selectedElement.nodeName.toLowerCase()=="img"){img=tinyMCE.selectedElement;tinyMCE.imgElement=img}if(img){if(tinyMCE.getAttrib(img,'name').indexOf('mce_')==0)return true;src=tinyMCE.getAttrib(img,'src');alt=tinyMCE.getAttrib(img,'alt');if(alt=="")alt=tinyMCE.getAttrib(img,'title');if(tinyMCE.isGecko){var w=img.style.width;if(w!=null&&w!="")img.setAttribute("width",w);var h=img.style.height;if(h!=null&&h!="")img.setAttribute("height",h)}border=tinyMCE.getAttrib(img,'border');hspace=tinyMCE.getAttrib(img,'hspace');vspace=tinyMCE.getAttrib(img,'vspace');width=tinyMCE.getAttrib(img,'width');height=tinyMCE.getAttrib(img,'height');align=tinyMCE.getAttrib(img,'align');onmouseover=tinyMCE.getAttrib(img,'onmouseover');onmouseout=tinyMCE.getAttrib(img,'onmouseout');title=tinyMCE.getAttrib(img,'title');if(tinyMCE.isMSIE){width=img.attributes['width'].specified?width:"";height=img.attributes['height'].specified?height:""}src=eval(tinyMCE.settings['urlconverter_callback']+"(src, img, true);");mceRealSrc=tinyMCE.getAttrib(img,'mce_src');if(mceRealSrc!=""){src=mceRealSrc;if(tinyMCE.getParam('convert_urls'))src=eval(tinyMCE.settings['urlconverter_callback']+"(src, img, true);")}action="update"}var template=new Array();template['file']='image.htm?src={$src}';template['width']=355;template['height']=265+(tinyMCE.isMSIE?25:0);template['width']+=tinyMCE.getLang('lang_insert_image_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_image_delta_height',0);if(inst.settings['insertimage_callback']){var returnVal=eval(inst.settings['insertimage_callback']+"(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout, action);");if(returnVal&&returnVal['src'])TinyMCE_AdvancedTheme._insertImage(returnVal['src'],returnVal['alt'],returnVal['border'],returnVal['hspace'],returnVal['vspace'],returnVal['width'],returnVal['height'],returnVal['align'],returnVal['title'],returnVal['onmouseover'],returnVal['onmouseout'])}else tinyMCE.openWindow(template,{src:src,alt:alt,border:border,hspace:hspace,vspace:vspace,width:width,height:height,align:align,title:title,onmouseover:onmouseover,onmouseout:onmouseout,action:action,inline:"yes"});return true;case"forecolor":var fcp=new TinyMCE_Layer(editor_id+'_fcPreview',false),p,img,elm;TinyMCE_AdvancedTheme._hideMenus(editor_id);if(!fcp.exists()){fcp.create('div','mceColorPreview',document.getElementById(editor_id+'_toolbar'));elm=fcp.getElement();elm._editor_id=editor_id;elm._command="forecolor";elm._switchId=editor_id+"_forecolor";tinyMCE.addEvent(elm,'click',TinyMCE_AdvancedTheme._handleMenuEvent);tinyMCE.addEvent(elm,'mouseover',TinyMCE_AdvancedTheme._handleMenuEvent);tinyMCE.addEvent(elm,'mouseout',TinyMCE_AdvancedTheme._handleMenuEvent)}img=tinyMCE.selectNodes(document.getElementById(editor_id+"_forecolor"),function(n){return n.nodeName=="IMG"})[0];p=tinyMCE.getAbsPosition(img,document.getElementById(editor_id+'_toolbar'));fcp.moveTo(p.absLeft,p.absTop);fcp.getElement().style.backgroundColor=value!=null?value:tinyMCE.getInstanceById(editor_id).foreColor;fcp.show();return false;case"forecolorpicker":this._pickColor(editor_id,'forecolor');return true;case"forecolorMenu":TinyMCE_AdvancedTheme._hideMenus(editor_id);var ml=new TinyMCE_Layer(editor_id+'_fcMenu');if(!ml.exists())ml.create('div','mceMenu',document.body,TinyMCE_AdvancedTheme._getColorHTML(editor_id,'theme_advanced_text_colors','forecolor'));tinyMCE.switchClass(editor_id+'_forecolor','mceMenuButtonFocus');ml.moveRelativeTo(document.getElementById(editor_id+"_forecolor"),'bl');ml.moveBy(tinyMCE.isMSIE&&!tinyMCE.isOpera?-1:1,-1);if(tinyMCE.isOpera)ml.moveBy(0,-2);ml.show();return true;case"HiliteColor":var bcp=new TinyMCE_Layer(editor_id+'_bcPreview',false),p,img;TinyMCE_AdvancedTheme._hideMenus(editor_id);if(!bcp.exists()){bcp.create('div','mceColorPreview',document.getElementById(editor_id+'_toolbar'));elm=bcp.getElement();elm._editor_id=editor_id;elm._command="HiliteColor";elm._switchId=editor_id+"_backcolor";tinyMCE.addEvent(elm,'click',TinyMCE_AdvancedTheme._handleMenuEvent);tinyMCE.addEvent(elm,'mouseover',TinyMCE_AdvancedTheme._handleMenuEvent);tinyMCE.addEvent(elm,'mouseout',TinyMCE_AdvancedTheme._handleMenuEvent)}img=tinyMCE.selectNodes(document.getElementById(editor_id+"_backcolor"),function(n){return n.nodeName=="IMG"})[0];p=tinyMCE.getAbsPosition(img,document.getElementById(editor_id+'_toolbar'));bcp.moveTo(p.absLeft,p.absTop);bcp.getElement().style.backgroundColor=value!=null?value:tinyMCE.getInstanceById(editor_id).backColor;bcp.show();return false;case"HiliteColorMenu":TinyMCE_AdvancedTheme._hideMenus(editor_id);var ml=new TinyMCE_Layer(editor_id+'_bcMenu');if(!ml.exists())ml.create('div','mceMenu',document.body,TinyMCE_AdvancedTheme._getColorHTML(editor_id,'theme_advanced_background_colors','HiliteColor'));tinyMCE.switchClass(editor_id+'_backcolor','mceMenuButtonFocus');ml.moveRelativeTo(document.getElementById(editor_id+"_backcolor"),'bl');ml.moveBy(tinyMCE.isMSIE&&!tinyMCE.isOpera?-1:1,-1);if(tinyMCE.isOpera)ml.moveBy(0,-2);ml.show();return true;case"backcolorpicker":this._pickColor(editor_id,'HiliteColor');return true;case"mceColorPicker":if(user_interface){var template=[];if(!value['callback']&&!value['color'])value['color']=value['document'].getElementById(value['element_id']).value;template['file']='color_picker.htm';template['width']=380;template['height']=250;template['close_previous']="no";template['width']+=tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_height',0);if(typeof(value['store_selection'])=="undefined")value['store_selection']=true;tinyMCE.lastColorPickerValue=value;tinyMCE.openWindow(template,{editor_id:editor_id,mce_store_selection:value['store_selection'],inline:"yes",command:"mceColorPicker",input_color:value['color']})}else{var savedVal=tinyMCE.lastColorPickerValue,elm;if(savedVal['callback']){savedVal['callback'](value);return true}elm=savedVal['document'].getElementById(savedVal['element_id']);elm.value=value;if(elm.onchange!=null&&elm.onchange!='')eval('elm.onchange();')}return true;case"mceCodeEditor":var template=new Array();template['file']='source_editor.htm';template['width']=parseInt(tinyMCE.getParam("theme_advanced_source_editor_width",720));template['height']=parseInt(tinyMCE.getParam("theme_advanced_source_editor_height",580));tinyMCE.openWindow(template,{editor_id:editor_id,resizable:"yes",scrollbars:"no",inline:"yes"});return true;case"mceCharMap":var template=new Array();template['file']='charmap.htm';template['width']=550+(tinyMCE.isOpera?40:0);template['height']=250;template['width']+=tinyMCE.getLang('lang_theme_advanced_charmap_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_advanced_charmap_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;case"mceInsertAnchor":var template=new Array();template['file']='anchor.htm';template['width']=320;template['height']=90+(tinyMCE.isNS7?30:0);template['width']+=tinyMCE.getLang('lang_theme_advanced_anchor_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_advanced_anchor_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;case"mceNewDocument":if(confirm(tinyMCE.entityDecode(tinyMCE.getLang('lang_newdocument'))))tinyMCE.execInstanceCommand(editor_id,'mceSetContent',false,' ');return true}return false},getEditorTemplate:function(settings,editorId){function removeFromArray(in_array,remove_array){var outArray=new Array(),skip;for(var i=0;i<in_array.length;i++){skip=false;for(var j=0;j<remove_array.length;j++){if(in_array[i]==remove_array[j]){skip=true}}if(!skip){outArray[outArray.length]=in_array[i]}}return outArray}function addToArray(in_array,add_array){for(var i=0;i<add_array.length;i++){in_array[in_array.length]=add_array[i]}return in_array}var template=new Array();var deltaHeight=0;var resizing=tinyMCE.getParam("theme_advanced_resizing",false);var path=tinyMCE.getParam("theme_advanced_path",true);var statusbarHTML='<div id="{$editor_id}_path" class="mceStatusbarPathText" style="display: '+(path?"block":"none")+'"> </div><div id="{$editor_id}_resize" class="mceStatusbarResize" style="display: '+(resizing?"block":"none")+'" onmousedown="tinyMCE.themes.advanced._setResizing(event,\'{$editor_id}\',true);"></div><br style="clear: both" />';var layoutManager=tinyMCE.getParam("theme_advanced_layout_manager","SimpleLayout");var styleSelectHTML='<option value="">{$lang_theme_style_select}</option>';if(settings['theme_advanced_styles']){var stylesAr=settings['theme_advanced_styles'].split(';');for(var i=0;i<stylesAr.length;i++){var key,value;key=stylesAr[i].split('=')[0];value=stylesAr[i].split('=')[1];styleSelectHTML+='<option value="'+value+'">'+key+'</option>'}TinyMCE_AdvancedTheme._autoImportCSSClasses=false}switch(layoutManager){case"SimpleLayout":var toolbarHTML="";var toolbarLocation=tinyMCE.getParam("theme_advanced_toolbar_location","bottom");var toolbarAlign=tinyMCE.getParam("theme_advanced_toolbar_align","center");var pathLocation=tinyMCE.getParam("theme_advanced_path_location","none");var statusbarLocation=tinyMCE.getParam("theme_advanced_statusbar_location",pathLocation);var defVals={theme_advanced_buttons1:"bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect",theme_advanced_buttons2:"bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code",theme_advanced_buttons3:"hr,removeformat,visualaid,separator,sub,sup,separator,charmap"};toolbarHTML+='<a href="#" accesskey="q" title="'+tinyMCE.getLang("lang_toolbar_focus")+'"';if(!tinyMCE.getParam("accessibility_focus"))toolbarHTML+=' onfocus="tinyMCE.getInstanceById(\''+editorId+'\').getWin().focus();"';toolbarHTML+='></a>';for(var i=1;i<100;i++){var def=defVals["theme_advanced_buttons"+i];var buttons=tinyMCE.getParam("theme_advanced_buttons"+i,def==null?'':def,true,',');if(buttons.length==0)break;buttons=removeFromArray(buttons,tinyMCE.getParam("theme_advanced_disable","",true,','));buttons=addToArray(buttons,tinyMCE.getParam("theme_advanced_buttons"+i+"_add","",true,','));buttons=addToArray(tinyMCE.getParam("theme_advanced_buttons"+i+"_add_before","",true,','),buttons);for(var b=0;b<buttons.length;b++)toolbarHTML+=tinyMCE.getControlHTML(buttons[b]);if(buttons.length>0){toolbarHTML+="<br />";deltaHeight-=23}}toolbarHTML+='<a href="#" accesskey="z" onfocus="tinyMCE.getInstanceById(\''+editorId+'\').getWin().focus();"></a>';template['html']='<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}" style="width:{$width_style};height:{$height_style}"><tbody>';if(toolbarLocation=="top")template['html']+='<tr><td dir="ltr" class="mceToolbarTop" align="'+toolbarAlign+'" height="1" nowrap="nowrap"><span id="'+editorId+'_toolbar" class="mceToolbarContainer">'+toolbarHTML+'</span></td></tr>';if(statusbarLocation=="top"){template['html']+='<tr><td class="mceStatusbarTop" height="1">'+statusbarHTML+'</td></tr>';deltaHeight-=23}template['html']+='<tr><td align="center"><span id="{$editor_id}"></span></td></tr>';if(toolbarLocation=="bottom")template['html']+='<tr><td dir="ltr" class="mceToolbarBottom" align="'+toolbarAlign+'" height="1"><span id="'+editorId+'_toolbar" class="mceToolbarContainer">'+toolbarHTML+'</span></td></tr>';if(toolbarLocation=="external"){var bod=document.body;var elm=document.createElement("div");toolbarHTML=tinyMCE.replaceVar(toolbarHTML,'style_select_options',styleSelectHTML);toolbarHTML=tinyMCE.applyTemplate(toolbarHTML,{editor_id:editorId});elm.className="mceToolbarExternal";elm.id=editorId+"_toolbar";elm.innerHTML='<table width="100%" border="0" align="center"><tr><td align="center">'+toolbarHTML+'</td></tr></table>';bod.appendChild(elm);deltaHeight=0;tinyMCE.getInstanceById(editorId).toolbarElement=elm;}else{tinyMCE.getInstanceById(editorId).toolbarElement=null}if(statusbarLocation=="bottom"){template['html']+='<tr><td class="mceStatusbarBottom" height="1">'+statusbarHTML+'</td></tr>';deltaHeight-=23}template['html']+='</tbody></table>';break;case"RowLayout":template['html']='<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}" style="width:{$width}px;height:{$height}px"><tbody>';var containers=tinyMCE.getParam("theme_advanced_containers","",true,",");var defaultContainerCSS=tinyMCE.getParam("theme_advanced_containers_default_class","container");var defaultContainerAlign=tinyMCE.getParam("theme_advanced_containers_default_align","center");for(var i=0;i<containers.length;i++){if(containers[i]=="mceEditor")template['html']+='<tr><td align="center" class="mceEditor_border"><span id="{$editor_id}"></span></td></tr>';else if(containers[i]=="mceElementpath"||containers[i]=="mceStatusbar"){var pathClass="mceStatusbar";if(i==containers.length-1){pathClass="mceStatusbarBottom"}else if(i==0){pathClass="mceStatusbar"}else{deltaHeight-=2}template['html']+='<tr><td class="'+pathClass+'" height="1">'+statusbarHTML+'</td></tr>';deltaHeight-=22}else{var curContainer=tinyMCE.getParam("theme_advanced_container_"+containers[i],"",true,',');var curContainerHTML="";var curAlign=tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_align",defaultContainerAlign);var curCSS=tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_class",defaultContainerCSS);curContainer=removeFromArray(curContainer,tinyMCE.getParam("theme_advanced_disable","",true,','));for(var j=0;j<curContainer.length;j++)curContainerHTML+=tinyMCE.getControlHTML(curContainer[j]);if(curContainer.length>0){curContainerHTML+="<br />";deltaHeight-=23}template['html']+='<tr><td class="'+curCSS+'" align="'+curAlign+'" height="1">'+curContainerHTML+'</td></tr>'}}template['html']+='</tbody></table>';break;case"CustomLayout":var customLayout=tinyMCE.getParam("theme_advanced_custom_layout","");if(customLayout!=""&&eval("typeof("+customLayout+")")!="undefined"){template=eval(customLayout+"(template);")}break}if(resizing)template['html']+='<span id="{$editor_id}_resize_box" class="mceResizeBox"></span>';template['html']=tinyMCE.replaceVar(template['html'],'style_select_options',styleSelectHTML);if(!template['delta_width'])template['delta_width']=0;if(!template['delta_height'])template['delta_height']=deltaHeight;return template},initInstance:function(inst){if(tinyMCE.getParam("theme_advanced_resizing",false)){if(tinyMCE.getParam("theme_advanced_resizing_use_cookie",true)){var w=TinyMCE_AdvancedTheme._getCookie("TinyMCE_"+inst.editorId+"_width");var h=TinyMCE_AdvancedTheme._getCookie("TinyMCE_"+inst.editorId+"_height");TinyMCE_AdvancedTheme._resizeTo(inst,w,h,tinyMCE.getParam("theme_advanced_resize_horizontal",true))}}inst.addShortcut('ctrl','k','lang_link_desc','mceLink')},removeInstance:function(inst){new TinyMCE_Layer(inst.editorId+'_fcMenu').remove();new TinyMCE_Layer(inst.editorId+'_bcMenu').remove()},hideInstance:function(inst){TinyMCE_AdvancedTheme._hideMenus(inst.editorId)},_handleMenuEvent:function(e){var te=tinyMCE.isMSIE?window.event.srcElement:e.target;tinyMCE._menuButtonEvent(e.type=="mouseover"?"over":"out",document.getElementById(te._switchId));if(e.type=="click")tinyMCE.execInstanceCommand(te._editor_id,te._command)},_hideMenus:function(id){var fcml=new TinyMCE_Layer(id+'_fcMenu'),bcml=new TinyMCE_Layer(id+'_bcMenu');if(fcml.exists()&&fcml.isVisible()){tinyMCE.switchClass(id+'_forecolor','mceMenuButton');fcml.hide()}if(bcml.exists()&&bcml.isVisible()){tinyMCE.switchClass(id+'_backcolor','mceMenuButton');bcml.hide()}},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection,setup_content){var alignNode,breakOut,classNode;function selectByValue(select_elm,value,first_index){first_index=typeof(first_index)=="undefined"?false:true;if(select_elm){for(var i=0;i<select_elm.options.length;i++){var ov=""+select_elm.options[i].value;if(first_index&&ov.toLowerCase().indexOf(value.toLowerCase())==0){select_elm.selectedIndex=i;return true}if(ov==value){select_elm.selectedIndex=i;return true}}}return false};if(node==null)return;var pathElm=document.getElementById(editor_id+"_path");var inst=tinyMCE.getInstanceById(editor_id);var doc=inst.getDoc();TinyMCE_AdvancedTheme._hideMenus(editor_id);if(pathElm){var parentNode=node;var path=new Array();while(parentNode!=null){if(parentNode.nodeName.toUpperCase()=="BODY"){break}if(parentNode.nodeType==1&&tinyMCE.getAttrib(parentNode,"class").indexOf('mceItemHidden')==-1){path[path.length]=parentNode}parentNode=parentNode.parentNode}var html="";for(var i=path.length-1;i>=0;i--){var nodeName=path[i].nodeName.toLowerCase();var nodeData="";if(nodeName.indexOf("html:")==0)nodeName=nodeName.substring(5);if(nodeName=="b"){nodeName="strong"}if(nodeName=="i"){nodeName="em"}if(nodeName=="span"){var cn=tinyMCE.getAttrib(path[i],"class");if(cn!=""&&cn.indexOf('mceItem')==-1)nodeData+="class: "+cn+" ";var st=tinyMCE.getAttrib(path[i],"style");if(st!=""){st=tinyMCE.serializeStyle(tinyMCE.parseStyle(st));nodeData+="style: "+tinyMCE.xmlEncode(st)+" "}}if(nodeName=="font"){if(tinyMCE.getParam("convert_fonts_to_spans"))nodeName="span";var face=tinyMCE.getAttrib(path[i],"face");if(face!="")nodeData+="font: "+tinyMCE.xmlEncode(face)+" ";var size=tinyMCE.getAttrib(path[i],"size");if(size!="")nodeData+="size: "+tinyMCE.xmlEncode(size)+" ";var color=tinyMCE.getAttrib(path[i],"color");if(color!="")nodeData+="color: "+tinyMCE.xmlEncode(color)+" "}if(tinyMCE.getAttrib(path[i],'id')!=""){nodeData+="id: "+path[i].getAttribute('id')+" "}var className=tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i],"class"),false);if(className!=""&&className.indexOf('mceItem')==-1)nodeData+="class: "+className+" ";if(tinyMCE.getAttrib(path[i],'src')!=""){var src=tinyMCE.getAttrib(path[i],"mce_src");if(src=="")src=tinyMCE.getAttrib(path[i],"src");nodeData+="src: "+tinyMCE.xmlEncode(src)+" "}if(path[i].nodeName=='A'&&tinyMCE.getAttrib(path[i],'href')!=""){var href=tinyMCE.getAttrib(path[i],"mce_href");if(href=="")href=tinyMCE.getAttrib(path[i],"href");nodeData+="href: "+tinyMCE.xmlEncode(href)+" "}className=tinyMCE.getAttrib(path[i],"class");if((nodeName=="img"||nodeName=="span")&&className.indexOf('mceItem')!=-1){nodeName=className.replace(/mceItem([a-z]+)/gi,'$1').toLowerCase();nodeData=path[i].getAttribute('title')}if(nodeName=="a"&&(anchor=tinyMCE.getAttrib(path[i],"name"))!=""){nodeName="a";nodeName+="#"+tinyMCE.xmlEncode(anchor);nodeData=""}if(tinyMCE.getAttrib(path[i],'name').indexOf("mce_")!=0){var className=tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i],"class"),false);if(className!=""&&className.indexOf('mceItem')==-1){nodeName+="."+className}}var cmd='tinyMCE.execInstanceCommand(\''+editor_id+'\',\'mceSelectNodeDepth\',false,\''+i+'\');';html+='<a title="'+nodeData+'" href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" target="_self" class="mcePathItem">'+nodeName+'</a>';if(i>0){html+=" » "}}pathElm.innerHTML='<a href="#" accesskey="x"></a>'+tinyMCE.getLang('lang_theme_path')+": "+html+' '}tinyMCE.switchClass(editor_id+'_justifyleft','mceButtonNormal');tinyMCE.switchClass(editor_id+'_justifyright','mceButtonNormal');tinyMCE.switchClass(editor_id+'_justifycenter','mceButtonNormal');tinyMCE.switchClass(editor_id+'_justifyfull','mceButtonNormal');tinyMCE.switchClass(editor_id+'_bold','mceButtonNormal');tinyMCE.switchClass(editor_id+'_italic','mceButtonNormal');tinyMCE.switchClass(editor_id+'_underline','mceButtonNormal');tinyMCE.switchClass(editor_id+'_strikethrough','mceButtonNormal');tinyMCE.switchClass(editor_id+'_bullist','mceButtonNormal');tinyMCE.switchClass(editor_id+'_numlist','mceButtonNormal');tinyMCE.switchClass(editor_id+'_sub','mceButtonNormal');tinyMCE.switchClass(editor_id+'_sup','mceButtonNormal');tinyMCE.switchClass(editor_id+'_anchor','mceButtonNormal');tinyMCE.switchClass(editor_id+'_link','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_unlink','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_outdent','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_image','mceButtonNormal');tinyMCE.switchClass(editor_id+'_hr','mceButtonNormal');if(node.nodeName=="A"&&tinyMCE.getAttrib(node,"class").indexOf('mceItemAnchor')!=-1)tinyMCE.switchClass(editor_id+'_anchor','mceButtonSelected');var anchorLink=tinyMCE.getParentElement(node,"a","href");if(anchorLink||any_selection){tinyMCE.switchClass(editor_id+'_link',anchorLink?'mceButtonSelected':'mceButtonNormal');tinyMCE.switchClass(editor_id+'_unlink',anchorLink?'mceButtonSelected':'mceButtonNormal')}tinyMCE.switchClass(editor_id+'_visualaid',visual_aid?'mceButtonSelected':'mceButtonNormal');if(undo_levels!=-1){tinyMCE.switchClass(editor_id+'_undo','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_redo','mceButtonDisabled')}if(tinyMCE.getParentElement(node,"li,blockquote"))tinyMCE.switchClass(editor_id+'_outdent','mceButtonNormal');if(undo_index!=-1&&(undo_index<undo_levels-1&&undo_levels>0))tinyMCE.switchClass(editor_id+'_redo','mceButtonNormal');if(undo_index!=-1&&(undo_index>0&&undo_levels>0))tinyMCE.switchClass(editor_id+'_undo','mceButtonNormal');var selectElm=document.getElementById(editor_id+"_styleSelect");if(selectElm){TinyMCE_AdvancedTheme._setupCSSClasses(editor_id);classNode=node;breakOut=false;var index=0;do{if(classNode&&classNode.className){for(var i=0;i<selectElm.options.length;i++){if(selectElm.options[i].value==classNode.className){index=i;breakOut=true;break}}}}while(!breakOut&&classNode!=null&&(classNode=classNode.parentNode)!=null);selectElm.selectedIndex=index}var selectElm=document.getElementById(editor_id+"_formatSelect");if(selectElm){var elm=tinyMCE.getParentElement(node,"p,div,h1,h2,h3,h4,h5,h6,pre,address");if(elm)selectByValue(selectElm,"<"+elm.nodeName.toLowerCase()+">");else selectByValue(selectElm,"")}var selectElm=document.getElementById(editor_id+"_fontNameSelect");if(selectElm){if(!tinyMCE.isSafari&&!(tinyMCE.isMSIE&&!tinyMCE.isOpera)){var face=inst.queryCommandValue('FontName');face=face==null||face==""?"":face;selectByValue(selectElm,face,face!="")}else{var elm=tinyMCE.getParentElement(node,"font","face");if(elm){var family=tinyMCE.getAttrib(elm,"face");if(family=='')family=''+elm.style.fontFamily;if(!selectByValue(selectElm,family,family!=""))selectByValue(selectElm,"")}else selectByValue(selectElm,"")}}var selectElm=document.getElementById(editor_id+"_fontSizeSelect");if(selectElm){if(!tinyMCE.isSafari&&!tinyMCE.isOpera){var size=inst.queryCommandValue('FontSize');selectByValue(selectElm,size==null||size==""?"0":size)}else{var elm=tinyMCE.getParentElement(node,"font","size");if(elm){var size=tinyMCE.getAttrib(elm,"size");if(size==''){var sizes=new Array('','8px','10px','12px','14px','18px','24px','36px');size=''+elm.style.fontSize;for(var i=0;i<sizes.length;i++){if((''+sizes[i])==size){size=i;break}}}if(!selectByValue(selectElm,size))selectByValue(selectElm,"")}else selectByValue(selectElm,"0")}}alignNode=node;breakOut=false;do{if(!alignNode.getAttribute||!alignNode.getAttribute('align'))continue;switch(alignNode.getAttribute('align').toLowerCase()){case"left":tinyMCE.switchClass(editor_id+'_justifyleft','mceButtonSelected');breakOut=true;break;case"right":tinyMCE.switchClass(editor_id+'_justifyright','mceButtonSelected');breakOut=true;break;case"middle":case"center":tinyMCE.switchClass(editor_id+'_justifycenter','mceButtonSelected');breakOut=true;break;case"justify":tinyMCE.switchClass(editor_id+'_justifyfull','mceButtonSelected');breakOut=true;break}}while(!breakOut&&(alignNode=alignNode.parentNode)!=null);var div=tinyMCE.getParentElement(node,"div");if(div&&div.style.textAlign=="center")tinyMCE.switchClass(editor_id+'_justifycenter','mceButtonSelected');if(!setup_content){var ar=new Array("Bold","_bold","Italic","_italic","Strikethrough","_strikethrough","superscript","_sup","subscript","_sub");for(var i=0;i<ar.length;i+=2){if(inst.queryCommandState(ar[i]))tinyMCE.switchClass(editor_id+ar[i+1],'mceButtonSelected')}if(inst.queryCommandState("Underline")&&(node.parentNode==null||node.parentNode.nodeName!="A"))tinyMCE.switchClass(editor_id+'_underline','mceButtonSelected')}do{switch(node.nodeName){case"UL":tinyMCE.switchClass(editor_id+'_bullist','mceButtonSelected');break;case"OL":tinyMCE.switchClass(editor_id+'_numlist','mceButtonSelected');break;case"HR":tinyMCE.switchClass(editor_id+'_hr','mceButtonSelected');break;case"IMG":if(tinyMCE.getAttrib(node,'name').indexOf('mce_')!=0&&tinyMCE.getAttrib(node,'class').indexOf('mceItem')==-1){tinyMCE.switchClass(editor_id+'_image','mceButtonSelected')}break}}while((node=node.parentNode)!=null)},_setupCSSClasses:function(editor_id){var i,selectElm;if(!TinyMCE_AdvancedTheme._autoImportCSSClasses)return;selectElm=document.getElementById(editor_id+'_styleSelect');if(selectElm&&selectElm.getAttribute('cssImported')!='true'){var csses=tinyMCE.getCSSClasses(editor_id);if(csses&&selectElm){for(i=0;i<csses.length;i++)selectElm.options[selectElm.options.length]=new Option(csses[i],csses[i])}if(csses!=null&&csses.length>0)selectElm.setAttribute('cssImported','true')}},_setCookie:function(name,value,expires,path,domain,secure){var curCookie=name+"="+escape(value)+((expires)?"; expires="+expires.toGMTString():"")+((path)?"; path="+escape(path):"")+((domain)?"; domain="+domain:"")+((secure)?"; secure":"");document.cookie=curCookie},_getCookie:function(name){var dc=document.cookie;var prefix=name+"=";var begin=dc.indexOf("; "+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!=0)return null}else begin+=2;var end=document.cookie.indexOf(";",begin);if(end==-1)end=dc.length;return unescape(dc.substring(begin+prefix.length,end))},_resizeTo:function(inst,w,h,set_w){var editorContainer=document.getElementById(inst.editorId+'_parent');var tableElm=editorContainer.firstChild;var iframe=inst.iframeElement;if(w==null||w=="null"){set_w=false;w=0}if(h==null||h=="null")return;w=parseInt(w);h=parseInt(h);if(tinyMCE.isGecko){w+=2;h+=2}var dx=w-tableElm.clientWidth;var dy=h-tableElm.clientHeight;w=w<1?30:w;h=h<1?30:h;if(set_w)tableElm.style.width=w+"px";tableElm.style.height=h+"px";iw=iframe.clientWidth+dx;ih=iframe.clientHeight+dy;iw=iw<1?30:iw;ih=ih<1?30:ih;if(tinyMCE.isGecko){iw-=2;ih-=2}if(set_w)iframe.style.width=iw+"px";iframe.style.height=ih+"px";if(set_w){var tableBodyElm=tableElm.firstChild;var minIframeWidth=tableBodyElm.scrollWidth;if(inst.iframeElement.clientWidth<minIframeWidth){dx=minIframeWidth-inst.iframeElement.clientWidth;inst.iframeElement.style.width=(iw+dx)+"px"}}inst.useCSS=false},_resizeEventHandler:function(e){var resizer=TinyMCE_AdvancedTheme._resizer;if(!resizer.resizing)return;e=typeof(e)=="undefined"?window.event:e;var dx=e.screenX-resizer.downX;var dy=e.screenY-resizer.downY;var resizeBox=resizer.resizeBox;var editorId=resizer.editorId;switch(e.type){case"mousemove":var w,h;w=resizer.width+dx;h=resizer.height+dy;w=w<1?1:w;h=h<1?1:h;if(resizer.horizontal)resizeBox.style.width=w+"px";resizeBox.style.height=h+"px";break;case"mouseup":TinyMCE_AdvancedTheme._setResizing(e,editorId,false);TinyMCE_AdvancedTheme._resizeTo(tinyMCE.getInstanceById(editorId),resizer.width+dx,resizer.height+dy,resizer.horizontal);if(tinyMCE.getParam("theme_advanced_resizing_use_cookie",true)){var expires=new Date();expires.setTime(expires.getTime()+3600000*24*30);TinyMCE_AdvancedTheme._setCookie("TinyMCE_"+editorId+"_width",""+(resizer.horizontal?resizer.width+dx:""),expires);TinyMCE_AdvancedTheme._setCookie("TinyMCE_"+editorId+"_height",""+(resizer.height+dy),expires)}break}},_setResizing:function(e,editor_id,state){e=typeof(e)=="undefined"?window.event:e;var resizer=TinyMCE_AdvancedTheme._resizer;var editorContainer=document.getElementById(editor_id+'_parent');var editorArea=document.getElementById(editor_id+'_parent').firstChild;var resizeBox=document.getElementById(editor_id+'_resize_box');var inst=tinyMCE.getInstanceById(editor_id);if(state){var width=editorArea.clientWidth;var height=editorArea.clientHeight;resizeBox.style.width=width+"px";resizeBox.style.height=height+"px";resizer.iframeWidth=inst.iframeElement.clientWidth;resizer.iframeHeight=inst.iframeElement.clientHeight;editorArea.style.display="none";resizeBox.style.display="block";if(!resizer.eventHandlers){if(tinyMCE.isMSIE)tinyMCE.addEvent(document,"mousemove",TinyMCE_AdvancedTheme._resizeEventHandler);else tinyMCE.addEvent(window,"mousemove",TinyMCE_AdvancedTheme._resizeEventHandler);tinyMCE.addEvent(document,"mouseup",TinyMCE_AdvancedTheme._resizeEventHandler);resizer.eventHandlers=true}resizer.resizing=true;resizer.downX=e.screenX;resizer.downY=e.screenY;resizer.width=parseInt(resizeBox.style.width);resizer.height=parseInt(resizeBox.style.height);resizer.editorId=editor_id;resizer.resizeBox=resizeBox;resizer.horizontal=tinyMCE.getParam("theme_advanced_resize_horizontal",true)}else{resizer.resizing=false;resizeBox.style.display="none";editorArea.style.display=tinyMCE.isMSIE&&!tinyMCE.isOpera?"block":"table";tinyMCE.execCommand('mceResetDesignMode')}},_getColorHTML:function(id,n,cm){var i,h,cl;h='<span class="mceMenuLine"></span>';cl=tinyMCE.getParam(n,TinyMCE_AdvancedTheme._defColors).split(',');h+='<table class="mceColors"><tr>';for(i=0;i<cl.length;i++){c='tinyMCE.execInstanceCommand(\''+id+'\', \''+cm+'\', false, \'#'+cl[i]+'\');';h+='<td><a href="javascript:'+c+'" style="background-color: #'+cl[i]+'" onclick="'+c+';return false;"></a></td>';if((i+1)%8==0)h+='</tr><tr>'}h+='</tr></table>';if(tinyMCE.getParam("theme_advanced_more_colors",true))h+='<a href="javascript:void(0);" onclick="TinyMCE_AdvancedTheme._pickColor(\''+id+'\',\''+cm+'\');" class="mceMoreColors">'+tinyMCE.getLang('lang_more_colors')+'</a>';return h},_pickColor:function(id,cm){var inputColor,inst=tinyMCE.selectedInstance;if(cm=='forecolor'&&inst)inputColor=inst.foreColor;if((cm=='backcolor'||cm=='HiliteColor')&&inst)inputColor=inst.backColor;tinyMCE.execCommand('mceColorPicker',true,{color:inputColor,callback:function(c){tinyMCE.execInstanceCommand(id,cm,false,c)}})},_insertImage:function(src,alt,border,hspace,vspace,width,height,align,title,onmouseover,onmouseout){tinyMCE.execCommand("mceInsertContent",false,tinyMCE.createTagHTML('img',{src:tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],src),mce_src:src,alt:alt,border:border,hspace:hspace,vspace:vspace,width:width,height:height,align:align,title:title,onmouseover:onmouseover,onmouseout:onmouseout}))},_insertLink:function(href,target,title,onclick,style_class){tinyMCE.execCommand('mceBeginUndoLevel');if(tinyMCE.selectedInstance&&tinyMCE.selectedElement&&tinyMCE.selectedElement.nodeName.toLowerCase()=="img"){var doc=tinyMCE.selectedInstance.getDoc();var linkElement=tinyMCE.getParentElement(tinyMCE.selectedElement,"a");var newLink=false;if(!linkElement){linkElement=doc.createElement("a");newLink=true}var mhref=href;var thref=eval(tinyMCE.settings['urlconverter_callback']+"(href, linkElement);");mhref=tinyMCE.getParam('convert_urls')?href:mhref;tinyMCE.setAttrib(linkElement,'href',thref);tinyMCE.setAttrib(linkElement,'mce_href',mhref);tinyMCE.setAttrib(linkElement,'target',target);tinyMCE.setAttrib(linkElement,'title',title);tinyMCE.setAttrib(linkElement,'onclick',onclick);tinyMCE.setAttrib(linkElement,'class',style_class);if(newLink){linkElement.appendChild(tinyMCE.selectedElement.cloneNode(true));tinyMCE.selectedElement.parentNode.replaceChild(linkElement,tinyMCE.selectedElement)}return}if(!tinyMCE.linkElement&&tinyMCE.selectedInstance){if(tinyMCE.isSafari){tinyMCE.execCommand("mceInsertContent",false,'<a href="'+tinyMCE.uniqueURL+'">'+tinyMCE.selectedInstance.selection.getSelectedHTML()+'</a>')}else tinyMCE.selectedInstance.contentDocument.execCommand("createlink",false,tinyMCE.uniqueURL);tinyMCE.linkElement=tinyMCE.getElementByAttributeValue(tinyMCE.selectedInstance.contentDocument.body,"a","href",tinyMCE.uniqueURL);var elementArray=tinyMCE.getElementsByAttributeValue(tinyMCE.selectedInstance.contentDocument.body,"a","href",tinyMCE.uniqueURL);for(var i=0;i<elementArray.length;i++){var mhref=href;var thref=eval(tinyMCE.settings['urlconverter_callback']+"(href, elementArray[i]);");mhref=tinyMCE.getParam('convert_urls')?href:mhref;tinyMCE.setAttrib(elementArray[i],'href',thref);tinyMCE.setAttrib(elementArray[i],'mce_href',mhref);tinyMCE.setAttrib(elementArray[i],'target',target);tinyMCE.setAttrib(elementArray[i],'title',title);tinyMCE.setAttrib(elementArray[i],'onclick',onclick);tinyMCE.setAttrib(elementArray[i],'class',style_class)}tinyMCE.linkElement=elementArray[0]}if(tinyMCE.linkElement){var mhref=href;href=eval(tinyMCE.settings['urlconverter_callback']+"(href, tinyMCE.linkElement);");mhref=tinyMCE.getParam('convert_urls')?href:mhref;tinyMCE.setAttrib(tinyMCE.linkElement,'href',href);tinyMCE.setAttrib(tinyMCE.linkElement,'mce_href',mhref);tinyMCE.setAttrib(tinyMCE.linkElement,'target',target);tinyMCE.setAttrib(tinyMCE.linkElement,'title',title);tinyMCE.setAttrib(tinyMCE.linkElement,'onclick',onclick);tinyMCE.setAttrib(tinyMCE.linkElement,'class',style_class)}tinyMCE.execCommand('mceEndUndoLevel')}};tinyMCE.addTheme("advanced",TinyMCE_AdvancedTheme);tinyMCE.addButtonMap(TinyMCE_AdvancedTheme._buttonMap); |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/source_editor.htm |
---|
New file |
0,0 → 1,32 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
<title>{$lang_theme_code_title}</title> |
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script> |
<script language="javascript" type="text/javascript" src="jscripts/source_editor.js"></script> |
<base target="_self" /> |
</head> |
<body onload="tinyMCEPopup.executeOnLoad('onLoadInit();');" onresize="resizeInputs();" style="display: none"> |
<form name="source" onsubmit="saveContent();" action="#"> |
<div style="float: left" class="title">{$lang_theme_code_title}</div> |
<div id="wrapline" style="float: right"> |
<input type="checkbox" name="wraped" id="wraped" onclick="toggleWordWrap(this);" class="wordWrapCode" /><label for="wraped">{$lang_theme_code_wordwrap}</label> |
</div> |
<br style="clear: both" /> |
<textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,monospace; font-size: 12px" dir="ltr" wrap="off"></textarea> |
<div class="mceActionPanel"> |
<div style="float: left"> |
<input type="button" name="insert" value="{$lang_update}" onclick="saveContent();" id="insert" /> |
</div> |
<div style="float: right"> |
<input type="button" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" id="cancel" /> |
</div> |
</div> |
</form> |
</body> |
</html> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/about.htm |
---|
New file |
0,0 → 1,52 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>{$lang_about_title}</title> |
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script> |
<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script> |
<script language="javascript" type="text/javascript" src="jscripts/about.js"></script> |
<base target="_self" /> |
</head> |
<body id="about" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none"> |
<div class="tabs"> |
<ul> |
<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_about}</a></span></li> |
<li id="help_tab"><span><a href="javascript:mcTabs.displayTab('help_tab','help_panel');" onmousedown="return false;">{$lang_help}</a></span></li> |
<li id="plugins_tab"><span><a href="javascript:mcTabs.displayTab('plugins_tab','plugins_panel');" onmousedown="return false;">{$lang_plugins}</a></span></li> |
</ul> |
</div> |
<div class="panel_wrapper"> |
<div id="general_panel" class="panel current"> |
<h3>{$lang_about_title}</h3> |
<p>Version: {$tinymce_version} ({$tinymce_releasedate})</p> |
<p>TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under <a href="../../license.txt" target="_blank">LGPL</a> |
by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances.</p> |
<p>Copyright © 2003-2007, <a href="http://www.moxiecode.com" target="_blank">Moxiecode Systems AB</a>, All rights reserved.</p> |
<p>For more information about this software visit the <a href="http://tinymce.moxiecode.com" target="_blank">TinyMCE website</a>.</p> |
<div id="buttoncontainer"></div> |
</div> |
<div id="plugins_panel" class="panel"> |
<div id="pluginscontainer"> |
<h3>{$lang_loaded_plugins}</h3> |
<div id="plugintablecontainer"> |
</div> |
<p> </p> |
</div> |
</div> |
<div id="help_panel" class="panel noscroll" style="overflow: visible;"> |
<div id="iframecontainer"></div> |
</div> |
</div> |
<div class="mceActionPanel"> |
<div style="float: right"> |
<input type="button" id="cancel" name="cancel" value="{$lang_close}" onclick="tinyMCEPopup.close();" /> |
</div> |
</div> |
</body> |
</html> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/anchor.htm |
---|
New file |
0,0 → 1,33 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>{$lang_insert_anchor_title}</title> |
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script> |
<script language="javascript" type="text/javascript" src="jscripts/anchor.js"></script> |
<base target="_self" /> |
</head> |
<body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none"> |
<form onsubmit="insertAnchor();return false;" action="#"> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td colspan="2" class="title">{$lang_insert_anchor_title}</td> |
</tr> |
<tr> |
<td nowrap="nowrap">{$lang_insert_anchor_name}:</td> |
<td><input name="anchorName" type="text" id="anchorName" value="" style="width: 200px" /></td> |
</tr> |
</table> |
<div class="mceActionPanel"> |
<div style="float: left"> |
<input type="button" id="insert" name="insert" value="{$lang_update}" onclick="insertAnchor();" /> |
</div> |
<div style="float: right"> |
<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" /> |
</div> |
</div> |
</form> |
</body> |
</html> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/jscripts/image.js |
---|
New file |
0,0 → 1,81 |
var url = tinyMCE.getParam("external_image_list_url"); |
if (url != null) { |
// Fix relative |
if (url.charAt(0) != '/' && url.indexOf('://') == -1) |
url = tinyMCE.documentBasePath + "/" + url; |
document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + url + '"></sc'+'ript>'); |
} |
function insertImage() { |
var src = document.forms[0].src.value; |
var alt = document.forms[0].alt.value; |
var border = document.forms[0].border.value; |
var vspace = document.forms[0].vspace.value; |
var hspace = document.forms[0].hspace.value; |
var width = document.forms[0].width.value; |
var height = document.forms[0].height.value; |
var align = document.forms[0].align.options[document.forms[0].align.selectedIndex].value; |
tinyMCEPopup.restoreSelection(); |
tinyMCE.themes['advanced']._insertImage(src, alt, border, hspace, vspace, width, height, align); |
tinyMCEPopup.close(); |
} |
function init() { |
tinyMCEPopup.resizeToInnerSize(); |
document.getElementById('srcbrowsercontainer').innerHTML = getBrowserHTML('srcbrowser','src','image','theme_advanced_image'); |
var formObj = document.forms[0]; |
for (var i=0; i<document.forms[0].align.options.length; i++) { |
if (document.forms[0].align.options[i].value == tinyMCE.getWindowArg('align')) |
document.forms[0].align.options.selectedIndex = i; |
} |
formObj.src.value = tinyMCE.getWindowArg('src'); |
formObj.alt.value = tinyMCE.getWindowArg('alt'); |
formObj.border.value = tinyMCE.getWindowArg('border'); |
formObj.vspace.value = tinyMCE.getWindowArg('vspace'); |
formObj.hspace.value = tinyMCE.getWindowArg('hspace'); |
formObj.width.value = tinyMCE.getWindowArg('width'); |
formObj.height.value = tinyMCE.getWindowArg('height'); |
formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('action'), 'Insert', true); |
// Handle file browser |
if (isVisible('srcbrowser')) |
document.getElementById('src').style.width = '180px'; |
// Auto select image in list |
if (typeof(tinyMCEImageList) != "undefined" && tinyMCEImageList.length > 0) { |
for (var i=0; i<formObj.image_list.length; i++) { |
if (formObj.image_list.options[i].value == tinyMCE.getWindowArg('src')) |
formObj.image_list.options[i].selected = true; |
} |
} |
} |
var preloadImg = new Image(); |
function resetImageData() { |
var formObj = document.forms[0]; |
formObj.width.value = formObj.height.value = ""; |
} |
function updateImageData() { |
var formObj = document.forms[0]; |
if (formObj.width.value == "") |
formObj.width.value = preloadImg.width; |
if (formObj.height.value == "") |
formObj.height.value = preloadImg.height; |
} |
function getImageData() { |
preloadImg = new Image(); |
tinyMCE.addEvent(preloadImg, "load", updateImageData); |
tinyMCE.addEvent(preloadImg, "error", function () {var formObj = document.forms[0];formObj.width.value = formObj.height.value = "";}); |
preloadImg.src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], document.forms[0].src.value); |
} |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/jscripts/source_editor.js |
---|
New file |
0,0 → 1,59 |
function saveContent() { |
tinyMCE.setContent(document.getElementById('htmlSource').value); |
tinyMCE.closeWindow(window); |
} |
function onLoadInit() { |
tinyMCEPopup.resizeToInnerSize(); |
// Remove Gecko spellchecking |
if (tinyMCE.isGecko) |
document.body.spellcheck = tinyMCE.getParam("gecko_spellcheck"); |
document.getElementById('htmlSource').value = tinyMCE.getContent(tinyMCE.getWindowArg('editor_id')); |
resizeInputs(); |
if (tinyMCE.getParam("theme_advanced_source_editor_wrap", true)) { |
setWrap('soft'); |
document.getElementById('wraped').checked = true; |
} |
} |
function setWrap(val) { |
var s = document.getElementById('htmlSource'); |
s.wrap = val; |
if (tinyMCE.isGecko || tinyMCE.isOpera) { |
var v = s.value; |
var n = s.cloneNode(false); |
n.setAttribute("wrap", val); |
s.parentNode.replaceChild(n, s); |
n.value = v; |
} |
} |
function toggleWordWrap(elm) { |
if (elm.checked) |
setWrap('soft'); |
else |
setWrap('off'); |
} |
var wHeight=0, wWidth=0, owHeight=0, owWidth=0; |
function resizeInputs() { |
var el = document.getElementById('htmlSource'); |
if (!tinyMCE.isMSIE) { |
wHeight = self.innerHeight - 60; |
wWidth = self.innerWidth - 16; |
} else { |
wHeight = document.body.clientHeight - 60; |
wWidth = document.body.clientWidth - 16; |
} |
el.style.height = Math.abs(wHeight) + 'px'; |
el.style.width = Math.abs(wWidth) + 'px'; |
} |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/jscripts/about.js |
---|
New file |
0,0 → 1,75 |
function init() { |
var inst; |
tinyMCEPopup.resizeToInnerSize(); |
inst = tinyMCE.selectedInstance; |
// Give FF some time |
window.setTimeout('insertHelpIFrame();', 10); |
var tcont = document.getElementById('plugintablecontainer'); |
var plugins = tinyMCE.getParam('plugins', '', true, ','); |
if (plugins.length == 0) |
document.getElementById('plugins_tab').style.display = 'none'; |
var html = ""; |
html += '<table id="plugintable">'; |
html += '<thead>'; |
html += '<tr>'; |
html += '<td>' + tinyMCE.getLang('lang_plugin') + '</td>'; |
html += '<td>' + tinyMCE.getLang('lang_author') + '</td>'; |
html += '<td>' + tinyMCE.getLang('lang_version') + '</td>'; |
html += '</tr>'; |
html += '</thead>'; |
html += '<tbody>'; |
for (var i=0; i<inst.plugins.length; i++) { |
var info = getPluginInfo(inst.plugins[i]); |
html += '<tr>'; |
if (info.infourl != null && info.infourl != '') |
html += '<td width="50%" title="' + plugins[i] + '"><a href="' + info.infourl + '" target="mceplugin">' + info.longname + '</a></td>'; |
else |
html += '<td width="50%" title="' + plugins[i] + '">' + info.longname + '</td>'; |
if (info.authorurl != null && info.authorurl != '') |
html += '<td width="35%"><a href="' + info.authorurl + '" target="mceplugin">' + info.author + '</a></td>'; |
else |
html += '<td width="35%">' + info.author + '</td>'; |
html += '<td width="15%">' + info.version + '</td>'; |
html += '</tr>'; |
} |
html += '</tbody>'; |
html += '</table>'; |
tcont.innerHTML = html; |
} |
function getPluginInfo(name) { |
if (tinyMCE.plugins[name].getInfo) |
return tinyMCE.plugins[name].getInfo(); |
return { |
longname : name, |
authorurl : '', |
infourl : '', |
author : '--', |
version : '--' |
}; |
} |
function insertHelpIFrame() { |
var html = '<iframe width="100%" height="300" src="' + tinyMCE.themeURL + "/docs/" + tinyMCE.settings['docs_language'] + "/index.htm" + '"></iframe>'; |
document.getElementById('iframecontainer').innerHTML = html; |
html = ''; |
html += '<a href="http://www.moxiecode.com" target="_blank"><img src="http://tinymce.moxiecode.com/images/gotmoxie.png" alt="Got Moxie?" border="0" /></a> '; |
html += '<a href="http://sourceforge.net/projects/tinymce/" target="_blank"><img src="http://sourceforge.net/sflogo.php?group_id=103281" alt="Hosted By Sourceforge" border="0" /></a> '; |
html += '<a href="http://www.freshmeat.net/projects/tinymce" target="_blank"><img src="http://tinymce.moxiecode.com/images/fm.gif" alt="Also on freshmeat" border="0" /></a> '; |
document.getElementById('buttoncontainer').innerHTML = html; |
} |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/jscripts/anchor.js |
---|
New file |
0,0 → 1,74 |
var action, element; |
function init() { |
tinyMCEPopup.resizeToInnerSize(); |
var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); |
var anchor = tinyMCE.getParentElement(inst.getFocusElement(), "a", "name"); |
var img = inst.getFocusElement(); |
action = 'insert'; |
if (anchor != null) { |
element = anchor; |
action = "update"; |
} |
if (tinyMCE.getAttrib(img, "class") == "mceItemAnchor") { |
element = img; |
action = "update"; |
} |
if (action == "update") |
document.forms[0].anchorName.value = element.nodeName == "IMG" ? element.getAttribute("title") : element.getAttribute("name"); |
document.forms[0].insert.value = tinyMCE.getLang('lang_' + action, 'Insert', true); |
} |
function insertAnchor() { |
var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); |
var name = document.forms[0].anchorName.value, e; |
tinyMCEPopup.execCommand("mceBeginUndoLevel"); |
if (action == "update") { |
if (element.nodeName == "IMG") |
element.setAttribute("title", name); |
else |
element.setAttribute("name", name); |
} else { |
var rng = inst.getRng(); |
if (rng.collapse) |
rng.collapse(false); |
name = name.replace(/&/g, '&'); |
name = name.replace(/\"/g, '"'); |
name = name.replace(/</g, '<'); |
name = name.replace(/>/g, '>'); |
// Fix for bug #1447335 |
if (tinyMCE.isGecko) |
html = '<a id="mceNewAnchor" name="' + name + '"></a>'; |
else |
html = '<a name="' + name + '"></a>'; |
tinyMCEPopup.execCommand("mceInsertContent", false, html); |
// Fix for bug #1447335 force cursor after the anchor element |
if (tinyMCE.isGecko) { |
e = inst.getDoc().getElementById('mceNewAnchor'); |
if (e) { |
inst.selection.selectNode(e, true, false, false); |
e.removeAttribute('id'); |
} |
} |
tinyMCE.handleVisualAid(inst.getBody(), true, inst.visualAid, inst); |
} |
tinyMCEPopup.execCommand("mceEndUndoLevel"); |
tinyMCE.triggerNodeChange(); |
tinyMCEPopup.close(); |
} |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/jscripts/charmap.js |
---|
New file |
0,0 → 1,326 |
function init() { |
tinyMCEPopup.resizeToInnerSize(); |
} |
var charmap = new Array(); |
// for mor details please see w3c.org |
// now here is the complete list ;) |
charmap = [ |
[' ', ' ', true, 'no-break space'], |
['&', '&', true, 'ampersand'], |
['"', '"', true, 'quotation mark'], |
// finance |
['¢', '¢', true, 'cent sign'], |
['€', '€', true, 'euro sign'], |
['£', '£', true, 'pound sign'], |
['¥', '¥', true, 'yen sign'], |
// signs |
['©', '©', true, 'copyright sign'], |
['®', '®', true, 'registered sign'], |
['™', '™', true, 'trade mark sign'], |
['‰', '‰', true, 'per mille sign'], |
['µ', 'µ', true, 'micro sign'], |
['·', '·', true, 'middle dot'], |
['•', '•', true, 'bullet'], |
['…', '…', true, 'three dot leader'], |
['′', '′', true, 'minutes / feet'], |
['″', '″', true, 'seconds / inches'], |
['§', '§', true, 'section sign'], |
['¶', '¶', true, 'paragraph sign'], |
['ß', 'ß', true, 'sharp s / ess-zed'], |
// quotations |
['‹', '‹', true, 'single left-pointing angle quotation mark'], |
['›', '›', true, 'single right-pointing angle quotation mark'], |
['«', '«', true, 'left pointing guillemet'], |
['»', '»', true, 'right pointing guillemet'], |
['‘', '‘', true, 'left single quotation mark'], |
['’', '’', true, 'right single quotation mark'], |
['“', '“', true, 'left double quotation mark'], |
['”', '”', true, 'right double quotation mark'], |
['‚', '‚', true, 'single low-9 quotation mark'], |
['„', '„', true, 'double low-9 quotation mark'], |
['<', '<', true, 'less-than sign'], |
['>', '>', true, 'greater-than sign'], |
['≤', '≤', true, 'less-than or equal to'], |
['≥', '≥', true, 'greater-than or equal to'], |
['–', '–', true, 'en dash'], |
['—', '—', true, 'em dash'], |
['¯', '¯', true, 'macron'], |
['‾', '‾', true, 'overline'], |
['¤', '¤', true, 'currency sign'], |
['¦', '¦', true, 'broken bar'], |
['¨', '¨', true, 'diaeresis'], |
['¡', '¡', true, 'inverted exclamation mark'], |
['¿', '¿', true, 'turned question mark'], |
['ˆ', 'ˆ', true, 'circumflex accent'], |
['˜', '˜', true, 'small tilde'], |
['°', '°', true, 'degree sign'], |
['−', '−', true, 'minus sign'], |
['±', '±', true, 'plus-minus sign'], |
['÷', '÷', true, 'division sign'], |
['⁄', '⁄', true, 'fraction slash'], |
['×', '×', true, 'multiplication sign'], |
['¹', '¹', true, 'superscript one'], |
['²', '²', true, 'superscript two'], |
['³', '³', true, 'superscript three'], |
['¼', '¼', true, 'fraction one quarter'], |
['½', '½', true, 'fraction one half'], |
['¾', '¾', true, 'fraction three quarters'], |
// math / logical |
['ƒ', 'ƒ', true, 'function / florin'], |
['∫', '∫', true, 'integral'], |
['∑', '∑', true, 'n-ary sumation'], |
['∞', '∞', true, 'infinity'], |
['√', '√', true, 'square root'], |
['∼', '∼', false,'similar to'], |
['≅', '≅', false,'approximately equal to'], |
['≈', '≈', true, 'almost equal to'], |
['≠', '≠', true, 'not equal to'], |
['≡', '≡', true, 'identical to'], |
['∈', '∈', false,'element of'], |
['∉', '∉', false,'not an element of'], |
['∋', '∋', false,'contains as member'], |
['∏', '∏', true, 'n-ary product'], |
['∧', '∧', false,'logical and'], |
['∨', '∨', false,'logical or'], |
['¬', '¬', true, 'not sign'], |
['∩', '∩', true, 'intersection'], |
['∪', '∪', false,'union'], |
['∂', '∂', true, 'partial differential'], |
['∀', '∀', false,'for all'], |
['∃', '∃', false,'there exists'], |
['∅', '∅', false,'diameter'], |
['∇', '∇', false,'backward difference'], |
['∗', '∗', false,'asterisk operator'], |
['∝', '∝', false,'proportional to'], |
['∠', '∠', false,'angle'], |
// undefined |
['´', '´', true, 'acute accent'], |
['¸', '¸', true, 'cedilla'], |
['ª', 'ª', true, 'feminine ordinal indicator'], |
['º', 'º', true, 'masculine ordinal indicator'], |
['†', '†', true, 'dagger'], |
['‡', '‡', true, 'double dagger'], |
// alphabetical special chars |
['À', 'À', true, 'A - grave'], |
['Á', 'Á', true, 'A - acute'], |
['Â', 'Â', true, 'A - circumflex'], |
['Ã', 'Ã', true, 'A - tilde'], |
['Ä', 'Ä', true, 'A - diaeresis'], |
['Å', 'Å', true, 'A - ring above'], |
['Æ', 'Æ', true, 'ligature AE'], |
['Ç', 'Ç', true, 'C - cedilla'], |
['È', 'È', true, 'E - grave'], |
['É', 'É', true, 'E - acute'], |
['Ê', 'Ê', true, 'E - circumflex'], |
['Ë', 'Ë', true, 'E - diaeresis'], |
['Ì', 'Ì', true, 'I - grave'], |
['Í', 'Í', true, 'I - acute'], |
['Î', 'Î', true, 'I - circumflex'], |
['Ï', 'Ï', true, 'I - diaeresis'], |
['Ð', 'Ð', true, 'ETH'], |
['Ñ', 'Ñ', true, 'N - tilde'], |
['Ò', 'Ò', true, 'O - grave'], |
['Ó', 'Ó', true, 'O - acute'], |
['Ô', 'Ô', true, 'O - circumflex'], |
['Õ', 'Õ', true, 'O - tilde'], |
['Ö', 'Ö', true, 'O - diaeresis'], |
['Ø', 'Ø', true, 'O - slash'], |
['Œ', 'Œ', true, 'ligature OE'], |
['Š', 'Š', true, 'S - caron'], |
['Ù', 'Ù', true, 'U - grave'], |
['Ú', 'Ú', true, 'U - acute'], |
['Û', 'Û', true, 'U - circumflex'], |
['Ü', 'Ü', true, 'U - diaeresis'], |
['Ý', 'Ý', true, 'Y - acute'], |
['Ÿ', 'Ÿ', true, 'Y - diaeresis'], |
['Þ', 'Þ', true, 'THORN'], |
['à', 'à', true, 'a - grave'], |
['á', 'á', true, 'a - acute'], |
['â', 'â', true, 'a - circumflex'], |
['ã', 'ã', true, 'a - tilde'], |
['ä', 'ä', true, 'a - diaeresis'], |
['å', 'å', true, 'a - ring above'], |
['æ', 'æ', true, 'ligature ae'], |
['ç', 'ç', true, 'c - cedilla'], |
['è', 'è', true, 'e - grave'], |
['é', 'é', true, 'e - acute'], |
['ê', 'ê', true, 'e - circumflex'], |
['ë', 'ë', true, 'e - diaeresis'], |
['ì', 'ì', true, 'i - grave'], |
['í', 'í', true, 'i - acute'], |
['î', 'î', true, 'i - circumflex'], |
['ï', 'ï', true, 'i - diaeresis'], |
['ð', 'ð', true, 'eth'], |
['ñ', 'ñ', true, 'n - tilde'], |
['ò', 'ò', true, 'o - grave'], |
['ó', 'ó', true, 'o - acute'], |
['ô', 'ô', true, 'o - circumflex'], |
['õ', 'õ', true, 'o - tilde'], |
['ö', 'ö', true, 'o - diaeresis'], |
['ø', 'ø', true, 'o slash'], |
['œ', 'œ', true, 'ligature oe'], |
['š', 'š', true, 's - caron'], |
['ù', 'ù', true, 'u - grave'], |
['ú', 'ú', true, 'u - acute'], |
['û', 'û', true, 'u - circumflex'], |
['ü', 'ü', true, 'u - diaeresis'], |
['ý', 'ý', true, 'y - acute'], |
['þ', 'þ', true, 'thorn'], |
['ÿ', 'ÿ', true, 'y - diaeresis'], |
['Α', 'Α', true, 'Alpha'], |
['Β', 'Β', true, 'Beta'], |
['Γ', 'Γ', true, 'Gamma'], |
['Δ', 'Δ', true, 'Delta'], |
['Ε', 'Ε', true, 'Epsilon'], |
['Ζ', 'Ζ', true, 'Zeta'], |
['Η', 'Η', true, 'Eta'], |
['Θ', 'Θ', true, 'Theta'], |
['Ι', 'Ι', true, 'Iota'], |
['Κ', 'Κ', true, 'Kappa'], |
['Λ', 'Λ', true, 'Lambda'], |
['Μ', 'Μ', true, 'Mu'], |
['Ν', 'Ν', true, 'Nu'], |
['Ξ', 'Ξ', true, 'Xi'], |
['Ο', 'Ο', true, 'Omicron'], |
['Π', 'Π', true, 'Pi'], |
['Ρ', 'Ρ', true, 'Rho'], |
['Σ', 'Σ', true, 'Sigma'], |
['Τ', 'Τ', true, 'Tau'], |
['Υ', 'Υ', true, 'Upsilon'], |
['Φ', 'Φ', true, 'Phi'], |
['Χ', 'Χ', true, 'Chi'], |
['Ψ', 'Ψ', true, 'Psi'], |
['Ω', 'Ω', true, 'Omega'], |
['α', 'α', true, 'alpha'], |
['β', 'β', true, 'beta'], |
['γ', 'γ', true, 'gamma'], |
['δ', 'δ', true, 'delta'], |
['ε', 'ε', true, 'epsilon'], |
['ζ', 'ζ', true, 'zeta'], |
['η', 'η', true, 'eta'], |
['θ', 'θ', true, 'theta'], |
['ι', 'ι', true, 'iota'], |
['κ', 'κ', true, 'kappa'], |
['λ', 'λ', true, 'lambda'], |
['μ', 'μ', true, 'mu'], |
['ν', 'ν', true, 'nu'], |
['ξ', 'ξ', true, 'xi'], |
['ο', 'ο', true, 'omicron'], |
['π', 'π', true, 'pi'], |
['ρ', 'ρ', true, 'rho'], |
['ς', 'ς', true, 'final sigma'], |
['σ', 'σ', true, 'sigma'], |
['τ', 'τ', true, 'tau'], |
['υ', 'υ', true, 'upsilon'], |
['φ', 'φ', true, 'phi'], |
['χ', 'χ', true, 'chi'], |
['ψ', 'ψ', true, 'psi'], |
['ω', 'ω', true, 'omega'], |
// symbols |
['ℵ', 'ℵ', false,'alef symbol'], |
['ϖ', 'ϖ', false,'pi symbol'], |
['ℜ', 'ℜ', false,'real part symbol'], |
['ϑ','ϑ', false,'theta symbol'], |
['ϒ', 'ϒ', false,'upsilon - hook symbol'], |
['℘', '℘', false,'Weierstrass p'], |
['ℑ', 'ℑ', false,'imaginary part'], |
// arrows |
['←', '←', true, 'leftwards arrow'], |
['↑', '↑', true, 'upwards arrow'], |
['→', '→', true, 'rightwards arrow'], |
['↓', '↓', true, 'downwards arrow'], |
['↔', '↔', true, 'left right arrow'], |
['↵', '↵', false,'carriage return'], |
['⇐', '⇐', false,'leftwards double arrow'], |
['⇑', '⇑', false,'upwards double arrow'], |
['⇒', '⇒', false,'rightwards double arrow'], |
['⇓', '⇓', false,'downwards double arrow'], |
['⇔', '⇔', false,'left right double arrow'], |
['∴', '∴', false,'therefore'], |
['⊂', '⊂', false,'subset of'], |
['⊃', '⊃', false,'superset of'], |
['⊄', '⊄', false,'not a subset of'], |
['⊆', '⊆', false,'subset of or equal to'], |
['⊇', '⊇', false,'superset of or equal to'], |
['⊕', '⊕', false,'circled plus'], |
['⊗', '⊗', false,'circled times'], |
['⊥', '⊥', false,'perpendicular'], |
['⋅', '⋅', false,'dot operator'], |
['⌈', '⌈', false,'left ceiling'], |
['⌉', '⌉', false,'right ceiling'], |
['⌊', '⌊', false,'left floor'], |
['⌋', '⌋', false,'right floor'], |
['⟨', '〈', false,'left-pointing angle bracket'], |
['⟩', '〉', false,'right-pointing angle bracket'], |
['◊', '◊', true,'lozenge'], |
['♠', '♠', false,'black spade suit'], |
['♣', '♣', true, 'black club suit'], |
['♥', '♥', true, 'black heart suit'], |
['♦', '♦', true, 'black diamond suit'], |
[' ', ' ', false,'en space'], |
[' ', ' ', false,'em space'], |
[' ', ' ', false,'thin space'], |
['‌', '‌', false,'zero width non-joiner'], |
['‍', '‍', false,'zero width joiner'], |
['‎', '‎', false,'left-to-right mark'], |
['‏', '‏', false,'right-to-left mark'], |
['­', '­', false,'soft hyphen'] |
]; |
function renderCharMapHTML() { |
var charsPerRow = 20, tdWidth=20, tdHeight=20; |
var html = '<table border="0" cellspacing="1" cellpadding="0" width="' + (tdWidth*charsPerRow) + '"><tr height="' + tdHeight + '">'; |
var cols=-1; |
for (var i=0; i<charmap.length; i++) { |
if (charmap[i][2]==true) { |
cols++; |
html += '' |
+ '<td width="' + tdWidth + '" height="' + tdHeight + '" class="charmap"' |
+ ' onmouseover="this.className=\'charmapOver\';' |
+ 'previewChar(\'' + charmap[i][1].substring(1,charmap[i][1].length) + '\',\'' + charmap[i][0].substring(1,charmap[i][0].length) + '\',\'' + charmap[i][3] + '\');"' |
+ ' onmouseout="this.className=\'charmap\';"' |
+ ' nowrap="nowrap" onclick="insertChar(\'' + charmap[i][1].substring(2,charmap[i][1].length-1) + '\');"><a style="text-decoration: none;" onfocus="previewChar(\'' + charmap[i][1].substring(1,charmap[i][1].length) + '\',\'' + charmap[i][0].substring(1,charmap[i][0].length) + '\',\'' + charmap[i][3] + '\');" href="javascript:insertChar(\'' + charmap[i][1].substring(2,charmap[i][1].length-1) + '\');" onclick="return false;" onmousedown="return false;" title="' + charmap[i][3] + '">' |
+ charmap[i][1] |
+ '</a></td>'; |
if ((cols+1) % charsPerRow == 0) |
html += '</tr><tr height="' + tdHeight + '">'; |
} |
} |
if (cols % charsPerRow > 0) { |
var padd = charsPerRow - (cols % charsPerRow); |
for (var i=0; i<padd-1; i++) |
html += '<td width="' + tdWidth + '" height="' + tdHeight + '" class="charmap"> </td>'; |
} |
html += '</tr></table>'; |
document.write(html); |
} |
function insertChar(chr) { |
tinyMCEPopup.execCommand('mceInsertContent', false, '&#' + chr + ';'); |
// Refocus in window |
if (tinyMCEPopup.isWindow) |
window.focus(); |
tinyMCEPopup.close(); |
} |
function previewChar(codeA, codeB, codeN) { |
var elmA = document.getElementById('codeA'); |
var elmB = document.getElementById('codeB'); |
var elmV = document.getElementById('codeV'); |
var elmN = document.getElementById('codeN'); |
if (codeA=='#160;') { |
elmV.innerHTML = '__'; |
} else { |
elmV.innerHTML = '&' + codeA; |
} |
elmB.innerHTML = '&' + codeA; |
elmA.innerHTML = '&' + codeB; |
elmN.innerHTML = codeN; |
} |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/jscripts/color_picker.js |
---|
New file |
0,0 → 1,240 |
var detail = 50, strhex = "0123456789abcdef", i, isMouseDown = false, isMouseOver = false; |
var colors = new Array( |
"#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033", |
"#330066","#330099","#3300cc","#3300ff","#660000","#660033","#660066","#660099", |
"#6600cc","#6600ff","#990000","#990033","#990066","#990099","#9900cc","#9900ff", |
"#cc0000","#cc0033","#cc0066","#cc0099","#cc00cc","#cc00ff","#ff0000","#ff0033", |
"#ff0066","#ff0099","#ff00cc","#ff00ff","#003300","#003333","#003366","#003399", |
"#0033cc","#0033ff","#333300","#333333","#333366","#333399","#3333cc","#3333ff", |
"#663300","#663333","#663366","#663399","#6633cc","#6633ff","#993300","#993333", |
"#993366","#993399","#9933cc","#9933ff","#cc3300","#cc3333","#cc3366","#cc3399", |
"#cc33cc","#cc33ff","#ff3300","#ff3333","#ff3366","#ff3399","#ff33cc","#ff33ff", |
"#006600","#006633","#006666","#006699","#0066cc","#0066ff","#336600","#336633", |
"#336666","#336699","#3366cc","#3366ff","#666600","#666633","#666666","#666699", |
"#6666cc","#6666ff","#996600","#996633","#996666","#996699","#9966cc","#9966ff", |
"#cc6600","#cc6633","#cc6666","#cc6699","#cc66cc","#cc66ff","#ff6600","#ff6633", |
"#ff6666","#ff6699","#ff66cc","#ff66ff","#009900","#009933","#009966","#009999", |
"#0099cc","#0099ff","#339900","#339933","#339966","#339999","#3399cc","#3399ff", |
"#669900","#669933","#669966","#669999","#6699cc","#6699ff","#999900","#999933", |
"#999966","#999999","#9999cc","#9999ff","#cc9900","#cc9933","#cc9966","#cc9999", |
"#cc99cc","#cc99ff","#ff9900","#ff9933","#ff9966","#ff9999","#ff99cc","#ff99ff", |
"#00cc00","#00cc33","#00cc66","#00cc99","#00cccc","#00ccff","#33cc00","#33cc33", |
"#33cc66","#33cc99","#33cccc","#33ccff","#66cc00","#66cc33","#66cc66","#66cc99", |
"#66cccc","#66ccff","#99cc00","#99cc33","#99cc66","#99cc99","#99cccc","#99ccff", |
"#cccc00","#cccc33","#cccc66","#cccc99","#cccccc","#ccccff","#ffcc00","#ffcc33", |
"#ffcc66","#ffcc99","#ffcccc","#ffccff","#00ff00","#00ff33","#00ff66","#00ff99", |
"#00ffcc","#00ffff","#33ff00","#33ff33","#33ff66","#33ff99","#33ffcc","#33ffff", |
"#66ff00","#66ff33","#66ff66","#66ff99","#66ffcc","#66ffff","#99ff00","#99ff33", |
"#99ff66","#99ff99","#99ffcc","#99ffff","#ccff00","#ccff33","#ccff66","#ccff99", |
"#ccffcc","#ccffff","#ffff00","#ffff33","#ffff66","#ffff99","#ffffcc","#ffffff" |
); |
var named = { |
'#F0F8FF':'AliceBlue','#FAEBD7':'AntiqueWhite','#00FFFF':'Aqua','#7FFFD4':'Aquamarine','#F0FFFF':'Azure','#F5F5DC':'Beige', |
'#FFE4C4':'Bisque','#000000':'Black','#FFEBCD':'BlanchedAlmond','#0000FF':'Blue','#8A2BE2':'BlueViolet','#A52A2A':'Brown', |
'#DEB887':'BurlyWood','#5F9EA0':'CadetBlue','#7FFF00':'Chartreuse','#D2691E':'Chocolate','#FF7F50':'Coral','#6495ED':'CornflowerBlue', |
'#FFF8DC':'Cornsilk','#DC143C':'Crimson','#00FFFF':'Cyan','#00008B':'DarkBlue','#008B8B':'DarkCyan','#B8860B':'DarkGoldenRod', |
'#A9A9A9':'DarkGray','#A9A9A9':'DarkGrey','#006400':'DarkGreen','#BDB76B':'DarkKhaki','#8B008B':'DarkMagenta','#556B2F':'DarkOliveGreen', |
'#FF8C00':'Darkorange','#9932CC':'DarkOrchid','#8B0000':'DarkRed','#E9967A':'DarkSalmon','#8FBC8F':'DarkSeaGreen','#483D8B':'DarkSlateBlue', |
'#2F4F4F':'DarkSlateGray','#2F4F4F':'DarkSlateGrey','#00CED1':'DarkTurquoise','#9400D3':'DarkViolet','#FF1493':'DeepPink','#00BFFF':'DeepSkyBlue', |
'#696969':'DimGray','#696969':'DimGrey','#1E90FF':'DodgerBlue','#B22222':'FireBrick','#FFFAF0':'FloralWhite','#228B22':'ForestGreen', |
'#FF00FF':'Fuchsia','#DCDCDC':'Gainsboro','#F8F8FF':'GhostWhite','#FFD700':'Gold','#DAA520':'GoldenRod','#808080':'Gray','#808080':'Grey', |
'#008000':'Green','#ADFF2F':'GreenYellow','#F0FFF0':'HoneyDew','#FF69B4':'HotPink','#CD5C5C':'IndianRed','#4B0082':'Indigo','#FFFFF0':'Ivory', |
'#F0E68C':'Khaki','#E6E6FA':'Lavender','#FFF0F5':'LavenderBlush','#7CFC00':'LawnGreen','#FFFACD':'LemonChiffon','#ADD8E6':'LightBlue', |
'#F08080':'LightCoral','#E0FFFF':'LightCyan','#FAFAD2':'LightGoldenRodYellow','#D3D3D3':'LightGray','#D3D3D3':'LightGrey','#90EE90':'LightGreen', |
'#FFB6C1':'LightPink','#FFA07A':'LightSalmon','#20B2AA':'LightSeaGreen','#87CEFA':'LightSkyBlue','#778899':'LightSlateGray','#778899':'LightSlateGrey', |
'#B0C4DE':'LightSteelBlue','#FFFFE0':'LightYellow','#00FF00':'Lime','#32CD32':'LimeGreen','#FAF0E6':'Linen','#FF00FF':'Magenta','#800000':'Maroon', |
'#66CDAA':'MediumAquaMarine','#0000CD':'MediumBlue','#BA55D3':'MediumOrchid','#9370D8':'MediumPurple','#3CB371':'MediumSeaGreen','#7B68EE':'MediumSlateBlue', |
'#00FA9A':'MediumSpringGreen','#48D1CC':'MediumTurquoise','#C71585':'MediumVioletRed','#191970':'MidnightBlue','#F5FFFA':'MintCream','#FFE4E1':'MistyRose','#FFE4B5':'Moccasin', |
'#FFDEAD':'NavajoWhite','#000080':'Navy','#FDF5E6':'OldLace','#808000':'Olive','#6B8E23':'OliveDrab','#FFA500':'Orange','#FF4500':'OrangeRed','#DA70D6':'Orchid', |
'#EEE8AA':'PaleGoldenRod','#98FB98':'PaleGreen','#AFEEEE':'PaleTurquoise','#D87093':'PaleVioletRed','#FFEFD5':'PapayaWhip','#FFDAB9':'PeachPuff', |
'#CD853F':'Peru','#FFC0CB':'Pink','#DDA0DD':'Plum','#B0E0E6':'PowderBlue','#800080':'Purple','#FF0000':'Red','#BC8F8F':'RosyBrown','#4169E1':'RoyalBlue', |
'#8B4513':'SaddleBrown','#FA8072':'Salmon','#F4A460':'SandyBrown','#2E8B57':'SeaGreen','#FFF5EE':'SeaShell','#A0522D':'Sienna','#C0C0C0':'Silver', |
'#87CEEB':'SkyBlue','#6A5ACD':'SlateBlue','#708090':'SlateGray','#708090':'SlateGrey','#FFFAFA':'Snow','#00FF7F':'SpringGreen', |
'#4682B4':'SteelBlue','#D2B48C':'Tan','#008080':'Teal','#D8BFD8':'Thistle','#FF6347':'Tomato','#40E0D0':'Turquoise','#EE82EE':'Violet', |
'#F5DEB3':'Wheat','#FFFFFF':'White','#F5F5F5':'WhiteSmoke','#FFFF00':'Yellow','#9ACD32':'YellowGreen' |
}; |
function init() { |
var inputColor = convertRGBToHex(tinyMCE.getWindowArg('input_color')); |
if (tinyMCE.isMSIE) |
tinyMCEPopup.resizeToInnerSize(); |
generatePicker(); |
if (inputColor) { |
changeFinalColor(inputColor); |
col = convertHexToRGB(inputColor); |
if (col) |
updateLight(col.r, col.g, col.b); |
} |
} |
function insertAction() { |
var color = document.getElementById("color").value; |
tinyMCEPopup.execCommand(tinyMCE.getWindowArg('command'), false, color); |
tinyMCEPopup.close(); |
} |
function showColor(color, name) { |
if (name) |
document.getElementById("colorname").innerHTML = name; |
document.getElementById("preview").style.backgroundColor = color; |
document.getElementById("color").value = color; |
} |
function convertRGBToHex(col) { |
var re = new RegExp("rgb\\s*\\(\\s*([0-9]+).*,\\s*([0-9]+).*,\\s*([0-9]+).*\\)", "gi"); |
if (!col) |
return col; |
var rgb = col.replace(re, "$1,$2,$3").split(','); |
if (rgb.length == 3) { |
r = parseInt(rgb[0]).toString(16); |
g = parseInt(rgb[1]).toString(16); |
b = parseInt(rgb[2]).toString(16); |
r = r.length == 1 ? '0' + r : r; |
g = g.length == 1 ? '0' + g : g; |
b = b.length == 1 ? '0' + b : b; |
return "#" + r + g + b; |
} |
return col; |
} |
function convertHexToRGB(col) { |
if (col.indexOf('#') != -1) { |
col = col.replace(new RegExp('[^0-9A-F]', 'gi'), ''); |
r = parseInt(col.substring(0, 2), 16); |
g = parseInt(col.substring(2, 4), 16); |
b = parseInt(col.substring(4, 6), 16); |
return {r : r, g : g, b : b}; |
} |
return null; |
} |
function generatePicker() { |
var el = document.getElementById('light'), h = '', i; |
for (i = 0; i < detail; i++){ |
h += '<div id="gs'+i+'" style="background-color:#000000; width:15px; height:3px; border-style:none; border-width:0px;"' |
+ ' onclick="changeFinalColor(this.style.backgroundColor)"' |
+ ' onmousedown="isMouseDown = true; return false;"' |
+ ' onmouseup="isMouseDown = false;"' |
+ ' onmousemove="if (isMouseDown && isMouseOver) changeFinalColor(this.style.backgroundColor); return false;"' |
+ ' onmouseover="isMouseOver = true;"' |
+ ' onmouseout="isMouseOver = false;"' |
+ '></div>'; |
} |
el.innerHTML = h; |
} |
function generateWebColors() { |
var el = document.getElementById('webcolors'), h = '', i; |
if (el.className == 'generated') |
return; |
h += '<table border="0" cellspacing="1" cellpadding="0">' |
+ '<tr>'; |
for (i=0; i<colors.length; i++) { |
h += '<td bgcolor="' + colors[i] + '">' |
+ '<a href="javascript:insertAction();" onfocus="showColor(\'' + colors[i] + '\');" onmouseover="showColor(\'' + colors[i] + '\');">' |
+ '<img border="0" src="images/spacer.gif" width="10" height="10" title="' + colors[i] + '" alt="' + colors[i] + '" /></a></td>'; |
if ((i+1) % 18 == 0) |
h += '</tr><tr>'; |
} |
h += '</table>'; |
el.innerHTML = h; |
el.className = 'generated'; |
} |
function generateNamedColors() { |
var el = document.getElementById('namedcolors'), h = '', n, v, i = 0; |
if (el.className == 'generated') |
return; |
for (n in named) { |
v = named[n]; |
h += '<a href="javascript:insertAction();" onmouseover="showColor(\'' + n + '\',\'' + v + '\');" style="background-color: ' + n + '"><!-- IE --></a>' |
} |
el.innerHTML = h; |
el.className = 'generated'; |
} |
function dechex(n) { |
return strhex.charAt(Math.floor(n / 16)) + strhex.charAt(n % 16); |
} |
function computeColor(e) { |
var x, y, partWidth, partDetail, imHeight, r, g, b, coef, i, finalCoef, finalR, finalG, finalB; |
x = e.offsetX ? e.offsetX : (e.target ? e.clientX - e.target.x : 0); |
y = e.offsetY ? e.offsetY : (e.target ? e.clientY - e.target.y : 0); |
partWidth = document.getElementById('colorpicker').width / 6; |
partDetail = detail / 2; |
imHeight = document.getElementById('colorpicker').height; |
r = (x >= 0)*(x < partWidth)*255 + (x >= partWidth)*(x < 2*partWidth)*(2*255 - x * 255 / partWidth) + (x >= 4*partWidth)*(x < 5*partWidth)*(-4*255 + x * 255 / partWidth) + (x >= 5*partWidth)*(x < 6*partWidth)*255; |
g = (x >= 0)*(x < partWidth)*(x * 255 / partWidth) + (x >= partWidth)*(x < 3*partWidth)*255 + (x >= 3*partWidth)*(x < 4*partWidth)*(4*255 - x * 255 / partWidth); |
b = (x >= 2*partWidth)*(x < 3*partWidth)*(-2*255 + x * 255 / partWidth) + (x >= 3*partWidth)*(x < 5*partWidth)*255 + (x >= 5*partWidth)*(x < 6*partWidth)*(6*255 - x * 255 / partWidth); |
coef = (imHeight - y) / imHeight; |
r = 128 + (r - 128) * coef; |
g = 128 + (g - 128) * coef; |
b = 128 + (b - 128) * coef; |
changeFinalColor('#' + dechex(r) + dechex(g) + dechex(b)); |
updateLight(r, g, b); |
} |
function updateLight(r, g, b) { |
var i, partDetail = detail / 2, finalCoef, finalR, finalG, finalB, color; |
for (i=0; i<detail; i++) { |
if ((i>=0) && (i<partDetail)) { |
finalCoef = i / partDetail; |
finalR = dechex(255 - (255 - r) * finalCoef); |
finalG = dechex(255 - (255 - g) * finalCoef); |
finalB = dechex(255 - (255 - b) * finalCoef); |
} else { |
finalCoef = 2 - i / partDetail; |
finalR = dechex(r * finalCoef); |
finalG = dechex(g * finalCoef); |
finalB = dechex(b * finalCoef); |
} |
color = finalR + finalG + finalB; |
document.getElementById('gs' + i).style.backgroundColor = '#'+color; |
} |
} |
function changeFinalColor(color) { |
if (color.indexOf('#') == -1) |
color = convertRGBToHex(color); |
document.getElementById('preview').style.backgroundColor = color; |
document.getElementById('color').value = color; |
} |
window.focus(); |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/jscripts/link.js |
---|
New file |
0,0 → 1,74 |
var url = tinyMCE.getParam("external_link_list_url"); |
if (url != null) { |
// Fix relative |
if (url.charAt(0) != '/' && url.indexOf('://') == -1) |
url = tinyMCE.documentBasePath + "/" + url; |
document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + url + '"></sc'+'ript>'); |
} |
function init() { |
tinyMCEPopup.resizeToInnerSize(); |
document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','theme_advanced_link'); |
// Handle file browser |
if (isVisible('hrefbrowser')) |
document.getElementById('href').style.width = '180px'; |
var formObj = document.forms[0]; |
for (var i=0; i<document.forms[0].target.options.length; i++) { |
var option = document.forms[0].target.options[i]; |
if (option.value == tinyMCE.getWindowArg('target')) |
option.selected = true; |
} |
document.forms[0].href.value = tinyMCE.getWindowArg('href'); |
document.forms[0].linktitle.value = tinyMCE.getWindowArg('title'); |
document.forms[0].insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('action'), 'Insert', true); |
addClassesToList('styleSelect', 'theme_advanced_link_styles'); |
selectByValue(formObj, 'styleSelect', tinyMCE.getWindowArg('className'), true); |
// Hide css select row if no CSS classes |
if (formObj.styleSelect && formObj.styleSelect.options.length <= 1) { |
var sr = document.getElementById('styleSelectRow'); |
sr.style.display = 'none'; |
sr.parentNode.removeChild(sr); |
} |
// Auto select link in list |
if (typeof(tinyMCELinkList) != "undefined" && tinyMCELinkList.length > 0) { |
var formObj = document.forms[0]; |
for (var i=0; i<formObj.link_list.length; i++) { |
if (formObj.link_list.options[i].value == tinyMCE.getWindowArg('href')) |
formObj.link_list.options[i].selected = true; |
} |
} |
} |
function checkPrefix(n) { |
if (Validator.isEmail(n) && !/^\s*mailto:/i.test(n.value) && confirm(tinyMCE.getLang('lang_is_email'))) |
n.value = 'mailto:' + n.value; |
if (/^\s*www./i.test(n.value) && confirm(tinyMCE.getLang('lang_is_external'))) |
n.value = 'http://' + n.value; |
} |
function insertLink() { |
var href = document.forms[0].href.value; |
var target = document.forms[0].target.options[document.forms[0].target.selectedIndex].value; |
var title = document.forms[0].linktitle.value; |
var style_class = document.forms[0].styleSelect ? document.forms[0].styleSelect.value : ""; |
var dummy; |
if (target == '_self') |
target = ''; |
tinyMCEPopup.restoreSelection(); |
tinyMCE.themes['advanced']._insertLink(href, target, title, dummy, style_class); |
tinyMCEPopup.close(); |
} |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/charmap.htm |
---|
New file |
0,0 → 1,53 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>{$lang_theme_charmap_title}</title> |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script> |
<script language="javascript" type="text/javascript" src="jscripts/charmap.js"></script> |
<base target="_self" /> |
</head> |
<body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none"> |
<table align="center" border="0" cellspacing="0" cellpadding="2"> |
<tr> |
<td colspan="2" class="title">{$lang_theme_charmap_title}</td> |
</tr> |
<tr> |
<td rowspan="2" align="left" valign="top"> |
<script language="javascript" type="text/javascript">renderCharMapHTML();</script> |
</td> |
<td width="100" align="center" valign="top"> |
<table border="0" cellpadding="0" cellspacing="0" width="100" style="height: 100px"> |
<tr> |
<td class="charmapOver" style="font-size: 40px; height:80px;" id="codeV"> </td> |
</tr> |
<tr> |
<td style="font-size: 10px; font-family: Arial, Helvetica, sans-serif; text-align:center;" id="codeN"> </td> |
</tr> |
</table> |
</td> |
</tr> |
<tr> |
<td valign="bottom" style="padding-bottom: 3px;"> |
<table width="100" align="center" border="0" cellpadding="2" cellspacing="0"> |
<tr> |
<td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">HTML-Code</td> |
</tr> |
<tr> |
<td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeA" align="center"> </td> |
</tr> |
<tr> |
<td style="font-size: 1px;"> </td> |
</tr> |
<tr> |
<td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">NUM-Code</td> |
</tr> |
<tr> |
<td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeB" align="center"> </td> |
</tr> |
</table> |
</td> |
</tr> |
</table> |
</body> |
</html> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/color_picker.htm |
---|
New file |
0,0 → 1,74 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>{$lang_theme_colorpicker_title}</title> |
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script> |
<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script> |
<script language="javascript" type="text/javascript" src="jscripts/color_picker.js"></script> |
<link href="css/colorpicker.css" rel="stylesheet" type="text/css" /> |
<base target="_self" /> |
</head> |
<body onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none"> |
<div class="tabs"> |
<ul> |
<li id="picker_tab" class="current"><span><a href="javascript:mcTabs.displayTab('picker_tab','picker_panel');" onmousedown="return false;">{$lang_color_picker_tab}</a></span></li> |
<li id="rgb_tab"><span><a href="#" onclick="generateWebColors();mcTabs.displayTab('rgb_tab','rgb_panel');" onmousedown="return false;">{$lang_web_colors_tab}</a></span></li> |
<li id="named_tab"><span><a href="#" onclick="generateNamedColors();javascript:mcTabs.displayTab('named_tab','named_panel');" onmousedown="return false;">{$lang_named_colors_tab}</a></span></li> |
</ul> |
</div> |
<div class="panel_wrapper"> |
<div id="picker_panel" class="panel current"> |
<fieldset> |
<legend>{$lang_color_picker}</legend> |
<div id="picker"> |
<img id="colorpicker" src="images/colors.jpg" onclick="computeColor(event)" onmousedown="isMouseDown = true;return false;" onmouseup="isMouseDown = false;" onmousemove="if (isMouseDown && isMouseOver) computeColor(event); return false;" onmouseover="isMouseOver=true;" onmouseout="isMouseOver=false;" /> |
<div id="light"> |
<!-- Will be filled with divs --> |
</div> |
<br style="clear: both" /> |
</div> |
</fieldset> |
</div> |
<div id="rgb_panel" class="panel"> |
<fieldset> |
<legend>{$lang_web_colors}</legend> |
<div id="webcolors"> |
<!-- Gets filled with web safe colors--> |
</div> |
<br style="clear: both" /> |
</fieldset> |
</div> |
<div id="named_panel" class="panel"> |
<fieldset> |
<legend>{$lang_named_colors}</legend> |
<div id="namedcolors"> |
<!-- Gets filled with named colors--> |
</div> |
<br style="clear: both" /> |
<div id="colornamecontainer"> |
{$lang_color_name} <span id="colorname"></span> |
</div> |
</fieldset> |
</div> |
</div> |
<div class="mceActionPanel"> |
<div style="float: left"> |
<input type="button" id="insert" name="insert" value="{$lang_theme_colorpicker_apply}" onclick="insertAction();" /> |
</div> |
<div id="preview"></div> |
<div id="previewblock"> |
<label for="color">{$lang_color}</label> <input id="color" type="text" size="8" maxlength="8" class="text" /> |
</div> |
</div> |
</body> |
</html> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/editor_template_src.js |
---|
New file |
0,0 → 1,1516 |
/** |
* $Id: editor_template_src.js 296 2007-08-21 10:36:35Z spocke $ |
* |
* @author Moxiecode |
* @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved. |
*/ |
/* Import theme specific language pack */ |
tinyMCE.importThemeLanguagePack('advanced'); |
var TinyMCE_AdvancedTheme = { |
// Private theme fields |
_defColors : "000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,008000,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF", |
_autoImportCSSClasses : true, |
_resizer : {}, |
_buttons : [ |
// Control id, button img, button title, command, user_interface, value |
['bold', '{$lang_bold_img}', 'lang_bold_desc', 'Bold'], |
['italic', '{$lang_italic_img}', 'lang_italic_desc', 'Italic'], |
['underline', '{$lang_underline_img}', 'lang_underline_desc', 'Underline'], |
['strikethrough', 'strikethrough.gif', 'lang_striketrough_desc', 'Strikethrough'], |
['justifyleft', 'justifyleft.gif', 'lang_justifyleft_desc', 'JustifyLeft'], |
['justifycenter', 'justifycenter.gif', 'lang_justifycenter_desc', 'JustifyCenter'], |
['justifyright', 'justifyright.gif', 'lang_justifyright_desc', 'JustifyRight'], |
['justifyfull', 'justifyfull.gif', 'lang_justifyfull_desc', 'JustifyFull'], |
['bullist', 'bullist.gif', 'lang_bullist_desc', 'InsertUnorderedList'], |
['numlist', 'numlist.gif', 'lang_numlist_desc', 'InsertOrderedList'], |
['outdent', 'outdent.gif', 'lang_outdent_desc', 'Outdent'], |
['indent', 'indent.gif', 'lang_indent_desc', 'Indent'], |
['cut', 'cut.gif', 'lang_cut_desc', 'Cut'], |
['copy', 'copy.gif', 'lang_copy_desc', 'Copy'], |
['paste', 'paste.gif', 'lang_paste_desc', 'Paste'], |
['undo', 'undo.gif', 'lang_undo_desc', 'Undo'], |
['redo', 'redo.gif', 'lang_redo_desc', 'Redo'], |
['link', 'link.gif', 'lang_link_desc', 'mceLink', true], |
['unlink', 'unlink.gif', 'lang_unlink_desc', 'unlink'], |
['image', 'image.gif', 'lang_image_desc', 'mceImage', true], |
['cleanup', 'cleanup.gif', 'lang_cleanup_desc', 'mceCleanup'], |
['help', 'help.gif', 'lang_help_desc', 'mceHelp'], |
['code', 'code.gif', 'lang_theme_code_desc', 'mceCodeEditor'], |
['hr', 'hr.gif', 'lang_theme_hr_desc', 'inserthorizontalrule'], |
['removeformat', 'removeformat.gif', 'lang_theme_removeformat_desc', 'removeformat'], |
['sub', 'sub.gif', 'lang_theme_sub_desc', 'subscript'], |
['sup', 'sup.gif', 'lang_theme_sup_desc', 'superscript'], |
['forecolor', 'forecolor.gif', 'lang_theme_forecolor_desc', 'forecolor', true], |
['forecolorpicker', 'forecolor.gif', 'lang_theme_forecolor_desc', 'forecolorpicker', true], |
['backcolor', 'backcolor.gif', 'lang_theme_backcolor_desc', 'HiliteColor', true], |
['backcolorpicker', 'backcolor.gif', 'lang_theme_backcolor_desc', 'backcolorpicker', true], |
['charmap', 'charmap.gif', 'lang_theme_charmap_desc', 'mceCharMap'], |
['visualaid', 'visualaid.gif', 'lang_theme_visualaid_desc', 'mceToggleVisualAid'], |
['anchor', 'anchor.gif', 'lang_theme_anchor_desc', 'mceInsertAnchor'], |
['newdocument', 'newdocument.gif', 'lang_newdocument_desc', 'mceNewDocument'] |
], |
_buttonMap : 'anchor,backcolor,bold,bullist,charmap,cleanup,code,copy,cut,forecolor,help,hr,image,indent,italic,justifycenter,justifyfull,justifyleft,justifyright,link,newdocument,numlist,outdent,paste,redo,removeformat,strikethrough,sub,sup,underline,undo,unlink,visualaid,advhr,ltr,rtl,emotions,flash,fullpage,fullscreen,iespell,insertdate,inserttime,pastetext,pasteword,selectall,preview,print,save,replace,search,table,cell_props,delete_col,delete_row,col_after,col_before,row_after,row_before,merge_cells,row_props,split_cells,delete_table', |
/** |
* Returns HTML code for the specificed control. |
*/ |
getControlHTML : function(button_name) { |
var i, x, but; |
// Lookup button in button list |
for (i=0; i<TinyMCE_AdvancedTheme._buttons.length; i++) { |
but = TinyMCE_AdvancedTheme._buttons[i]; |
if (but[0] == button_name && (button_name == "forecolor" || button_name == "backcolor")) |
return tinyMCE.getMenuButtonHTML(but[0], but[2], '{$themeurl}/images/' + but[1], but[3] + "Menu", but[3], (but.length > 4 ? but[4] : false), (but.length > 5 ? but[5] : null)); |
if (but[0] == button_name) |
return tinyMCE.getButtonHTML(but[0], but[2], '{$themeurl}/images/' + but[1], but[3], (but.length > 4 ? but[4] : false), (but.length > 5 ? but[5] : null)); |
} |
// Custom controlls other than buttons |
switch (button_name) { |
case "formatselect": |
var html = '<select id="{$editor_id}_formatSelect" name="{$editor_id}_formatSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FormatBlock\',false,this.options[this.selectedIndex].value);" class="mceSelectList">'; |
var formats = tinyMCE.getParam("theme_advanced_blockformats", "p,address,pre,h1,h2,h3,h4,h5,h6", true).split(','); |
var lookup = [ |
['p', '{$lang_theme_paragraph}'], |
['address', '{$lang_theme_address}'], |
['pre', '{$lang_theme_pre}'], |
['h1', '{$lang_theme_h1}'], |
['h2', '{$lang_theme_h2}'], |
['h3', '{$lang_theme_h3}'], |
['h4', '{$lang_theme_h4}'], |
['h5', '{$lang_theme_h5}'], |
['h6', '{$lang_theme_h6}'], |
['div', '{$lang_theme_div}'], |
['blockquote', '{$lang_theme_blockquote}'], |
['code', '{$lang_theme_code}'], |
['dt', '{$lang_theme_dt}'], |
['dd', '{$lang_theme_dd}'], |
['samp', '{$lang_theme_samp}'] |
]; |
html += '<option value="">{$lang_theme_block}</option>'; |
// Build format select |
for (var i=0; i<formats.length; i++) { |
for (var x=0; x<lookup.length; x++) { |
if (formats[i] == lookup[x][0]) |
html += '<option value="<' + lookup[x][0] + '>">' + lookup[x][1] + '</option>'; |
} |
} |
html += '</select>'; |
return html; |
case "styleselect": |
return '<select id="{$editor_id}_styleSelect" onmousedown="tinyMCE.themes.advanced._setupCSSClasses(\'{$editor_id}\');" name="{$editor_id}_styleSelect" onfocus="tinyMCE.addSelectAccessibility(event,this,window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceSetCSSClass\',false,this.options[this.selectedIndex].value);" class="mceSelectList">{$style_select_options}</select>'; |
case "fontselect": |
var fontHTML = '<select id="{$editor_id}_fontNameSelect" name="{$editor_id}_fontNameSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FontName\',false,this.options[this.selectedIndex].value);" class="mceSelectList"><option value="">{$lang_theme_fontdefault}</option>'; |
var iFonts = 'Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings'; |
var nFonts = 'Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats'; |
var fonts = tinyMCE.getParam("theme_advanced_fonts", nFonts).split(';'); |
for (i=0; i<fonts.length; i++) { |
if (fonts[i] != '') { |
var parts = fonts[i].split('='); |
fontHTML += '<option value="' + parts[1] + '">' + parts[0] + '</option>'; |
} |
} |
fontHTML += '</select>'; |
return fontHTML; |
case "fontsizeselect": |
return '<select id="{$editor_id}_fontSizeSelect" name="{$editor_id}_fontSizeSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FontSize\',false,this.options[this.selectedIndex].value);" class="mceSelectList">'+ |
'<option value="0">{$lang_theme_font_size}</option>'+ |
'<option value="1">1 (8 pt)</option>'+ |
'<option value="2">2 (10 pt)</option>'+ |
'<option value="3">3 (12 pt)</option>'+ |
'<option value="4">4 (14 pt)</option>'+ |
'<option value="5">5 (18 pt)</option>'+ |
'<option value="6">6 (24 pt)</option>'+ |
'<option value="7">7 (36 pt)</option>'+ |
'</select>'; |
case "|": |
case "separator": |
return '<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" alt="" />'; |
case "spacer": |
return '<img src="{$themeurl}/images/separator.gif" width="2" height="15" border="0" class="mceSeparatorLine" style="vertical-align: middle" alt="" />'; |
case "rowseparator": |
return '<br />'; |
} |
return ""; |
}, |
/** |
* Theme specific execcommand handling. |
*/ |
execCommand : function(editor_id, element, command, user_interface, value) { |
switch (command) { |
case 'mceHelp': |
tinyMCE.openWindow({ |
file : 'about.htm', |
width : 480, |
height : 380 |
}, { |
tinymce_version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion, |
tinymce_releasedate : tinyMCE.releaseDate, |
inline : "yes" |
}); |
return true; |
case "mceLink": |
var inst = tinyMCE.getInstanceById(editor_id); |
var doc = inst.getDoc(); |
var selectedText = ""; |
if (tinyMCE.isMSIE) { |
var rng = doc.selection.createRange(); |
selectedText = rng.text; |
} else |
selectedText = inst.getSel().toString(); |
if (!tinyMCE.linkElement) { |
if ((tinyMCE.selectedElement.nodeName.toLowerCase() != "img") && (selectedText.length <= 0)) |
return true; |
} |
var href = "", target = "", title = "", onclick = "", action = "insert", style_class = ""; |
if (tinyMCE.selectedElement.nodeName.toLowerCase() == "a") |
tinyMCE.linkElement = tinyMCE.selectedElement; |
// Is anchor not a link |
if (tinyMCE.linkElement != null && tinyMCE.getAttrib(tinyMCE.linkElement, 'href') == "") |
tinyMCE.linkElement = null; |
if (tinyMCE.linkElement) { |
href = tinyMCE.getAttrib(tinyMCE.linkElement, 'href'); |
target = tinyMCE.getAttrib(tinyMCE.linkElement, 'target'); |
title = tinyMCE.getAttrib(tinyMCE.linkElement, 'title'); |
onclick = tinyMCE.getAttrib(tinyMCE.linkElement, 'onclick'); |
style_class = tinyMCE.getAttrib(tinyMCE.linkElement, 'class'); |
// Try old onclick to if copy/pasted content |
if (onclick == "") |
onclick = tinyMCE.getAttrib(tinyMCE.linkElement, 'onclick'); |
onclick = tinyMCE.cleanupEventStr(onclick); |
href = eval(tinyMCE.settings['urlconverter_callback'] + "(href, tinyMCE.linkElement, true);"); |
// Use mce_href if defined |
mceRealHref = tinyMCE.getAttrib(tinyMCE.linkElement, 'mce_href'); |
if (mceRealHref != "") { |
href = mceRealHref; |
if (tinyMCE.getParam('convert_urls')) |
href = eval(tinyMCE.settings['urlconverter_callback'] + "(href, tinyMCE.linkElement, true);"); |
} |
action = "update"; |
} |
var template = new Array(); |
template['file'] = 'link.htm'; |
template['width'] = 310; |
template['height'] = 200; |
// Language specific width and height addons |
template['width'] += tinyMCE.getLang('lang_insert_link_delta_width', 0); |
template['height'] += tinyMCE.getLang('lang_insert_link_delta_height', 0); |
if (inst.settings['insertlink_callback']) { |
var returnVal = eval(inst.settings['insertlink_callback'] + "(href, target, title, onclick, action, style_class);"); |
if (returnVal && returnVal['href']) |
TinyMCE_AdvancedTheme._insertLink(returnVal['href'], returnVal['target'], returnVal['title'], returnVal['onclick'], returnVal['style_class']); |
} else { |
tinyMCE.openWindow(template, {href : href, target : target, title : title, onclick : onclick, action : action, className : style_class, inline : "yes"}); |
} |
return true; |
case "mceImage": |
var src = "", alt = "", border = "", hspace = "", vspace = "", width = "", height = "", align = ""; |
var title = "", onmouseover = "", onmouseout = "", action = "insert"; |
var img = tinyMCE.imgElement; |
var inst = tinyMCE.getInstanceById(editor_id); |
if (tinyMCE.selectedElement != null && tinyMCE.selectedElement.nodeName.toLowerCase() == "img") { |
img = tinyMCE.selectedElement; |
tinyMCE.imgElement = img; |
} |
if (img) { |
// Is it a internal MCE visual aid image, then skip this one. |
if (tinyMCE.getAttrib(img, 'name').indexOf('mce_') == 0) |
return true; |
src = tinyMCE.getAttrib(img, 'src'); |
alt = tinyMCE.getAttrib(img, 'alt'); |
// Try polling out the title |
if (alt == "") |
alt = tinyMCE.getAttrib(img, 'title'); |
// Fix width/height attributes if the styles is specified |
if (tinyMCE.isGecko) { |
var w = img.style.width; |
if (w != null && w != "") |
img.setAttribute("width", w); |
var h = img.style.height; |
if (h != null && h != "") |
img.setAttribute("height", h); |
} |
border = tinyMCE.getAttrib(img, 'border'); |
hspace = tinyMCE.getAttrib(img, 'hspace'); |
vspace = tinyMCE.getAttrib(img, 'vspace'); |
width = tinyMCE.getAttrib(img, 'width'); |
height = tinyMCE.getAttrib(img, 'height'); |
align = tinyMCE.getAttrib(img, 'align'); |
onmouseover = tinyMCE.getAttrib(img, 'onmouseover'); |
onmouseout = tinyMCE.getAttrib(img, 'onmouseout'); |
title = tinyMCE.getAttrib(img, 'title'); |
// Is realy specified? |
if (tinyMCE.isMSIE) { |
width = img.attributes['width'].specified ? width : ""; |
height = img.attributes['height'].specified ? height : ""; |
} |
//onmouseover = tinyMCE.getImageSrc(tinyMCE.cleanupEventStr(onmouseover)); |
//onmouseout = tinyMCE.getImageSrc(tinyMCE.cleanupEventStr(onmouseout)); |
src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, img, true);"); |
// Use mce_src if defined |
mceRealSrc = tinyMCE.getAttrib(img, 'mce_src'); |
if (mceRealSrc != "") { |
src = mceRealSrc; |
if (tinyMCE.getParam('convert_urls')) |
src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, img, true);"); |
} |
//if (onmouseover != "") |
// onmouseover = eval(tinyMCE.settings['urlconverter_callback'] + "(onmouseover, img, true);"); |
//if (onmouseout != "") |
// onmouseout = eval(tinyMCE.settings['urlconverter_callback'] + "(onmouseout, img, true);"); |
action = "update"; |
} |
var template = new Array(); |
template['file'] = 'image.htm?src={$src}'; |
template['width'] = 355; |
template['height'] = 265 + (tinyMCE.isMSIE ? 25 : 0); |
// Language specific width and height addons |
template['width'] += tinyMCE.getLang('lang_insert_image_delta_width', 0); |
template['height'] += tinyMCE.getLang('lang_insert_image_delta_height', 0); |
if (inst.settings['insertimage_callback']) { |
var returnVal = eval(inst.settings['insertimage_callback'] + "(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout, action);"); |
if (returnVal && returnVal['src']) |
TinyMCE_AdvancedTheme._insertImage(returnVal['src'], returnVal['alt'], returnVal['border'], returnVal['hspace'], returnVal['vspace'], returnVal['width'], returnVal['height'], returnVal['align'], returnVal['title'], returnVal['onmouseover'], returnVal['onmouseout']); |
} else |
tinyMCE.openWindow(template, {src : src, alt : alt, border : border, hspace : hspace, vspace : vspace, width : width, height : height, align : align, title : title, onmouseover : onmouseover, onmouseout : onmouseout, action : action, inline : "yes"}); |
return true; |
case "forecolor": |
var fcp = new TinyMCE_Layer(editor_id + '_fcPreview', false), p, img, elm; |
TinyMCE_AdvancedTheme._hideMenus(editor_id); |
if (!fcp.exists()) { |
fcp.create('div', 'mceColorPreview', document.getElementById(editor_id + '_toolbar')); |
elm = fcp.getElement(); |
elm._editor_id = editor_id; |
elm._command = "forecolor"; |
elm._switchId = editor_id + "_forecolor"; |
tinyMCE.addEvent(elm, 'click', TinyMCE_AdvancedTheme._handleMenuEvent); |
tinyMCE.addEvent(elm, 'mouseover', TinyMCE_AdvancedTheme._handleMenuEvent); |
tinyMCE.addEvent(elm, 'mouseout', TinyMCE_AdvancedTheme._handleMenuEvent); |
} |
img = tinyMCE.selectNodes(document.getElementById(editor_id + "_forecolor"), function(n) {return n.nodeName == "IMG";})[0]; |
p = tinyMCE.getAbsPosition(img, document.getElementById(editor_id + '_toolbar')); |
fcp.moveTo(p.absLeft, p.absTop); |
fcp.getElement().style.backgroundColor = value != null ? value : tinyMCE.getInstanceById(editor_id).foreColor; |
fcp.show(); |
return false; |
case "forecolorpicker": |
this._pickColor(editor_id, 'forecolor'); |
return true; |
case "forecolorMenu": |
TinyMCE_AdvancedTheme._hideMenus(editor_id); |
// Create color layer |
var ml = new TinyMCE_Layer(editor_id + '_fcMenu'); |
if (!ml.exists()) |
ml.create('div', 'mceMenu', document.body, TinyMCE_AdvancedTheme._getColorHTML(editor_id, 'theme_advanced_text_colors', 'forecolor')); |
tinyMCE.switchClass(editor_id + '_forecolor', 'mceMenuButtonFocus'); |
ml.moveRelativeTo(document.getElementById(editor_id + "_forecolor"), 'bl'); |
ml.moveBy(tinyMCE.isMSIE && !tinyMCE.isOpera ? -1 : 1, -1); |
if (tinyMCE.isOpera) |
ml.moveBy(0, -2); |
ml.show(); |
return true; |
case "HiliteColor": |
var bcp = new TinyMCE_Layer(editor_id + '_bcPreview', false), p, img; |
TinyMCE_AdvancedTheme._hideMenus(editor_id); |
if (!bcp.exists()) { |
bcp.create('div', 'mceColorPreview', document.getElementById(editor_id + '_toolbar')); |
elm = bcp.getElement(); |
elm._editor_id = editor_id; |
elm._command = "HiliteColor"; |
elm._switchId = editor_id + "_backcolor"; |
tinyMCE.addEvent(elm, 'click', TinyMCE_AdvancedTheme._handleMenuEvent); |
tinyMCE.addEvent(elm, 'mouseover', TinyMCE_AdvancedTheme._handleMenuEvent); |
tinyMCE.addEvent(elm, 'mouseout', TinyMCE_AdvancedTheme._handleMenuEvent); |
} |
img = tinyMCE.selectNodes(document.getElementById(editor_id + "_backcolor"), function(n) {return n.nodeName == "IMG";})[0]; |
p = tinyMCE.getAbsPosition(img, document.getElementById(editor_id + '_toolbar')); |
bcp.moveTo(p.absLeft, p.absTop); |
bcp.getElement().style.backgroundColor = value != null ? value : tinyMCE.getInstanceById(editor_id).backColor; |
bcp.show(); |
return false; |
case "HiliteColorMenu": |
TinyMCE_AdvancedTheme._hideMenus(editor_id); |
// Create color layer |
var ml = new TinyMCE_Layer(editor_id + '_bcMenu'); |
if (!ml.exists()) |
ml.create('div', 'mceMenu', document.body, TinyMCE_AdvancedTheme._getColorHTML(editor_id, 'theme_advanced_background_colors', 'HiliteColor')); |
tinyMCE.switchClass(editor_id + '_backcolor', 'mceMenuButtonFocus'); |
ml.moveRelativeTo(document.getElementById(editor_id + "_backcolor"), 'bl'); |
ml.moveBy(tinyMCE.isMSIE && !tinyMCE.isOpera ? -1 : 1, -1); |
if (tinyMCE.isOpera) |
ml.moveBy(0, -2); |
ml.show(); |
return true; |
case "backcolorpicker": |
this._pickColor(editor_id, 'HiliteColor'); |
return true; |
case "mceColorPicker": |
if (user_interface) { |
var template = []; |
if (!value['callback'] && !value['color']) |
value['color'] = value['document'].getElementById(value['element_id']).value; |
template['file'] = 'color_picker.htm'; |
template['width'] = 380; |
template['height'] = 250; |
template['close_previous'] = "no"; |
template['width'] += tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_width', 0); |
template['height'] += tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_height', 0); |
if (typeof(value['store_selection']) == "undefined") |
value['store_selection'] = true; |
tinyMCE.lastColorPickerValue = value; |
tinyMCE.openWindow(template, {editor_id : editor_id, mce_store_selection : value['store_selection'], inline : "yes", command : "mceColorPicker", input_color : value['color']}); |
} else { |
var savedVal = tinyMCE.lastColorPickerValue, elm; |
if (savedVal['callback']) { |
savedVal['callback'](value); |
return true; |
} |
elm = savedVal['document'].getElementById(savedVal['element_id']); |
elm.value = value; |
if (elm.onchange != null && elm.onchange != '') |
eval('elm.onchange();'); |
} |
return true; |
case "mceCodeEditor": |
var template = new Array(); |
template['file'] = 'source_editor.htm'; |
template['width'] = parseInt(tinyMCE.getParam("theme_advanced_source_editor_width", 720)); |
template['height'] = parseInt(tinyMCE.getParam("theme_advanced_source_editor_height", 580)); |
tinyMCE.openWindow(template, {editor_id : editor_id, resizable : "yes", scrollbars : "no", inline : "yes"}); |
return true; |
case "mceCharMap": |
var template = new Array(); |
template['file'] = 'charmap.htm'; |
template['width'] = 550 + (tinyMCE.isOpera ? 40 : 0); |
template['height'] = 250; |
template['width'] += tinyMCE.getLang('lang_theme_advanced_charmap_delta_width', 0); |
template['height'] += tinyMCE.getLang('lang_theme_advanced_charmap_delta_height', 0); |
tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"}); |
return true; |
case "mceInsertAnchor": |
var template = new Array(); |
template['file'] = 'anchor.htm'; |
template['width'] = 320; |
template['height'] = 90 + (tinyMCE.isNS7 ? 30 : 0); |
template['width'] += tinyMCE.getLang('lang_theme_advanced_anchor_delta_width', 0); |
template['height'] += tinyMCE.getLang('lang_theme_advanced_anchor_delta_height', 0); |
tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"}); |
return true; |
case "mceNewDocument": |
if (confirm(tinyMCE.entityDecode(tinyMCE.getLang('lang_newdocument')))) |
tinyMCE.execInstanceCommand(editor_id, 'mceSetContent', false, ' '); |
return true; |
} |
return false; |
}, |
/** |
* Editor instance template function. |
*/ |
getEditorTemplate : function(settings, editorId) { |
function removeFromArray(in_array, remove_array) { |
var outArray = new Array(), skip; |
for (var i=0; i<in_array.length; i++) { |
skip = false; |
for (var j=0; j<remove_array.length; j++) { |
if (in_array[i] == remove_array[j]) { |
skip = true; |
} |
} |
if (!skip) { |
outArray[outArray.length] = in_array[i]; |
} |
} |
return outArray; |
} |
function addToArray(in_array, add_array) { |
for (var i=0; i<add_array.length; i++) { |
in_array[in_array.length] = add_array[i]; |
} |
return in_array; |
} |
var template = new Array(); |
var deltaHeight = 0; |
var resizing = tinyMCE.getParam("theme_advanced_resizing", false); |
var path = tinyMCE.getParam("theme_advanced_path", true); |
var statusbarHTML = '<div id="{$editor_id}_path" class="mceStatusbarPathText" style="display: ' + (path ? "block" : "none") + '"> </div><div id="{$editor_id}_resize" class="mceStatusbarResize" style="display: ' + (resizing ? "block" : "none") + '" onmousedown="tinyMCE.themes.advanced._setResizing(event,\'{$editor_id}\',true);"></div><br style="clear: both" />'; |
var layoutManager = tinyMCE.getParam("theme_advanced_layout_manager", "SimpleLayout"); |
// Setup style select options -- MOVED UP FOR EXTERNAL TOOLBAR COMPATABILITY! |
var styleSelectHTML = '<option value="">{$lang_theme_style_select}</option>'; |
if (settings['theme_advanced_styles']) { |
var stylesAr = settings['theme_advanced_styles'].split(';'); |
for (var i=0; i<stylesAr.length; i++) { |
var key, value; |
key = stylesAr[i].split('=')[0]; |
value = stylesAr[i].split('=')[1]; |
styleSelectHTML += '<option value="' + value + '">' + key + '</option>'; |
} |
TinyMCE_AdvancedTheme._autoImportCSSClasses = false; |
} |
switch(layoutManager) { |
case "SimpleLayout" : //the default TinyMCE Layout (for backwards compatibility)... |
var toolbarHTML = ""; |
var toolbarLocation = tinyMCE.getParam("theme_advanced_toolbar_location", "bottom"); |
var toolbarAlign = tinyMCE.getParam("theme_advanced_toolbar_align", "center"); |
var pathLocation = tinyMCE.getParam("theme_advanced_path_location", "none"); // Compatiblity |
var statusbarLocation = tinyMCE.getParam("theme_advanced_statusbar_location", pathLocation); |
var defVals = { |
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect", |
theme_advanced_buttons2 : "bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code", |
theme_advanced_buttons3 : "hr,removeformat,visualaid,separator,sub,sup,separator,charmap" |
}; |
// Add accessibility control |
toolbarHTML += '<a href="#" accesskey="q" title="' + tinyMCE.getLang("lang_toolbar_focus") + '"'; |
if (!tinyMCE.getParam("accessibility_focus")) |
toolbarHTML += ' onfocus="tinyMCE.getInstanceById(\'' + editorId + '\').getWin().focus();"'; |
toolbarHTML += '></a>'; |
// Render rows |
for (var i=1; i<100; i++) { |
var def = defVals["theme_advanced_buttons" + i]; |
var buttons = tinyMCE.getParam("theme_advanced_buttons" + i, def == null ? '' : def, true, ','); |
if (buttons.length == 0) |
break; |
buttons = removeFromArray(buttons, tinyMCE.getParam("theme_advanced_disable", "", true, ',')); |
buttons = addToArray(buttons, tinyMCE.getParam("theme_advanced_buttons" + i + "_add", "", true, ',')); |
buttons = addToArray(tinyMCE.getParam("theme_advanced_buttons" + i + "_add_before", "", true, ','), buttons); |
for (var b=0; b<buttons.length; b++) |
toolbarHTML += tinyMCE.getControlHTML(buttons[b]); |
if (buttons.length > 0) { |
toolbarHTML += "<br />"; |
deltaHeight -= 23; |
} |
} |
// Add accessibility control |
toolbarHTML += '<a href="#" accesskey="z" onfocus="tinyMCE.getInstanceById(\'' + editorId + '\').getWin().focus();"></a>'; |
// Setup template html |
template['html'] = '<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}" style="width:{$width_style};height:{$height_style}"><tbody>'; |
if (toolbarLocation == "top") |
template['html'] += '<tr><td dir="ltr" class="mceToolbarTop" align="' + toolbarAlign + '" height="1" nowrap="nowrap"><span id="' + editorId + '_toolbar" class="mceToolbarContainer">' + toolbarHTML + '</span></td></tr>'; |
if (statusbarLocation == "top") { |
template['html'] += '<tr><td class="mceStatusbarTop" height="1">' + statusbarHTML + '</td></tr>'; |
deltaHeight -= 23; |
} |
template['html'] += '<tr><td align="center"><span id="{$editor_id}"></span></td></tr>'; |
if (toolbarLocation == "bottom") |
template['html'] += '<tr><td dir="ltr" class="mceToolbarBottom" align="' + toolbarAlign + '" height="1"><span id="' + editorId + '_toolbar" class="mceToolbarContainer">' + toolbarHTML + '</span></td></tr>'; |
// External toolbar changes |
if (toolbarLocation == "external") { |
var bod = document.body; |
var elm = document.createElement ("div"); |
toolbarHTML = tinyMCE.replaceVar(toolbarHTML, 'style_select_options', styleSelectHTML); |
toolbarHTML = tinyMCE.applyTemplate(toolbarHTML, {editor_id : editorId}); |
elm.className = "mceToolbarExternal"; |
elm.id = editorId+"_toolbar"; |
elm.innerHTML = '<table width="100%" border="0" align="center"><tr><td align="center">'+toolbarHTML+'</td></tr></table>'; |
bod.appendChild (elm); |
// bod.style.marginTop = elm.offsetHeight + "px"; |
deltaHeight = 0; |
tinyMCE.getInstanceById(editorId).toolbarElement = elm; |
//template['html'] = '<div id="mceExternalToolbar" align="center" class="mceToolbarExternal"><table width="100%" border="0" align="center"><tr><td align="center">'+toolbarHTML+'</td></tr></table></div>' + template["html"]; |
} else { |
tinyMCE.getInstanceById(editorId).toolbarElement = null; |
} |
if (statusbarLocation == "bottom") { |
template['html'] += '<tr><td class="mceStatusbarBottom" height="1">' + statusbarHTML + '</td></tr>'; |
deltaHeight -= 23; |
} |
template['html'] += '</tbody></table>'; |
//"SimpleLayout" |
break; |
case "RowLayout" : //Container Layout - containers defined in "theme_advanced_containers" are rendered from top to bottom. |
template['html'] = '<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}" style="width:{$width}px;height:{$height}px"><tbody>'; |
var containers = tinyMCE.getParam("theme_advanced_containers", "", true, ","); |
var defaultContainerCSS = tinyMCE.getParam("theme_advanced_containers_default_class", "container"); |
var defaultContainerAlign = tinyMCE.getParam("theme_advanced_containers_default_align", "center"); |
//Render Containers: |
for (var i = 0; i < containers.length; i++) |
{ |
if (containers[i] == "mceEditor") //Exceptions for mceEditor and ... |
template['html'] += '<tr><td align="center" class="mceEditor_border"><span id="{$editor_id}"></span></td></tr>'; |
else if (containers[i] == "mceElementpath" || containers[i] == "mceStatusbar") // ... mceElementpath: |
{ |
var pathClass = "mceStatusbar"; |
if (i == containers.length-1) |
{ |
pathClass = "mceStatusbarBottom"; |
} |
else if (i == 0) |
{ |
pathClass = "mceStatusbar"; |
} |
else |
{ |
deltaHeight-=2; |
} |
template['html'] += '<tr><td class="' + pathClass + '" height="1">' + statusbarHTML + '</td></tr>'; |
deltaHeight -= 22; |
} else { // Render normal Container |
var curContainer = tinyMCE.getParam("theme_advanced_container_"+containers[i], "", true, ','); |
var curContainerHTML = ""; |
var curAlign = tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_align", defaultContainerAlign); |
var curCSS = tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_class", defaultContainerCSS); |
curContainer = removeFromArray(curContainer, tinyMCE.getParam("theme_advanced_disable", "", true, ',')); |
for (var j=0; j<curContainer.length; j++) |
curContainerHTML += tinyMCE.getControlHTML(curContainer[j]); |
if (curContainer.length > 0) { |
curContainerHTML += "<br />"; |
deltaHeight -= 23; |
} |
template['html'] += '<tr><td class="' + curCSS + '" align="' + curAlign + '" height="1">' + curContainerHTML + '</td></tr>'; |
} |
} |
template['html'] += '</tbody></table>'; |
//RowLayout |
break; |
case "CustomLayout" : //User defined layout callback... |
var customLayout = tinyMCE.getParam("theme_advanced_custom_layout",""); |
if (customLayout != "" && eval("typeof(" + customLayout + ")") != "undefined") { |
template = eval(customLayout + "(template);"); |
} |
break; |
} |
if (resizing) |
template['html'] += '<span id="{$editor_id}_resize_box" class="mceResizeBox"></span>'; |
template['html'] = tinyMCE.replaceVar(template['html'], 'style_select_options', styleSelectHTML); |
// Set to default values |
if (!template['delta_width']) |
template['delta_width'] = 0; |
if (!template['delta_height']) |
template['delta_height'] = deltaHeight; |
return template; |
}, |
initInstance : function(inst) { |
if (tinyMCE.getParam("theme_advanced_resizing", false)) { |
if (tinyMCE.getParam("theme_advanced_resizing_use_cookie", true)) { |
var w = TinyMCE_AdvancedTheme._getCookie("TinyMCE_" + inst.editorId + "_width"); |
var h = TinyMCE_AdvancedTheme._getCookie("TinyMCE_" + inst.editorId + "_height"); |
TinyMCE_AdvancedTheme._resizeTo(inst, w, h, tinyMCE.getParam("theme_advanced_resize_horizontal", true)); |
} |
} |
inst.addShortcut('ctrl', 'k', 'lang_link_desc', 'mceLink'); |
}, |
removeInstance : function(inst) { |
new TinyMCE_Layer(inst.editorId + '_fcMenu').remove(); |
new TinyMCE_Layer(inst.editorId + '_bcMenu').remove(); |
}, |
hideInstance : function(inst) { |
TinyMCE_AdvancedTheme._hideMenus(inst.editorId); |
}, |
_handleMenuEvent : function(e) { |
var te = tinyMCE.isMSIE ? window.event.srcElement : e.target; |
tinyMCE._menuButtonEvent(e.type == "mouseover" ? "over" : "out", document.getElementById(te._switchId)); |
if (e.type == "click") |
tinyMCE.execInstanceCommand(te._editor_id, te._command); |
}, |
_hideMenus : function(id) { |
var fcml = new TinyMCE_Layer(id + '_fcMenu'), bcml = new TinyMCE_Layer(id + '_bcMenu'); |
if (fcml.exists() && fcml.isVisible()) { |
tinyMCE.switchClass(id + '_forecolor', 'mceMenuButton'); |
fcml.hide(); |
} |
if (bcml.exists() && bcml.isVisible()) { |
tinyMCE.switchClass(id + '_backcolor', 'mceMenuButton'); |
bcml.hide(); |
} |
}, |
/** |
* Node change handler. |
*/ |
handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection, setup_content) { |
var alignNode, breakOut, classNode; |
function selectByValue(select_elm, value, first_index) { |
first_index = typeof(first_index) == "undefined" ? false : true; |
if (select_elm) { |
for (var i=0; i<select_elm.options.length; i++) { |
var ov = "" + select_elm.options[i].value; |
if (first_index && ov.toLowerCase().indexOf(value.toLowerCase()) == 0) { |
select_elm.selectedIndex = i; |
return true; |
} |
if (ov == value) { |
select_elm.selectedIndex = i; |
return true; |
} |
} |
} |
return false; |
}; |
// No node provided |
if (node == null) |
return; |
// Update path |
var pathElm = document.getElementById(editor_id + "_path"); |
var inst = tinyMCE.getInstanceById(editor_id); |
var doc = inst.getDoc(); |
TinyMCE_AdvancedTheme._hideMenus(editor_id); |
if (pathElm) { |
// Get node path |
var parentNode = node; |
var path = new Array(); |
while (parentNode != null) { |
if (parentNode.nodeName.toUpperCase() == "BODY") { |
break; |
} |
// Only append element nodes to path |
if (parentNode.nodeType == 1 && tinyMCE.getAttrib(parentNode, "class").indexOf('mceItemHidden') == -1) { |
path[path.length] = parentNode; |
} |
parentNode = parentNode.parentNode; |
} |
// Setup HTML |
var html = ""; |
for (var i=path.length-1; i>=0; i--) { |
var nodeName = path[i].nodeName.toLowerCase(); |
var nodeData = ""; |
if (nodeName.indexOf("html:") == 0) |
nodeName = nodeName.substring(5); |
if (nodeName == "b") { |
nodeName = "strong"; |
} |
if (nodeName == "i") { |
nodeName = "em"; |
} |
if (nodeName == "span") { |
var cn = tinyMCE.getAttrib(path[i], "class"); |
if (cn != "" && cn.indexOf('mceItem') == -1) |
nodeData += "class: " + cn + " "; |
var st = tinyMCE.getAttrib(path[i], "style"); |
if (st != "") { |
st = tinyMCE.serializeStyle(tinyMCE.parseStyle(st)); |
nodeData += "style: " + tinyMCE.xmlEncode(st) + " "; |
} |
} |
if (nodeName == "font") { |
if (tinyMCE.getParam("convert_fonts_to_spans")) |
nodeName = "span"; |
var face = tinyMCE.getAttrib(path[i], "face"); |
if (face != "") |
nodeData += "font: " + tinyMCE.xmlEncode(face) + " "; |
var size = tinyMCE.getAttrib(path[i], "size"); |
if (size != "") |
nodeData += "size: " + tinyMCE.xmlEncode(size) + " "; |
var color = tinyMCE.getAttrib(path[i], "color"); |
if (color != "") |
nodeData += "color: " + tinyMCE.xmlEncode(color) + " "; |
} |
if (tinyMCE.getAttrib(path[i], 'id') != "") { |
nodeData += "id: " + path[i].getAttribute('id') + " "; |
} |
var className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i], "class"), false); |
if (className != "" && className.indexOf('mceItem') == -1) |
nodeData += "class: " + className + " "; |
if (tinyMCE.getAttrib(path[i], 'src') != "") { |
var src = tinyMCE.getAttrib(path[i], "mce_src"); |
if (src == "") |
src = tinyMCE.getAttrib(path[i], "src"); |
nodeData += "src: " + tinyMCE.xmlEncode(src) + " "; |
} |
if (path[i].nodeName == 'A' && tinyMCE.getAttrib(path[i], 'href') != "") { |
var href = tinyMCE.getAttrib(path[i], "mce_href"); |
if (href == "") |
href = tinyMCE.getAttrib(path[i], "href"); |
nodeData += "href: " + tinyMCE.xmlEncode(href) + " "; |
} |
className = tinyMCE.getAttrib(path[i], "class"); |
if ((nodeName == "img" || nodeName == "span") && className.indexOf('mceItem') != -1) { |
nodeName = className.replace(/mceItem([a-z]+)/gi, '$1').toLowerCase(); |
nodeData = path[i].getAttribute('title'); |
} |
if (nodeName == "a" && (anchor = tinyMCE.getAttrib(path[i], "name")) != "") { |
nodeName = "a"; |
nodeName += "#" + tinyMCE.xmlEncode(anchor); |
nodeData = ""; |
} |
if (tinyMCE.getAttrib(path[i], 'name').indexOf("mce_") != 0) { |
var className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i], "class"), false); |
if (className != "" && className.indexOf('mceItem') == -1) { |
nodeName += "." + className; |
} |
} |
var cmd = 'tinyMCE.execInstanceCommand(\'' + editor_id + '\',\'mceSelectNodeDepth\',false,\'' + i + '\');'; |
html += '<a title="' + nodeData + '" href="javascript:' + cmd + '" onclick="' + cmd + 'return false;" onmousedown="return false;" target="_self" class="mcePathItem">' + nodeName + '</a>'; |
if (i > 0) { |
html += " » "; |
} |
} |
pathElm.innerHTML = '<a href="#" accesskey="x"></a>' + tinyMCE.getLang('lang_theme_path') + ": " + html + ' '; |
} |
// Reset old states |
tinyMCE.switchClass(editor_id + '_justifyleft', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_justifyright', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_justifycenter', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_justifyfull', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_bold', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_italic', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_underline', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_strikethrough', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_bullist', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_numlist', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_sub', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_sup', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_anchor', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_link', 'mceButtonDisabled'); |
tinyMCE.switchClass(editor_id + '_unlink', 'mceButtonDisabled'); |
tinyMCE.switchClass(editor_id + '_outdent', 'mceButtonDisabled'); |
tinyMCE.switchClass(editor_id + '_image', 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_hr', 'mceButtonNormal'); |
if (node.nodeName == "A" && tinyMCE.getAttrib(node, "class").indexOf('mceItemAnchor') != -1) |
tinyMCE.switchClass(editor_id + '_anchor', 'mceButtonSelected'); |
// Get link |
var anchorLink = tinyMCE.getParentElement(node, "a", "href"); |
if (anchorLink || any_selection) { |
tinyMCE.switchClass(editor_id + '_link', anchorLink ? 'mceButtonSelected' : 'mceButtonNormal'); |
tinyMCE.switchClass(editor_id + '_unlink', anchorLink ? 'mceButtonSelected' : 'mceButtonNormal'); |
} |
// Handle visual aid |
tinyMCE.switchClass(editor_id + '_visualaid', visual_aid ? 'mceButtonSelected' : 'mceButtonNormal'); |
if (undo_levels != -1) { |
tinyMCE.switchClass(editor_id + '_undo', 'mceButtonDisabled'); |
tinyMCE.switchClass(editor_id + '_redo', 'mceButtonDisabled'); |
} |
// Within li, blockquote |
if (tinyMCE.getParentElement(node, "li,blockquote")) |
tinyMCE.switchClass(editor_id + '_outdent', 'mceButtonNormal'); |
// Has redo levels |
if (undo_index != -1 && (undo_index < undo_levels-1 && undo_levels > 0)) |
tinyMCE.switchClass(editor_id + '_redo', 'mceButtonNormal'); |
// Has undo levels |
if (undo_index != -1 && (undo_index > 0 && undo_levels > 0)) |
tinyMCE.switchClass(editor_id + '_undo', 'mceButtonNormal'); |
// Select class in select box |
var selectElm = document.getElementById(editor_id + "_styleSelect"); |
if (selectElm) { |
TinyMCE_AdvancedTheme._setupCSSClasses(editor_id); |
classNode = node; |
breakOut = false; |
var index = 0; |
do { |
if (classNode && classNode.className) { |
for (var i=0; i<selectElm.options.length; i++) { |
if (selectElm.options[i].value == classNode.className) { |
index = i; |
breakOut = true; |
break; |
} |
} |
} |
} while (!breakOut && classNode != null && (classNode = classNode.parentNode) != null); |
selectElm.selectedIndex = index; |
} |
// Select formatblock |
var selectElm = document.getElementById(editor_id + "_formatSelect"); |
if (selectElm) { |
var elm = tinyMCE.getParentElement(node, "p,div,h1,h2,h3,h4,h5,h6,pre,address"); |
if (elm) |
selectByValue(selectElm, "<" + elm.nodeName.toLowerCase() + ">"); |
else |
selectByValue(selectElm, ""); |
} |
// Select fontselect |
var selectElm = document.getElementById(editor_id + "_fontNameSelect"); |
if (selectElm) { |
if (!tinyMCE.isSafari && !(tinyMCE.isMSIE && !tinyMCE.isOpera)) { |
var face = inst.queryCommandValue('FontName'); |
face = face == null || face == "" ? "" : face; |
selectByValue(selectElm, face, face != ""); |
} else { |
var elm = tinyMCE.getParentElement(node, "font", "face"); |
if (elm) { |
var family = tinyMCE.getAttrib(elm, "face"); |
if (family == '') |
family = '' + elm.style.fontFamily; |
if (!selectByValue(selectElm, family, family != "")) |
selectByValue(selectElm, ""); |
} else |
selectByValue(selectElm, ""); |
} |
} |
// Select fontsize |
var selectElm = document.getElementById(editor_id + "_fontSizeSelect"); |
if (selectElm) { |
if (!tinyMCE.isSafari && !tinyMCE.isOpera) { |
var size = inst.queryCommandValue('FontSize'); |
selectByValue(selectElm, size == null || size == "" ? "0" : size); |
} else { |
var elm = tinyMCE.getParentElement(node, "font", "size"); |
if (elm) { |
var size = tinyMCE.getAttrib(elm, "size"); |
if (size == '') { |
var sizes = new Array('', '8px', '10px', '12px', '14px', '18px', '24px', '36px'); |
size = '' + elm.style.fontSize; |
for (var i=0; i<sizes.length; i++) { |
if (('' + sizes[i]) == size) { |
size = i; |
break; |
} |
} |
} |
if (!selectByValue(selectElm, size)) |
selectByValue(selectElm, ""); |
} else |
selectByValue(selectElm, "0"); |
} |
} |
// Handle align attributes |
alignNode = node; |
breakOut = false; |
do { |
if (!alignNode.getAttribute || !alignNode.getAttribute('align')) |
continue; |
switch (alignNode.getAttribute('align').toLowerCase()) { |
case "left": |
tinyMCE.switchClass(editor_id + '_justifyleft', 'mceButtonSelected'); |
breakOut = true; |
break; |
case "right": |
tinyMCE.switchClass(editor_id + '_justifyright', 'mceButtonSelected'); |
breakOut = true; |
break; |
case "middle": |
case "center": |
tinyMCE.switchClass(editor_id + '_justifycenter', 'mceButtonSelected'); |
breakOut = true; |
break; |
case "justify": |
tinyMCE.switchClass(editor_id + '_justifyfull', 'mceButtonSelected'); |
breakOut = true; |
break; |
} |
} while (!breakOut && (alignNode = alignNode.parentNode) != null); |
// Div justification |
var div = tinyMCE.getParentElement(node, "div"); |
if (div && div.style.textAlign == "center") |
tinyMCE.switchClass(editor_id + '_justifycenter', 'mceButtonSelected'); |
// Do special text |
if (!setup_content) { |
// , "JustifyLeft", "_justifyleft", "JustifyCenter", "justifycenter", "JustifyRight", "justifyright", "JustifyFull", "justifyfull", "InsertUnorderedList", "bullist", "InsertOrderedList", "numlist", "InsertUnorderedList", "bullist", "Outdent", "outdent", "Indent", "indent", "subscript", "sub" |
var ar = new Array("Bold", "_bold", "Italic", "_italic", "Strikethrough", "_strikethrough", "superscript", "_sup", "subscript", "_sub"); |
for (var i=0; i<ar.length; i+=2) { |
if (inst.queryCommandState(ar[i])) |
tinyMCE.switchClass(editor_id + ar[i+1], 'mceButtonSelected'); |
} |
if (inst.queryCommandState("Underline") && (node.parentNode == null || node.parentNode.nodeName != "A")) |
tinyMCE.switchClass(editor_id + '_underline', 'mceButtonSelected'); |
} |
// Handle elements |
do { |
switch (node.nodeName) { |
case "UL": |
tinyMCE.switchClass(editor_id + '_bullist', 'mceButtonSelected'); |
break; |
case "OL": |
tinyMCE.switchClass(editor_id + '_numlist', 'mceButtonSelected'); |
break; |
case "HR": |
tinyMCE.switchClass(editor_id + '_hr', 'mceButtonSelected'); |
break; |
case "IMG": |
if (tinyMCE.getAttrib(node, 'name').indexOf('mce_') != 0 && tinyMCE.getAttrib(node, 'class').indexOf('mceItem') == -1) { |
tinyMCE.switchClass(editor_id + '_image', 'mceButtonSelected'); |
} |
break; |
} |
} while ((node = node.parentNode) != null); |
}, |
// Private theme internal functions |
// This function auto imports CSS classes into the class selection droplist |
_setupCSSClasses : function(editor_id) { |
var i, selectElm; |
if (!TinyMCE_AdvancedTheme._autoImportCSSClasses) |
return; |
selectElm = document.getElementById(editor_id + '_styleSelect'); |
if (selectElm && selectElm.getAttribute('cssImported') != 'true') { |
var csses = tinyMCE.getCSSClasses(editor_id); |
if (csses && selectElm) { |
for (i=0; i<csses.length; i++) |
selectElm.options[selectElm.options.length] = new Option(csses[i], csses[i]); |
} |
// Only do this once |
if (csses != null && csses.length > 0) |
selectElm.setAttribute('cssImported', 'true'); |
} |
}, |
_setCookie : function(name, value, expires, path, domain, secure) { |
var curCookie = name + "=" + escape(value) + |
((expires) ? "; expires=" + expires.toGMTString() : "") + |
((path) ? "; path=" + escape(path) : "") + |
((domain) ? "; domain=" + domain : "") + |
((secure) ? "; secure" : ""); |
document.cookie = curCookie; |
}, |
_getCookie : function(name) { |
var dc = document.cookie; |
var prefix = name + "="; |
var begin = dc.indexOf("; " + prefix); |
if (begin == -1) { |
begin = dc.indexOf(prefix); |
if (begin != 0) |
return null; |
} else |
begin += 2; |
var end = document.cookie.indexOf(";", begin); |
if (end == -1) |
end = dc.length; |
return unescape(dc.substring(begin + prefix.length, end)); |
}, |
_resizeTo : function(inst, w, h, set_w) { |
var editorContainer = document.getElementById(inst.editorId + '_parent'); |
var tableElm = editorContainer.firstChild; |
var iframe = inst.iframeElement; |
if (w == null || w == "null") { |
set_w = false; |
w = 0; |
} |
if (h == null || h == "null") |
return; |
w = parseInt(w); |
h = parseInt(h); |
if (tinyMCE.isGecko) { |
w += 2; |
h += 2; |
} |
var dx = w - tableElm.clientWidth; |
var dy = h - tableElm.clientHeight; |
w = w < 1 ? 30 : w; |
h = h < 1 ? 30 : h; |
if (set_w) |
tableElm.style.width = w + "px"; |
tableElm.style.height = h + "px"; |
iw = iframe.clientWidth + dx; |
ih = iframe.clientHeight + dy; |
iw = iw < 1 ? 30 : iw; |
ih = ih < 1 ? 30 : ih; |
if (tinyMCE.isGecko) { |
iw -= 2; |
ih -= 2; |
} |
if (set_w) |
iframe.style.width = iw + "px"; |
iframe.style.height = ih + "px"; |
// Is it to small, make it bigger again |
if (set_w) { |
var tableBodyElm = tableElm.firstChild; |
var minIframeWidth = tableBodyElm.scrollWidth; |
if (inst.iframeElement.clientWidth < minIframeWidth) { |
dx = minIframeWidth - inst.iframeElement.clientWidth; |
inst.iframeElement.style.width = (iw + dx) + "px"; |
} |
} |
// Remove pesky table controls |
inst.useCSS = false; |
}, |
/** |
* Handles resizing events. |
*/ |
_resizeEventHandler : function(e) { |
var resizer = TinyMCE_AdvancedTheme._resizer; |
// Do nothing |
if (!resizer.resizing) |
return; |
e = typeof(e) == "undefined" ? window.event : e; |
var dx = e.screenX - resizer.downX; |
var dy = e.screenY - resizer.downY; |
var resizeBox = resizer.resizeBox; |
var editorId = resizer.editorId; |
switch (e.type) { |
case "mousemove": |
var w, h; |
w = resizer.width + dx; |
h = resizer.height + dy; |
w = w < 1 ? 1 : w; |
h = h < 1 ? 1 : h; |
if (resizer.horizontal) |
resizeBox.style.width = w + "px"; |
resizeBox.style.height = h + "px"; |
break; |
case "mouseup": |
TinyMCE_AdvancedTheme._setResizing(e, editorId, false); |
TinyMCE_AdvancedTheme._resizeTo(tinyMCE.getInstanceById(editorId), resizer.width + dx, resizer.height + dy, resizer.horizontal); |
// Expire in a month |
if (tinyMCE.getParam("theme_advanced_resizing_use_cookie", true)) { |
var expires = new Date(); |
expires.setTime(expires.getTime() + 3600000 * 24 * 30); |
// Set the cookies |
TinyMCE_AdvancedTheme._setCookie("TinyMCE_" + editorId + "_width", "" + (resizer.horizontal ? resizer.width + dx : ""), expires); |
TinyMCE_AdvancedTheme._setCookie("TinyMCE_" + editorId + "_height", "" + (resizer.height + dy), expires); |
} |
break; |
} |
}, |
/** |
* Starts/stops the editor resizing. |
*/ |
_setResizing : function(e, editor_id, state) { |
e = typeof(e) == "undefined" ? window.event : e; |
var resizer = TinyMCE_AdvancedTheme._resizer; |
var editorContainer = document.getElementById(editor_id + '_parent'); |
var editorArea = document.getElementById(editor_id + '_parent').firstChild; |
var resizeBox = document.getElementById(editor_id + '_resize_box'); |
var inst = tinyMCE.getInstanceById(editor_id); |
if (state) { |
// Place box over editor area |
var width = editorArea.clientWidth; |
var height = editorArea.clientHeight; |
resizeBox.style.width = width + "px"; |
resizeBox.style.height = height + "px"; |
resizer.iframeWidth = inst.iframeElement.clientWidth; |
resizer.iframeHeight = inst.iframeElement.clientHeight; |
// Hide editor and show resize box |
editorArea.style.display = "none"; |
resizeBox.style.display = "block"; |
// Add event handlers, only once |
if (!resizer.eventHandlers) { |
if (tinyMCE.isMSIE) |
tinyMCE.addEvent(document, "mousemove", TinyMCE_AdvancedTheme._resizeEventHandler); |
else |
tinyMCE.addEvent(window, "mousemove", TinyMCE_AdvancedTheme._resizeEventHandler); |
tinyMCE.addEvent(document, "mouseup", TinyMCE_AdvancedTheme._resizeEventHandler); |
resizer.eventHandlers = true; |
} |
resizer.resizing = true; |
resizer.downX = e.screenX; |
resizer.downY = e.screenY; |
resizer.width = parseInt(resizeBox.style.width); |
resizer.height = parseInt(resizeBox.style.height); |
resizer.editorId = editor_id; |
resizer.resizeBox = resizeBox; |
resizer.horizontal = tinyMCE.getParam("theme_advanced_resize_horizontal", true); |
} else { |
resizer.resizing = false; |
resizeBox.style.display = "none"; |
editorArea.style.display = tinyMCE.isMSIE && !tinyMCE.isOpera ? "block" : "table"; |
tinyMCE.execCommand('mceResetDesignMode'); |
} |
}, |
_getColorHTML : function(id, n, cm) { |
var i, h, cl; |
h = '<span class="mceMenuLine"></span>'; |
cl = tinyMCE.getParam(n, TinyMCE_AdvancedTheme._defColors).split(','); |
h += '<table class="mceColors"><tr>'; |
for (i=0; i<cl.length; i++) { |
c = 'tinyMCE.execInstanceCommand(\'' + id + '\', \'' + cm + '\', false, \'#' + cl[i] + '\');'; |
h += '<td><a href="javascript:' + c + '" style="background-color: #' + cl[i] + '" onclick="' + c + ';return false;"></a></td>'; |
if ((i+1) % 8 == 0) |
h += '</tr><tr>'; |
} |
h += '</tr></table>'; |
if (tinyMCE.getParam("theme_advanced_more_colors", true)) |
h += '<a href="javascript:void(0);" onclick="TinyMCE_AdvancedTheme._pickColor(\'' + id + '\',\'' + cm + '\');" class="mceMoreColors">' + tinyMCE.getLang('lang_more_colors') + '</a>'; |
return h; |
}, |
_pickColor : function(id, cm) { |
var inputColor, inst = tinyMCE.selectedInstance; |
if (cm == 'forecolor' && inst) |
inputColor = inst.foreColor; |
if ((cm == 'backcolor' || cm == 'HiliteColor') && inst) |
inputColor = inst.backColor; |
tinyMCE.execCommand('mceColorPicker', true, {color : inputColor, callback : function(c) { |
tinyMCE.execInstanceCommand(id, cm, false, c); |
}}); |
}, |
_insertImage : function(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout) { |
tinyMCE.execCommand("mceInsertContent", false, tinyMCE.createTagHTML('img', { |
src : tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], src), // Force absolute |
mce_src : src, |
alt : alt, |
border : border, |
hspace : hspace, |
vspace : vspace, |
width : width, |
height : height, |
align : align, |
title : title, |
onmouseover : onmouseover, |
onmouseout : onmouseout |
})); |
}, |
_insertLink : function(href, target, title, onclick, style_class) { |
tinyMCE.execCommand('mceBeginUndoLevel'); |
if (tinyMCE.selectedInstance && tinyMCE.selectedElement && tinyMCE.selectedElement.nodeName.toLowerCase() == "img") { |
var doc = tinyMCE.selectedInstance.getDoc(); |
var linkElement = tinyMCE.getParentElement(tinyMCE.selectedElement, "a"); |
var newLink = false; |
if (!linkElement) { |
linkElement = doc.createElement("a"); |
newLink = true; |
} |
var mhref = href; |
var thref = eval(tinyMCE.settings['urlconverter_callback'] + "(href, linkElement);"); |
mhref = tinyMCE.getParam('convert_urls') ? href : mhref; |
tinyMCE.setAttrib(linkElement, 'href', thref); |
tinyMCE.setAttrib(linkElement, 'mce_href', mhref); |
tinyMCE.setAttrib(linkElement, 'target', target); |
tinyMCE.setAttrib(linkElement, 'title', title); |
tinyMCE.setAttrib(linkElement, 'onclick', onclick); |
tinyMCE.setAttrib(linkElement, 'class', style_class); |
if (newLink) { |
linkElement.appendChild(tinyMCE.selectedElement.cloneNode(true)); |
tinyMCE.selectedElement.parentNode.replaceChild(linkElement, tinyMCE.selectedElement); |
} |
return; |
} |
if (!tinyMCE.linkElement && tinyMCE.selectedInstance) { |
if (tinyMCE.isSafari) { |
tinyMCE.execCommand("mceInsertContent", false, '<a href="' + tinyMCE.uniqueURL + '">' + tinyMCE.selectedInstance.selection.getSelectedHTML() + '</a>'); |
} else |
tinyMCE.selectedInstance.contentDocument.execCommand("createlink", false, tinyMCE.uniqueURL); |
tinyMCE.linkElement = tinyMCE.getElementByAttributeValue(tinyMCE.selectedInstance.contentDocument.body, "a", "href", tinyMCE.uniqueURL); |
var elementArray = tinyMCE.getElementsByAttributeValue(tinyMCE.selectedInstance.contentDocument.body, "a", "href", tinyMCE.uniqueURL); |
for (var i=0; i<elementArray.length; i++) { |
var mhref = href; |
var thref = eval(tinyMCE.settings['urlconverter_callback'] + "(href, elementArray[i]);"); |
mhref = tinyMCE.getParam('convert_urls') ? href : mhref; |
tinyMCE.setAttrib(elementArray[i], 'href', thref); |
tinyMCE.setAttrib(elementArray[i], 'mce_href', mhref); |
tinyMCE.setAttrib(elementArray[i], 'target', target); |
tinyMCE.setAttrib(elementArray[i], 'title', title); |
tinyMCE.setAttrib(elementArray[i], 'onclick', onclick); |
tinyMCE.setAttrib(elementArray[i], 'class', style_class); |
} |
tinyMCE.linkElement = elementArray[0]; |
} |
if (tinyMCE.linkElement) { |
var mhref = href; |
href = eval(tinyMCE.settings['urlconverter_callback'] + "(href, tinyMCE.linkElement);"); |
mhref = tinyMCE.getParam('convert_urls') ? href : mhref; |
tinyMCE.setAttrib(tinyMCE.linkElement, 'href', href); |
tinyMCE.setAttrib(tinyMCE.linkElement, 'mce_href', mhref); |
tinyMCE.setAttrib(tinyMCE.linkElement, 'target', target); |
tinyMCE.setAttrib(tinyMCE.linkElement, 'title', title); |
tinyMCE.setAttrib(tinyMCE.linkElement, 'onclick', onclick); |
tinyMCE.setAttrib(tinyMCE.linkElement, 'class', style_class); |
} |
tinyMCE.execCommand('mceEndUndoLevel'); |
} |
}; |
tinyMCE.addTheme("advanced", TinyMCE_AdvancedTheme); |
// Add default buttons maps for advanced theme and all internal plugins |
tinyMCE.addButtonMap(TinyMCE_AdvancedTheme._buttonMap); |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/langs/en.js |
---|
New file |
0,0 → 1,93 |
// UK lang variables |
tinyMCE.addToLang('',{ |
theme_style_select : '-- Styles --', |
theme_code_desc : 'Edit HTML Source', |
theme_code_title : 'HTML Source Editor', |
theme_code_wordwrap : 'Word wrap', |
theme_sub_desc : 'Subscript', |
theme_sup_desc : 'Superscript', |
theme_hr_desc : 'Insert horizontal ruler', |
theme_removeformat_desc : 'Remove formatting', |
theme_custom1_desc : 'Your custom description here', |
insert_image_border : 'Border', |
insert_image_dimensions : 'Dimensions', |
insert_image_vspace : 'Vertical space', |
insert_image_hspace : 'Horizontal space', |
insert_image_align : 'Alignment', |
insert_image_align_default : '-- Not set --', |
insert_image_align_baseline : 'Baseline', |
insert_image_align_top : 'Top', |
insert_image_align_middle : 'Middle', |
insert_image_align_bottom : 'Bottom', |
insert_image_align_texttop : 'TextTop', |
insert_image_align_absmiddle : 'Absolute Middle', |
insert_image_align_absbottom : 'Absolute Bottom', |
insert_image_align_left : 'Left', |
insert_image_align_right : 'Right', |
theme_font_size : '-- Font size --', |
theme_fontdefault : '-- Font family --', |
theme_block : '-- Format --', |
theme_paragraph : 'Paragraph', |
theme_div : 'Div', |
theme_address : 'Address', |
theme_pre : 'Preformatted', |
theme_h1 : 'Heading 1', |
theme_h2 : 'Heading 2', |
theme_h3 : 'Heading 3', |
theme_h4 : 'Heading 4', |
theme_h5 : 'Heading 5', |
theme_h6 : 'Heading 6', |
theme_blockquote : 'Blockquote', |
theme_code : 'Code', |
theme_samp : 'Code sample', |
theme_dt : 'Definition term ', |
theme_dd : 'Definition description', |
theme_colorpicker_title : 'Select a color', |
theme_colorpicker_apply : 'Apply', |
theme_forecolor_desc : 'Select text color', |
theme_backcolor_desc : 'Select background color', |
theme_charmap_title : 'Select custom character', |
theme_charmap_desc : 'Insert custom character', |
theme_visualaid_desc : 'Toggle guidelines/invisible elements', |
insert_anchor_title : 'Insert/edit anchor', |
insert_anchor_name : 'Anchor name', |
theme_anchor_desc : 'Insert/edit anchor', |
theme_insert_link_titlefield : 'Title', |
theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', |
theme_path : 'Path', |
cut_desc : 'Cut', |
copy_desc : 'Copy', |
paste_desc : 'Paste', |
link_list : 'Link list', |
image_list : 'Image list', |
browse : 'Browse', |
image_props_desc : 'Image properties', |
newdocument_desc : 'New document', |
class_name : 'Class', |
newdocument : 'Are you sure you want clear all contents?', |
about_title : 'About TinyMCE', |
about : 'About', |
license : 'License', |
plugins : 'Plugins', |
plugin : 'Plugin', |
author : 'Author', |
version : 'Version', |
loaded_plugins : 'Loaded plugins', |
help : 'Help', |
not_set : '-- Not set --', |
close : 'Close', |
toolbar_focus : 'Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X', |
invalid_data : 'Error: Invalid values entered, these are marked in red.', |
more_colors : 'More colors', |
color_picker_tab : 'Picker', |
color_picker : 'Color picker', |
web_colors_tab : 'Palette', |
web_colors : 'Palette colors', |
named_colors_tab : 'Named', |
named_colors : 'Named colors', |
color : 'Color:', |
color_name : 'Name:', |
is_email : 'The URL you entered seems to be an email address, do you want to add the required mailto: prefix?', |
is_external : 'The URL you entered seems to external link, do you want to add the required http:// prefix?' |
}); |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/langs/fr.js |
---|
New file |
0,0 → 1,92 |
// FR lang variables |
// Modified by shadow walker, last updated 2007-03-16, based on the work of Motte |
tinyMCE.addToLang('',{ |
theme_style_select : '-- Style --', |
theme_code_desc : 'Afficher le code source', |
theme_code_title : 'Edition du code source', |
theme_code_wordwrap : 'Retour à la ligne automatique', |
theme_sub_desc : 'Indice', |
theme_sup_desc : 'Exposant', |
theme_hr_desc : 'Insérer une règle horizontale ordinaire', |
theme_removeformat_desc : 'Supprimer le formatage', |
theme_custom1_desc : 'Votre description personnalisée ici', |
insert_image_border : 'Bordure', |
insert_image_dimensions : 'Dimensions', |
insert_image_vspace : 'Espacement vertical', |
insert_image_hspace : 'Espacement horizontal', |
insert_image_align : 'Alignement', |
insert_image_align_default : '-- Indéfini --', |
insert_image_align_baseline : 'Ligne de base', |
insert_image_align_top : 'Haut', |
insert_image_align_middle : 'Milieu', |
insert_image_align_bottom : 'Bas', |
insert_image_align_texttop : 'Haut du texte', |
insert_image_align_absmiddle : 'Milieu absolu', |
insert_image_align_absbottom : 'Bas absolu', |
insert_image_align_left : 'En flottement à gauche', |
insert_image_align_right : 'En flottement à droite', |
theme_font_size : '-- Taille --', |
theme_fontdefault : '-- Police --', |
theme_block : '-- Bloc de texte --', |
theme_paragraph : 'Paragraphe', |
theme_div : 'Div', |
theme_address : 'Infos sur l\'auteur', |
theme_pre : 'Texte préformaté', |
theme_h1 : 'Titre de niveau 1', |
theme_h2 : 'Titre de niveau 2', |
theme_h3 : 'Titre de niveau 3', |
theme_h4 : 'Titre de niveau 4', |
theme_h5 : 'Titre de niveau 5', |
theme_h6 : 'Titre de niveau 6', |
theme_blockquote : 'Citation', |
theme_code : 'Code', |
theme_samp : 'Exemple de code', |
theme_dt : 'Definition du therme ', |
theme_dd : 'Definition de la description', |
theme_colorpicker_title : 'Choisir une couleur', |
theme_colorpicker_apply : 'Appliquer', |
theme_forecolor_desc : 'Couleur du texte', |
theme_backcolor_desc : 'Couleur d\'arrière-plan', |
theme_charmap_title : 'Sélectionner un caractère spécial', |
theme_charmap_desc : 'Insérer un caractère spécial', |
theme_visualaid_desc : 'Activer/Désactiver les lignes guides et les éléments invisibles', |
insert_anchor_title : 'Gestionnaire d\'ancre', |
insert_anchor_name : 'Nom de l\'ancre', |
theme_anchor_desc : 'Insérer/Modifier une ancre', |
theme_insert_link_titlefield : 'Info-bulle', |
theme_clipboard_msg : 'Pour des raisons de sécurité, les fonctions « Copier », « Couper » et « Coller »\nne sont pas disponibles dans Mozilla et Firefox.\n\n\nVoulez-vous plus d\'information à ce sujet?\n', |
theme_path : 'Elément(s) en cours ', |
cut_desc : 'Couper', |
copy_desc : 'Copier', |
paste_desc : 'Coller', |
link_list : 'Lien de la liste', |
image_list : 'Image de la liste', |
browse : 'Naviguer', |
image_props_desc : 'Propriétés de l\'image', |
newdocument_desc : 'Nouveau document', |
class_name : 'Classe CSS', |
newdocument : 'Etes-vous sûr de vouloir supprimer tout le contenu ?', |
about_title : 'A propos de TinyMCE', |
about : 'A propos', |
license : 'License', |
plugins : 'Extensions', |
plugin : 'Extension', |
author : 'Auteur', |
version : 'Version', |
loaded_plugins : 'Extensions installées', |
help : 'Aide', |
not_set : '-- Indéfini --', |
close : 'Fermer', |
toolbar_focus : 'Atteindre la barre d\'outils (Alt+Q), Atteindre l\'éditeur (Alt-Z), Atteindre l\'élément en cours (Alt-X)', |
invalid_data : 'Erreur: La valeur en rouge est incorrecte.', |
more_colors : 'Plus de couleurs', |
color_picker_tab : 'Pipette', |
color_picker : 'Palette de couleur', |
web_colors_tab : 'Sécurisé pour le web', |
web_colors : 'Couleur sécurisée pour le web', |
named_colors_tab : 'Nom', |
named_colors : 'Nom de la couleur', |
color : 'Couleur:', |
color_name : 'Nom:' |
}); |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/link.htm |
---|
New file |
0,0 → 1,101 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>{$lang_insert_link_title}</title> |
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script> |
<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script> |
<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script> |
<script language="javascript" type="text/javascript" src="../../utils/validate.js"></script> |
<script language="javascript" type="text/javascript" src="jscripts/link.js"></script> |
<base target="_self" /> |
</head> |
<body id="link" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none"> |
<form onsubmit="insertLink();return false;" action="#"> |
<div class="tabs"> |
<ul> |
<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_insert_link_title}</a></span></li> |
</ul> |
</div> |
<div class="panel_wrapper"> |
<div id="general_panel" class="panel current"> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td nowrap="nowrap"><label for="href">{$lang_insert_link_url}</label></td> |
<td><table border="0" cellspacing="0" cellpadding="0"> |
<tr> |
<td><input id="href" name="href" type="text" value="" style="width: 200px" onchange="checkPrefix(this);" /></td> |
<td id="hrefbrowsercontainer"> </td> |
</tr> |
</table></td> |
</tr> |
<!-- Link list --> |
<script language="javascript"> |
if (typeof(tinyMCELinkList) != "undefined" && tinyMCELinkList.length > 0) { |
var html = ""; |
html += '<tr><td><label for="link_list">{$lang_link_list}</label></td>'; |
html += '<td><select id="link_list" name="link_list" style="width: 200px" onchange="this.form.href.value=this.options[this.selectedIndex].value;">'; |
html += '<option value="">---</option>'; |
for (var i=0; i<tinyMCELinkList.length; i++) |
html += '<option value="' + tinyMCELinkList[i][1] + '">' + tinyMCELinkList[i][0] + '</option>'; |
html += '</select></td></tr>'; |
document.write(html); |
} |
</script> |
<!-- /Link list --> |
<tr> |
<td nowrap="nowrap"><label for="target">{$lang_insert_link_target}</label></td> |
<td><select id="target" name="target" style="width: 200px"> |
<option value="_self">{$lang_insert_link_target_same}</option> |
<option value="_blank">{$lang_insert_link_target_blank}</option> |
<script language="javascript"> |
var html = ""; |
var targets = tinyMCE.getParam('theme_advanced_link_targets', '').split(';'); |
for (var i=0; i<targets.length; i++) { |
var key, value; |
if (targets[i] == "") |
continue; |
key = targets[i].split('=')[0]; |
value = targets[i].split('=')[1]; |
html += '<option value="' + value + '">' + key + '</option>'; |
} |
document.write(html); |
</script> |
</select></td> |
</tr> |
<tr> |
<td nowrap="nowrap"><label for="linktitle">{$lang_theme_insert_link_titlefield}</label></td> |
<td><input id="linktitle" name="linktitle" type="text" value="" style="width: 200px"></td> |
</tr> |
<tr id="styleSelectRow"> |
<td><label for="styleSelect">{$lang_class_name}</label></td> |
<td> |
<select id="styleSelect" name="styleSelect"> |
<option value="" selected>{$lang_theme_style_select}</option> |
</select></td> |
</tr> |
</table> |
</div> |
</div> |
<div class="mceActionPanel"> |
<div style="float: left"> |
<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertLink();" /> |
</div> |
<div style="float: right"> |
<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" /> |
</div> |
</div> |
</form> |
</body> |
</html> |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/close.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/close.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/sup.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/sup.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/bold_fr.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/bold_fr.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/insert_button_bg.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/insert_button_bg.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/code.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/code.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/charmap.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/charmap.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/underline_es.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/underline_es.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/paste.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/paste.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/bullist.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/bullist.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/image.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/image.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/bold_ru.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/bold_ru.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/opacity.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/opacity.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/cancel_button_bg.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/cancel_button_bg.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/newdocument.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/newdocument.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/statusbar_resize.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/statusbar_resize.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/forecolor.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/forecolor.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/bold_tw.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/bold_tw.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/numlist.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/numlist.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/anchor_symbol.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/anchor_symbol.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/separator.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/separator.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/browse.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/browse.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/strikethrough.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/strikethrough.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/italic_de_se.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/italic_de_se.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/undo.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/undo.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/italic.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/italic.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/removeformat.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/removeformat.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/bold_es.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/bold_es.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/justifyleft.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/justifyleft.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/hr.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/hr.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/copy.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/copy.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/anchor.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/anchor.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/italic_ru.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/italic_ru.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/colors.jpg |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/colors.jpg |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/underline_fr.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/underline_fr.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/spacer.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/spacer.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/color.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/color.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/italic_tw.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/italic_tw.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/bold_de_se.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/bold_de_se.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/justifyfull.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/justifyfull.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/bold.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/bold.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/visualaid.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/visualaid.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/indent.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/indent.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/outdent.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/outdent.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/xp/tab_end.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/xp/tab_end.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/xp/tab_bg.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/xp/tab_bg.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/xp/tab_sel_end.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/xp/tab_sel_end.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/xp/tab_sel_bg.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/xp/tab_sel_bg.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/xp/tabs_bg.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/xp/tabs_bg.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/underline.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/underline.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/cleanup.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/cleanup.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/help.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/help.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/sub.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/sub.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/redo.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/redo.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/custom_1.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/custom_1.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/cut.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/cut.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/justifyright.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/justifyright.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/underline_ru.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/underline_ru.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/italic_es.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/italic_es.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/link.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/link.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/justifycenter.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/justifycenter.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/buttons.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/buttons.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/button_menu.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/button_menu.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/backcolor.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/backcolor.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/underline_tw.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/underline_tw.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/unlink.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/unlink.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/menu_check.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0-livraison/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/themes/advanced/images/menu_check.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |