Version 2.2.0 RC-1
This commit is contained in:
1 parent
f73f8bff6d
commit
22f1b963ee
1034 files changed
+178610
-70897
No files matched your search
@@ -1,126 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Text Color</title>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
<!--
|
||||
function selectColor(color) {
|
||||
self.parent.setColor(color);
|
||||
}
|
||||
|
||||
function InitColorPalette() {
|
||||
if (document.getElementsByTagName)
|
||||
var x = document.getElementsByTagName('TD');
|
||||
else if (document.all)
|
||||
var x = document.all.tags('TD');
|
||||
for (var i=0;i<x.length;i++) {
|
||||
x[i].onmouseover = over;
|
||||
x[i].onmouseout = out;
|
||||
x[i].onclick = click;
|
||||
}
|
||||
}
|
||||
|
||||
function over() {
|
||||
this.style.border='1px dotted white';
|
||||
}
|
||||
|
||||
function out() {
|
||||
this.style.border='1px solid gray';
|
||||
}
|
||||
|
||||
function click() {
|
||||
selectColor(this.id);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body bgcolor="white" onLoad="InitColorPalette()" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0">
|
||||
<table width="150" height="100" cellpadding="0" cellspacing="1" border="1" align="center">
|
||||
<tr>
|
||||
<td id="#FFFFFF" bgcolor="#FFFFFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFCCCC" bgcolor="#FFCCCC" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFCC99" bgcolor="#FFCC99" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFFF99" bgcolor="#FFFF99" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFFFCC" bgcolor="#FFFFCC" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#99FF99" bgcolor="#99FF99" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#99FFFF" bgcolor="#99FFFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#CCFFFF" bgcolor="#CCFFFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#CCCCFF" bgcolor="#CCCCFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFCCFF" bgcolor="#FFCCFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="#CCCCCC" bgcolor="#CCCCCC" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FF6666" bgcolor="#FF6666" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FF9966" bgcolor="#FF9966" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFFF66" bgcolor="#FFFF66" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFFF33" bgcolor="#FFFF33" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#66FF99" bgcolor="#66FF99" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#33FFFF" bgcolor="#33FFFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#66FFFF" bgcolor="#66FFFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#9999FF" bgcolor="#9999FF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FF99FF" bgcolor="#FF99FF" width="10" height="10"><img width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="#C0C0C0" bgcolor="#C0C0C0" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FF0000" bgcolor="#FF0000" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FF9900" bgcolor="#FF9900" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFCC66" bgcolor="#FFCC66" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFFF00" bgcolor="#FFFF00" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#33FF33" bgcolor="#33FF33" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#66CCCC" bgcolor="#66CCCC" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#33CCFF" bgcolor="#33CCFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#6666CC" bgcolor="#6666CC" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#CC66CC" bgcolor="#CC66CC" width="10" height="10"><img width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="#999999" bgcolor="#999999" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#CC0000" bgcolor="#CC0000" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FF6600" bgcolor="#FF6600" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFCC33" bgcolor="#FFCC33" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFCC00" bgcolor="#FFCC00" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#33CC00" bgcolor="#33CC00" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#00CCCC" bgcolor="#00CCCC" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#3366FF" bgcolor="#3366FF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#6633FF" bgcolor="#6633FF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#CC33CC" bgcolor="#CC33CC" width="10" height="10"><img width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="#666666" bgcolor="#666666" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#990000" bgcolor="#990000" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#CC6600" bgcolor="#CC6600" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#CC9933" bgcolor="#CC9933" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#999900" bgcolor="#999900" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#009900" bgcolor="#009900" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#339999" bgcolor="#339999" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#3333FF" bgcolor="#3333FF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#6600CC" bgcolor="#6600CC" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#993399" bgcolor="#993399" width="10" height="10"><img width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="#333333" bgcolor="#333333" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#660000" bgcolor="#660000" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#993300" bgcolor="#993300" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#996633" bgcolor="#996633" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#666600" bgcolor="#666600" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#006600" bgcolor="#006600" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#336666" bgcolor="#336666" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#000099" bgcolor="#000099" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#333399" bgcolor="#333399" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#663366" bgcolor="#663366" width="10" height="10"><img width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="#000000" bgcolor="#000000" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#330000" bgcolor="#330000" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#663300" bgcolor="#663300" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#663333" bgcolor="#663333" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#333300" bgcolor="#333300" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#003300" bgcolor="#003300" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#003333" bgcolor="#003333" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#000066" bgcolor="#000066" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#330099" bgcolor="#330099" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#330033" bgcolor="#330033" width="10" height="10"><img width="1" height="1"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Text Color</title>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
<!--
|
||||
function selectColor(color) {
|
||||
self.parent.setColor(color);
|
||||
}
|
||||
|
||||
function InitColorPalette() {
|
||||
if (document.getElementsByTagName)
|
||||
var x = document.getElementsByTagName('TD');
|
||||
else if (document.all)
|
||||
var x = document.all.tags('TD');
|
||||
for (var i=0;i<x.length;i++) {
|
||||
x[i].onmouseover = over;
|
||||
x[i].onmouseout = out;
|
||||
x[i].onclick = click;
|
||||
}
|
||||
}
|
||||
|
||||
function over() {
|
||||
this.style.border='1px dotted white';
|
||||
}
|
||||
|
||||
function out() {
|
||||
this.style.border='1px solid gray';
|
||||
}
|
||||
|
||||
function click() {
|
||||
selectColor(this.id);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body bgcolor="white" onLoad="InitColorPalette()" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0">
|
||||
<table width="150" height="100" cellpadding="0" cellspacing="1" border="1" align="center">
|
||||
<tr>
|
||||
<td id="#FFFFFF" bgcolor="#FFFFFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFCCCC" bgcolor="#FFCCCC" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFCC99" bgcolor="#FFCC99" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFFF99" bgcolor="#FFFF99" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFFFCC" bgcolor="#FFFFCC" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#99FF99" bgcolor="#99FF99" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#99FFFF" bgcolor="#99FFFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#CCFFFF" bgcolor="#CCFFFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#CCCCFF" bgcolor="#CCCCFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFCCFF" bgcolor="#FFCCFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="#CCCCCC" bgcolor="#CCCCCC" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FF6666" bgcolor="#FF6666" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FF9966" bgcolor="#FF9966" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFFF66" bgcolor="#FFFF66" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFFF33" bgcolor="#FFFF33" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#66FF99" bgcolor="#66FF99" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#33FFFF" bgcolor="#33FFFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#66FFFF" bgcolor="#66FFFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#9999FF" bgcolor="#9999FF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FF99FF" bgcolor="#FF99FF" width="10" height="10"><img width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="#C0C0C0" bgcolor="#C0C0C0" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FF0000" bgcolor="#FF0000" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FF9900" bgcolor="#FF9900" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFCC66" bgcolor="#FFCC66" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFFF00" bgcolor="#FFFF00" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#33FF33" bgcolor="#33FF33" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#66CCCC" bgcolor="#66CCCC" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#33CCFF" bgcolor="#33CCFF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#6666CC" bgcolor="#6666CC" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#CC66CC" bgcolor="#CC66CC" width="10" height="10"><img width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="#999999" bgcolor="#999999" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#CC0000" bgcolor="#CC0000" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FF6600" bgcolor="#FF6600" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFCC33" bgcolor="#FFCC33" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#FFCC00" bgcolor="#FFCC00" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#33CC00" bgcolor="#33CC00" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#00CCCC" bgcolor="#00CCCC" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#3366FF" bgcolor="#3366FF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#6633FF" bgcolor="#6633FF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#CC33CC" bgcolor="#CC33CC" width="10" height="10"><img width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="#666666" bgcolor="#666666" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#990000" bgcolor="#990000" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#CC6600" bgcolor="#CC6600" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#CC9933" bgcolor="#CC9933" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#999900" bgcolor="#999900" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#009900" bgcolor="#009900" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#339999" bgcolor="#339999" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#3333FF" bgcolor="#3333FF" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#6600CC" bgcolor="#6600CC" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#993399" bgcolor="#993399" width="10" height="10"><img width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="#333333" bgcolor="#333333" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#660000" bgcolor="#660000" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#993300" bgcolor="#993300" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#996633" bgcolor="#996633" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#666600" bgcolor="#666600" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#006600" bgcolor="#006600" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#336666" bgcolor="#336666" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#000099" bgcolor="#000099" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#333399" bgcolor="#333399" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#663366" bgcolor="#663366" width="10" height="10"><img width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="#000000" bgcolor="#000000" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#330000" bgcolor="#330000" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#663300" bgcolor="#663300" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#663333" bgcolor="#663333" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#333300" bgcolor="#333300" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#003300" bgcolor="#003300" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#003333" bgcolor="#003333" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#000066" bgcolor="#000066" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#330099" bgcolor="#330099" width="10" height="10"><img width="1" height="1"></td>
|
||||
<td id="#330033" bgcolor="#330033" width="10" height="10"><img width="1" height="1"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -7,15 +7,15 @@ function write_rte_html()
|
||||
|
||||
format_select = '<!--<select class="rteselectbox" id="formatblock" onchange="do_select(this.id);">';
|
||||
format_select += ' <option value="">[Style]</option>';
|
||||
format_select += ' <option value="<p>">Ïàðàãðàô</option>';
|
||||
format_select += ' <option value="<h1>">Çàãîëîâîê 1 <h1></option>';
|
||||
format_select += ' <option value="<h2>">Çàãîëîâîê 2 <h2></option>';
|
||||
format_select += ' <option value="<h3>">Çàãîëîâîê 3 <h3></option>';
|
||||
format_select += ' <option value="<h4>">Çàãîëîâîê 4 <h4></option>';
|
||||
format_select += ' <option value="<h5>">Çàãîëîâîê 5 <h5></option>';
|
||||
format_select += ' <option value="<h6>">Çàãîëîâîê 6 <h6></option>';
|
||||
format_select += ' <option value="<address>">Àäðåñ <ADDR></option>';
|
||||
format_select += ' <option value="<pre>">Ôîðìàòèðîâàíèå <pre></option>';
|
||||
format_select += ' <option value="<p>">Paragraph</option>';
|
||||
format_select += ' <option value="<h1>">Heading 1 <h1></option>';
|
||||
format_select += ' <option value="<h2>">Heading 2 <h2></option>';
|
||||
format_select += ' <option value="<h3>">Heading 3 <h3></option>';
|
||||
format_select += ' <option value="<h4>">Heading 4 <h4></option>';
|
||||
format_select += ' <option value="<h5>">Heading 5 <h5></option>';
|
||||
format_select += ' <option value="<h6>">Heading 6 <h6></option>';
|
||||
format_select += ' <option value="<address>">Address <ADDR></option>';
|
||||
format_select += ' <option value="<pre>">Formatted <pre></option>';
|
||||
format_select += '</select>-->';
|
||||
|
||||
font_select = '<select class="rteselectbox" id="fontname" onchange="do_select(this.id)">';
|
||||
@@ -30,57 +30,58 @@ function write_rte_html()
|
||||
// Set up buttons
|
||||
//-------------------------------
|
||||
|
||||
button_removeform = '<td><div id="do_removeformat"><img class="rteimage" src="' + g_imagesPath + 'removeformat.gif" width="25" height="24" alt="'+js_tt_noformat+'" title="'+js_tt_noformat+'" onClick="format_text(\'removeformat\', \'\')"></div></td>';
|
||||
button_removeform = '<td><div id="do_removeformat"><img class="rteimage" src="' + g_imagesPath + 'removeformat.gif" width="25" height="24" alt="'+js_tt_noformat+'" title="'+js_tt_noformat+'" onClick="format_text(\'removeformat\', \'\')" /></div></td>';
|
||||
|
||||
button_SEP = '<td><img class="rteVertSep" src="' + g_imagesPath + 'blackdot.gif" width="1" height="20" border="0" alt=""></td>';
|
||||
button_DOTS = '<td><img class="rteVertSep" src="' + g_imagesPath + 'rte_dots.gif" width="3" height="15" border="0" alt=""></td>';
|
||||
button_SEP = '<td><img class="rteVertSep" src="' + g_imagesPath + 'blackdot.gif" width="1" height="20" border="0" alt="" /></td>';
|
||||
button_DOTS = '<td><img class="rteVertSep" src="' + g_imagesPath + 'rte_dots.gif" width="3" height="15" border="0" alt="" /></td>';
|
||||
|
||||
button_bold = '<td><div id="do_bold"><img class="rteimage" src="' + g_imagesPath + 'bold.gif" width="25" height="24" alt="'+js_tt_bold+'" title="'+js_tt_bold+'" onClick="format_text(\'bold\', \'\')"></div></td>';
|
||||
button_italic = '<td><div id="do_italic"><img class="rteimage" src="' + g_imagesPath + 'italic.gif" width="25" height="24" alt="'+js_tt_italic+'" title="'+js_tt_italic+'" onClick="format_text(\'italic\', \'\')"></div></td>';
|
||||
button_underline = '<td><div id="do_underline"><img class="rteimage" src="' + g_imagesPath + 'underline.gif" width="25" height="24" alt="'+js_tt_underline+'" title="'+js_tt_underline+'" onClick="format_text(\'underline\', \'\')"></div></td>';
|
||||
button_strike = '<td><div id="do_strikethrough"><img class="rteimage" src="' + g_imagesPath + 'strike.gif" width="25" height="24" alt="'+js_tt_strike+'" title="'+js_tt_strike+'" onClick="format_text(\'strikethrough\', \'\')"></div></td>';
|
||||
button_bold = '<td><div id="do_bold"><img class="rteimage" src="' + g_imagesPath + 'bold.gif" width="25" height="24" alt="'+js_tt_bold+'" title="'+js_tt_bold+'" onClick="format_text(\'bold\', \'\')" /></div></td>';
|
||||
button_italic = '<td><div id="do_italic"><img class="rteimage" src="' + g_imagesPath + 'italic.gif" width="25" height="24" alt="'+js_tt_italic+'" title="'+js_tt_italic+'" onClick="format_text(\'italic\', \'\')" /></div></td>';
|
||||
button_underline = '<td><div id="do_underline"><img class="rteimage" src="' + g_imagesPath + 'underline.gif" width="25" height="24" alt="'+js_tt_underline+'" title="'+js_tt_underline+'" onClick="format_text(\'underline\', \'\')" /></div></td>';
|
||||
button_strike = '<td><div id="do_strikethrough"><img class="rteimage" src="' + g_imagesPath + 'strike.gif" width="25" height="24" alt="'+js_tt_strike+'" title="'+js_tt_strike+'" onClick="format_text(\'strikethrough\', \'\')" /></div></td>';
|
||||
|
||||
/* Not required in IPB */
|
||||
//button_table = '<td><div><img class="rteimage" src="' + g_imagesPath + 'rte_table.gif" alt="Insert Table" title="Insert Table" onClick="launch_table();"></div></td>';
|
||||
//button_div = '<td><div><img class="rteimage" src="' + g_imagesPath + 'rte_div.gif" alt="Insert DIV" title="Insert DIV" onClick="launch_div();"></div></td>';
|
||||
//button_subscript = '<td><div id="do_subscript"><img class="rteimage" src="' + g_imagesPath + 'subscript.gif" width="25" height="24" alt="Subscript" title="Subscript" onClick="format_text(\'subscript\', \'\')"></div></td>';
|
||||
//button_supscript = '<td><div id="do_superscript"><img class="rteimage" src="' + g_imagesPath + 'superscript.gif" width="25" height="24" alt="Superscript" title="Superscript" onClick="format_text(\'superscript\', \'\')"></div></td>';
|
||||
button_subscript = '<td><div id="do_subscript"><img class="rteimage" src="' + g_imagesPath + 'subscript.gif" width="25" height="24" alt="'+js_tt_sub+'" title="Subscript" onClick="format_text(\'subscript\', \'\')" /></div></td>';
|
||||
button_supscript = '<td><div id="do_superscript"><img class="rteimage" src="' + g_imagesPath + 'superscript.gif" width="25" height="24" alt="'+js_tt_sup+'" title="Superscript" onClick="format_text(\'superscript\', \'\')" /></div></td>';
|
||||
//button_hr = '<td><div><img class="rteimage" src="' + g_imagesPath + 'hr.gif" width="25" height="24" alt="Horizontal Rule" title="Horizontal Rule" onClick="format_text(\'inserthorizontalrule\', \'\')"></div></td>';
|
||||
//button_just_full = '<td><div id="do_justifyfull"><img class="rteimage" src="' + g_imagesPath + 'justifyfull.gif" width="25" height="24" alt="Justify Full" title="Justify Full" onclick="format_text(\'justifyfull\', \'\')"></div></td>';
|
||||
|
||||
//button_smilies = '<td><div id="popsmilies"><img class="rteimage" src="' + g_imagesPath + 'hr.gif" width="25" height="24" alt="Horizontal Rule" title="Horizontal Rule" onClick="show_smilies();"></div></td>';
|
||||
|
||||
|
||||
button_just_left = '<td><div id="do_justifyleft"><img class="rteimage" src="' + g_imagesPath + 'left_just.gif" width="25" height="24" alt="'+js_tt_left+'" title="'+js_tt_left+'" onClick="format_text(\'justifyleft\', \'\')"></div></td>';
|
||||
button_just_center = '<td><div id="do_justifycenter"><img class="rteimage" src="' + g_imagesPath + 'centre.gif" width="25" height="24" alt="'+js_tt_center+'" title="'+js_tt_center+'" onClick="format_text(\'justifycenter\', \'\')"></div></td>';
|
||||
button_just_right = '<td><div id="do_justifyright"><img class="rteimage" src="' + g_imagesPath + 'right_just.gif" width="25" height="24" alt="'+js_tt_right+'" title="'+js_tt_right+'" onClick="format_text(\'justifyright\', \'\')"></div></td>';
|
||||
button_just_left = '<td><div id="do_justifyleft"><img class="rteimage" src="' + g_imagesPath + 'left_just.gif" width="25" height="24" alt="'+js_tt_left+'" title="'+js_tt_left+'" onClick="format_text(\'justifyleft\', \'\')" /></div></td>';
|
||||
button_just_center = '<td><div id="do_justifycenter"><img class="rteimage" src="' + g_imagesPath + 'centre.gif" width="25" height="24" alt="'+js_tt_center+'" title="'+js_tt_center+'" onClick="format_text(\'justifycenter\', \'\')" /></div></td>';
|
||||
button_just_right = '<td><div id="do_justifyright"><img class="rteimage" src="' + g_imagesPath + 'right_just.gif" width="25" height="24" alt="'+js_tt_right+'" title="'+js_tt_right+'" onClick="format_text(\'justifyright\', \'\')" /></div></td>';
|
||||
|
||||
button_list_num = '<td><div><img class="rteimage" src="' + g_imagesPath + 'numbered_list.gif" width="25" height="24" alt="'+js_tt_list+'" title="'+js_tt_list+'" onClick="format_text(\'insertorderedlist\', \'\')"></div></td>';
|
||||
button_list_bullet = '<td><div><img class="rteimage" src="' + g_imagesPath + 'list.gif" width="25" height="24" alt="'+js_tt_list+'" title="'+js_tt_list+'" onClick="format_text(\'insertunorderedlist\', \'\')"></div></td>';
|
||||
button_list_num = '<td><div><img class="rteimage" src="' + g_imagesPath + 'numbered_list.gif" width="25" height="24" alt="'+js_tt_list+'" title="'+js_tt_list+'" onClick="format_text(\'insertorderedlist\', \'\')" /></div></td>';
|
||||
button_list_bullet = '<td><div><img class="rteimage" src="' + g_imagesPath + 'list.gif" width="25" height="24" alt="'+js_tt_list+'" title="'+js_tt_list+'" onClick="format_text(\'insertunorderedlist\', \'\')" /></div></td>';
|
||||
|
||||
button_outdent = '<td><div id="do_outdent"><img class="rteimage" src="' + g_imagesPath + 'outdent.gif" width="25" height="24" alt="'+js_tt_outdent+'" title="'+js_tt_outdent+'" onClick="format_text(\'outdent\', \'\')"></div></td>';
|
||||
button_indent = '<td><div id="do_indent"><img class="rteimage" src="' + g_imagesPath + 'indent.gif" width="25" height="24" alt="'+js_tt_indent+'" title="'+js_tt_indent+'" onClick="format_text(\'indent\', \'\')"></div></td>';
|
||||
button_outdent = '<td><div id="do_outdent"><img class="rteimage" src="' + g_imagesPath + 'outdent.gif" width="25" height="24" alt="'+js_tt_outdent+'" title="'+js_tt_outdent+'" onClick="format_text(\'outdent\', \'\')" /></div></td>';
|
||||
button_indent = '<td><div id="do_indent"><img class="rteimage" src="' + g_imagesPath + 'indent.gif" width="25" height="24" alt="'+js_tt_indent+'" title="'+js_tt_indent+'" onClick="format_text(\'indent\', \'\')" /></div></td>';
|
||||
|
||||
button_col_for = '<td><div id="forecolor"><div><img class="rteimage" src="' + g_imagesPath + 'textcolor.gif" width="25" height="24" alt="'+js_tt_font_col+'" title="'+js_tt_font_col+'" onClick="format_text(\'forecolor\', \'\')"></div></div></td>';
|
||||
button_col_back = '<!--<td><div id="hilitecolor"><div><img class="rteimage" src="' + g_imagesPath + 'bgcolor.gif" width="25" height="24" alt="'+js_tt_back_col+'" title="'+js_tt_back_col+'" onClick="format_text(\'hilitecolor\', \'\')"></div></div></td>-->';
|
||||
button_col_for = '<td><div id="forecolor"><div><img class="rteimage" src="' + g_imagesPath + 'textcolor.gif" width="25" height="24" alt="'+js_tt_font_col+'" title="'+js_tt_font_col+'" onClick="format_text(\'forecolor\', \'\')" /></div></div></td>';
|
||||
button_col_back = '<!--<td><div id="hilitecolor"><div><img class="rteimage" src="' + g_imagesPath + 'bgcolor.gif" width="25" height="24" alt="'+js_tt_back_col+'" title="'+js_tt_back_col+'" onClick="format_text(\'hilitecolor\', \'\')" /></div></div></td>-->';
|
||||
|
||||
button_link = '<td><div><img class="rteimage" src="' + g_imagesPath + 'hyperlink.gif" width="25" height="24" alt="'+js_tt_link+'" title="'+js_tt_link+'" onClick="format_text(\'createlink\')"></div></td>';
|
||||
button_image = '<td><div><img class="rteimage" src="' + g_imagesPath + 'image.gif" width="25" height="24" alt="'+js_tt_image+'" title="'+js_tt_image+'" onClick="add_image()"></div></td>';
|
||||
button_email = '<td><div><img class="rteimage" src="' + g_imagesPath + 'email.gif" width="25" height="24" alt="'+js_tt_email+'" title="'+js_tt_email+'" onClick="add_email()"></div></td>';
|
||||
button_link = '<td><div><img class="rteimage" src="' + g_imagesPath + 'hyperlink.gif" width="25" height="24" alt="'+js_tt_link+'" title="'+js_tt_link+'" onClick="format_text(\'createlink\')" /></div></td>';
|
||||
button_image = '<td><div><img class="rteimage" src="' + g_imagesPath + 'image.gif" width="25" height="24" alt="'+js_tt_image+'" title="'+js_tt_image+'" onClick="add_image()" /></div></td>';
|
||||
button_email = '<td><div><img class="rteimage" src="' + g_imagesPath + 'email.gif" width="25" height="24" alt="'+js_tt_email+'" title="'+js_tt_email+'" onClick="add_email()" /></div></td>';
|
||||
button_unlink = '<td><div><img class="rteimage" src="' + g_imagesPath + 'hyperlink_x.gif" width="25" height="24" alt="'+js_tt_unlink+'" title="'+js_tt_unlink+'" onClick="format_text(\'unlink\')" /></div></td>';
|
||||
|
||||
button_quote = '<td><div><img class="rteimage" src="' + g_imagesPath + 'quote.gif" width="21" height="21" alt="'+js_tt_quote+'" title="'+js_tt_quote+'" onClick="wrap_tags(\'[quote]\',\'[/quote]\')"></div></td>';
|
||||
button_code = '<td><div><img class="rteimage" src="' + g_imagesPath + 'code.gif" width="21" height="21" alt="'+js_tt_code+'" title="'+js_tt_code+'" onclick="wrap_tags(\'[code]\',\'[/code]\')"></div></td>';
|
||||
button_quote = '<td><div><img class="rteimage" src="' + g_imagesPath + 'quote.gif" width="21" height="21" alt="'+js_tt_quote+'" title="'+js_tt_quote+'" onClick="wrap_tags(\'[quote]\',\'[/quote]\')" /></div></td>';
|
||||
button_code = '<td><div><img class="rteimage" src="' + g_imagesPath + 'code.gif" width="21" height="21" alt="'+js_tt_code+'" title="'+js_tt_code+'" onClick="wrap_tags(\'[code]\',\'[/code]\')" /></div></td>';
|
||||
|
||||
|
||||
button_cut = '<td><div><img class="rteimage" src="' + g_imagesPath + 'cut.gif" width="25" height="24" alt="'+js_tt_cut+'" title="'+js_tt_cut+'" onClick="format_text(\'cut\')"></div></td>';
|
||||
button_copy = '<td><div><img class="rteimage" src="' + g_imagesPath + 'copy.gif" width="25" height="24" alt="'+js_tt_copy+'" title="'+js_tt_copy+'" onClick="format_text(\'copy\')"></div></td>';
|
||||
button_paste = '<td><div><img class="rteimage" src="' + g_imagesPath + 'paste.gif" width="25" height="24" alt="'+js_tt_paste+'" title="'+js_tt_paste+'" onClick="format_text(\'paste\')"></div></td>';
|
||||
button_undo = '<td><div><img class="rteimage" src="' + g_imagesPath + 'undo.gif" width="25" height="24" alt="'+js_tt_undo+'" title="'+js_tt_undo+'" onClick="format_text(\'undo\')"></div></td>';
|
||||
button_redo = '<td><div><img class="rteimage" src="' + g_imagesPath + 'redo.gif" width="25" height="24" alt="'+js_tt_redo+'" title="'+js_tt_redo+'" onClick="format_text(\'redo\')"></div></td>';
|
||||
button_cut = '<td><div><img class="rteimage" src="' + g_imagesPath + 'cut.gif" width="25" height="24" alt="'+js_tt_cut+'" title="'+js_tt_cut+'" onClick="format_text(\'cut\')" /></div></td>';
|
||||
button_copy = '<td><div><img class="rteimage" src="' + g_imagesPath + 'copy.gif" width="25" height="24" alt="'+js_tt_copy+'" title="'+js_tt_copy+'" onClick="format_text(\'copy\')" /></div></td>';
|
||||
button_paste = '<td><div><img class="rteimage" src="' + g_imagesPath + 'paste.gif" width="25" height="24" alt="'+js_tt_paste+'" title="'+js_tt_paste+'" onClick="format_text(\'paste\')" /></div></td>';
|
||||
button_undo = '<td><div><img class="rteimage" src="' + g_imagesPath + 'undo.gif" width="25" height="24" alt="'+js_tt_undo+'" title="'+js_tt_undo+'" onClick="format_text(\'undo\')" /></div></td>';
|
||||
button_redo = '<td><div><img class="rteimage" src="' + g_imagesPath + 'redo.gif" width="25" height="24" alt="'+js_tt_redo+'" title="'+js_tt_redo+'" onClick="format_text(\'redo\')" /></div></td>';
|
||||
|
||||
if (isIE)
|
||||
{
|
||||
button_spell = '<td><div><img class="rteimage" src="' + g_imagesPath + 'spellcheck.gif" width="25" height="24" alt="Ïðîâåðêà îðôîãðàôèè" title="Ïðîâåðêà îðôîãðàôèè" onClick="checkspell()"></td>' + button_SEP;
|
||||
button_spell = '<td><div><img class="rteimage" src="' + g_imagesPath + 'spellcheck.gif" width="25" height="24" alt="Spell Check" title="Spell Check" onClick="checkspell()" /></td>' + button_SEP;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -124,9 +125,9 @@ function write_rte_html()
|
||||
bar_buttons_two += " <td width='1%' align='left' nowrap='nowrap'>\n";
|
||||
bar_buttons_two += " <table cellpadding='0' cellspacing='0' width='100%'>\n";
|
||||
bar_buttons_two += " <tr>\n";
|
||||
bar_buttons_two += " " + button_DOTS + button_bold + "\n" + button_italic + "\n" + button_underline + "\n" + button_strike + "\n" + button_SEP
|
||||
bar_buttons_two += " " + button_DOTS + button_bold + "\n" + button_italic + "\n" + button_underline + "\n" + button_strike + "\n" + button_subscript + "\n" + button_supscript + "\n" + button_SEP
|
||||
+ "\n" + button_col_for + "\n" + button_col_back + "\n" + button_SEP
|
||||
+ "\n" + button_link + "\n" + button_image + "\n" + button_email + "\n" + button_SEP + button_quote + button_code; // + button_SEP + button_smilies + "\n";
|
||||
+ "\n" + button_link + "\n" + button_image + "\n" + button_email + "\n" + button_unlink + "\n" + button_SEP + button_quote + button_code; // + button_SEP + button_smilies + "\n";
|
||||
bar_buttons_two += " </tr>\n";
|
||||
bar_buttons_two += " </table>\n";
|
||||
bar_buttons_two += " </td>\n";
|
||||
|
||||
Reference in new issue
Block a user