From 1ee64389ab95305fc5907b958d3ae641adf8252b Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 14 Apr 2009 09:19:59 +0000 Subject: [PATCH] =?UTF-8?q?table=5Fmaker=20=EC=97=90=EB=94=94=ED=84=B0=20?= =?UTF-8?q?=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6102 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../editor/components/table_maker/icon.gif | Bin 1140 -> 0 bytes .../editor/components/table_maker/info.xml | 29 -- .../components/table_maker/lang/en.lang.php | 24 -- .../components/table_maker/lang/es.lang.php | 24 -- .../components/table_maker/lang/jp.lang.php | 24 -- .../components/table_maker/lang/ko.lang.php | 24 -- .../components/table_maker/lang/ru.lang.php | 24 -- .../table_maker/lang/zh-CN.lang.php | 24 -- .../table_maker/lang/zh-TW.lang.php | 24 -- .../table_maker/table_maker.class.php | 37 --- .../table_maker/tpl/images/blank.gif | Bin 43 -> 0 bytes .../table_maker/tpl/images/border_dotted.gif | Bin 86 -> 0 bytes .../tpl/images/border_left_dotted.gif | Bin 79 -> 0 bytes .../tpl/images/border_left_solid.gif | Bin 77 -> 0 bytes .../table_maker/tpl/images/border_solid.gif | Bin 89 -> 0 bytes .../components/table_maker/tpl/popup.css | 51 ---- .../components/table_maker/tpl/popup.html | 137 ---------- .../components/table_maker/tpl/popup.js | 257 ------------------ 18 files changed, 679 deletions(-) delete mode 100644 modules/editor/components/table_maker/icon.gif delete mode 100644 modules/editor/components/table_maker/info.xml delete mode 100644 modules/editor/components/table_maker/lang/en.lang.php delete mode 100644 modules/editor/components/table_maker/lang/es.lang.php delete mode 100644 modules/editor/components/table_maker/lang/jp.lang.php delete mode 100644 modules/editor/components/table_maker/lang/ko.lang.php delete mode 100644 modules/editor/components/table_maker/lang/ru.lang.php delete mode 100644 modules/editor/components/table_maker/lang/zh-CN.lang.php delete mode 100644 modules/editor/components/table_maker/lang/zh-TW.lang.php delete mode 100644 modules/editor/components/table_maker/table_maker.class.php delete mode 100644 modules/editor/components/table_maker/tpl/images/blank.gif delete mode 100644 modules/editor/components/table_maker/tpl/images/border_dotted.gif delete mode 100644 modules/editor/components/table_maker/tpl/images/border_left_dotted.gif delete mode 100644 modules/editor/components/table_maker/tpl/images/border_left_solid.gif delete mode 100644 modules/editor/components/table_maker/tpl/images/border_solid.gif delete mode 100644 modules/editor/components/table_maker/tpl/popup.css delete mode 100644 modules/editor/components/table_maker/tpl/popup.html delete mode 100644 modules/editor/components/table_maker/tpl/popup.js diff --git a/modules/editor/components/table_maker/icon.gif b/modules/editor/components/table_maker/icon.gif deleted file mode 100644 index f321742846c30183707c184b24632bc0dd0af299..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1140 zcmchU{WIGK0LGJuMWhr{Z|7756UADcu4z^EyvFJ#%H}Is54Gy4Gl$K*6-m6sORcjQ z$ChpywAuz)B#pOZ5>4#3V(YTo*%Z-eEb{&?neLC+=a=WV=X1|JDcIz*n0#;0MbHib zWHK2I2EEZ}P^VpGoLt}k) z&8PLZYFgV`>gubFCWB6|H5m1uS6Axwx+Y?STCJ?Dt5O|yTFkc^YHMmgBR7-ye7;B| zVzb#S7HfKXdTwq`E|*VDO)V}i3WdVe)m0vk$Ki0eT&_SMU^1Cvv3O%+V`*t=W@cu7 zeqN(h@9*y^6mrG>o@`gD)~IB=+bY$*(Wu|r{>yH+=?yxQ*`!n|)Q2Nf3XN7}v)i;f z&BI3z9y1=^e=x#kPjfizCr>z4)fE&R7HfFfQCUw;CE*&7KtByw|0D={43(b?7A6;8VSW$&HdzD{Zf?#j?N-(JCW4d9RA z6I=mz7#x6tAoTv6E>xOpHZUFtFu;xovUjh)0Zpc47JpUGZ`yK^e#(BQNdpSJ@d=q^DOiEl1<0a3Jb@O?wgJ*!NbSc?(R)MnC)0!OX;uQ0 zE*wwts2sh4iz1ANeI#a%tqsQz7-3%v;0lf~=eA1I{AchX9B(^zt<#~GG?4#Ke) zA9mAzv}9tXpo7SzXN(m{oj+*iIlfwg7(G z^Tq-tf+gFexc$r^A~G?Xd}jjT?pAlKUWUqydjnnA9hH&4{Y7eM`|t|l!|`|lI5!b3 z?afL?|L%M`11F_sm!A3&o||kU<7u%-X?qxXEa~dl_^SBC#9%uSUK~VSj_N!pr^8Q< zRs+{X5o - - 표(table) 생성 - テーブル作成 - 表格 - Create Table - Crear Tabla - Создание таблиц - 表格 - 에디터에 표(table)을 생성하거나 표(table) 또는 칸(td)의 속성을 변경할 수 있습니다. - エディターでテーブル(table)の作成、テーブル(table)またはセル(td)の属性の変更が出来ます。 - 插入表格(table)或编辑表格属性。 - It can create a table on editor or modify the attribution of table or td. - Se puede crear una tabla en editor o modificar la atribución de la mesa o td. - Это может создать таблицу в редакторе или изменить ее параметры или ячейки. - 插入表格(table)或编辑表格属性。 - 0.1 - 2007-02-28 - - - zero - zero - zero - zero - zero - zero - zero - - diff --git a/modules/editor/components/table_maker/lang/en.lang.php b/modules/editor/components/table_maker/lang/en.lang.php deleted file mode 100644 index 9f6e7c853..000000000 --- a/modules/editor/components/table_maker/lang/en.lang.php +++ /dev/null @@ -1,24 +0,0 @@ - - * @brief editor module > language pack of table_maker component - **/ - - $lang->table_attribute = "Change Table Attibution"; - $lang->cell_attribute = "Change Cell Attribution"; - - $lang->table_width = "Width"; - $lang->table_cols_count = "Number of Columns"; - $lang->table_rows_count = "Number of Rows"; - $lang->table_cellspacing = "Cellspacing"; - $lang->table_cellpadding = "Cellpadding"; - $lang->table_border = "Border Thicknes"; - $lang->table_inner_border = "Inner Line Thickness"; - - $lang->cell_width = "Width"; - $lang->cell_height = "Height"; - - $lang->table_border_color = "Border Color"; - $lang->table_bg_color = "Background Color"; -?> diff --git a/modules/editor/components/table_maker/lang/es.lang.php b/modules/editor/components/table_maker/lang/es.lang.php deleted file mode 100644 index c8657f632..000000000 --- a/modules/editor/components/table_maker/lang/es.lang.php +++ /dev/null @@ -1,24 +0,0 @@ - - * @brief editor module > language pack of table_maker component - **/ - - $lang->table_attribute = "Cambiar el cuadro Attibution"; - $lang->cell_attribute = "Cambio de celda Atribucion"; - - $lang->table_width = "Ancho"; - $lang->table_cols_count = "Numero de columnas"; - $lang->table_rows_count = "Numero de filas"; - $lang->table_cellspacing = "Cellspacing"; - $lang->table_cellpadding = "Cellpadding"; - $lang->table_border = "Thicknes Frontera"; - $lang->table_inner_border = "Inner Grosor de linea"; - - $lang->cell_width = "Ancho"; - $lang->cell_height = "Altura"; - - $lang->table_border_color = "Color del borde"; - $lang->table_bg_color = "Color de fondo"; -?> diff --git a/modules/editor/components/table_maker/lang/jp.lang.php b/modules/editor/components/table_maker/lang/jp.lang.php deleted file mode 100644 index bd3026495..000000000 --- a/modules/editor/components/table_maker/lang/jp.lang.php +++ /dev/null @@ -1,24 +0,0 @@ - 翻訳:RisaPapa、ミニミ - * @brief ウィジウィグエディター(editor) > テーブル生成(table_maker)コンポーネントの言語パッケージ - **/ - - $lang->table_attribute = "テーブル属性変更"; - $lang->cell_attribute = "セル属性変更"; - - $lang->table_width = "横幅サイズ"; - $lang->table_cols_count = "縦幅サイズ"; - $lang->table_rows_count = "列(Rows)数"; - $lang->table_cellspacing = "セルの間隔"; - $lang->table_cellpadding = "セル内余白"; - $lang->table_border = "ボーダー"; - $lang->table_inner_border = "ボーダー境界線の太さ"; - - $lang->cell_width = "セル横幅"; - $lang->cell_height = "セル縦幅"; - - $lang->table_border_color = "ボーダーカラー"; - $lang->table_bg_color = "背景色"; -?> diff --git a/modules/editor/components/table_maker/lang/ko.lang.php b/modules/editor/components/table_maker/lang/ko.lang.php deleted file mode 100644 index 8de490f10..000000000 --- a/modules/editor/components/table_maker/lang/ko.lang.php +++ /dev/null @@ -1,24 +0,0 @@ - - * @brief 위지윅에디터(editor) 모듈 > 테이블 생성(table_maker) 컴포넌트의 언어팩 - **/ - - $lang->table_attribute = "테이블 속성 변경"; - $lang->cell_attribute = "셀 속성 변경"; - - $lang->table_width = "가로크기"; - $lang->table_cols_count = "가로열 갯수"; - $lang->table_rows_count = "세로열 갯수"; - $lang->table_cellspacing = "셀간 간격"; - $lang->table_cellpadding = "셀내 여백"; - $lang->table_border = "외곽선 굵기"; - $lang->table_inner_border = "구분선 굵기"; - - $lang->cell_width = "가로크기 "; - $lang->cell_height = "세로 크기 "; - - $lang->table_border_color = "외곽선 색"; - $lang->table_bg_color = "배경 색"; -?> diff --git a/modules/editor/components/table_maker/lang/ru.lang.php b/modules/editor/components/table_maker/lang/ru.lang.php deleted file mode 100644 index 2599d54de..000000000 --- a/modules/editor/components/table_maker/lang/ru.lang.php +++ /dev/null @@ -1,24 +0,0 @@ - | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467; - * @brief editor module > language pack of table_maker component - **/ - - $lang->table_attribute = "Изменить параметры таблицы"; - $lang->cell_attribute = "Изменить параметры ячейки"; - - $lang->table_width = "Ширина"; - $lang->table_cols_count = "Число колонок"; - $lang->table_rows_count = "Число рядков"; - $lang->table_cellspacing = "Пространство ячеек (Cellspacing)"; - $lang->table_cellpadding = "Отступ ячеек (Cellpadding)"; - $lang->table_border = "Толщина рамки"; - $lang->table_inner_border = "Толщина внутренней линии"; - - $lang->cell_width = "Ширина"; - $lang->cell_height = "Высота"; - - $lang->table_border_color = "Цвет рамки"; - $lang->table_bg_color = "Цвет фона"; -?> diff --git a/modules/editor/components/table_maker/lang/zh-CN.lang.php b/modules/editor/components/table_maker/lang/zh-CN.lang.php deleted file mode 100644 index 8027bf68c..000000000 --- a/modules/editor/components/table_maker/lang/zh-CN.lang.php +++ /dev/null @@ -1,24 +0,0 @@ - - * @brief 网页编辑器(editor) 模块 > 表格生成(table_maker) 组件的语言包 - **/ - - $lang->table_attribute = "修改表格属性"; - $lang->cell_attribute = "修改单元格属性"; - - $lang->table_width = "宽度"; - $lang->table_cols_count = "行数"; - $lang->table_rows_count = "列数"; - $lang->table_cellspacing = "单元格间距"; - $lang->table_cellpadding = "单元格边距"; - $lang->table_border = "边框粗细"; - $lang->table_inner_border = "区分线粗细"; - - $lang->cell_width = "宽度 "; - $lang->cell_height = "高度 "; - - $lang->table_border_color = "边框颜色"; - $lang->table_bg_color = "背景颜色"; -?> diff --git a/modules/editor/components/table_maker/lang/zh-TW.lang.php b/modules/editor/components/table_maker/lang/zh-TW.lang.php deleted file mode 100644 index b14414b00..000000000 --- a/modules/editor/components/table_maker/lang/zh-TW.lang.php +++ /dev/null @@ -1,24 +0,0 @@ - 翻譯:royallin - * @brief 網頁編輯器(editor) 模組 > 表格(table_maker) 組件的語言 - **/ - - $lang->table_attribute = "修改表格屬性"; - $lang->cell_attribute = "修改儲存格屬性"; - - $lang->table_width = "寬度"; - $lang->table_cols_count = "行數"; - $lang->table_rows_count = "列數"; - $lang->table_cellspacing = "儲存格間距"; - $lang->table_cellpadding = "儲存格邊距"; - $lang->table_border = "邊框粗細"; - $lang->table_inner_border = "區分線粗細"; - - $lang->cell_width = "寬度 "; - $lang->cell_height = "高度 "; - - $lang->table_border_color = "邊框顏色"; - $lang->table_bg_color = "背景顏色"; -?> diff --git a/modules/editor/components/table_maker/table_maker.class.php b/modules/editor/components/table_maker/table_maker.class.php deleted file mode 100644 index 3eddb7878..000000000 --- a/modules/editor/components/table_maker/table_maker.class.php +++ /dev/null @@ -1,37 +0,0 @@ -editor_sequence = $editor_sequence; - $this->component_path = $component_path; - } - - /** - * @brief popup window요청시 popup window에 출력할 내용을 추가하면 된다 - **/ - function getPopupContent() { - // 템플릿을 미리 컴파일해서 컴파일된 소스를 return - $tpl_path = $this->component_path.'tpl'; - $tpl_file = 'popup.html'; - - Context::set("tpl_path", $tpl_path); - - $oTemplate = &TemplateHandler::getInstance(); - return $oTemplate->compile($tpl_path, $tpl_file); - } - - } -?> diff --git a/modules/editor/components/table_maker/tpl/images/blank.gif b/modules/editor/components/table_maker/tpl/images/blank.gif deleted file mode 100644 index 35d42e808f0a8017b8d52a06be2f8fec0b466a66..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 43 scmZ?wbhEHbWMp7uXkcLY|NlP&1B2pE7Dgb&paUX6G7L;iE{qJ;0LZEa`2YX_ diff --git a/modules/editor/components/table_maker/tpl/images/border_dotted.gif b/modules/editor/components/table_maker/tpl/images/border_dotted.gif deleted file mode 100644 index eaf1ae7380f9ef1f732ca0cb8a033756257196f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 86 zcmZ?wbhEHblw%NJXkcXc4+e@qSr{1@7#VaJfB+=Jz@*#Kzw-23>88$LrYhZIThsSv lUUQzNc5<%AtX1>4kNdpdlK;D_2T_CF`v4l^-W0{|8oA^QLT diff --git a/modules/editor/components/table_maker/tpl/images/border_left_dotted.gif b/modules/editor/components/table_maker/tpl/images/border_left_dotted.gif deleted file mode 100644 index 101259cb729e738a231d0f830ca6bdcb0f79bf67..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 79 zcmZ?wbhEHblw%NJXkcXc4+e@qSr{1@7#VaJfB+=Jz@*mFzw-23*+a86gR&g=>Ez$@ deDJw?6u6{s(tfs+rMOJ+_T6qkb%J(0IMn^>;M1& diff --git a/modules/editor/components/table_maker/tpl/popup.css b/modules/editor/components/table_maker/tpl/popup.css deleted file mode 100644 index d488d7274..000000000 --- a/modules/editor/components/table_maker/tpl/popup.css +++ /dev/null @@ -1,51 +0,0 @@ -@charset "utf-8"; -@import url(../../../../../modules/admin/tpl/css/admin.css); - -#table_option { border:1px solid #EEEEEE; padding:.5em; color:#555555; font-weight:bold; } -#table_option input { vertical-align:middle; } -#table_option label { margin-left:.3em; margin-right:2em; } - -li { list-style:none; float:left; margin-right:5px; } - -img.color_icon { - width:14px; - height:14px; - border:1px solid #FFFFFF; -} - -img.color_icon_over { - width:14px; - height:14px; - border:1px solid #000000; - cursor:pointer; -} - -img.border_preview_color { - width:30px; - height:16px; - border:1px solid #EEEEEE; - background-color:#000000; -} - -img.border_preview_none_color { - width:30px; - height:12px; - border:1px solid #EEEEEE; - background-color:#FFFFFF; -} - -img.bg_preview_color { - width:30px; - height:16px; - border:1px solid #000000; - background-color:#FFFFFF; -} - -.editor_color_box { - clear:both; - height:65px; - width:400px; - border:1px solid #DDDDDD; - padding:2px; - margin-bottom:3px; -} diff --git a/modules/editor/components/table_maker/tpl/popup.html b/modules/editor/components/table_maker/tpl/popup.html deleted file mode 100644 index 75a8c8987..000000000 --- a/modules/editor/components/table_maker/tpl/popup.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - -
-

{$component_info->title} ver. {$component_info->version}

-
- -
- -
- - -
- - - - - - - - - - - - - - - - - - - - -
{$lang->table_cellspacing}
px
{$lang->table_cellpadding}
px
{$lang->table_border}
px
{$lang->table_inner_border}
px
- - - - - - -
- - -
diff --git a/modules/editor/components/table_maker/tpl/popup.js b/modules/editor/components/table_maker/tpl/popup.js deleted file mode 100644 index caed7459b..000000000 --- a/modules/editor/components/table_maker/tpl/popup.js +++ /dev/null @@ -1,257 +0,0 @@ -/** - * popup으로 열렸을 경우 부모창의 위지윅에디터에 select된 멀티미디어 컴포넌트 코드를 체크하여 - * 있으면 가져와서 원하는 곳에 삽입 - **/ -var selected_node = null; -function getTable() { - // 부모 위지윅 에디터에서 선택된 영역이 있는지 확인 - if(typeof(opener)=="undefined") return; - - var node = opener.editorPrevNode; - selected_node = node; - - // 선택된 객체가 없으면 테이블 새로 추가 - if(!selected_node) { - doSelectOption('table'); - } else { - doSelectOption('cell'); - } - - setFixedPopupSize(); -} - -/* 테이블, 셀 선택 옵션의 처리 */ -function doSelectOption(type) { - - // 셀 변경 - if(selected_node && type == "cell") { - xGetElementById("table_option").style.display = "block"; - xGetElementById("cell_attribute").style.display = "block"; - - var cell_width = selected_node.style.width.replace(/(px|\%)$/,''); - var cell_width_unit = selected_node.style.width.replace(/^([0-9]+)/,''); - var cell_height = selected_node.style.height.replace(/px$/,''); - - var border_color = selected_node.style.borderColor.replace(/^#/,''); - if(border_color.indexOf('rgb')>-1) { - var tmp_color = border_color.replace(/([a-z\(\) ]*)/ig,'').split(','); - border_color = xHex(tmp_color[0], 2, '')+xHex(tmp_color[1], 2, '')+xHex(tmp_color[2], 2, ''); - } - - var bg_color = selected_node.style.backgroundColor.replace(/^#/,''); - if(bg_color.indexOf('rgb')>-1) { - var tmp_color = bg_color.replace(/([a-z\(\) ]*)/ig,'').split(','); - bg_color = xHex(tmp_color[0], 2, '')+xHex(tmp_color[1], 2, '')+xHex(tmp_color[2], 2, ''); - } - if(!bg_color) bg_color = "FFFFFF"; - - xGetElementById("cell_width").value = cell_width?cell_width:0; - if(cell_width_unit=="px") xGetElementById("cell_width_unit_pixel").checked = "true"; - else xGetElementById("cell_width_unit_percent").value = "true"; - xGetElementById("cell_height").value = cell_height?cell_height:0; - - xGetElementById("border_color_input").value = border_color; - manual_select_color("border", xGetElementById("border_color_input")) - xGetElementById("bg_color_input").value = bg_color; - manual_select_color("bg", xGetElementById("bg_color_input")) - - xGetElementById("table_attribute").style.display = "none"; - xGetElementById("cell_attribute").style.display = "block"; - xGetElementById("cell_attribute_select").checked = true; - xGetElementById("border_color_area").style.display = "none"; - xGetElementById("bg_color_area").style.display = "block"; - - // 테이블 변경 - } else { - var table_obj = xParent(selected_node); - while(table_obj && table_obj.nodeName != "TABLE") { table_obj = xParent(table_obj); } - if(!table_obj) xGetElementById("col_row_area").style.display = "block"; - else { - xGetElementById("col_row_area").style.display = "none"; - - var width = table_obj.width.replace(/\%/,''); - var width_unit = table_obj.width.replace(/^([0-9]+)/,''); - if(!width_unit) xGetElementById("width_unit_pixel").checked = "true"; - else xGetElementById("width_unit_percent").value = "true"; - - var border = table_obj.style.borderLeftWidth.replace(/px$/,''); - if(!border) border = 0; - var inner_border = table_obj.getAttribute("border"); - if(!inner_border) inner_border = 0; - var cellspacing = table_obj.getAttribute("cellspacing"); - if(!cellspacing) cellspacing = 0; - var cellpadding = table_obj.getAttribute("cellpadding"); - if(!cellpadding) cellpadding = 1; - - var border_color = table_obj.style.borderColor.replace(/^#/,''); - if(border_color.indexOf('rgb')>-1) { - var tmp_color = border_color.replace(/([a-z\(\) ]*)/ig,'').split(','); - border_color = xHex(tmp_color[0], 2, '')+xHex(tmp_color[1], 2, '')+xHex(tmp_color[2], 2, ''); - } - - var bg_color = table_obj.style.backgroundColor.replace(/^#/,''); - if(bg_color.indexOf('rgb')>-1) { - var tmp_color = bg_color.replace(/([a-z\(\) ]*)/ig,'').split(','); - bg_color = xHex(tmp_color[0], 2, '')+xHex(tmp_color[1], 2, '')+xHex(tmp_color[2], 2, ''); - } - - xGetElementById("border_color_input").value = border_color; - manual_select_color("border", xGetElementById("border_color_input")) - xGetElementById("bg_color_input").value = bg_color; - manual_select_color("bg", xGetElementById("bg_color_input")) - - xGetElementById("width").value = width; - xGetElementById("border").value = border; - xGetElementById("inner_border").value = inner_border; - xGetElementById("cellspacing").value = cellspacing; - xGetElementById("cellpadding").value = cellpadding - } - xGetElementById("table_attribute").style.display = "block"; - xGetElementById("cell_attribute").style.display = "none"; - xGetElementById("table_attribute_select").checked = true; - xGetElementById("border_color_area").style.display = "block"; - xGetElementById("bg_color_area").style.display = "block"; - } - - setFixedPopupSize(); -} - -/* 추가 버튼 클릭시 부모창의 위지윅 에디터에 인용구 추가 */ -function insertTable() { - if(typeof(opener)=="undefined") return; - - var table_obj = null; - - if(selected_node) { - table_obj = xParent(selected_node); - while(table_obj && table_obj.nodeName != "TABLE") { table_obj = xParent(table_obj); } - } - - // 테이블 생성일 경우 - if(xGetElementById("table_attribute_select").checked && !table_obj) { - var cols_count = parseInt(xGetElementById("cols_count").value,10); - if(!cols_count) cols_count = 1; - - var rows_count = parseInt(xGetElementById("rows_count").value,10); - if(!rows_count) rows_count = 1; - - var width = parseInt(xGetElementById("width").value,10); - var width_unit = "%"; - if(xGetElementById("width_unit_pixel").checked) width_unit = ""; - - var border = parseInt(xGetElementById("border").value,10); - var inner_border = parseInt(xGetElementById("inner_border").value,10); - var cellspacing = parseInt(xGetElementById("cellspacing").value,10); - var cellpadding = parseInt(xGetElementById("cellpadding").value,10); - var border_color = xGetElementById("border_color_input").value; - if(border_color.length!=6) border_color = "000000"; - - var bg_color = xGetElementById("bg_color_input").value; - if(bg_color.length!=6) bg_color = "FFFFFF"; - - var text = ""; - text += "0) text += " style=\"border:"+border+"px solid #"+border_color+";background-color:#"+bg_color+"\" "; - text +=">"; - - for(var row=0; row"; - for(var col=0; col\"color\"<\/div>"; - } else { - return "
\"color\"<\/div>"; - } -} - -xAddEventListener(window, "load", getTable); -