Delete types

This commit is contained in:
2021-09-13 20:31:56 +06:00
parent f0fa97a2ff
commit e1a4f954fd
80 changed files with 692 additions and 641 deletions

View File

@ -1,8 +1,21 @@
//Галерея изображений на первой странице сайта //Галерея изображений на первой странице сайта
function TCGallery(parent) class TCGallery
{ {
this.work = function() constructor(parent)
{
this.test=0;
//Конструктор
this.timeout_id =0;
this.parent=parent;
this.mas = this.getChildsMas(); //Массив элементов которые будут "Галереится"
this.mas.sort(function(a,b){return b.style.zIndex-a.style.zIndex;});
this.firstmas = [].concat(this.mas); //Первоначальный порядок элементов
this.btns = new Array();
}
work()
{ {
if(this.mas[0].style.opacity > 0.05) if(this.mas[0].style.opacity > 0.05)
{ {
@ -15,8 +28,8 @@ function TCGallery(parent)
//Перестовляем Z индексы первый на последнее место (больший наверху) //Перестовляем Z индексы первый на последнее место (больший наверху)
if(this.mas.length>0) if(this.mas.length>0)
{ {
var z=this.mas[this.mas.length-1].style.zIndex; let z=this.mas[this.mas.length-1].style.zIndex;
for(var i=this.mas.length-1;i>0;i--) for(let i=this.mas.length-1;i>0;i--)
{ {
this.mas[i].style.zIndex=this.mas[i-1].style.zIndex this.mas[i].style.zIndex=this.mas[i-1].style.zIndex
} }
@ -24,7 +37,7 @@ function TCGallery(parent)
} }
//Поменяли местами востанавливаем прозрачность //Поменяли местами востанавливаем прозрачность
for(var i=0;i<this.mas.length;i++) for(let i=0;i<this.mas.length;i++)
{ this.mas[i].style.opacity = 1; { this.mas[i].style.opacity = 1;
} }
this.mas.sort(function(a,b){return b.style.zIndex-a.style.zIndex;}); //Сортируем с макс Z индексом наверху в 0ле this.mas.sort(function(a,b){return b.style.zIndex-a.style.zIndex;}); //Сортируем с макс Z индексом наверху в 0ле
@ -32,12 +45,12 @@ function TCGallery(parent)
this.selected(); this.selected();
this.test++; this.test++;
} }
}; }
//Стартуем галерею //Стартуем галерею
this.Start = function() Init()
{ {
var maxz=0; let maxz=0;
for(var i=0;i<this.mas.length;i++) for(let i=0;i<this.mas.length;i++)
{ this.mas[i].style.opacity = 1; { this.mas[i].style.opacity = 1;
if(maxz<this.mas[i].style.zIndex) maxz=this.mas[i].style.zIndex; if(maxz<this.mas[i].style.zIndex) maxz=this.mas[i].style.zIndex;
} }
@ -46,11 +59,11 @@ function TCGallery(parent)
maxz++; maxz++;
//Кнопочки для переключения картинок //Кнопочки для переключения картинок
var cdv=document.createElement('div'); let cdv=document.createElement('div');
cdv.style.cssText='opacity: 0.7; display: block; position: absolute; bottom: 5px; right: 5px; z-index: '+maxz+'; border: solid 0px red;'; cdv.style.cssText='opacity: 0.7; display: block; position: absolute; bottom: 5px; right: 5px; z-index: '+maxz+'; border: solid 0px red;';
for(var i=0;i<this.mas.length;i++) for(let i=0;i<this.mas.length;i++)
{ {
var btn=document.createElement('div'); let btn=document.createElement('div');
btn.style.cssText='cursor: pointer; background-color: #eeeeee; text-align: center; display: inline-block; margin: 2px; border: solid 1px black; width: 17px;'; btn.style.cssText='cursor: pointer; background-color: #eeeeee; text-align: center; display: inline-block; margin: 2px; border: solid 1px black; width: 17px;';
btn.appendChild(document.createTextNode(i+1)); btn.appendChild(document.createTextNode(i+1));
btn.onclick = function(thiz,i){return function(){ thiz.moveTo(i); }; }(this,i); btn.onclick = function(thiz,i){return function(){ thiz.moveTo(i); }; }(this,i);
@ -59,18 +72,18 @@ function TCGallery(parent)
} }
this.parent.appendChild(cdv); this.parent.appendChild(cdv);
if(this.btns.length>0) this.btns[0].style.backgroundColor='#f3af5a'; if(this.btns.length>0) this.btns[0].style.backgroundColor='#f3af5a';
}; }
//Переместить на заданный слой (позиция с 0) //Переместить на заданный слой (позиция с 0)
this.moveTo = function(pos) moveTo(pos)
{ {
if(pos<0 || pos>this.firstmas.length - 1) return; if(pos<0 || pos>this.firstmas.length - 1) return;
var elm=this.firstmas[pos]; let elm=this.firstmas[pos];
for(var j=0;j<this.mas.length;j++) for(let j=0;j<this.mas.length;j++)
{ {
if(this.mas[0]==elm) break; if(this.mas[0]==elm) break;
var z=this.mas[this.mas.length-1].style.zIndex; let z=this.mas[this.mas.length-1].style.zIndex;
for(var i=this.mas.length-1;i>0;i--) for(let i=this.mas.length-1;i>0;i--)
{ {
this.mas[i].style.zIndex=this.mas[i-1].style.zIndex this.mas[i].style.zIndex=this.mas[i-1].style.zIndex
} }
@ -78,67 +91,57 @@ function TCGallery(parent)
this.mas.sort(function(a,b){return b.style.zIndex-a.style.zIndex;}); this.mas.sort(function(a,b){return b.style.zIndex-a.style.zIndex;});
} }
//Поменяли местами востанавливаем прозрачность //Поменяли местами востанавливаем прозрачность
for(var i=0;i<this.mas.length;i++) for(let i=0;i<this.mas.length;i++)
{ this.mas[i].style.opacity = 1.0; { this.mas[i].style.opacity = 1.0;
} }
clearTimeout(this.timeout_id) clearTimeout(this.timeout_id)
this.timeout_id=setTimeout(()=>this.work(),10000); this.timeout_id=setTimeout(()=>this.work(),10000);
this.selected(); this.selected();
}; }
//Поменялся элемент //Поменялся элемент
this.selected = function() selected()
{ {
var pos=0; let pos=0;
for(var i=0;i<this.firstmas.length;i++) for(let i=0;i<this.firstmas.length;i++)
{ if(this.mas[0]==this.firstmas[i]) { if(this.mas[0]==this.firstmas[i])
{ pos=i; { pos=i;
break; break;
} }
} }
//Обнуляем стили //Обнуляем стили
for(var i=0;i<this.btns.length;i++) for(let i=0;i<this.btns.length;i++)
this.btns[i].style.backgroundColor='#eeeeee'; this.btns[i].style.backgroundColor='#eeeeee';
//Выставляем стиль для выбранного элемента //Выставляем стиль для выбранного элемента
this.btns[pos].style.backgroundColor='#f3af5a'; this.btns[pos].style.backgroundColor='#f3af5a';
}; }
//Private //Private
//Получить детей в виде массива //Получить детей в виде массива
this.getChildsMas = function() getChildsMas()
{ {
var mas = new Array(); let mas = new Array();
if(this.parent!==null) if(this.parent!==null)
{ {
var child = this.parent.firstChild; let child = this.parent.firstChild;
while(child) while(child){
{ if(typeof child.style !== "undefined") //Только те где есть стиль if(typeof child.style !== "undefined"){ //Только те где есть стиль
{ mas.push(child); mas.push(child);
} }
child = child.nextSibling; child = child.nextSibling;
} }
} }
return mas; return mas;
}; }
//Private //Private
//Получить позицию по объекту (-1 если ненайден) //Получить позицию по объекту (-1 если ненайден)
this.getPos = function(obj) getPos(obj)
{ {
for(var i=0;i<this.firstmas.length;i++) for(let i=0;i<this.firstmas.length;i++)
{ if(this.firstmas[i]==obj) return i; { if(this.firstmas[i]==obj) return i;
} }
return -1; return -1;
}; }
this.test=0;
//Конструктор
this.timeout_id =0;
this.parent=parent;
this.mas = this.getChildsMas(); //Массив элементов которые будут "Галереится"
this.mas.sort(function(a,b){return b.style.zIndex-a.style.zIndex;});
this.firstmas = [].concat(this.mas); //Первоначальный порядок элементов
this.btns = new Array();
} }
//Галерея изображений на странице товара (Двигается в право в лево) //Галерея изображений на странице товара (Двигается в право в лево)

View File

@ -60,7 +60,7 @@ select
text-align: center; text-align: center;
} }
input[type="text"], input[type="password"], textarea, select { input[type="text"].DBMS, input[type="password"].DBMS, textarea.DBMS, select.DBMS {
background-color : var(--back-color3); background-color : var(--back-color3);
color : var(--main-font-color); color : var(--main-font-color);
border-color: rgb(195, 195, 195); border-color: rgb(195, 195, 195);
@ -68,7 +68,7 @@ input[type="text"], input[type="password"], textarea, select {
} }
input[type="text"]:focus, input[type="password"]:focus, textarea:focus, select:focus { input[type="text"]:focus.DBMS, input[type="password"]:focus.DBMS, textarea:focus.DBMS, select:focus.DBMS {
outline: none !important; outline: none !important;
border-color: rgb(195, 195, 195); border-color: rgb(195, 195, 195);
border-width: 1px; border-width: 1px;
@ -76,10 +76,11 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus, select:f
} }
/*Стили для таблицы которая исполняет роль окна*/ /*Стили для таблицы которая исполняет роль окна*/
.shadow { table.DBMSShadow {
box-shadow: 0 0 10px var(--box-shadow-color); box-shadow: 0 0 10px var(--box-shadow-color);
background-color: var(--back-color); background-color: var(--back-color);
color: var(--main-font-color); color: var(--main-font-color);
border-collapse: collapse;
} }
/* Для полей состояжих из нескольких элементов (поле с кнопочкой допустим) */ /* Для полей состояжих из нескольких элементов (поле с кнопочкой допустим) */

View File

@ -50,7 +50,7 @@ class EdtRec
{ {
this.pBarDiv=document.createElement('div'); this.pBarDiv=document.createElement('div');
this.pBarDiv.style.cssText='position: absolute; left: 0px; top: 0px; z-index: 1; background-color: rgba(0,0,0,0.5); width:100%; height: 100%;'; this.pBarDiv.style.cssText='position: absolute; left: 0px; top: 0px; z-index: 1; background-color: rgba(0,0,0,0.5); width:100%; height: 100%;';
this.pBarDiv.innerHTML='<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" style="vertical-align: middle;"><img src="../resources/metadata/dbms/images/loading.gif" alt=""></td></tr></table>'; this.pBarDiv.innerHTML='<table width="100%" height="100%" cellpadding="0" cellspacing="0"><tr><td align="center" style="vertical-align: middle;"><img src="../resources/metadata/dbms/images/loading.gif" alt=""></td></tr></table>';
let eDiv=document.getElementById('eDiv'+this.uid); let eDiv=document.getElementById('eDiv'+this.uid);
eDiv.appendChild(this.pBarDiv); eDiv.appendChild(this.pBarDiv);
@ -202,9 +202,9 @@ class EdtRec
{ {
if (nodeProp.nodeName=="type") //Grouping fields. if (nodeProp.nodeName=="type") //Grouping fields.
{ {
var tr = document.createElement('tr'); let tr = document.createElement('tr');
tr.setAttribute("bgColor",'#E0E0E0'); tr.style.cssText="background-color: var(--back-color);";
var td = document.createElement('td'); let td = document.createElement('td');
td.style.cssText="font-weight: bold;"; td.style.cssText="font-weight: bold;";
td.colSpan = "2"; td.colSpan = "2";
@ -242,11 +242,12 @@ class EdtRec
if (nodeProp.nodeName=="divide") //Grouping fields. if (nodeProp.nodeName=="divide") //Grouping fields.
{ {
var tr = document.createElement('tr'); var tr = document.createElement('tr');
tr.setAttribute("bgColor",'#E0E0E0'); tr.style.cssText="background-color: var(--back-color-title);";
var td = document.createElement('td'); var td = document.createElement('td');
td.style.cssText="font-weight: bold;"; td.style.cssText="font-weight: bold;";
td.colSpan = "2"; td.colSpan = "2";
td.appendChild(document.createTextNode(nodeProp.getAttribute("d"))); td.innerHTML=nodeProp.getAttribute("d");
tr.appendChild(td); tr.appendChild(td);
eTable.tBodies[0].appendChild(tr); eTable.tBodies[0].appendChild(tr);
}else }else
@ -256,6 +257,7 @@ class EdtRec
var tr = null; var tr = null;
var td1 = null; var td1 = null;
var td2 = null; var td2 = null;
let vt=nodeProp.getAttribute("vt");
var row=nodeProp.getAttribute("row"); //Several fields in the 1st row. var row=nodeProp.getAttribute("row"); //Several fields in the 1st row.
if(row==null) if(row==null)
@ -289,13 +291,19 @@ class EdtRec
td2.setAttribute("width","50%"); td2.setAttribute("width","50%");
//td2.style.width=row+"px"; //td2.style.width=row+"px";
} }
td1.appendChild(document.createTextNode(nodeProp.getAttribute("d")));
if(vt=="html"){
td1.innerHTML=nodeProp.getAttribute("d")+'<br><button class="button-secondary" onclick="showHTMLEditor(\''+nodeProp.getAttribute("d")+'\',\'prop_'+this.uid+'_'+nodeProp.getAttribute("n")+'\');">HTML ...</button>';
}else{
td1.innerHTML=nodeProp.getAttribute("d");
}
if(nodeProp.getAttribute("t")!=null) td1.title=nodeProp.getAttribute("t"); if(nodeProp.getAttribute("t")!=null) td1.title=nodeProp.getAttribute("t");
if (nodeProp.getAttribute("maybenull")=='0') td1.style.cssText="font-weight: bold;"; if (nodeProp.getAttribute("maybenull")=='0') td1.style.cssText="font-weight: bold;";
var value=getCdata(nodeProp).nodeValue; var value=getCdata(nodeProp).nodeValue;
var vt=nodeProp.getAttribute("vt");
if(vt=="string" || vt=="str") if(vt=="string" || vt=="str")
{ {
var table=document.createElement('table'); var table=document.createElement('table');
@ -322,8 +330,9 @@ class EdtRec
newCell1.appendChild(nodeProp.field.getDiv()); newCell1.appendChild(nodeProp.field.getDiv());
}else }else
{ {
input = document.createElement('input'); let input = document.createElement('input');
input.setAttribute("type","text"); input.setAttribute("type","text");
input.classList.add('DBMS');
input.style.cssText="width: 100%;overflow:hidden;"; input.style.cssText="width: 100%;overflow:hidden;";
input.setAttribute("name",nodeProp.getAttribute("n")); input.setAttribute("name",nodeProp.getAttribute("n"));
if(nodeProp.getAttribute("size")!=null) if(nodeProp.getAttribute("size")!=null)
@ -339,7 +348,7 @@ class EdtRec
if(tObj!=null) if(tObj!=null)
{ {
let button = document.createElement('input'); let button = document.createElement('input');
button.className='button-secondary'; button.classList.add('button-secondary');
button.setAttribute("type","button"); button.setAttribute("type","button");
button.setAttribute("value","..."); button.setAttribute("value","...");
button.style.cssText="width:30px;font-size:9pt;margin:0px;padding:0px;"; button.style.cssText="width:30px;font-size:9pt;margin:0px;padding:0px;";
@ -357,6 +366,7 @@ class EdtRec
if(vt=="password") if(vt=="password")
{ {
input = document.createElement('input'); input = document.createElement('input');
input.classList.add('DBMS');
input.style.cssText="width: 100%;"; input.style.cssText="width: 100%;";
input.setAttribute("type","password"); input.setAttribute("type","password");
input.setAttribute("name",nodeProp.getAttribute("n")); input.setAttribute("name",nodeProp.getAttribute("n"));
@ -366,7 +376,8 @@ class EdtRec
}else }else
if(vt=="b") if(vt=="b")
{ {
var select = document.createElement('select'); let select = document.createElement('select');
select.classList.add('DBMS');
select.style.cssText="width: 100%;"; select.style.cssText="width: 100%;";
select.setAttribute("name",nodeProp.getAttribute("n")); select.setAttribute("name",nodeProp.getAttribute("n"));
var opt=findFirstNode(nodeProp,"options"); var opt=findFirstNode(nodeProp,"options");
@ -409,10 +420,11 @@ class EdtRec
//alert2(trt('Alert'),"prop name = "+nodeProp.getAttribute("n")); //alert2(trt('Alert'),"prop name = "+nodeProp.getAttribute("n"));
//If there is a node "list" with the elements "CheckBox" then create them. //If there is a node "list" with the elements "CheckBox" then create them.
var opt=findNode(nodeProp, "options"); let opt=findNode(nodeProp, "options");
if(opt!=null) //If combobox if(opt!=null) //If combobox
{ {
var select = document.createElement('select'); let select = document.createElement('select');
select.classList.add('DBMS');
select.style.cssText="width: 100%;"; select.style.cssText="width: 100%;";
select.setAttribute("name",nodeProp.getAttribute("n")); select.setAttribute("name",nodeProp.getAttribute("n"));
select.setAttribute("id","prop_"+this.uid+"_"+nodeProp.getAttribute("n")); select.setAttribute("id","prop_"+this.uid+"_"+nodeProp.getAttribute("n"));
@ -445,6 +457,7 @@ class EdtRec
newCell3.style.cssText="padding:0px;height:100%;"; newCell3.style.cssText="padding:0px;height:100%;";
input = document.createElement('input'); input = document.createElement('input');
input.classList.add('DBMS');
input.style.cssText="width: 100%; height:22px;"; input.style.cssText="width: 100%; height:22px;";
input.setAttribute("type","text"); input.setAttribute("type","text");
input.setAttribute("name",nodeProp.getAttribute("n")); input.setAttribute("name",nodeProp.getAttribute("n"));
@ -452,8 +465,8 @@ class EdtRec
input.setAttribute("id","prop_"+this.uid+"_"+nodeProp.getAttribute("n")); input.setAttribute("id","prop_"+this.uid+"_"+nodeProp.getAttribute("n"));
newCell1.appendChild( input ); newCell1.appendChild( input );
button = document.createElement('input'); let button = document.createElement('input');
button.className='button-secondary'; button.classList.add('button-secondary');
button.setAttribute("type","button"); button.setAttribute("type","button");
button.setAttribute("value","+"); button.setAttribute("value","+");
button.setAttribute("title",trt("Increase_by_1")); button.setAttribute("title",trt("Increase_by_1"));
@ -463,7 +476,7 @@ class EdtRec
newCell2.appendChild( button ); newCell2.appendChild( button );
button = document.createElement('input'); button = document.createElement('input');
button.className='button-secondary'; button.classList.add('button-secondary');
button.setAttribute("type","button"); button.setAttribute("type","button");
button.setAttribute("value","-"); button.setAttribute("value","-");
button.setAttribute("title",trt("Decrease_by_1")); button.setAttribute("title",trt("Decrease_by_1"));
@ -476,7 +489,8 @@ class EdtRec
}else }else
if(vt=="f4") if(vt=="f4")
{ {
input = document.createElement('input'); let input = document.createElement('input');
input.classList.add('DBMS');
input.style.cssText="width: 100%;"; input.style.cssText="width: 100%;";
input.setAttribute("type","text"); input.setAttribute("type","text");
input.setAttribute("name",nodeProp.getAttribute("n")); input.setAttribute("name",nodeProp.getAttribute("n"));
@ -500,7 +514,8 @@ class EdtRec
var newCell2 = newRow.insertCell(1); //in the created line we add a column var newCell2 = newRow.insertCell(1); //in the created line we add a column
newCell2.style.cssText="padding:0px;height:100%;"; newCell2.style.cssText="padding:0px;height:100%;";
select = document.createElement('select'); let select = document.createElement('select');
select.classList.add('DBMS');
select.style.cssText="width: 100%; height:22px; line-height: 22px;"; select.style.cssText="width: 100%; height:22px; line-height: 22px;";
select.setAttribute("name",nodeProp.getAttribute("n")); select.setAttribute("name",nodeProp.getAttribute("n"));
//select.setAttribute("value",value) does not work because when creating no values in the list //select.setAttribute("value",value) does not work because when creating no values in the list
@ -515,8 +530,8 @@ class EdtRec
//cmbInp.addEventListener(IndexChangeEvent.CHANGE,onComboObjectChangeHandler); //cmbInp.addEventListener(IndexChangeEvent.CHANGE,onComboObjectChangeHandler);
var button = document.createElement('input'); let button = document.createElement('input');
button.className='button-secondary'; button.classList.add('button-secondary');
button.setAttribute("type","button"); button.setAttribute("type","button");
button.setAttribute("value","..."); button.setAttribute("value","...");
button.style.cssText="width:30px;font-size:9pt;margin:0px;padding:0px;height:100%;"; button.style.cssText="width:30px;font-size:9pt;margin:0px;padding:0px;height:100%;";
@ -571,6 +586,7 @@ class EdtRec
//two elements are placed in the table //two elements are placed in the table
input = document.createElement('input'); input = document.createElement('input');
input.classList.add('DBMS');
//After pressing "Enter" we pass the entered line to the server. //After pressing "Enter" we pass the entered line to the server.
input.onkeydown=this.onCallFV(nodeProp.getAttribute("ot"),nodeProp.getAttribute("FieldCaption"),input,nodeProp.getAttribute("n"),nodeProp.getAttribute("fn")); input.onkeydown=this.onCallFV(nodeProp.getAttribute("ot"),nodeProp.getAttribute("FieldCaption"),input,nodeProp.getAttribute("n"),nodeProp.getAttribute("fn"));
input.style.cssText="width: 100%; height:22px; line-height: 22px;"; input.style.cssText="width: 100%; height:22px; line-height: 22px;";
@ -584,8 +600,8 @@ class EdtRec
hidden.setAttribute("id","prop_"+this.uid+"_"+nodeProp.getAttribute("n")); hidden.setAttribute("id","prop_"+this.uid+"_"+nodeProp.getAttribute("n"));
hidden.value=value; hidden.value=value;
newCell1.appendChild(hidden); newCell1.appendChild(hidden);
var button = document.createElement('input'); let button = document.createElement('input');
button.className='button-secondary'; button.classList.add('button-secondary');
button.setAttribute("type","button"); button.setAttribute("type","button");
button.setAttribute("value","..."); button.setAttribute("value","...");
button.style.cssText="width:30px;font-size:9pt;margin:0px;padding:0px;"; button.style.cssText="width:30px;font-size:9pt;margin:0px;padding:0px;";
@ -608,6 +624,7 @@ class EdtRec
}else }else
if(vt=="text") { if(vt=="text") {
let ta = document.createElement('textarea') let ta = document.createElement('textarea')
ta.classList.add('DBMS');
ta.setAttribute("id", "prop_" + this.uid + "_" + nodeProp.getAttribute("n")); ta.setAttribute("id", "prop_" + this.uid + "_" + nodeProp.getAttribute("n"));
ta.style.cssText = "width: 100%;"; ta.style.cssText = "width: 100%;";
ta.setAttribute("rows", 4); ta.setAttribute("rows", 4);
@ -618,6 +635,7 @@ class EdtRec
}else }else
if(vt=="html"){ if(vt=="html"){
let ta = document.createElement('textarea') let ta = document.createElement('textarea')
ta.classList.add('DBMS');
ta.setAttribute("id", "prop_" + this.uid + "_" + nodeProp.getAttribute("n")); ta.setAttribute("id", "prop_" + this.uid + "_" + nodeProp.getAttribute("n"));
ta.style.cssText = "width: 100%;"; ta.style.cssText = "width: 100%;";
ta.setAttribute("rows", 4); ta.setAttribute("rows", 4);
@ -651,6 +669,7 @@ class EdtRec
//Two elements are placed in the table //Two elements are placed in the table
input = document.createElement('input'); input = document.createElement('input');
input.classList.add('dbms');
//After pressing Enter we pass the entered line to the server //After pressing Enter we pass the entered line to the server
//input.onkeydown=this.onCallFV(nodeProp.getAttribute("ot"),nodeProp.getAttribute("FieldCaption"),input,nodeProp.getAttribute("n"),nodeProp.getAttribute("fn")) //input.onkeydown=this.onCallFV(nodeProp.getAttribute("ot"),nodeProp.getAttribute("FieldCaption"),input,nodeProp.getAttribute("n"),nodeProp.getAttribute("fn"))
input.style.cssText="width: 100%; color: #777777;"; input.style.cssText="width: 100%; color: #777777;";
@ -662,7 +681,7 @@ class EdtRec
//Button to send the file to the server //Button to send the file to the server
let btnSel = document.createElement('input'); let btnSel = document.createElement('input');
btnSel.className='button-secondary'; btnSel.classList.add('button-secondary');
btnSel.setAttribute("type","button"); btnSel.setAttribute("type","button");
btnSel.setAttribute("value","..."); btnSel.setAttribute("value","...");
btnSel.setAttribute("title",trt('Upload')); btnSel.setAttribute("title",trt('Upload'));
@ -671,6 +690,7 @@ class EdtRec
newCell2.appendChild(btnSel); newCell2.appendChild(btnSel);
let button2 = document.createElement('input'); let button2 = document.createElement('input');
button2.classList.add('button-secondary');
button2.className='button-secondary'; button2.className='button-secondary';
button2.setAttribute("type","button"); button2.setAttribute("type","button");
button2.setAttribute("value","X"); button2.setAttribute("value","X");
@ -716,7 +736,8 @@ class EdtRec
var newCell2 = newRow.insertCell(1); var newCell2 = newRow.insertCell(1);
newCell2.style.cssText="padding:0px;"; newCell2.style.cssText="padding:0px;";
input = document.createElement('input'); let input = document.createElement('input');
input.classList.add('DBMS');
input.style.cssText="width: 100%;"; input.style.cssText="width: 100%;";
input.setAttribute("type","text"); input.setAttribute("type","text");
input.setAttribute("name",nodeProp.getAttribute("n")); input.setAttribute("name",nodeProp.getAttribute("n"));
@ -757,7 +778,8 @@ class EdtRec
}); });
}else }else
{ {
input = document.createElement('input'); let input = document.createElement('input');
input.classList.add('DBMS');
input.style.cssText="width: 100%;"; input.style.cssText="width: 100%;";
input.setAttribute("type","text"); input.setAttribute("type","text");
input.setAttribute("name",nodeProp.getAttribute("n")); input.setAttribute("name",nodeProp.getAttribute("n"));
@ -780,8 +802,8 @@ class EdtRec
tr.appendChild(td); tr.appendChild(td);
//var td = document.createElement('td'); //var td = document.createElement('td');
td.setAttribute("align","right"); td.setAttribute("align","right");
button = document.createElement('input'); let button = document.createElement('input');
button.className='button-secondary'; button.classList.add('button-secondary');
button.setAttribute("type","button"); button.setAttribute("type","button");
button.style.cssText="margin:0px;margin-right:1px;"; button.style.cssText="margin:0px;margin-right:1px;";
button.setAttribute("value",trt('Apply')); button.setAttribute("value",trt('Apply'));
@ -789,8 +811,8 @@ class EdtRec
td.appendChild( button ); td.appendChild( button );
button = document.createElement('input'); //Button cancel button = document.createElement('input'); //Button cancel
button.classList.add('button-secondary');
button.setAttribute("type","button"); button.setAttribute("type","button");
button.className='button-secondary';
button.style.cssText="margin:0px;"; button.style.cssText="margin:0px;";
button.setAttribute("value",trt('Cancel')); button.setAttribute("value",trt('Cancel'));
//button.onclick=function f_exit(this) { alert2(trt('Alert'),this.win.div); } //button.onclick=function f_exit(this) { alert2(trt('Alert'),this.win.div); }
@ -1516,14 +1538,15 @@ class TCheckboxListField
} }
addCheckbox(value, name) { addCheckbox(value, name) {
var input = document.createElement('input'); let input = document.createElement('input');
input.classList.add('DBMS');
this.array.push(input); this.array.push(input);
input.setAttribute("type", "checkbox"); input.setAttribute("type", "checkbox");
input.setAttribute("value", value); input.setAttribute("value", value);
var label = document.createElement("Label"); let label = document.createElement("Label");
// label.setAttribute("for",id_from_input); // label.setAttribute("for",id_from_input);
label.appendChild(input); label.appendChild(input);
label.appendChild(document.createTextNode(" " + name + " ")); label.appendChild(document.createTextNode(" " + name + " "));

View File

@ -98,10 +98,10 @@ class DBMSUser
this.win.setSize("350px","200px"); this.win.setSize("350px","200px");
var str='<div style="width: 100%; height: 100%; padding: 3px; text-align: left;">\n\ var str='<div style="width: 100%; height: 100%; padding: 3px; text-align: left;">\n\
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%;">\n\ <table cellpadding="0" cellspacing="0" style="width: 100%; height: 100%;">\n\
<tbody>\n\ <tbody>\n\
<tr><td>\n\ <tr><td>\n\
<table border="0" style="width: 100%; height: 100%;">\n\ <table style="width: 100%; height: 100%;">\n\
<tr>\n\ <tr>\n\
<td style="padding: 2px; width: 30%; white-space: nowrap"><b>'+trt('Login')+' (E-mail):</b></td>\n\ <td style="padding: 2px; width: 30%; white-space: nowrap"><b>'+trt('Login')+' (E-mail):</b></td>\n\
<td style="padding: 2px;"><input type="text" maxlength="50" style="width: 100%; padding: 2px; display: inline;" id="tcLogin'+this.uid+'" name="login"><br></td>\n\ <td style="padding: 2px;"><input type="text" maxlength="50" style="width: 100%; padding: 2px; display: inline;" id="tcLogin'+this.uid+'" name="login"><br></td>\n\
@ -228,7 +228,7 @@ class DBMSUser
win.setCaption(trt("Password_recovery")); win.setCaption(trt("Password_recovery"));
str='<div style="width: 100%; height: 100%; padding: 4px; text-align: left;">\n\ str='<div style="width: 100%; height: 100%; padding: 4px; text-align: left;">\n\
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%; padding: 0px;">\n\ <table cellpadding="0" cellspacing="0" style="width: 100%; height: 100%; padding: 0px;">\n\
<tr>\n\ <tr>\n\
<td style="padding: 2px; white-space: nowrap"><b>'+trt('Login')+' (E-mail)</b></td>\n\ <td style="padding: 2px; white-space: nowrap"><b>'+trt('Login')+' (E-mail)</b></td>\n\
<td style="padding: 2px;"><input type="text" maxlength="40" style="width: 100%; display: inline;" id="'+win.uid+'_email" name="login">\n\ <td style="padding: 2px;"><input type="text" maxlength="40" style="width: 100%; display: inline;" id="'+win.uid+'_email" name="login">\n\

View File

@ -69,7 +69,7 @@
if($v=='1') $v='true'; else if($v=='1') $v='true'; else
if($v=='0') $v='false'; if($v=='0') $v='false';
}else }else
if($t=='string' || $t=='text' || $t=='dateTime' || $t=='time' || $t=='date' || $t=='file') { if($t=='string' || $t=='html' || $t=='text' || $t=='dateTime' || $t=='time' || $t=='date' || $t=='file') {
if ($v == '') { if ($v == '') {
$v = 'NULL'; $v = 'NULL';
} else { } else {

View File

@ -127,7 +127,14 @@ class SRec
//Apply the parameters to the current XML filter if there are filter settings in the parent window! //Apply the parameters to the current XML filter if there are filter settings in the parent window!
if(xml===null || typeof(xml) == "undefined" || xml=="") return; if(xml===null || typeof(xml) == "undefined" || xml=="") return;
if(typeof(xml) == "string"){ if(typeof(xml) == "string"){
applyNodeToNode(findFirstNodeOnAttribute(CreateXMLDOC(xml), "type", "n", this.f_TypeName), findFirstNodeOnAttribute(this.nodeMetadata, "type", "n", this.f_TypeName), "n"); let doc=CreateXMLDOC(xml);
if(doc==null)
alert2(trt('Alert'),xml);
else {
let node=findFirstNodeOnAttribute(doc, "type", "n", this.f_TypeName);
if(node!=null)
applyNodeToNode(node, findFirstNodeOnAttribute(this.nodeMetadata, "type", "n", this.f_TypeName), "n");
}
}else }else
if(typeof(xml) == "object"){ if(typeof(xml) == "object"){
if(xml.getAttribute("n")==this.f_TypeName) if(xml.getAttribute("n")==this.f_TypeName)
@ -146,12 +153,12 @@ class SRec
<caption></caption><thead></thead><tbody></tbody>\ <caption></caption><thead></thead><tbody></tbody>\
</table>\ </table>\
</td></tr><tr><td>\ </td></tr><tr><td>\
<table style="width:100%;"><tr><td><img src="../resources/metadata/dbms/images/rplus.png" alt="add" id="SRec_Add_'+this.uid+'" title="'+trt('Add_record')+'" border="0" style="cursor: pointer;"/></td>\ <table style="width:100%;"><tr><td><img src="../resources/metadata/dbms/images/rplus.png" alt="add" id="SRec_Add_'+this.uid+'" title="'+trt('Add_record')+'" style="cursor: pointer;"/></td>\
<td><img src="../resources/metadata/dbms/images/rdel.png" alt="del" id="SRec_Del_'+this.uid+'" title="'+trt('Delete_record')+'" border="0" style="cursor: pointer;"/></td>\ <td><img src="../resources/metadata/dbms/images/rdel.png" alt="del" id="SRec_Del_'+this.uid+'" title="'+trt('Delete_record')+'" style="cursor: pointer;"/></td>\
<td><img src="../resources/metadata/dbms/images/excel.png" alt="excel" id="SRec_Exc_'+this.uid+'" title="'+trt('Export_to_Excel')+'" border="0" style="cursor: pointer;"/></td>\ <td><img src="../resources/metadata/dbms/images/excel.png" alt="excel" id="SRec_Exc_'+this.uid+'" title="'+trt('Export_to_Excel')+'" style="cursor: pointer;"/></td>\
<td style="width: 99%;">&nbsp;</td>\ <td style="width: 99%;">&nbsp;</td>\
<td><img src="../resources/metadata/dbms/images/config.png" alt="'+trt('Settings')+'" id="SRec_Cnf_'+this.uid+'" title="'+trt('Settings')+'" border="0" style="cursor: pointer;"/></td>\ <td><img src="../resources/metadata/dbms/images/config.png" alt="'+trt('Settings')+'" id="SRec_Cnf_'+this.uid+'" title="'+trt('Settings')+'" style="cursor: pointer;"/></td>\
<td><img src="../resources/metadata/dbms/images/refresh.png" alt="'+trt('Refresh')+'" id="SRec_Rfr_'+this.uid+'" title="'+trt('Update')+'" border="0" style="cursor: pointer;"/></td></tr>\ <td><img src="../resources/metadata/dbms/images/refresh.png" alt="'+trt('Refresh')+'" id="SRec_Rfr_'+this.uid+'" title="'+trt('Update')+'" style="cursor: pointer;"/></td></tr>\
</table>\ </table>\
</td></tr><tr><td id="tblContainer_'+this.uid+'" style="vertical-align:top; overflow:hidden; width:100%; height:100%; text-align:center;">\ </td></tr><tr><td id="tblContainer_'+this.uid+'" style="vertical-align:top; overflow:hidden; width:100%; height:100%; text-align:center;">\
<div id="tblSContainer_'+this.uid+'" style="position: absolute; overflow:scroll; width: 400px; height: 400px;">\ <div id="tblSContainer_'+this.uid+'" style="position: absolute; overflow:scroll; width: 400px; height: 400px;">\
@ -209,7 +216,7 @@ class SRec
{ {
this.pBarDiv=document.createElement('div'); this.pBarDiv=document.createElement('div');
this.pBarDiv.style.cssText='position: absolute; left: 0px; top: 0px; z-index: 1; background-color: rgba(0,0,0,0.5); width:100%; height: 100%;'; this.pBarDiv.style.cssText='position: absolute; left: 0px; top: 0px; z-index: 1; background-color: rgba(0,0,0,0.5); width:100%; height: 100%;';
this.pBarDiv.innerHTML='<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" style="vertical-align: middle;"><img src="../resources/metadata/dbms/images/loading.gif" alt=""></td></tr></table>'; this.pBarDiv.innerHTML='<table width="100%" height="100%" cellpadding="0" cellspacing="0"><tr><td align="center" style="vertical-align: middle;"><img src="../resources/metadata/dbms/images/loading.gif" alt=""></td></tr></table>';
let eDiv=document.getElementById('eDiv'+this.uid); let eDiv=document.getElementById('eDiv'+this.uid);
eDiv.appendChild(this.pBarDiv); eDiv.appendChild(this.pBarDiv);
@ -581,6 +588,7 @@ class SRec
newCell2.style.cssText="padding:0px;width:25px;"; newCell2.style.cssText="padding:0px;width:25px;";
let input = document.createElement('input'); let input = document.createElement('input');
input.classList.add('DBMS');
input.style.cssText="width: 100%;"; input.style.cssText="width: 100%;";
input.setAttribute("type","text"); input.setAttribute("type","text");
/*input.onkeydown=function(event){ /*input.onkeydown=function(event){
@ -626,7 +634,8 @@ class SRec
let newCell2 = newRow.insertCell(1); let newCell2 = newRow.insertCell(1);
newCell2.style.cssText="padding:0px;width:25px;"; newCell2.style.cssText="padding:0px;width:25px;";
input = document.createElement('input'); let input = document.createElement('input');
input.classList.add('DBMS');
input.style.cssText="width: 100%;"; input.style.cssText="width: 100%;";
input.setAttribute("type","text"); input.setAttribute("type","text");
/*input.onkeydown=function(event){ /*input.onkeydown=function(event){
@ -662,6 +671,7 @@ class SRec
if (columnNode.getAttribute("vt")==="b") if (columnNode.getAttribute("vt")==="b")
{ {
let select = document.createElement('select'); let select = document.createElement('select');
select.classList.add('DBMS');
select.onkeydown=function(){ select.onkeydown=function(){
if(event.keyCode==13) event.keyCode=9; if(event.keyCode==13) event.keyCode=9;
}; };
@ -706,6 +716,7 @@ class SRec
if (columnNode.getAttribute("vt")==="string") if (columnNode.getAttribute("vt")==="string")
{ {
let input = document.createElement('input'); let input = document.createElement('input');
input.classList.add('DBMS');
input.style.cssText="width: 100%;"; input.style.cssText="width: 100%;";
input.setAttribute("type","text"); input.setAttribute("type","text");
input.onkeydown=function(event){if(event.which==13) event.which=9;}; input.onkeydown=function(event){if(event.which==13) event.which=9;};
@ -730,6 +741,7 @@ class SRec
newCell3.style.cssText="padding:0px;width:25px;height:100%;"; newCell3.style.cssText="padding:0px;width:25px;height:100%;";
let input = document.createElement('input'); let input = document.createElement('input');
input.classList.add('DBMS');
input.style.cssText="width: 100%;"; input.style.cssText="width: 100%;";
input.setAttribute("type","text"); input.setAttribute("type","text");
input.onkeydown=function(){ if(event.keyCode==13) event.keyCode=9; }; input.onkeydown=function(){ if(event.keyCode==13) event.keyCode=9; };
@ -741,7 +753,7 @@ class SRec
newCell1.appendChild( input ); newCell1.appendChild( input );
let button = document.createElement('input'); let button = document.createElement('input');
button.className='button-secondary'; button.classList.add('button-secondary');
button.setAttribute("type","button"); button.setAttribute("type","button");
button.setAttribute("value","+"); button.setAttribute("value","+");
button.style.cssText="height:100%;width:22px;margin:0px;padding:0px;"; button.style.cssText="height:100%;width:22px;margin:0px;padding:0px;";
@ -749,7 +761,7 @@ class SRec
button.onclick=function(inp){return function(){ inp.value=getIntVal(inp.value)+1; }}(input); button.onclick=function(inp){return function(){ inp.value=getIntVal(inp.value)+1; }}(input);
button = document.createElement('input'); button = document.createElement('input');
button.className='button-secondary'; button.classList.add('button-secondary');
button.setAttribute("type","button"); button.setAttribute("type","button");
button.setAttribute("value","-"); button.setAttribute("value","-");
button.style.cssText="height:100%;width:22px;margin:0px;padding:0px;"; button.style.cssText="height:100%;width:22px;margin:0px;padding:0px;";
@ -761,8 +773,9 @@ class SRec
if (columnNode.getAttribute("vt")==="f8") if (columnNode.getAttribute("vt")==="f8")
{ {
let input = document.createElement('input'); let input = document.createElement('input');
input.style.cssText="width: 100%;";
input.setAttribute("type","text"); input.setAttribute("type","text");
button.classList.add('DBMS');
input.style.cssText="width: 100%;";
input.onkeydown=function(){ if(event.keyCode==13) event.keyCode=9; }; input.onkeydown=function(){ if(event.keyCode==13) event.keyCode=9; };
input.setAttribute("name",columnNode.getAttribute("n")); input.setAttribute("name",columnNode.getAttribute("n"));
if(columnNode.getAttribute("size")!=null) if(columnNode.getAttribute("size")!=null)
@ -790,6 +803,7 @@ class SRec
if(selector=="combo") if(selector=="combo")
{ {
let select = document.createElement('select'); let select = document.createElement('select');
select.classList.add('DBMS');
select.style.cssText="width: 100%;"; select.style.cssText="width: 100%;";
select.onkeydown=function(){ if(event.keyCode==13) event.keyCode=9; }; select.onkeydown=function(){ if(event.keyCode==13) event.keyCode=9; };
//select.setAttribute("name",columnNode.getAttribute("n")) //select.setAttribute("name",columnNode.getAttribute("n"))
@ -800,7 +814,7 @@ class SRec
newCell1.appendChild(select); newCell1.appendChild(select);
let button = document.createElement('input'); let button = document.createElement('input');
button.className='button-secondary'; button.classList.add('button-secondary');
button.setAttribute("type","button"); button.setAttribute("type","button");
button.setAttribute("value","..."); button.setAttribute("value","...");
button.style.cssText="display:block; box-sizing: border-box; margin: 0px; padding: 0px;width:100%; height:100%; font-size: 9pt;"; button.style.cssText="display:block; box-sizing: border-box; margin: 0px; padding: 0px;width:100%; height:100%; font-size: 9pt;";
@ -844,6 +858,7 @@ class SRec
{ {
//Two elements are placed in the table //Two elements are placed in the table
let input = document.createElement('input'); let input = document.createElement('input');
input.classList.add('DBMS');
//After pressing Enter we pass the entered line to the server //After pressing Enter we pass the entered line to the server
input.onkeydown=function(obj,val1,val2,val3,val4){ input.onkeydown=function(obj,val1,val2,val3,val4){
return function(e){ return function(e){
@ -869,7 +884,7 @@ class SRec
newCell1.appendChild(hidden); newCell1.appendChild(hidden);
let button = document.createElement('input'); let button = document.createElement('input');
button.className='button-secondary'; button.classList.add('button-secondary');
button.setAttribute("type","button"); button.setAttribute("type","button");
button.setAttribute("value","..."); button.setAttribute("value","...");
button.style.cssText="width:30px; height:100%;margin: 0px; padding: 0px;"; button.style.cssText="width:30px; height:100%;margin: 0px; padding: 0px;";
@ -904,7 +919,7 @@ class SRec
td.setAttribute("align","right"); td.setAttribute("align","right");
let button = document.createElement('input'); let button = document.createElement('input');
button.className='button-secondary'; button.classList.add('button-secondary');
button.setAttribute("type","button"); button.setAttribute("type","button");
button.setAttribute("value",trt("Filtering")); button.setAttribute("value",trt("Filtering"));
button.setAttribute("id","btnfilter_"+this.uid); button.setAttribute("id","btnfilter_"+this.uid);
@ -1187,6 +1202,7 @@ class SRec
if(!(this.f_pD!="1" || nodeRecord.getAttribute("a").indexOf("d")==-1)) if(!(this.f_pD!="1" || nodeRecord.getAttribute("a").indexOf("d")==-1))
{ {
let checkbox = document.createElement('input'); let checkbox = document.createElement('input');
checkbox.classList.add('DBMS');
this.masChBox.push(checkbox); this.masChBox.push(checkbox);
//checkbox.disabled=true; //checkbox.disabled=true;
checkbox.setAttribute("type","checkbox"); checkbox.setAttribute("type","checkbox");

View File

@ -125,7 +125,7 @@ function showProgressBar(obj,img_id)
let pBarDiv=document.createElement('div'); let pBarDiv=document.createElement('div');
pBarDiv.id=obj.id+'_pBar'; pBarDiv.id=obj.id+'_pBar';
pBarDiv.style.cssText='position: absolute; left: 0px; top: 0px; z-index: 1; background-color: rgba(0,0,0,0.5); width:100%; height: 100%;'; pBarDiv.style.cssText='position: absolute; left: 0px; top: 0px; z-index: 1; background-color: rgba(0,0,0,0.5); width:100%; height: 100%;';
pBarDiv.innerHTML='<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" style="vertical-align: middle;"><img src="../resources/metadata/dbms/images/loading'+img_id+'.gif" alt=""></td></tr></table>'; pBarDiv.innerHTML='<table width="100%" height="100%" cellpadding="0" cellspacing="0"><tr><td align="center" style="vertical-align: middle;"><img src="../resources/metadata/dbms/images/loading'+img_id+'.gif" alt=""></td></tr></table>';
obj.appendChild(pBarDiv); obj.appendChild(pBarDiv);
}; };
@ -192,7 +192,7 @@ function alert2(title,text,okFunc=null)
win.BuildGUI(10,10); win.BuildGUI(10,10);
win.setCaption(document.createTextNode(title)); win.setCaption(document.createTextNode(title));
let html='\n\ let html='\n\
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%;">\n\ <table cellpadding="0" cellspacing="0" style="width: 100%; height: 100%;">\n\
<tr>\n\ <tr>\n\
<td colspan="2" style="text-align: center; vertical-align: middle;">'+text+'</td>\n\ <td colspan="2" style="text-align: center; vertical-align: middle;">'+text+'</td>\n\
</tr>\n\ </tr>\n\
@ -219,7 +219,7 @@ function confirm2(title,text,okFunc,cancelFunc)
win.BuildGUI(10,10); win.BuildGUI(10,10);
win.setCaption(document.createTextNode(title)); win.setCaption(document.createTextNode(title));
let html='\n\ let html='\n\
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%;">\n\ <table cellpadding="0" cellspacing="0" style="width: 100%; height: 100%;">\n\
<tr style="width: 100%;">\n\ <tr style="width: 100%;">\n\
<td colspan="3" style="text-align: center; vertical-align: middle; width: 100%;">'+text+'</td>\n\ <td colspan="3" style="text-align: center; vertical-align: middle; width: 100%;">'+text+'</td>\n\
</tr>\n\ </tr>\n\
@ -326,12 +326,15 @@ function validateNumber(myEvent,decimal) {
//Добавить предшествующие нули к цифре //Добавить предшествующие нули к цифре
function pad(number, length) function pad(number, length)
{ {
var str = '' + number; let str = '' + number;
while (str.length < length) while (str.length < length)
{ str = '0' + str; { str = '0' + str;
} }
return str; return str;
} }
//Добавить дней к дате //Добавить дней к дате
function addDays(date, n) function addDays(date, n)
{ {
@ -469,7 +472,7 @@ function eraseCookies()
function move_me(e,win) function move_me(e,win)
{ {
var elem=win.div; let elem=win.div;
if(!e) e = window.event; if(!e) e = window.event;
win.dx=parseInt(elem.style.left)-(e.pageX || e.x); win.dx=parseInt(elem.style.left)-(e.pageX || e.x);
win.dy=parseInt(elem.style.top)-(e.pageY || e.y); win.dy=parseInt(elem.style.top)-(e.pageY || e.y);
@ -478,8 +481,8 @@ function move_me(e,win)
}; };
document.onmousemove = function(e) { document.onmousemove = function(e) {
if(!e) e = window.event; if(!e) e = window.event;
var x2 = e.pageX || e.x; let x2 = e.pageX || e.x;
var y2 = e.pageY || e.y; let y2 = e.pageY || e.y;
elem.style.top = win.dy + y2+'px'; elem.style.top = win.dy + y2+'px';
if(parseInt(elem.style.top)<0) elem.style.top='0px'; if(parseInt(elem.style.top)<0) elem.style.top='0px';
elem.style.left = win.dx + x2+'px'; elem.style.left = win.dx + x2+'px';
@ -494,7 +497,7 @@ function move_me(e,win)
function createImg(src,w,h) function createImg(src,w,h)
{ {
var img=new Image(); let img=new Image();
if ((/MSIE (5\.5|6).+Win/.test(navigator.userAgent))&&(/\.png$/.test(src))) if ((/MSIE (5\.5|6).+Win/.test(navigator.userAgent))&&(/\.png$/.test(src)))
{ {
img.style.cssText="height:"+h+"; width:"+w+"; background:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+src+"' ,sizingMethod='scale');"; img.style.cssText="height:"+h+"; width:"+w+"; background:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+src+"' ,sizingMethod='scale');";
@ -514,7 +517,7 @@ function fixPNG(element)
{ {
if (/MSIE (5\.5|6).+Win/.test(navigator.userAgent)) if (/MSIE (5\.5|6).+Win/.test(navigator.userAgent))
{ {
var src; let src;
if (element.tagName=='IMG') if (element.tagName=='IMG')
{ {
if (/\.png$/.test(element.src)) if (/\.png$/.test(element.src))
@ -632,10 +635,10 @@ function getParam(sParamName,win)
//утилитарная функция из-за различий IE и FF //утилитарная функция из-за различий IE и FF
function getXMLNodeSerialisation(xmlNode) function getXMLNodeSerialisation(xmlNode)
{ {
var text = null; let text = null;
try try
{ {
var serializer = new XMLSerializer(); // Gecko-based browsers, Safari, Opera. let serializer = new XMLSerializer(); // Gecko-based browsers, Safari, Opera.
text = serializer.serializeToString(xmlNode); text = serializer.serializeToString(xmlNode);
} }
catch (e) catch (e)
@ -671,7 +674,7 @@ function createRequestObject()
//создать DOMParser //создать DOMParser
function CreateXMLDOC(xmlString) function CreateXMLDOC(xmlString)
{ {
var xml=null; let xml=null;
if (window.ActiveXObject) if (window.ActiveXObject)
{ {
xml = new ActiveXObject("MSXML2.DOMDocument"); xml = new ActiveXObject("MSXML2.DOMDocument");
@ -679,7 +682,7 @@ function CreateXMLDOC(xmlString)
} }
else if(document.implementation) else if(document.implementation)
{ {
var parser = new DOMParser(); let parser = new DOMParser();
xml = parser.parseFromString(xmlString,"text/xml"); xml = parser.parseFromString(xmlString,"text/xml");
} }
return xml return xml
@ -689,7 +692,7 @@ function findNode(node, nodename, n)
{ {
if (typeof n == "undefined") n = 0; if (typeof n == "undefined") n = 0;
if(node==null) return null; if(node==null) return null;
var nextNode = node.firstChild; let nextNode = node.firstChild;
while (nextNode != null) while (nextNode != null)
{ {
if(nextNode.nodeName.toLowerCase()==nodename.toLowerCase()) return nextNode; if(nextNode.nodeName.toLowerCase()==nodename.toLowerCase()) return nextNode;
@ -702,8 +705,8 @@ function findNodeOnNum(node,nodename,n)
{ {
if (typeof n == "undefined") n = 0; if (typeof n == "undefined") n = 0;
if(node==null) return null; if(node==null) return null;
var nextNode = node.firstChild; let nextNode = node.firstChild;
var i=0 let i=0
while (nextNode != null) while (nextNode != null)
{ {
if(nextNode.nodeName.toLowerCase()==nodename.toLowerCase()) if(nextNode.nodeName.toLowerCase()==nodename.toLowerCase())
@ -719,7 +722,7 @@ function findNodeOnNum(node,nodename,n)
function findNodeOnAttribute(node, nodename,Attribute,val) function findNodeOnAttribute(node, nodename,Attribute,val)
{ {
if(node==null) return null; if(node==null) return null;
var n = node.firstChild; let n = node.firstChild;
while (n != null) while (n != null)
{ {
if((n.nodeName.toLowerCase()==nodename.toLowerCase())&&(n.getAttribute(Attribute)==val)) { if((n.nodeName.toLowerCase()==nodename.toLowerCase())&&(n.getAttribute(Attribute)==val)) {
@ -732,8 +735,8 @@ function findNodeOnAttribute(node, nodename,Attribute,val)
//Вернуть номер узла по атрибуту среди себеподобных (нумерация с 0) //Вернуть номер узла по атрибуту среди себеподобных (нумерация с 0)
function findNumNodeOnAttribute(node, nodename,Attribute,val) function findNumNodeOnAttribute(node, nodename,Attribute,val)
{ if(node==null) return -1; { if(node==null) return -1;
var i=0; let i=0;
var n = node.firstChild; let n = node.firstChild;
while (n != null) while (n != null)
{if(n.nodeName.toLowerCase()==nodename.toLowerCase()) {if(n.nodeName.toLowerCase()==nodename.toLowerCase())
{if(n.getAttribute(Attribute)==val) return i; {if(n.getAttribute(Attribute)==val) return i;
@ -748,8 +751,8 @@ function findNumNodeOnAttribute(node, nodename,Attribute,val)
function findFirstNode(node, nodename) function findFirstNode(node, nodename)
{ {
if(node==null) return null; if(node==null) return null;
var mas=new Array(); let mas=new Array();
var pos=0; let pos=0;
mas[pos] = node.firstChild; mas[pos] = node.firstChild;
while (mas[pos] != null) while (mas[pos] != null)
{ {
@ -787,8 +790,8 @@ function findFirstNode(node, nodename)
function findFirstNodeOnAttribute(node, nodename,Attribute,val) function findFirstNodeOnAttribute(node, nodename,Attribute,val)
{ {
if(node==null) return null; if(node==null) return null;
var mas=new Array(); let mas=new Array();
var pos=0; let pos=0;
mas[pos] = node.firstChild; mas[pos] = node.firstChild;
while (mas[pos] != null) while (mas[pos] != null)
{ {
@ -826,8 +829,8 @@ function findFirstNodeOnAttribute(node, nodename,Attribute,val)
function findNodeOnPath(node, path) function findNodeOnPath(node, path)
{ {
if(node==null) return null; if(node==null) return null;
var Params = path.split("/"); let Params = path.split("/");
for (var i=0;i<Params.length;i++) for (let i=0;i<Params.length;i++)
{ {
if(node==null) return null; if(node==null) return null;
node=findNode(node,Params[i]); node=findNode(node,Params[i]);
@ -838,7 +841,7 @@ function findNodeOnPath(node, path)
function getCdata(node,n) function getCdata(node,n)
{ {
if(node==null) return null; if(node==null) return null;
var r=findNodeOnNum(node,'#cdata-section',n); let r=findNodeOnNum(node,'#cdata-section',n);
if(r==null) if(r==null)
{ {
r=node.ownerDocument.createCDATASection(""); r=node.ownerDocument.createCDATASection("");
@ -850,7 +853,7 @@ function getCdata(node,n)
function getCdataValue(node,n) function getCdataValue(node,n)
{ {
if(node==null) return ''; if(node==null) return '';
var r=findNodeOnNum(node,'#cdata-section',n); let r=findNodeOnNum(node,'#cdata-section',n);
if(r==null) return ''; if(r==null) return '';
return r.nodeValue; return r.nodeValue;
} }
@ -870,7 +873,7 @@ function deleteHTML(obj)
obj=document.getElementById(obj); obj=document.getElementById(obj);
if(obj!=null) if(obj!=null)
{ {
var parent=obj.parentNode; let parent=obj.parentNode;
if(parent!=null) parent.removeChild(obj); if(parent!=null) parent.removeChild(obj);
return true; return true;
} }
@ -907,10 +910,10 @@ function applyNodeToNode(first, second, name)
return; return;
} }
//Если есть совпадающие узлы то передаём в рекурсию если нет то просто копируем //Если есть совпадающие узлы то передаём в рекурсию если нет то просто копируем
var fn=first.firstChild; let fn=first.firstChild;
while (fn !== null) while (fn !== null)
{ {
var sn=null; let sn=null;
if(fn.nodeName!=="#text" && fn.nodeName!=="#cdata-section" && fn.nodeName!=="#comment"){ //потому что для этих getAttribute вызывает ошибку if(fn.nodeName!=="#text" && fn.nodeName!=="#cdata-section" && fn.nodeName!=="#comment"){ //потому что для этих getAttribute вызывает ошибку
sn=findNodeOnAttribute(second,fn.nodeName,name,fn.getAttribute(name)); sn=findNodeOnAttribute(second,fn.nodeName,name,fn.getAttribute(name));
} }
@ -918,7 +921,7 @@ function applyNodeToNode(first, second, name)
if(sn!==null) //Если по имени атрибуту совпали узлы if(sn!==null) //Если по имени атрибуту совпали узлы
{ {
//Переписываем значения атрибутов из первого второму, если их нет то создаются автоматом //Переписываем значения атрибутов из первого второму, если их нет то создаются автоматом
for(i=0;i<fn.attributes.length;i++) for(let i=0;i<fn.attributes.length;i++)
{ sn.setAttribute(fn.attributes[i].nodeName,fn.attributes[i].value); { sn.setAttribute(fn.attributes[i].nodeName,fn.attributes[i].value);
} }
applyNodeToNode(fn,sn,name); //В рекурсию applyNodeToNode(fn,sn,name); //В рекурсию
@ -954,7 +957,7 @@ function replaseTextInCDATA(node,oldStr,newStr)
{ {
if(node===null || oldStr===null || newStr===null) return; if(node===null || oldStr===null || newStr===null) return;
var fn=node.firstChild; let fn=node.firstChild;
while (fn !== null) while (fn !== null)
{ {
if(fn.nodeName=="#cdata-section") if(fn.nodeName=="#cdata-section")
@ -984,7 +987,7 @@ class TRequest
callServer(url,xmlString) callServer(url,xmlString)
{ {
var call=new myXMLHttpRequest(this); let call=new myXMLHttpRequest(this);
return call.callServer(url,xmlString); return call.callServer(url,xmlString);
} }
@ -998,18 +1001,18 @@ class TRequest
xmlHttpRequest.responseXML=CreateXMLDOC(xmlHttpRequest.responseText); xmlHttpRequest.responseXML=CreateXMLDOC(xmlHttpRequest.responseText);
//загрузился xml документ начинаем его разбирать (по id функции в документе) //загрузился xml документ начинаем его разбирать (по id функции в документе)
var xmldoc = xmlHttpRequest.responseXML; let xmldoc = xmlHttpRequest.responseXML;
if(xmldoc==null){ if(xmldoc==null){
alert2(trt('Alert'),trt('Wrong_XML_document')+"!\nXML=("+xmlHttpRequest.responseText+')\nURL=('+url+')\nxmlString=('+xmlString+')'); alert2(trt('Alert'),trt('Wrong_XML_document')+"!\nXML=("+xmlHttpRequest.responseText+')\nURL=('+url+')\nxmlString=('+xmlString+')');
return; return;
} }
var node = xmldoc.documentElement; let node = xmldoc.documentElement;
if((node==null)||(node.getAttribute("fn")==null)) alert(trt('Error')+"\n"+trt('No_data')+"!\n"+xmlHttpRequest.responseText); if((node==null)||(node.getAttribute("fn")==null)) alert(trt('Error')+"\n"+trt('No_data')+"!\n"+xmlHttpRequest.responseText);
else else
{ {
//alert("XML=\n"+getXMLNodeSerialisation(node)); //alert("XML=\n"+getXMLNodeSerialisation(node));
var fn = node.getAttribute("fn"); let fn = node.getAttribute("fn");
if(this.winObj!=null) if(this.winObj!=null)
{ {
//this.winObj.alert("Принятый браузером XML=\n"+getXMLNodeSerialisation(node)); //this.winObj.alert("Принятый браузером XML=\n"+getXMLNodeSerialisation(node));
@ -1182,20 +1185,21 @@ class TWin
if(this.disableClosing) if(this.disableClosing)
return; return;
//Переместил перед удалением компонент так как бывает нужно поработать с ними перед удалением
if(this.onClose!=null)
{
this.onClose();
}
this.hide(true); this.hide(true);
this.setParent(null); this.setParent(null);
for(var i=0;i<this.childs.length;i++) if(this.childs[i]!=null) this.childs[i].parent=null for(let i=0;i<this.childs.length;i++) if(this.childs[i]!=null) this.childs[i].parent=null
//??? зачем коментил (пояснение не понятное)? раскоментил потому что после пересоздания формы HTML id сохранялись (Вот непонятный комент: Закоментил потому что в магазине могут закрыть окно а оно больше не появится...) //??? зачем коментил (пояснение не понятное)? раскоментил потому что после пересоздания формы HTML id сохранялись (Вот непонятный комент: Закоментил потому что в магазине могут закрыть окно а оно больше не появится...)
if(this.div.parentNode!=null) this.div.parentNode.removeChild(this.div); if(this.div.parentNode!=null) this.div.parentNode.removeChild(this.div);
if(this.divsh.parentNode!=null) this.divsh.parentNode.removeChild(this.divsh); if(this.divsh.parentNode!=null) this.divsh.parentNode.removeChild(this.divsh);
this.closed=true; this.closed=true;
if(this.onClose!=null)
{
this.onClose();
}
}; };
//Типа конструктор создать окно с заданой позицией //Типа конструктор создать окно с заданой позицией
@ -1203,7 +1207,7 @@ class TWin
{ {
this.tWinId=Wins.add(this); this.tWinId=Wins.add(this);
/* /*
var hd=''; let hd='';
hd+='<table style="width: 100%;">'; hd+='<table style="width: 100%;">';
hd+=' <tr>'; hd+=' <tr>';
hd+=' <td style="vertical-align:bottom;cursor:move;" id="TWin_H1_'+this.tWinId+'"><img src="../metadata/dbms/form/t1.gif" style="width: 20px; height: 20px; display: block;" alt="" border="0px" draggable="false"/></td>'; hd+=' <td style="vertical-align:bottom;cursor:move;" id="TWin_H1_'+this.tWinId+'"><img src="../metadata/dbms/form/t1.gif" style="width: 20px; height: 20px; display: block;" alt="" border="0px" draggable="false"/></td>';
@ -1217,7 +1221,7 @@ class TWin
hd+=' </tr>'; hd+=' </tr>';
hd+='</table>'; hd+='</table>';
var str=''; let str='';
str+='<table id="TWin_TBL_'+this.tWinId+'" border="0px" style="width: 100%; height: 100%;">'; str+='<table id="TWin_TBL_'+this.tWinId+'" border="0px" style="width: 100%; height: 100%;">';
str+=' <tr id="TWin_H0_'+this.tWinId+'"><td colspan=3>'+hd+'</td></tr>'; str+=' <tr id="TWin_H0_'+this.tWinId+'"><td colspan=3>'+hd+'</td></tr>';
str+=' <tr>'; str+=' <tr>';
@ -1238,7 +1242,7 @@ class TWin
str+='</table>'; str+='</table>';
*/ */
/* /*
var str=''; let str='';
str+='<table id="TWin_TBL_'+this.tWinId+'" class="TWin">'; str+='<table id="TWin_TBL_'+this.tWinId+'" class="TWin">';
str+=' <tr id="TWin_H0_'+this.tWinId+'" style="border-bottom: 1px solid #b3b3b3;"><td></td><td><table style="width: 100%; height: 29px;"><tr><td id="TWin_Ca_'+this.tWinId+'" style="vertical-align: middle; cursor: move; font-weight: bold; white-space: nowrap;"></td><td style="width: 10px; vertical-align: middle;"><img src="../resources/metadata/dbms/form/x.gif" id="TWin_CL_'+this.tWinId+'" style="cursor:pointer;"></td></tr></table></td><td></td></tr>'; str+=' <tr id="TWin_H0_'+this.tWinId+'" style="border-bottom: 1px solid #b3b3b3;"><td></td><td><table style="width: 100%; height: 29px;"><tr><td id="TWin_Ca_'+this.tWinId+'" style="vertical-align: middle; cursor: move; font-weight: bold; white-space: nowrap;"></td><td style="width: 10px; vertical-align: middle;"><img src="../resources/metadata/dbms/form/x.gif" id="TWin_CL_'+this.tWinId+'" style="cursor:pointer;"></td></tr></table></td><td></td></tr>';
str+=' <tr>'; str+=' <tr>';
@ -1267,7 +1271,7 @@ class TWin
} }
let str=''; let str='';
str+='<table id="TWin_TBL_'+this.tWinId+'" class="shadow" style="width: 100%; height: 100%; border: 1px solid #000000;">'; str+='<table id="TWin_TBL_'+this.tWinId+'" class="DBMSShadow" style="width: 100%; height: 100%; border: 1px solid #000000;">';
str+=' <tr id="TWin_H0_'+this.tWinId+'" style="background: url(../resources/metadata/dbms/form/'+imgB+') repeat-x;"><td></td><td><table style="width: 100%; height: 29px;"><tr><td id="TWin_Ca_'+this.tWinId+'" style="vertical-align: middle; cursor: move; font-weight: bold; white-space: nowrap;"></td><td style="width: 10px; vertical-align: middle;">'+(this.disableClosing ? '' : '<img src="../resources/metadata/dbms/form/'+imgX+'" id="TWin_CL_'+this.tWinId+'" style="cursor:pointer;padding-right: 5px;">')+'</td></tr></table></td><td></td></tr>'; str+=' <tr id="TWin_H0_'+this.tWinId+'" style="background: url(../resources/metadata/dbms/form/'+imgB+') repeat-x;"><td></td><td><table style="width: 100%; height: 29px;"><tr><td id="TWin_Ca_'+this.tWinId+'" style="vertical-align: middle; cursor: move; font-weight: bold; white-space: nowrap;"></td><td style="width: 10px; vertical-align: middle;">'+(this.disableClosing ? '' : '<img src="../resources/metadata/dbms/form/'+imgX+'" id="TWin_CL_'+this.tWinId+'" style="cursor:pointer;padding-right: 5px;">')+'</td></tr></table></td><td></td></tr>';
str+=' <tr>'; str+=' <tr>';
str+=' <td style="width: 5px; height: 5px;'+(!this.dialog ? ' cursor:nw-resize;' : '')+'" id="TWin_TL_'+this.tWinId+'"><img src="../resources/metadata/dbms/form/5.gif" alt="" style="display: block;" border="0px" draggable="false"></td>'; str+=' <td style="width: 5px; height: 5px;'+(!this.dialog ? ' cursor:nw-resize;' : '')+'" id="TWin_TL_'+this.tWinId+'"><img src="../resources/metadata/dbms/form/5.gif" alt="" style="display: block;" border="0px" draggable="false"></td>';
@ -1392,8 +1396,8 @@ class TWin
//В центр видимой части экрана //В центр видимой части экрана
setCenter() setCenter()
{ {
var scrollLeft = window.pageXOffset || document.documentElement.scrollLeft; let scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;
var scrollTop = window.pageYOffset || document.documentElement.scrollTop; let scrollTop = window.pageYOffset || document.documentElement.scrollTop;
this.div.style.left=(scrollLeft+((document.documentElement.clientWidth || document.body.clientWidth)-parseInt(this.div.style.width))/2)+"px" this.div.style.left=(scrollLeft+((document.documentElement.clientWidth || document.body.clientWidth)-parseInt(this.div.style.width))/2)+"px"
this.div.style.top=(scrollTop+((document.documentElement.clientHeight || document.body.clientHeight)-parseInt(this.div.style.height))/2)+"px" this.div.style.top=(scrollTop+((document.documentElement.clientHeight || document.body.clientHeight)-parseInt(this.div.style.height))/2)+"px"
@ -1533,7 +1537,7 @@ class TWin
this.pBarDiv=document.createElement('div'); this.pBarDiv=document.createElement('div');
this.pBarDiv.style.cssText='position: absolute; left: 0px; top: 0px; z-index: 1; width:100%; height: 100%; margin-top:30px; padding-bottom:30px;'; this.pBarDiv.style.cssText='position: absolute; left: 0px; top: 0px; z-index: 1; width:100%; height: 100%; margin-top:30px; padding-bottom:30px;';
this.pBarDiv.innerHTML='<table style="background-color: rgba(0,0,0,0.5);" width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" style="vertical-align: middle;"><img src="../resources/metadata/dbms/images/'+img+'" alt=""></td></tr></table>'; this.pBarDiv.innerHTML='<table style="background-color: rgba(0,0,0,0.5);" width="100%" height="100%" cellpadding="0" cellspacing="0"><tr><td align="center" style="vertical-align: middle;"><img src="../resources/metadata/dbms/images/'+img+'" alt=""></td></tr></table>';
//var eDiv=document.getElementById('eDiv'+this.uid); //var eDiv=document.getElementById('eDiv'+this.uid);
this.div.appendChild(this.pBarDiv); this.div.appendChild(this.pBarDiv);
@ -1653,30 +1657,34 @@ function getIntVal(str)
else return parseInt(rez) else return parseInt(rez)
} }
//Аналог PHP функции форматирования чисел //Аналог PHP функции форматирования чисел (для разделения на десятки и сотни)
function number_format (number, decimals, dec_point, thousands_sep) function number_format (number, decimals, dec_point, thousands_sep)
{ {
number = (number + '').replace(/[^0-9+\-Ee.]/g, ''); number = (number + '').replace(/[^0-9+\-Ee.]/g, '');
var n = !isFinite(+number) ? 0 : +number, let n = !isFinite(+number) ? 0 : +number;
prec = !isFinite(+decimals) ? 0 : Math.abs(decimals), let prec = !isFinite(+decimals) ? 0 : Math.abs(decimals);
sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep, let sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep;
dec = (typeof dec_point === 'undefined') ? '.' : dec_point, let dec = (typeof dec_point === 'undefined') ? '.' : dec_point;
s = '', let s = '';
toFixedFix = function (n, prec) { let toFixedFix = function (n, prec) {
var k = Math.pow(10, prec); let k = Math.pow(10, prec);
return '' + Math.round(n * k) / k; return '' + Math.round(n * k) / k;
}; };
// Fix for IE parseFloat(0.55).toFixed(0) = 0; // Fix for IE parseFloat(0.55).toFixed(0) = 0;
s = (prec ? toFixedFix(n, prec) : '' + Math.round(n)).split('.'); s = (prec ? toFixedFix(n, prec) : '' + Math.round(n)).split('.');
if (s[0].length > 3) { if (s[0].length > 3) {
s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep); s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep);
} }
if ((s[1] || '').length < prec) { if ((s[1] || '').length < prec) {
s[1] = s[1] || ''; s[1] = s[1] || '';
s[1] += new Array(prec - s[1].length + 1).join('0'); s[1] += new Array(prec - s[1].length + 1).join('0');
} }
return s.join(dec); return s.join(dec);
} }
/* /*
function number_format( number, decimals, dec_point, thousands_sep ) function number_format( number, decimals, dec_point, thousands_sep )
{ // Format a number with grouped thousands { // Format a number with grouped thousands

View File

@ -6,9 +6,9 @@
<title>Dynarch Calendar -- Single calendar for multiple fields</title> <title>Dynarch Calendar -- Single calendar for multiple fields</title>
<script src="../src/js/jscal2.js"></script> <script src="../src/js/jscal2.js"></script>
<script src="../src/js/lang/en.js"></script> <script src="../src/js/lang/en.js"></script>
<link rel="stylesheet" type="text/css" href="../src/css/jscal2.css" /> <link rel="stylesheet" href="../src/css/jscal2.css" />
<link rel="stylesheet" type="text/css" href="../src/css/border-radius.css" /> <link rel="stylesheet" href="../src/css/border-radius.css" />
<link rel="stylesheet" type="text/css" href="../src/css/steel/steel.css" /> <link rel="stylesheet" href="../src/css/steel/steel.css" />
</head> </head>
<body> <body>
<table> <table>

View File

@ -6,10 +6,10 @@
<title>Dynarch Calendar -- Special date information</title> <title>Dynarch Calendar -- Special date information</title>
<script src="../src/js/jscal2.js"></script> <script src="../src/js/jscal2.js"></script>
<script src="../src/js/lang/en.js"></script> <script src="../src/js/lang/en.js"></script>
<link rel="stylesheet" type="text/css" href="../src/css/jscal2.css" /> <link rel="stylesheet" href="../src/css/jscal2.css" />
<link rel="stylesheet" type="text/css" href="../src/css/border-radius.css" /> <link rel="stylesheet" href="../src/css/border-radius.css" />
<link rel="stylesheet" type="text/css" href="../src/css/matrix/matrix.css" /> <link rel="stylesheet" href="../src/css/matrix/matrix.css" />
<style type="text/css"> <style>
.highlight { color: #f00 !important; } .highlight { color: #f00 !important; }
.highlight2 { color: #0f0 !important; font-weight: bold; } .highlight2 { color: #0f0 !important; font-weight: bold; }
</style> </style>
@ -21,7 +21,7 @@
<td></td> <td></td>
</tr> </tr>
</table> </table>
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
var DATE_INFO = { var DATE_INFO = {
20090507: { klass: "highlight", tooltip: "%Y/%m/%d (%A)<br />That was yesterday" }, 20090507: { klass: "highlight", tooltip: "%Y/%m/%d (%A)<br />That was yesterday" },

View File

@ -6,9 +6,9 @@
<title>Dynarch Calendar -- Disabled dates</title> <title>Dynarch Calendar -- Disabled dates</title>
<script src="../src/js/jscal2.js"></script> <script src="../src/js/jscal2.js"></script>
<script src="../src/js/lang/en.js"></script> <script src="../src/js/lang/en.js"></script>
<link rel="stylesheet" type="text/css" href="../src/css/jscal2.css" /> <link rel="stylesheet" href="../src/css/jscal2.css" />
<link rel="stylesheet" type="text/css" href="../src/css/border-radius.css" /> <link rel="stylesheet" href="../src/css/border-radius.css" />
<link rel="stylesheet" type="text/css" href="../src/css/steel/steel.css" /> <link rel="stylesheet" href="../src/css/steel/steel.css" />
</head> </head>
<body> <body>
<table> <table>
@ -18,7 +18,7 @@
</td> </td>
</tr> </tr>
</table> </table>
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
Calendar.setup({ Calendar.setup({
cont : "cont", cont : "cont",
fdow : 1, fdow : 1,

View File

@ -6,9 +6,9 @@
<title>Dynarch Calendar -- Single calendar for multiple fields</title> <title>Dynarch Calendar -- Single calendar for multiple fields</title>
<script src="../src/js/jscal2.js"></script> <script src="../src/js/jscal2.js"></script>
<script src="../src/js/lang/en.js"></script> <script src="../src/js/lang/en.js"></script>
<link rel="stylesheet" type="text/css" href="../src/css/jscal2.css" /> <link rel="stylesheet" href="../src/css/jscal2.css" />
<link rel="stylesheet" type="text/css" href="../src/css/border-radius.css" /> <link rel="stylesheet" href="../src/css/border-radius.css" />
<link rel="stylesheet" type="text/css" href="../src/css/steel/steel.css" /> <link rel="stylesheet" href="../src/css/steel/steel.css" />
</head> </head>
<body> <body>
<p> <p>
@ -21,7 +21,7 @@
<input size="30" id="f_date3" /><button id="f_btn3">...</button><br /> <input size="30" id="f_date3" /><button id="f_btn3">...</button><br />
<input size="30" id="f_date4" /><button id="f_btn4">...</button> <input size="30" id="f_date4" /><button id="f_btn4">...</button>
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
var cal = Calendar.setup({ var cal = Calendar.setup({
onSelect: function(cal) { cal.hide() }, onSelect: function(cal) { cal.hide() },

View File

@ -6,9 +6,9 @@
<title>Dynarch Calendar -- external next/prev date buttons</title> <title>Dynarch Calendar -- external next/prev date buttons</title>
<script src="../src/js/jscal2.js"></script> <script src="../src/js/jscal2.js"></script>
<script src="../src/js/lang/en.js"></script> <script src="../src/js/lang/en.js"></script>
<link rel="stylesheet" type="text/css" href="../src/css/jscal2.css" /> <link rel="stylesheet" href="../src/css/jscal2.css" />
<link rel="stylesheet" type="text/css" href="../src/css/border-radius.css" /> <link rel="stylesheet" href="../src/css/border-radius.css" />
<link rel="stylesheet" type="text/css" href="../src/css/steel/steel.css" /> <link rel="stylesheet" href="../src/css/steel/steel.css" />
</head> </head>
<body> <body>
<table> <table>

View File

@ -6,9 +6,9 @@
<title>Dynarch Calendar -- Populate fields</title> <title>Dynarch Calendar -- Populate fields</title>
<script src="../src/js/jscal2.js"></script> <script src="../src/js/jscal2.js"></script>
<script src="../src/js/lang/en.js"></script> <script src="../src/js/lang/en.js"></script>
<link rel="stylesheet" type="text/css" href="../src/css/jscal2.css" /> <link rel="stylesheet" href="../src/css/jscal2.css" />
<link rel="stylesheet" type="text/css" href="../src/css/border-radius.css" /> <link rel="stylesheet" href="../src/css/border-radius.css" />
<link rel="stylesheet" type="text/css" href="../src/css/steel/steel.css" /> <link rel="stylesheet" href="../src/css/steel/steel.css" />
</head> </head>
<body> <body>
<p> <p>
@ -36,7 +36,7 @@
</tr> </tr>
</table> </table>
</form> </form>
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
// this handler is designed to work both for onSelect and onTimeChange // this handler is designed to work both for onSelect and onTimeChange
// events. It updates the input fields according to what's selected in // events. It updates the input fields according to what's selected in

View File

@ -6,9 +6,9 @@
<title>Dynarch Calendar -- Range selection without SHIFT</title> <title>Dynarch Calendar -- Range selection without SHIFT</title>
<script src="../src/js/jscal2.js"></script> <script src="../src/js/jscal2.js"></script>
<script src="../src/js/lang/en.js"></script> <script src="../src/js/lang/en.js"></script>
<link rel="stylesheet" type="text/css" href="../src/css/jscal2.css" /> <link rel="stylesheet" href="../src/css/jscal2.css" />
<link rel="stylesheet" type="text/css" href="../src/css/border-radius.css" /> <link rel="stylesheet" href="../src/css/border-radius.css" />
<link rel="stylesheet" type="text/css" href="../src/css/steel/steel.css" /> <link rel="stylesheet" href="../src/css/steel/steel.css" />
</head> </head>
<body> <body>
<table> <table>
@ -19,7 +19,7 @@
</td> </td>
</tr> </tr>
</table> </table>
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
var SELECTED_RANGE = null; var SELECTED_RANGE = null;
function getSelectionHandler() { function getSelectionHandler() {

View File

@ -6,14 +6,14 @@
<title>Dynarch Calendar -- Simple popup calendar</title> <title>Dynarch Calendar -- Simple popup calendar</title>
<script src="../src/js/jscal2.js"></script> <script src="../src/js/jscal2.js"></script>
<script src="../src/js/lang/en.js"></script> <script src="../src/js/lang/en.js"></script>
<link rel="stylesheet" type="text/css" href="../src/css/jscal2.css" /> <link rel="stylesheet" href="../src/css/jscal2.css" />
<link rel="stylesheet" type="text/css" href="../src/css/border-radius.css" /> <link rel="stylesheet" href="../src/css/border-radius.css" />
<link rel="stylesheet" type="text/css" href="../src/css/steel/steel.css" /> <link rel="stylesheet" href="../src/css/steel/steel.css" />
</head> </head>
<body> <body>
<input size="30" id="f_date1" /><button id="f_btn1">...</button><br /> <input size="30" id="f_date1" /><button id="f_btn1">...</button><br />
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
Calendar.setup({ Calendar.setup({
inputField : "f_date1", inputField : "f_date1",
trigger : "f_btn1", trigger : "f_btn1",

View File

@ -1,16 +1,16 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html> <html>
<head> <head>
<link type="text/css" rel="stylesheet" href="src/css/jscal2.css" /> <link rel="stylesheet" href="src/css/jscal2.css" />
<link type="text/css" rel="stylesheet" href="src/css/border-radius.css" /> <link rel="stylesheet" href="src/css/border-radius.css" />
<!-- <link type="text/css" rel="stylesheet" href="src/css/reduce-spacing.css" /> --> <!-- <link rel="stylesheet" href="src/css/reduce-spacing.css" /> -->
<link id="skin-win2k" title="Win 2K" type="text/css" rel="alternate stylesheet" href="src/css/win2k/win2k.css" /> <link id="skin-win2k" title="Win 2K" rel="alternate stylesheet" href="src/css/win2k/win2k.css" />
<link id="skin-steel" title="Steel" type="text/css" rel="alternate stylesheet" href="src/css/steel/steel.css" /> <link id="skin-steel" title="Steel" rel="alternate stylesheet" href="src/css/steel/steel.css" />
<link id="skin-gold" title="Gold" type="text/css" rel="alternate stylesheet" href="src/css/gold/gold.css" /> <link id="skin-gold" title="Gold" rel="alternate stylesheet" href="src/css/gold/gold.css" />
<link id="skin-matrix" title="Matrix" type="text/css" rel="alternate stylesheet" href="src/css/matrix/matrix.css" /> <link id="skin-matrix" title="Matrix" rel="alternate stylesheet" href="src/css/matrix/matrix.css" />
<link id="skinhelper-compact" type="text/css" rel="alternate stylesheet" href="src/css/reduce-spacing.css" /> <link id="skinhelper-compact" rel="alternate stylesheet" href="src/css/reduce-spacing.css" />
<script src="src/js/jscal2.js"></script> <script src="src/js/jscal2.js"></script>
<script src="src/js/unicode-letter.js"></script> <script src="src/js/unicode-letter.js"></script>
@ -36,7 +36,7 @@
<!-- this must stay last so that English is the default one --> <!-- this must stay last so that English is the default one -->
<script src="src/js/lang/en.js"></script> <script src="src/js/lang/en.js"></script>
<link type="text/css" rel="stylesheet" href="demopage.css" /> <link rel="stylesheet" href="demopage.css" />
</head> </head>
<body style="background-color: #fff"> <body style="background-color: #fff">
@ -45,7 +45,7 @@
<td valign="top" style="width: 30em;"> <td valign="top" style="width: 30em;">
<h1><a href="http://www.dynarch.com/projects/calendar/">The new coolest JavaScript calendar</a></h1> <h1><a href="http://www.dynarch.com/projects/calendar/">The new coolest JavaScript calendar</a></h1>
<div id="cont"></div> <div id="cont"></div>
<script type="text/javascript"> <script>
var LEFT_CAL = Calendar.setup({ var LEFT_CAL = Calendar.setup({
cont: "cont", cont: "cont",
weekNumbers: true, weekNumbers: true,
@ -95,7 +95,7 @@
<label for="f_language">Language:</label> <label for="f_language">Language:</label>
</td> </td>
<td> <td>
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
var html = [ "<select id='f_language' onchange='changeLanguage(this)'>" ]; var html = [ "<select id='f_language' onchange='changeLanguage(this)'>" ];
var def = Calendar.I18N.__; var def = Calendar.I18N.__;
@ -126,7 +126,7 @@
<label for="f_skin">Color theme:</label> <label for="f_skin">Color theme:</label>
</td> </td>
<td> <td>
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
var html = [ "<select id='f_skin' onchange='changeSkin(this)'><option value='-'>Bare</option>" ]; var html = [ "<select id='f_skin' onchange='changeSkin(this)'><option value='-'>Bare</option>" ];
var links = document.getElementsByTagName("link"); var links = document.getElementsByTagName("link");
@ -162,7 +162,7 @@
</td> </td>
<td> <td>
<label for="f_compactSkin">Compact</label> <label for="f_compactSkin">Compact</label>
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
function changeCompactSkin(checkbox) { function changeCompactSkin(checkbox) {
var skin = document.getElementById("skinhelper-compact"); var skin = document.getElementById("skinhelper-compact");
@ -182,7 +182,7 @@
<label for="f_fdow">First day of week:</label> <label for="f_fdow">First day of week:</label>
</td> </td>
<td> <td>
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
var html = [ "<select id='f_fdow' onchange='changeFDOW(this)'>" ]; var html = [ "<select id='f_fdow' onchange='changeFDOW(this)'>" ];
@ -207,7 +207,7 @@
<tr> <tr>
<td class="label"> <td class="label">
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
if (LEFT_CAL.args.animation) if (LEFT_CAL.args.animation)
document.write('<input id="f_animation" onclick="changeAnimation(this)" type="checkbox" checked="checked" />'); document.write('<input id="f_animation" onclick="changeAnimation(this)" type="checkbox" checked="checked" />');
@ -227,7 +227,7 @@
<tr> <tr>
<td class="label"> <td class="label">
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
if (LEFT_CAL.args.weekNumbers) if (LEFT_CAL.args.weekNumbers)
document.write('<input id="f_weekNumbers" onclick="changeWeekNumbers(this)" type="checkbox" checked="checked" />'); document.write('<input id="f_weekNumbers" onclick="changeWeekNumbers(this)" type="checkbox" checked="checked" />');
@ -248,7 +248,7 @@
<tr> <tr>
<td class="label"> <td class="label">
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
if (LEFT_CAL.args.showTime) if (LEFT_CAL.args.showTime)
document.write('<input id="f_showTime" onclick="changeShowTime(this)" type="checkbox" checked="checked" />'); document.write('<input id="f_showTime" onclick="changeShowTime(this)" type="checkbox" checked="checked" />');
else else
@ -272,7 +272,7 @@
<table> <table>
<tr> <tr>
<td class="label"> <td class="label">
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
if (LEFT_CAL.args.showTime == 12) if (LEFT_CAL.args.showTime == 12)
document.write('<input id="f_ampm" onclick="changeAMPM(this)" type="checkbox" checked="checked" />'); document.write('<input id="f_ampm" onclick="changeAMPM(this)" type="checkbox" checked="checked" />');
else else
@ -290,7 +290,7 @@
<tr> <tr>
<td class="label"><label for="f_timePos">Time position:</label></td> <td class="label"><label for="f_timePos">Time position:</label></td>
<td> <td>
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
var html = [ "<select id='f_timePos' onchange='changeTimePos(this)'>" ]; var html = [ "<select id='f_timePos' onchange='changeTimePos(this)'>" ];
var a = [ "left", "right" ]; var a = [ "left", "right" ];
for (var i = 0; i < a.length; i++) { for (var i = 0; i < a.length; i++) {
@ -321,7 +321,7 @@
<input id="f_rangeStart" /> <input id="f_rangeStart" />
<button id="f_rangeStart_trigger">...</button> <button id="f_rangeStart_trigger">...</button>
<button id="f_clearRangeStart" onclick="clearRangeStart()">clear</button> <button id="f_clearRangeStart" onclick="clearRangeStart()">clear</button>
<script type="text/javascript"> <script>
RANGE_CAL_1 = new Calendar({ RANGE_CAL_1 = new Calendar({
inputField: "f_rangeStart", inputField: "f_rangeStart",
dateFormat: "%B %d, %Y", dateFormat: "%B %d, %Y",
@ -351,7 +351,7 @@
<input id="f_rangeEnd" /> <input id="f_rangeEnd" />
<button id="f_rangeEnd_trigger">...</button> <button id="f_rangeEnd_trigger">...</button>
<button id="f_clearRangeEnd" onclick="clearRangeEnd()">clear</button> <button id="f_clearRangeEnd" onclick="clearRangeEnd()">clear</button>
<script type="text/javascript"> <script>
RANGE_CAL_2 = new Calendar({ RANGE_CAL_2 = new Calendar({
inputField: "f_rangeEnd", inputField: "f_rangeEnd",
dateFormat: "%B %d, %Y", dateFormat: "%B %d, %Y",
@ -379,7 +379,7 @@
</td> </td>
<td> <td>
<textarea id="f_selection" style="width: 20em; height: 10em"></textarea> <textarea id="f_selection" style="width: 20em; height: 10em"></textarea>
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
LEFT_CAL.addEventListener("onSelect", function(){ LEFT_CAL.addEventListener("onSelect", function(){
var ta = document.getElementById("f_selection"); var ta = document.getElementById("f_selection");

View File

@ -1,6 +1,6 @@
<link href="css/index.php" rel="stylesheet" type="text/css" /> <link href="css/index.php" rel="stylesheet"/>
<style type="text/css"> <style>
div.file{width:<?php echo $this->config['thumbWidth'] ?>px;} div.file{width:<?php echo $this->config['thumbWidth'] ?>px;}
div.file .thumb{width:<?php echo $this->config['thumbWidth'] ?>px;height:<?php echo $this->config['thumbHeight'] ?>px} div.file .thumb{width:<?php echo $this->config['thumbWidth'] ?>px;height:<?php echo $this->config['thumbHeight'] ?>px}
</style> </style>
<link href="themes/<?php echo $this->config['theme'] ?>/css.php" rel="stylesheet" type="text/css" /> <link href="themes/<?php echo $this->config['theme'] ?>/css.php" rel="stylesheet" />

View File

@ -1,22 +1,22 @@
<?php <?php
NAMESPACE kcfinder; NAMESPACE kcfinder;
?> ?>
<script src="js/index.php" type="text/javascript"></script> <script src="js/index.php"></script>
<script src="js_localize.php?lng=<?php echo $this->lang ?>" type="text/javascript"></script> <script src="js_localize.php?lng=<?php echo $this->lang ?>"></script>
<?php <?php
IF ($this->opener['name'] == "tinymce"): IF ($this->opener['name'] == "tinymce"):
?> ?>
<script src="<?php echo $this->config['_tinyMCEPath'] ?>/tiny_mce_popup.js" type="text/javascript"></script> <script src="<?php echo $this->config['_tinyMCEPath'] ?>/tiny_mce_popup.js"></script>
<?php <?php
ENDIF; ENDIF;
IF (file_exists("themes/{$this->config['theme']}/js.php")): IF (file_exists("themes/{$this->config['theme']}/js.php")):
?> ?>
<script src="themes/<?php echo $this->config['theme'] ?>/js.php" type="text/javascript"></script> <script src="themes/<?php echo $this->config['theme'] ?>/js.php"></script>
<?php <?php
ENDIF; ENDIF;
?> ?>
<script type="text/javascript"> <script>
_.version = "<?php echo self::VERSION ?>"; _.version = "<?php echo self::VERSION ?>";
_.support.zip = <?php echo (class_exists('ZipArchive') && !$this->config['denyZipDownload']) ? "true" : "false" ?>; _.support.zip = <?php echo (class_exists('ZipArchive') && !$this->config['denyZipDownload']) ? "true" : "false" ?>;
_.support.check4Update = <?php echo ((!isset($this->config['denyUpdateCheck']) || !$this->config['denyUpdateCheck']) && (ini_get("allow_url_fopen") || function_exists("http_get") || function_exists("curl_init") || function_exists('socket_create'))) ? "true" : "false" ?>; _.support.check4Update = <?php echo ((!isset($this->config['denyUpdateCheck']) || !$this->config['denyUpdateCheck']) && (ini_get("allow_url_fopen") || function_exists("http_get") || function_exists("curl_init") || function_exists('socket_create'))) ? "true" : "false" ?>;

View File

@ -433,7 +433,7 @@ Bug fixes
Only a problem in limited circumstances. Only a problem in limited circumstances.
*****Need to delete all ttfontdata/ files in order for fix to have effect. *****Need to delete all ttfontdata/ files in order for fix to have effect.
- <textCircle> background white even when set to none/transparent - <textCircle> background white even when set to none/transparent
- border="0" causing mPDF to add border to table CELLS as well as table - border=0 causing mPDF to add border to table CELLS as well as table
- iteration counter in THEAD crashed in some circumstances - iteration counter in THEAD crashed in some circumstances
- CSS color now supports spaces in the rgb() format e.g. border: 1px solid rgb(170, 170, 170); - CSS color now supports spaces in the rgb() format e.g. border: 1px solid rgb(170, 170, 170);
- CJK not working in table following changes made in v5.4 - CJK not working in table following changes made in v5.4

View File

@ -1663,7 +1663,7 @@ class mPDF
<head> <head>
<title>mPDF File Progress</title> <title>mPDF File Progress</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="' . _MPDF_URI . 'progbar.css" /> <link rel="stylesheet" href="' . _MPDF_URI . 'progbar.css" />
</head> </head>
<body> <body>
<div class="main"> <div class="main">
@ -1740,7 +1740,7 @@ class mPDF
$el = 2; $el = 2;
} }
} }
echo '<script type="text/javascript">'; echo '<script>';
if ($val) { if ($val) {
echo ' document.getElementById(\'element' . $el . '\').style.width=\'' . $val . '%\'; '; echo ' document.getElementById(\'element' . $el . '\').style.width=\'' . $val . '%\'; ';
} }
@ -9346,7 +9346,7 @@ class mPDF
fclose($f); fclose($f);
$this->UpdateProgressBar(3, '', 'Finished'); $this->UpdateProgressBar(3, '', 'Finished');
echo '<script type="text/javascript"> echo '<script>
var form = document.createElement("form"); var form = document.createElement("form");
form.setAttribute("method", "post"); form.setAttribute("method", "post");

View File

@ -18,7 +18,7 @@
<meta name="Reply-to" content="webmaster@spipu.net" > <meta name="Reply-to" content="webmaster@spipu.net" >
<meta name="Copyright" content="(c)2009 Spipu" > <meta name="Copyright" content="(c)2009 Spipu" >
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" > <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" >
<style type="text/css"> <style>
<!-- <!--
table.qr table.qr
{ {

View File

@ -10,9 +10,9 @@
<div id="uploadButton"></div> <div id="uploadButton"></div>
<div id="status"></div> <div id="status"></div>
<div id="images"></div> <div id="images"></div>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> <script src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/swfupload.js"></script> <script src="js/swfupload.js"></script>
<script type="text/javascript" src="js/plugins/swfupload.queue.js"></script> <script src="js/plugins/swfupload.queue.js"></script>
<script type="text/javascript" src="js/main.js"></script> <script src="js/main.js"></script>
</body> </body>
</html> </html>

View File

@ -16,7 +16,7 @@
in SWFUpload.onload rather than in window.onload. When initialized this way SWFUpload can load earlier preventing the UI flicker in SWFUpload.onload rather than in window.onload. When initialized this way SWFUpload can load earlier preventing the UI flicker
that was seen using the Graceful Degradation plugin. that was seen using the Graceful Degradation plugin.
<script type="text/javascript"> <script>
var swfu; var swfu;
SWFUpload.onload = function () { SWFUpload.onload = function () {
swfu = new SWFUpload({ swfu = new SWFUpload({

View File

@ -4,8 +4,8 @@
<title>Full featured example</title> <title>Full featured example</title>
<!-- TinyMCE --> <!-- TinyMCE -->
<script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script> <script src="../jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript"> <script>
tinyMCE.init({ tinyMCE.init({
// General options // General options
mode : "textareas", mode : "textareas",
@ -92,7 +92,7 @@
</div> </div>
</form> </form>
<script type="text/javascript"> <script>
if (document.location.protocol == 'file:') { if (document.location.protocol == 'file:') {
alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver."); alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
} }

View File

@ -4,8 +4,8 @@
<title>Custom formats example</title> <title>Custom formats example</title>
<!-- TinyMCE --> <!-- TinyMCE -->
<script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script> <script src="../jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript"> <script>
tinyMCE.init({ tinyMCE.init({
// General options // General options
mode : "textareas", mode : "textareas",
@ -102,7 +102,7 @@
<input type="reset" name="reset" value="Reset" /> <input type="reset" name="reset" value="Reset" />
</div> </div>
</form> </form>
<script type="text/javascript"> <script>
if (document.location.protocol == 'file:') { if (document.location.protocol == 'file:') {
alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver."); alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
} }

View File

@ -4,8 +4,8 @@
<title>Full featured example</title> <title>Full featured example</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- TinyMCE --> <!-- TinyMCE -->
<script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script> <script src="../jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript"> <script>
function openKCFinder(field_name, url, type, win) function openKCFinder(field_name, url, type, win)
{ {
@ -113,7 +113,7 @@ function openKCFinder(field_name, url, type, win)
</div> </div>
</form> </form>
<script type="text/javascript"> <script>
if (document.location.protocol == 'file:') { if (document.location.protocol == 'file:') {
alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver."); alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
} }

View File

@ -4,8 +4,8 @@
<title>Simple theme example</title> <title>Simple theme example</title>
<!-- TinyMCE --> <!-- TinyMCE -->
<script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script> <script src="../jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript"> <script>
tinyMCE.init({ tinyMCE.init({
mode : "textareas", mode : "textareas",
theme : "simple" theme : "simple"
@ -38,7 +38,7 @@
<input type="submit" name="save" value="Submit" /> <input type="submit" name="save" value="Submit" />
<input type="reset" name="reset" value="Reset" /> <input type="reset" name="reset" value="Reset" />
</form> </form>
<script type="text/javascript"> <script>
if (document.location.protocol == 'file:') { if (document.location.protocol == 'file:') {
alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver."); alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
} }

View File

@ -4,8 +4,8 @@
<title>Skin support example</title> <title>Skin support example</title>
<!-- TinyMCE --> <!-- TinyMCE -->
<script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script> <script src="../jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript"> <script>
// Default skin // Default skin
tinyMCE.init({ tinyMCE.init({
// General options // General options
@ -207,7 +207,7 @@
<input type="submit" name="save" value="Submit" /> <input type="submit" name="save" value="Submit" />
<input type="reset" name="reset" value="Reset" /> <input type="reset" name="reset" value="Reset" />
</form> </form>
<script type="text/javascript"> <script>
if (document.location.protocol == 'file:') { if (document.location.protocol == 'file:') {
alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver."); alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
} }

View File

@ -4,8 +4,8 @@
<title>Word processor example</title> <title>Word processor example</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- TinyMCE --> <!-- TinyMCE -->
<script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script> <script src="../jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript"> <script>
tinyMCE.init({ tinyMCE.init({
// General options // General options
mode : "textareas", mode : "textareas",
@ -63,7 +63,7 @@
<input type="submit" name="save" value="Submit" /> <input type="submit" name="save" value="Submit" />
<input type="reset" name="reset" value="Reset" /> <input type="reset" name="reset" value="Reset" />
</form> </form>
<script type="text/javascript"> <script>
if (document.location.protocol == 'file:') { if (document.location.protocol == 'file:') {
alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver."); alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
} }

View File

@ -2,11 +2,11 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#advhr.advhr_desc}</title> <title>{#advhr.advhr_desc}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/rule.js"></script> <script src="js/rule.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<link href="css/advhr.css" rel="stylesheet" type="text/css" /> <link href="css/advhr.css" rel="stylesheet"/>
</head> </head>
<body role="application"> <body role="application">
<form onsubmit="AdvHRDialog.update();return false;" action="#"> <form onsubmit="AdvHRDialog.update();return false;" action="#">
@ -18,7 +18,7 @@
<div class="panel_wrapper"> <div class="panel_wrapper">
<div id="general_panel" class="panel current"> <div id="general_panel" class="panel current">
<table role="presentation" border="0" cellpadding="4" cellspacing="0"> <table role="presentation" cellpadding="4" cellspacing="0">
<tr role="group" aria-labelledby="width_label"> <tr role="group" aria-labelledby="width_label">
<td><label id="width_label" for="width">{#advhr_dlg.width}</label></td> <td><label id="width_label" for="width">{#advhr_dlg.width}</label></td>
<td class="nowrap"> <td class="nowrap">

View File

@ -2,13 +2,13 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#advimage_dlg.dialog_title}</title> <title>{#advimage_dlg.dialog_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="../../utils/validate.js"></script> <script src="../../utils/validate.js"></script>
<script type="text/javascript" src="../../utils/editable_selects.js"></script> <script src="../../utils/editable_selects.js"></script>
<script type="text/javascript" src="js/image.js"></script> <script src="js/image.js"></script>
<link href="css/advimage.css" rel="stylesheet" type="text/css" /> <link href="css/advimage.css" rel="stylesheet"/>
</head> </head>
<body id="advimage" style="display: none" role="application" aria-labelledby="app_title"> <body id="advimage" style="display: none" role="application" aria-labelledby="app_title">
<span id="app_title" style="display:none">{#advimage_dlg.dialog_title}</span> <span id="app_title" style="display:none">{#advimage_dlg.dialog_title}</span>
@ -29,7 +29,7 @@
<table role="presentation" class="properties"> <table role="presentation" class="properties">
<tr> <tr>
<td class="column1"><label id="srclabel" for="src">{#advimage_dlg.src}</label></td> <td class="column1"><label id="srclabel" for="src">{#advimage_dlg.src}</label></td>
<td colspan="2"><table role="presentation" border="0" cellspacing="0" cellpadding="0"> <td colspan="2"><table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input name="src" type="text" id="src" value="" class="mceFocus" onchange="ImageDialog.showPreviewImage(this.value);" aria-required="true" /></td> <td><input name="src" type="text" id="src" value="" class="mceFocus" onchange="ImageDialog.showPreviewImage(this.value);" aria-required="true" /></td>
<td id="srcbrowsercontainer">&nbsp;</td> <td id="srcbrowsercontainer">&nbsp;</td>
@ -61,7 +61,7 @@
<fieldset> <fieldset>
<legend>{#advimage_dlg.tab_appearance}</legend> <legend>{#advimage_dlg.tab_appearance}</legend>
<table role="presentation" border="0" cellpadding="4" cellspacing="0"> <table role="presentation" cellpadding="4" cellspacing="0">
<tr> <tr>
<td class="column1"><label id="alignlabel" for="align">{#advimage_dlg.align}</label></td> <td class="column1"><label id="alignlabel" for="align">{#advimage_dlg.align}</label></td>
<td><select id="align" name="align" onchange="ImageDialog.updateStyle('align');ImageDialog.changeAppearance();"> <td><select id="align" name="align" onchange="ImageDialog.updateStyle('align');ImageDialog.changeAppearance();">
@ -99,7 +99,7 @@
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td><table role="presentation" border="0" cellpadding="0" cellspacing="0"> <td><table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td> <td><input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>
<td><label id="constrainlabel" for="constrain">{#advimage_dlg.constrain_proportions}</label></td> <td><label id="constrainlabel" for="constrain">{#advimage_dlg.constrain_proportions}</label></td>
@ -148,10 +148,10 @@
<input type="checkbox" id="onmousemovecheck" name="onmousemovecheck" class="checkbox" onclick="ImageDialog.setSwapImage(this.checked);" aria-controls="onmouseoversrc onmouseoutsrc" /> <input type="checkbox" id="onmousemovecheck" name="onmousemovecheck" class="checkbox" onclick="ImageDialog.setSwapImage(this.checked);" aria-controls="onmouseoversrc onmouseoutsrc" />
<label id="onmousemovechecklabel" for="onmousemovecheck">{#advimage_dlg.alt_image}</label> <label id="onmousemovechecklabel" for="onmousemovecheck">{#advimage_dlg.alt_image}</label>
<table role="presentation" border="0" cellpadding="4" cellspacing="0" width="100%"> <table role="presentation" cellpadding="4" cellspacing="0" width="100%">
<tr> <tr>
<td class="column1"><label id="onmouseoversrclabel" for="onmouseoversrc">{#advimage_dlg.mouseover}</label></td> <td class="column1"><label id="onmouseoversrclabel" for="onmouseoversrc">{#advimage_dlg.mouseover}</label></td>
<td><table role="presentation" border="0" cellspacing="0" cellpadding="0"> <td><table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input id="onmouseoversrc" name="onmouseoversrc" type="text" value="" /></td> <td><input id="onmouseoversrc" name="onmouseoversrc" type="text" value="" /></td>
<td id="onmouseoversrccontainer">&nbsp;</td> <td id="onmouseoversrccontainer">&nbsp;</td>
@ -164,7 +164,7 @@
</tr> </tr>
<tr> <tr>
<td class="column1"><label id="onmouseoutsrclabel" for="onmouseoutsrc">{#advimage_dlg.mouseout}</label></td> <td class="column1"><label id="onmouseoutsrclabel" for="onmouseoutsrc">{#advimage_dlg.mouseout}</label></td>
<td class="column2"><table role="presentation" border="0" cellspacing="0" cellpadding="0"> <td class="column2"><table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input id="onmouseoutsrc" name="onmouseoutsrc" type="text" value="" /></td> <td><input id="onmouseoutsrc" name="onmouseoutsrc" type="text" value="" /></td>
<td id="onmouseoutsrccontainer">&nbsp;</td> <td id="onmouseoutsrccontainer">&nbsp;</td>
@ -181,7 +181,7 @@
<fieldset> <fieldset>
<legend>{#advimage_dlg.misc}</legend> <legend>{#advimage_dlg.misc}</legend>
<table role="presentation" border="0" cellpadding="4" cellspacing="0"> <table role="presentation" cellpadding="4" cellspacing="0">
<tr> <tr>
<td class="column1"><label id="idlabel" for="id">{#advimage_dlg.id}</label></td> <td class="column1"><label id="idlabel" for="id">{#advimage_dlg.id}</label></td>
<td><input id="id" name="id" type="text" value="" /></td> <td><input id="id" name="id" type="text" value="" /></td>
@ -214,7 +214,7 @@
<tr> <tr>
<td class="column1"><label id="longdesclabel" for="longdesc">{#advimage_dlg.long_desc}</label></td> <td class="column1"><label id="longdesclabel" for="longdesc">{#advimage_dlg.long_desc}</label></td>
<td><table role="presentation" border="0" cellspacing="0" cellpadding="0"> <td><table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input id="longdesc" name="longdesc" type="text" value="" /></td> <td><input id="longdesc" name="longdesc" type="text" value="" /></td>
<td id="longdesccontainer">&nbsp;</td> <td id="longdesccontainer">&nbsp;</td>

View File

@ -5,7 +5,7 @@ var ImageDialog = {
tinyMCEPopup.requireLangPack(); tinyMCEPopup.requireLangPack();
if (url = tinyMCEPopup.getParam("external_image_list_url")) if (url = tinyMCEPopup.getParam("external_image_list_url"))
document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>'); document.write('<script language="javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
}, },
init : function(ed) { init : function(ed) {
@ -454,9 +454,9 @@ var ImageDialog = {
u = tinyMCEPopup.editor.documentBaseURI.toAbsolute(u); u = tinyMCEPopup.editor.documentBaseURI.toAbsolute(u);
if (!st) if (!st)
tinyMCEPopup.dom.setHTML('prev', '<img id="previewImg" src="' + u + '" border="0" onload="ImageDialog.updateImageData(this);" onerror="ImageDialog.resetImageData();" />'); tinyMCEPopup.dom.setHTML('prev', '<img id="previewImg" src="' + u + '" onload="ImageDialog.updateImageData(this);" onerror="ImageDialog.resetImageData();" />');
else else
tinyMCEPopup.dom.setHTML('prev', '<img id="previewImg" src="' + u + '" border="0" onload="ImageDialog.updateImageData(this, 1);" />'); tinyMCEPopup.dom.setHTML('prev', '<img id="previewImg" src="' + u + '" onload="ImageDialog.updateImageData(this, 1);" />');
} }
}; };

View File

@ -10,7 +10,7 @@ function preinit() {
var url; var url;
if (url = tinyMCEPopup.getParam("external_link_list_url")) if (url = tinyMCEPopup.getParam("external_link_list_url"))
document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>'); document.write('<script language="javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
} }
function changeClass() { function changeClass() {

View File

@ -2,12 +2,12 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#advlink_dlg.title}</title> <title>{#advlink_dlg.title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="../../utils/validate.js"></script> <script src="../../utils/validate.js"></script>
<script type="text/javascript" src="js/advlink.js"></script> <script src="js/advlink.js"></script>
<link href="css/advlink.css" rel="stylesheet" type="text/css" /> <link href="css/advlink.css" rel="stylesheet"/>
</head> </head>
<body id="advlink" style="display: none" role="application" onload="javascript:mcTabs.displayTab('general_tab','general_panel', true);" aria-labelledby="app_label"> <body id="advlink" style="display: none" role="application" onload="javascript:mcTabs.displayTab('general_tab','general_panel', true);" aria-labelledby="app_label">
<span class="mceVoiceLabel" id="app_label" style="display:none;">{#advlink_dlg.title}</span> <span class="mceVoiceLabel" id="app_label" style="display:none;">{#advlink_dlg.title}</span>
@ -26,10 +26,10 @@
<fieldset> <fieldset>
<legend>{#advlink_dlg.general_props}</legend> <legend>{#advlink_dlg.general_props}</legend>
<table border="0" cellpadding="4" cellspacing="0" role="presentation"> <table cellpadding="4" cellspacing="0" role="presentation">
<tr> <tr>
<td class="nowrap"><label id="hreflabel" for="href">{#advlink_dlg.url}</label></td> <td class="nowrap"><label id="hreflabel" for="href">{#advlink_dlg.url}</label></td>
<td><table border="0" cellspacing="0" cellpadding="0"> <td><table cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input id="href" name="href" type="text" class="mceFocus" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" aria-required="true" /></td> <td><input id="href" name="href" type="text" class="mceFocus" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" aria-required="true" /></td>
<td id="hrefbrowsercontainer">&nbsp;</td> <td id="hrefbrowsercontainer">&nbsp;</td>
@ -71,11 +71,11 @@
<input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" /> <input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" />
<label id="ispopuplabel" for="ispopup">{#advlink_dlg.popup}</label> <label id="ispopuplabel" for="ispopup">{#advlink_dlg.popup}</label>
<table border="0" cellpadding="0" cellspacing="4" role="presentation" > <table cellpadding="0" cellspacing="4" role="presentation" >
<tr> <tr>
<td class="nowrap"><label for="popupurl">{#advlink_dlg.popup_url}</label>&nbsp;</td> <td class="nowrap"><label for="popupurl">{#advlink_dlg.popup_url}</label>&nbsp;</td>
<td> <td>
<table border="0" cellspacing="0" cellpadding="0"> <table cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td> <td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td>
<td id="popupurlbrowsercontainer">&nbsp;</td> <td id="popupurlbrowsercontainer">&nbsp;</td>
@ -110,7 +110,7 @@
<fieldset> <fieldset>
<legend>{#advlink_dlg.popup_opts}</legend> <legend>{#advlink_dlg.popup_opts}</legend>
<table border="0" cellpadding="0" cellspacing="4" role="presentation" > <table cellpadding="0" cellspacing="4" role="presentation" >
<tr> <tr>
<td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td> <td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td>
<td class="nowrap"><label id="popuplocationlabel" for="popuplocation">{#advlink_dlg.popup_location}</label></td> <td class="nowrap"><label id="popuplocationlabel" for="popuplocation">{#advlink_dlg.popup_location}</label></td>
@ -144,7 +144,7 @@
<fieldset> <fieldset>
<legend>{#advlink_dlg.advanced_props}</legend> <legend>{#advlink_dlg.advanced_props}</legend>
<table border="0" cellpadding="0" cellspacing="4" role="presentation" > <table cellpadding="0" cellspacing="4" role="presentation" >
<tr> <tr>
<td class="column1"><label id="idlabel" for="id">{#advlink_dlg.id}</label></td> <td class="column1"><label id="idlabel" for="id">{#advlink_dlg.id}</label></td>
<td><input id="id" name="id" type="text" value="" /></td> <td><input id="id" name="id" type="text" value="" /></td>
@ -264,7 +264,7 @@
<fieldset> <fieldset>
<legend>{#advlink_dlg.event_props}</legend> <legend>{#advlink_dlg.event_props}</legend>
<table border="0" cellpadding="0" cellspacing="4" role="presentation" > <table cellpadding="0" cellspacing="4" role="presentation" >
<tr> <tr>
<td class="column1"><label for="onfocus">onfocus</label></td> <td class="column1"><label for="onfocus">onfocus</label></td>
<td><input id="onfocus" name="onfocus" type="text" value="" /></td> <td><input id="onfocus" name="onfocus" type="text" value="" /></td>

View File

@ -2,38 +2,38 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#emotions_dlg.title}</title> <title>{#emotions_dlg.title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/emotions.js"></script> <script src="js/emotions.js"></script>
</head> </head>
<body style="display: none" role="application" aria-labelledby="app_title"> <body style="display: none" role="application" aria-labelledby="app_title">
<span style="display:none;" id="app_title">{#emotions_dlg.title}</span> <span style="display:none;" id="app_title">{#emotions_dlg.title}</span>
<div align="center"> <div align="center">
<div class="title">{#emotions_dlg.title}:<br /><br /></div> <div class="title">{#emotions_dlg.title}:<br /><br /></div>
<table id="emoticon_table" role="presentation" border="0" cellspacing="0" cellpadding="4"> <table id="emoticon_table" role="presentation" cellspacing="0" cellpadding="4">
<tr> <tr>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.cool}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-cool.gif','emotions_dlg.cool');"><img src="img/smiley-cool.gif" width="18" height="18" border="0" alt="{#emotions_dlg.cool}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.cool}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-cool.gif','emotions_dlg.cool');"><img src="img/smiley-cool.gif" width="18" height="18" alt="{#emotions_dlg.cool}. {#emotions_dlg.usage}" /></a></td>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.cry}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-cry.gif','emotions_dlg.cry');"><img src="img/smiley-cry.gif" width="18" height="18" border="0" alt="{#emotions_dlg.cry}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.cry}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-cry.gif','emotions_dlg.cry');"><img src="img/smiley-cry.gif" width="18" height="18" alt="{#emotions_dlg.cry}. {#emotions_dlg.usage}" /></a></td>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.embarassed}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-embarassed.gif','emotions_dlg.embarassed');"><img src="img/smiley-embarassed.gif" width="18" height="18" border="0" alt="{#emotions_dlg.embarassed}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.embarassed}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-embarassed.gif','emotions_dlg.embarassed');"><img src="img/smiley-embarassed.gif" width="18" height="18" alt="{#emotions_dlg.embarassed}. {#emotions_dlg.usage}" /></a></td>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.foot_in_mouth}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-foot-in-mouth.gif','emotions_dlg.foot_in_mouth');"><img src="img/smiley-foot-in-mouth.gif" width="18" height="18" border="0" alt="{#emotions_dlg.foot_in_mouth}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.foot_in_mouth}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-foot-in-mouth.gif','emotions_dlg.foot_in_mouth');"><img src="img/smiley-foot-in-mouth.gif" width="18" height="18" alt="{#emotions_dlg.foot_in_mouth}. {#emotions_dlg.usage}" /></a></td>
</tr> </tr>
<tr> <tr>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.frown}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-frown.gif','emotions_dlg.frown');"><img src="img/smiley-frown.gif" width="18" height="18" border="0" alt="{#emotions_dlg.frown}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.frown}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-frown.gif','emotions_dlg.frown');"><img src="img/smiley-frown.gif" width="18" height="18" alt="{#emotions_dlg.frown}. {#emotions_dlg.usage}" /></a></td>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.innocent}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-innocent.gif','emotions_dlg.innocent');"><img src="img/smiley-innocent.gif" width="18" height="18" border="0" alt="{#emotions_dlg.innocent}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.innocent}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-innocent.gif','emotions_dlg.innocent');"><img src="img/smiley-innocent.gif" width="18" height="18" alt="{#emotions_dlg.innocent}. {#emotions_dlg.usage}" /></a></td>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.kiss}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-kiss.gif','emotions_dlg.kiss');"><img src="img/smiley-kiss.gif" width="18" height="18" border="0" alt="{#emotions_dlg.kiss}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.kiss}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-kiss.gif','emotions_dlg.kiss');"><img src="img/smiley-kiss.gif" width="18" height="18" alt="{#emotions_dlg.kiss}. {#emotions_dlg.usage}" /></a></td>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.laughing}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-laughing.gif','emotions_dlg.laughing');"><img src="img/smiley-laughing.gif" width="18" height="18" border="0" alt="{#emotions_dlg.laughing}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.laughing}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-laughing.gif','emotions_dlg.laughing');"><img src="img/smiley-laughing.gif" width="18" height="18" alt="{#emotions_dlg.laughing}. {#emotions_dlg.usage}" /></a></td>
</tr> </tr>
<tr> <tr>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.money_mouth}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-money-mouth.gif','emotions_dlg.money_mouth');"><img src="img/smiley-money-mouth.gif" width="18" height="18" border="0" alt="{#emotions_dlg.money_mouth}. {#emotions_dlg.usage}"/></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.money_mouth}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-money-mouth.gif','emotions_dlg.money_mouth');"><img src="img/smiley-money-mouth.gif" width="18" height="18" alt="{#emotions_dlg.money_mouth}. {#emotions_dlg.usage}"/></a></td>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.sealed}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-sealed.gif','emotions_dlg.sealed');"><img src="img/smiley-sealed.gif" width="18" height="18" border="0" alt="{#emotions_dlg.sealed}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.sealed}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-sealed.gif','emotions_dlg.sealed');"><img src="img/smiley-sealed.gif" width="18" height="18" alt="{#emotions_dlg.sealed}. {#emotions_dlg.usage}" /></a></td>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.smile}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-smile.gif','emotions_dlg.smile');"><img src="img/smiley-smile.gif" width="18" height="18" border="0" alt="{#emotions_dlg.smile}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.smile}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-smile.gif','emotions_dlg.smile');"><img src="img/smiley-smile.gif" width="18" height="18" alt="{#emotions_dlg.smile}. {#emotions_dlg.usage}" /></a></td>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.surprised}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-surprised.gif','emotions_dlg.surprised');"><img src="img/smiley-surprised.gif" width="18" height="18" border="0" alt="{#emotions_dlg.surprised}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.surprised}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-surprised.gif','emotions_dlg.surprised');"><img src="img/smiley-surprised.gif" width="18" height="18" alt="{#emotions_dlg.surprised}. {#emotions_dlg.usage}" /></a></td>
</tr> </tr>
<tr> <tr>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.tongue_out}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-tongue-out.gif','emotions_dlg.tongue_out');"><img src="img/smiley-tongue-out.gif" width="18" height="18" border="0" alt="{#emotions_dlg.tongue-out}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.tongue_out}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-tongue-out.gif','emotions_dlg.tongue_out');"><img src="img/smiley-tongue-out.gif" width="18" height="18" alt="{#emotions_dlg.tongue-out}. {#emotions_dlg.usage}" /></a></td>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.undecided}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-undecided.gif','emotions_dlg.undecided');"><img src="img/smiley-undecided.gif" width="18" height="18" border="0" alt="{#emotions_dlg.undecided}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.undecided}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-undecided.gif','emotions_dlg.undecided');"><img src="img/smiley-undecided.gif" width="18" height="18" alt="{#emotions_dlg.undecided}. {#emotions_dlg.usage}" /></a></td>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.wink}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-wink.gif','emotions_dlg.wink');"><img src="img/smiley-wink.gif" width="18" height="18" border="0" alt="{#emotions_dlg.wink}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.wink}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-wink.gif','emotions_dlg.wink');"><img src="img/smiley-wink.gif" width="18" height="18" alt="{#emotions_dlg.wink}. {#emotions_dlg.usage}" /></a></td>
<td><a class="emoticon_link" role="button" title="{#emotions_dlg.yell}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-yell.gif','emotions_dlg.yell');"><img src="img/smiley-yell.gif" width="18" height="18" border="0" alt="{#emotions_dlg.yell}. {#emotions_dlg.usage}" /></a></td> <td><a class="emoticon_link" role="button" title="{#emotions_dlg.yell}. {#emotions_dlg.usage}" href="javascript:EmotionsDialog.insert('smiley-yell.gif','emotions_dlg.yell');"><img src="img/smiley-yell.gif" width="18" height="18" alt="{#emotions_dlg.yell}. {#emotions_dlg.usage}" /></a></td>
</tr> </tr>
</table> </table>
<div>{#emotions_dlg.usage}</div> <div>{#emotions_dlg.usage}</div>

View File

@ -2,8 +2,8 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#example_dlg.title}</title> <title>{#example_dlg.title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/dialog.js"></script> <script src="js/dialog.js"></script>
</head> </head>
<body> <body>

View File

@ -2,11 +2,11 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#fullpage_dlg.title}</title> <title>{#fullpage_dlg.title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="js/fullpage.js"></script> <script src="js/fullpage.js"></script>
<link href="css/fullpage.css" rel="stylesheet" type="text/css" /> <link href="css/fullpage.css" rel="stylesheet"/>
</head> </head>
<body id="fullpage" style="display: none"> <body id="fullpage" style="display: none">
<form onsubmit="FullPageDialog.update();return false;" name="fullpage" action="#"> <form onsubmit="FullPageDialog.update();return false;" name="fullpage" action="#">
@ -22,7 +22,7 @@
<fieldset> <fieldset>
<legend>{#fullpage_dlg.meta_props}</legend> <legend>{#fullpage_dlg.meta_props}</legend>
<table border="0" cellpadding="4" cellspacing="0"> <table cellpadding="4" cellspacing="0">
<tr> <tr>
<td class="nowrap"><label for="metatitle">{#fullpage_dlg.meta_title}</label>&nbsp;</td> <td class="nowrap"><label for="metatitle">{#fullpage_dlg.meta_title}</label>&nbsp;</td>
<td><input type="text" id="metatitle" name="metatitle" value="" class="mceFocus" /></td> <td><input type="text" id="metatitle" name="metatitle" value="" class="mceFocus" /></td>
@ -61,7 +61,7 @@
<fieldset> <fieldset>
<legend>{#fullpage_dlg.langprops}</legend> <legend>{#fullpage_dlg.langprops}</legend>
<table border="0" cellpadding="4" cellspacing="0"> <table cellpadding="4" cellspacing="0">
<tr> <tr>
<td class="column1"><label for="docencoding">{#fullpage_dlg.encoding}</label></td> <td class="column1"><label for="docencoding">{#fullpage_dlg.encoding}</label></td>
<td> <td>
@ -104,7 +104,7 @@
<fieldset> <fieldset>
<legend>{#fullpage_dlg.appearance_textprops}</legend> <legend>{#fullpage_dlg.appearance_textprops}</legend>
<table border="0" cellpadding="4" cellspacing="0"> <table cellpadding="4" cellspacing="0">
<tr> <tr>
<td class="column1"><label for="fontface">{#fullpage_dlg.fontface}</label></td> <td class="column1"><label for="fontface">{#fullpage_dlg.fontface}</label></td>
<td> <td>
@ -126,7 +126,7 @@
<tr> <tr>
<td class="column1"><label for="textcolor">{#fullpage_dlg.textcolor}</label></td> <td class="column1"><label for="textcolor">{#fullpage_dlg.textcolor}</label></td>
<td> <td>
<table border="0" cellpadding="0" cellspacing="0"> <table cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="textcolor" name="textcolor" type="text" value="" size="9" onchange="updateColor('textcolor_pick','textcolor');FullPageDialog.changedStyleProp();" /></td> <td><input id="textcolor" name="textcolor" type="text" value="" size="9" onchange="updateColor('textcolor_pick','textcolor');FullPageDialog.changedStyleProp();" /></td>
<td id="textcolor_pickcontainer">&nbsp;</td> <td id="textcolor_pickcontainer">&nbsp;</td>
@ -140,11 +140,11 @@
<fieldset> <fieldset>
<legend>{#fullpage_dlg.appearance_bgprops}</legend> <legend>{#fullpage_dlg.appearance_bgprops}</legend>
<table border="0" cellpadding="4" cellspacing="0"> <table cellpadding="4" cellspacing="0">
<tr> <tr>
<td class="column1"><label for="bgimage">{#fullpage_dlg.bgimage}</label></td> <td class="column1"><label for="bgimage">{#fullpage_dlg.bgimage}</label></td>
<td> <td>
<table border="0" cellpadding="0" cellspacing="0"> <table cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="bgimage" name="bgimage" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td> <td><input id="bgimage" name="bgimage" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
<td id="bgimage_pickcontainer">&nbsp;</td> <td id="bgimage_pickcontainer">&nbsp;</td>
@ -155,7 +155,7 @@
<tr> <tr>
<td class="column1"><label for="bgcolor">{#fullpage_dlg.bgcolor}</label></td> <td class="column1"><label for="bgcolor">{#fullpage_dlg.bgcolor}</label></td>
<td> <td>
<table border="0" cellpadding="0" cellspacing="0"> <table cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');FullPageDialog.changedStyleProp();" /></td> <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');FullPageDialog.changedStyleProp();" /></td>
<td id="bgcolor_pickcontainer">&nbsp;</td> <td id="bgcolor_pickcontainer">&nbsp;</td>
@ -169,7 +169,7 @@
<fieldset> <fieldset>
<legend>{#fullpage_dlg.appearance_marginprops}</legend> <legend>{#fullpage_dlg.appearance_marginprops}</legend>
<table border="0" cellpadding="4" cellspacing="0"> <table cellpadding="4" cellspacing="0">
<tr> <tr>
<td class="column1"><label for="leftmargin">{#fullpage_dlg.left_margin}</label></td> <td class="column1"><label for="leftmargin">{#fullpage_dlg.left_margin}</label></td>
<td><input id="leftmargin" name="leftmargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td> <td><input id="leftmargin" name="leftmargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
@ -188,11 +188,11 @@
<fieldset> <fieldset>
<legend>{#fullpage_dlg.appearance_linkprops}</legend> <legend>{#fullpage_dlg.appearance_linkprops}</legend>
<table border="0" cellpadding="4" cellspacing="0"> <table cellpadding="4" cellspacing="0">
<tr> <tr>
<td class="column1"><label for="link_color">{#fullpage_dlg.link_color}</label></td> <td class="column1"><label for="link_color">{#fullpage_dlg.link_color}</label></td>
<td> <td>
<table border="0" cellpadding="0" cellspacing="0"> <table cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="link_color" name="link_color" type="text" value="" size="9" onchange="updateColor('link_color_pick','link_color');FullPageDialog.changedStyleProp();" /></td> <td><input id="link_color" name="link_color" type="text" value="" size="9" onchange="updateColor('link_color_pick','link_color');FullPageDialog.changedStyleProp();" /></td>
<td id="link_color_pickcontainer">&nbsp;</td> <td id="link_color_pickcontainer">&nbsp;</td>
@ -202,7 +202,7 @@
<td class="column1"><label for="visited_color">{#fullpage_dlg.visited_color}</label></td> <td class="column1"><label for="visited_color">{#fullpage_dlg.visited_color}</label></td>
<td> <td>
<table border="0" cellpadding="0" cellspacing="0"> <table cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="visited_color" name="visited_color" type="text" value="" size="9" onchange="updateColor('visited_color_pick','visited_color');FullPageDialog.changedStyleProp();" /></td> <td><input id="visited_color" name="visited_color" type="text" value="" size="9" onchange="updateColor('visited_color_pick','visited_color');FullPageDialog.changedStyleProp();" /></td>
<td id="visited_color_pickcontainer">&nbsp;</td> <td id="visited_color_pickcontainer">&nbsp;</td>
@ -214,7 +214,7 @@
<tr> <tr>
<td class="column1"><label for="active_color">{#fullpage_dlg.active_color}</label></td> <td class="column1"><label for="active_color">{#fullpage_dlg.active_color}</label></td>
<td> <td>
<table border="0" cellpadding="0" cellspacing="0"> <table cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="active_color" name="active_color" type="text" value="" size="9" onchange="updateColor('active_color_pick','active_color');FullPageDialog.changedStyleProp();" /></td> <td><input id="active_color" name="active_color" type="text" value="" size="9" onchange="updateColor('active_color_pick','active_color');FullPageDialog.changedStyleProp();" /></td>
<td id="active_color_pickcontainer">&nbsp;</td> <td id="active_color_pickcontainer">&nbsp;</td>
@ -231,10 +231,10 @@
<fieldset> <fieldset>
<legend>{#fullpage_dlg.appearance_style}</legend> <legend>{#fullpage_dlg.appearance_style}</legend>
<table border="0" cellpadding="4" cellspacing="0"> <table cellpadding="4" cellspacing="0">
<tr> <tr>
<td class="column1"><label for="stylesheet">{#fullpage_dlg.stylesheet}</label></td> <td class="column1"><label for="stylesheet">{#fullpage_dlg.stylesheet}</label></td>
<td><table border="0" cellpadding="0" cellspacing="0"> <td><table cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="stylesheet" name="stylesheet" type="text" value="" /></td> <td><input id="stylesheet" name="stylesheet" type="text" value="" /></td>
<td id="stylesheet_browsercontainer">&nbsp;</td> <td id="stylesheet_browsercontainer">&nbsp;</td>

View File

@ -3,8 +3,8 @@
<head> <head>
<title></title> <title></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script type="text/javascript" src="../../tiny_mce.js"></script> <script src="../../tiny_mce.js"></script>
<script type="text/javascript"> <script>
function patchCallback(settings, key) { function patchCallback(settings, key) {
if (settings[key]) if (settings[key])
settings[key] = "window.opener." + settings[key]; settings[key] = "window.opener." + settings[key];
@ -102,7 +102,7 @@
<textarea id="fullscreenarea" style="width:100%; height:100%"></textarea> <textarea id="fullscreenarea" style="width:100%; height:100%"></textarea>
</form> </form>
<script type="text/javascript"> <script>
render(); render();
</script> </script>

View File

@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>Template for dialogs</title> <title>Template for dialogs</title>
<link rel="stylesheet" type="text/css" href="skins/clearlooks2/window.css" /> <link rel="stylesheet" href="skins/clearlooks2/window.css" />
</head> </head>
<body> <body>

View File

@ -2,7 +2,7 @@
var url; var url;
if (url = tinyMCEPopup.getParam("media_external_list_url")) if (url = tinyMCEPopup.getParam("media_external_list_url"))
document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>'); document.write('<script language="javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
function get(id) { function get(id) {
return document.getElementById(id); return document.getElementById(id);

View File

@ -2,13 +2,13 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#media_dlg.title}</title> <title>{#media_dlg.title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/media.js"></script> <script src="js/media.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/validate.js"></script> <script src="../../utils/validate.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="../../utils/editable_selects.js"></script> <script src="../../utils/editable_selects.js"></script>
<link href="css/media.css" rel="stylesheet" type="text/css" /> <link href="css/media.css" rel="stylesheet" />
</head> </head>
<body style="display: none" role="application"> <body style="display: none" role="application">
<form onsubmit="Media.insert();return false;" action="#"> <form onsubmit="Media.insert();return false;" action="#">
@ -25,7 +25,7 @@
<fieldset> <fieldset>
<legend>{#media_dlg.general}</legend> <legend>{#media_dlg.general}</legend>
<table role="presentation" border="0" cellpadding="4" cellspacing="0"> <table role="presentation" cellpadding="4" cellspacing="0">
<tr> <tr>
<td><label for="media_type">{#media_dlg.type}</label></td> <td><label for="media_type">{#media_dlg.type}</label></td>
<td> <td>
@ -35,7 +35,7 @@
<tr> <tr>
<td><label for="src">{#media_dlg.file}</label></td> <td><label for="src">{#media_dlg.file}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input id="src" name="src" type="text" value="" class="mceFocus" onchange="Media.formToData();" /></td> <td><input id="src" name="src" type="text" value="" class="mceFocus" onchange="Media.formToData();" /></td>
<td id="filebrowsercontainer">&nbsp;</td> <td id="filebrowsercontainer">&nbsp;</td>
@ -50,7 +50,7 @@
<tr> <tr>
<td><label for="width">{#media_dlg.size}</label></td> <td><label for="width">{#media_dlg.size}</label></td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="text" id="width" name="width" value="" class="size" onchange="Media.formToData('width');" onfocus="Media.beforeResize();" /> x <input type="text" id="height" name="height" value="" class="size" onfocus="Media.beforeResize();" onchange="Media.formToData('height');" /></td> <td><input type="text" id="width" name="width" value="" class="size" onchange="Media.formToData('width');" onfocus="Media.beforeResize();" /> x <input type="text" id="height" name="height" value="" class="size" onfocus="Media.beforeResize();" onchange="Media.formToData('height');" /></td>
<td>&nbsp;&nbsp;<input id="constrain" type="checkbox" name="constrain" class="checkbox" checked="checked" /></td> <td>&nbsp;&nbsp;<input id="constrain" type="checkbox" name="constrain" class="checkbox" checked="checked" /></td>
@ -72,7 +72,7 @@
<fieldset> <fieldset>
<legend>{#media_dlg.advanced}</legend> <legend>{#media_dlg.advanced}</legend>
<table role="presentation" border="0" cellpadding="4" cellspacing="0" width="100%"> <table role="presentation" cellpadding="4" cellspacing="0" width="100%">
<tr> <tr>
<td><label for="id">{#media_dlg.id}</label></td> <td><label for="id">{#media_dlg.id}</label></td>
<td><input type="text" id="id" name="id" onchange="Media.formToData();" /></td> <td><input type="text" id="id" name="id" onchange="Media.formToData();" /></td>
@ -94,7 +94,7 @@
<td><label for="bgcolor">{#media_dlg.bgcolor}</label></td> <td><label for="bgcolor">{#media_dlg.bgcolor}</label></td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');Media.formToData();" /></td> <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');Media.formToData();" /></td>
<td id="bgcolor_pickcontainer">&nbsp;</td> <td id="bgcolor_pickcontainer">&nbsp;</td>
@ -119,7 +119,7 @@
<tr> <tr>
<td><label for="video_altsource1">{#media_dlg.altsource1}</label></td> <td><label for="video_altsource1">{#media_dlg.altsource1}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="video_altsource1" name="video_altsource1" onchange="Media.formToData();" style="width: 240px" /></td> <td><input type="text" id="video_altsource1" name="video_altsource1" onchange="Media.formToData();" style="width: 240px" /></td>
<td id="video_altsource1_filebrowser">&nbsp;</td> <td id="video_altsource1_filebrowser">&nbsp;</td>
@ -131,7 +131,7 @@
<tr> <tr>
<td><label for="video_altsource2">{#media_dlg.altsource2}</label></td> <td><label for="video_altsource2">{#media_dlg.altsource2}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="video_altsource2" name="video_altsource2" onchange="Media.formToData();" style="width: 240px" /></td> <td><input type="text" id="video_altsource2" name="video_altsource2" onchange="Media.formToData();" style="width: 240px" /></td>
<td id="video_altsource2_filebrowser">&nbsp;</td> <td id="video_altsource2_filebrowser">&nbsp;</td>
@ -143,7 +143,7 @@
<tr> <tr>
<td><label for="video_poster">{#media_dlg.poster}</label></td> <td><label for="video_poster">{#media_dlg.poster}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="video_poster" name="video_poster" onchange="Media.formToData();" style="width: 240px" /></td> <td><input type="text" id="video_poster" name="video_poster" onchange="Media.formToData();" style="width: 240px" /></td>
<td id="video_poster_filebrowser">&nbsp;</td> <td id="video_poster_filebrowser">&nbsp;</td>
@ -164,10 +164,10 @@
</tr> </tr>
</table> </table>
<table role="presentation" border="0" cellpadding="4" cellspacing="0"> <table role="presentation" cellpadding="4" cellspacing="0">
<tr> <tr>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="video_autoplay" name="video_autoplay" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="video_autoplay" name="video_autoplay" onchange="Media.formToData();" /></td>
<td><label for="video_autoplay">{#media_dlg.play}</label></td> <td><label for="video_autoplay">{#media_dlg.play}</label></td>
@ -176,7 +176,7 @@
</td> </td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="video_muted" name="video_muted" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="video_muted" name="video_muted" onchange="Media.formToData();" /></td>
<td><label for="video_muted">{#media_dlg.mute}</label></td> <td><label for="video_muted">{#media_dlg.mute}</label></td>
@ -185,7 +185,7 @@
</td> </td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="video_loop" name="video_loop" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="video_loop" name="video_loop" onchange="Media.formToData();" /></td>
<td><label for="video_loop">{#media_dlg.loop}</label></td> <td><label for="video_loop">{#media_dlg.loop}</label></td>
@ -194,7 +194,7 @@
</td> </td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="video_controls" name="video_controls" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="video_controls" name="video_controls" onchange="Media.formToData();" /></td>
<td><label for="video_controls">{#media_dlg.controls}</label></td> <td><label for="video_controls">{#media_dlg.controls}</label></td>
@ -208,10 +208,10 @@
<fieldset id="embeddedaudio_options"> <fieldset id="embeddedaudio_options">
<legend>{#media_dlg.embedded_audio_options}</legend> <legend>{#media_dlg.embedded_audio_options}</legend>
<table role="presentation" border="0" cellpadding="4" cellspacing="0"> <table role="presentation" cellpadding="4" cellspacing="0">
<tr> <tr>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="embeddedaudio_autoplay" name="audio_autoplay" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="embeddedaudio_autoplay" name="audio_autoplay" onchange="Media.formToData();" /></td>
<td><label for="audio_autoplay">{#media_dlg.play}</label></td> <td><label for="audio_autoplay">{#media_dlg.play}</label></td>
@ -220,7 +220,7 @@
</td> </td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="embeddedaudio_loop" name="audio_loop" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="embeddedaudio_loop" name="audio_loop" onchange="Media.formToData();" /></td>
<td><label for="audio_loop">{#media_dlg.loop}</label></td> <td><label for="audio_loop">{#media_dlg.loop}</label></td>
@ -229,7 +229,7 @@
</td> </td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="embeddedaudio_controls" name="audio_controls" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="embeddedaudio_controls" name="audio_controls" onchange="Media.formToData();" /></td>
<td><label for="audio_controls">{#media_dlg.controls}</label></td> <td><label for="audio_controls">{#media_dlg.controls}</label></td>
@ -247,7 +247,7 @@
<tr> <tr>
<td><label for="audio_altsource1">{#media_dlg.altsource1}</label></td> <td><label for="audio_altsource1">{#media_dlg.altsource1}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="audio_altsource1" name="audio_altsource1" onchange="Media.formToData();" style="width: 240px" /></td> <td><input type="text" id="audio_altsource1" name="audio_altsource1" onchange="Media.formToData();" style="width: 240px" /></td>
<td id="audio_altsource1_filebrowser">&nbsp;</td> <td id="audio_altsource1_filebrowser">&nbsp;</td>
@ -259,7 +259,7 @@
<tr> <tr>
<td><label for="audio_altsource2">{#media_dlg.altsource2}</label></td> <td><label for="audio_altsource2">{#media_dlg.altsource2}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="audio_altsource2" name="audio_altsource2" onchange="Media.formToData();" style="width: 240px" /></td> <td><input type="text" id="audio_altsource2" name="audio_altsource2" onchange="Media.formToData();" style="width: 240px" /></td>
<td id="audio_altsource2_filebrowser">&nbsp;</td> <td id="audio_altsource2_filebrowser">&nbsp;</td>
@ -280,10 +280,10 @@
</tr> </tr>
</table> </table>
<table role="presentation" border="0" cellpadding="4" cellspacing="0"> <table role="presentation" cellpadding="4" cellspacing="0">
<tr> <tr>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="audio_autoplay" name="audio_autoplay" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="audio_autoplay" name="audio_autoplay" onchange="Media.formToData();" /></td>
<td><label for="audio_autoplay">{#media_dlg.play}</label></td> <td><label for="audio_autoplay">{#media_dlg.play}</label></td>
@ -292,7 +292,7 @@
</td> </td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="audio_loop" name="audio_loop" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="audio_loop" name="audio_loop" onchange="Media.formToData();" /></td>
<td><label for="audio_loop">{#media_dlg.loop}</label></td> <td><label for="audio_loop">{#media_dlg.loop}</label></td>
@ -301,7 +301,7 @@
</td> </td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="audio_controls" name="audio_controls" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="audio_controls" name="audio_controls" onchange="Media.formToData();" /></td>
<td><label for="audio_controls">{#media_dlg.controls}</label></td> <td><label for="audio_controls">{#media_dlg.controls}</label></td>
@ -315,7 +315,7 @@
<fieldset id="flash_options"> <fieldset id="flash_options">
<legend>{#media_dlg.flash_options}</legend> <legend>{#media_dlg.flash_options}</legend>
<table role="presentation" border="0" cellpadding="4" cellspacing="0"> <table role="presentation" cellpadding="4" cellspacing="0">
<tr> <tr>
<td><label for="flash_quality">{#media_dlg.quality}</label></td> <td><label for="flash_quality">{#media_dlg.quality}</label></td>
<td> <td>
@ -370,7 +370,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="flash_play" name="flash_play" checked="checked" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="flash_play" name="flash_play" checked="checked" onchange="Media.formToData();" /></td>
<td><label for="flash_play">{#media_dlg.play}</label></td> <td><label for="flash_play">{#media_dlg.play}</label></td>
@ -379,7 +379,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="flash_loop" name="flash_loop" checked="checked" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="flash_loop" name="flash_loop" checked="checked" onchange="Media.formToData();" /></td>
<td><label for="flash_loop">{#media_dlg.loop}</label></td> <td><label for="flash_loop">{#media_dlg.loop}</label></td>
@ -390,7 +390,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="flash_menu" name="flash_menu" checked="checked" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="flash_menu" name="flash_menu" checked="checked" onchange="Media.formToData();" /></td>
<td><label for="flash_menu">{#media_dlg.menu}</label></td> <td><label for="flash_menu">{#media_dlg.menu}</label></td>
@ -399,7 +399,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="flash_swliveconnect" name="flash_swliveconnect" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="flash_swliveconnect" name="flash_swliveconnect" onchange="Media.formToData();" /></td>
<td><label for="flash_swliveconnect">{#media_dlg.liveconnect}</label></td> <td><label for="flash_swliveconnect">{#media_dlg.liveconnect}</label></td>
@ -425,10 +425,10 @@
<fieldset id="quicktime_options"> <fieldset id="quicktime_options">
<legend>{#media_dlg.qt_options}</legend> <legend>{#media_dlg.qt_options}</legend>
<table role="presentation" border="0" cellpadding="4" cellspacing="0"> <table role="presentation" cellpadding="4" cellspacing="0">
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="quicktime_loop" name="quicktime_loop" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="quicktime_loop" name="quicktime_loop" onchange="Media.formToData();" /></td>
<td><label for="quicktime_loop">{#media_dlg.loop}</label></td> <td><label for="quicktime_loop">{#media_dlg.loop}</label></td>
@ -437,7 +437,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="quicktime_autoplay" name="quicktime_autoplay" checked="checked" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="quicktime_autoplay" name="quicktime_autoplay" checked="checked" onchange="Media.formToData();" /></td>
<td><label for="quicktime_autoplay">{#media_dlg.play}</label></td> <td><label for="quicktime_autoplay">{#media_dlg.play}</label></td>
@ -448,7 +448,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="quicktime_cache" name="quicktime_cache" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="quicktime_cache" name="quicktime_cache" onchange="Media.formToData();" /></td>
<td><label for="quicktime_cache">{#media_dlg.cache}</label></td> <td><label for="quicktime_cache">{#media_dlg.cache}</label></td>
@ -457,7 +457,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="quicktime_controller" name="quicktime_controller" checked="checked" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="quicktime_controller" name="quicktime_controller" checked="checked" onchange="Media.formToData();" /></td>
<td><label for="quicktime_controller">{#media_dlg.controller}</label></td> <td><label for="quicktime_controller">{#media_dlg.controller}</label></td>
@ -468,7 +468,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="quicktime_correction" name="quicktime_correction" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="quicktime_correction" name="quicktime_correction" onchange="Media.formToData();" /></td>
<td><label for="quicktime_correction">{#media_dlg.correction}</label></td> <td><label for="quicktime_correction">{#media_dlg.correction}</label></td>
@ -477,7 +477,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="quicktime_enablejavascript" name="quicktime_enablejavascript" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="quicktime_enablejavascript" name="quicktime_enablejavascript" onchange="Media.formToData();" /></td>
<td><label for="quicktime_enablejavascript">{#media_dlg.enablejavascript}</label></td> <td><label for="quicktime_enablejavascript">{#media_dlg.enablejavascript}</label></td>
@ -488,7 +488,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="quicktime_kioskmode" name="quicktime_kioskmode" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="quicktime_kioskmode" name="quicktime_kioskmode" onchange="Media.formToData();" /></td>
<td><label for="quicktime_kioskmode">{#media_dlg.kioskmode}</label></td> <td><label for="quicktime_kioskmode">{#media_dlg.kioskmode}</label></td>
@ -497,7 +497,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="quicktime_autohref" name="quicktime_autohref" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="quicktime_autohref" name="quicktime_autohref" onchange="Media.formToData();" /></td>
<td><label for="quicktime_autohref">{#media_dlg.autohref}</label></td> <td><label for="quicktime_autohref">{#media_dlg.autohref}</label></td>
@ -508,7 +508,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="quicktime_playeveryframe" name="quicktime_playeveryframe" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="quicktime_playeveryframe" name="quicktime_playeveryframe" onchange="Media.formToData();" /></td>
<td><label for="quicktime_playeveryframe">{#media_dlg.playeveryframe}</label></td> <td><label for="quicktime_playeveryframe">{#media_dlg.playeveryframe}</label></td>
@ -517,7 +517,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="quicktime_targetcache" name="quicktime_targetcache" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="quicktime_targetcache" name="quicktime_targetcache" onchange="Media.formToData();" /></td>
<td><label for="quicktime_targetcache">{#media_dlg.targetcache}</label></td> <td><label for="quicktime_targetcache">{#media_dlg.targetcache}</label></td>
@ -565,7 +565,7 @@
<tr> <tr>
<td><label for="quicktime_qtsrc">{#media_dlg.qtsrc}</label></td> <td><label for="quicktime_qtsrc">{#media_dlg.qtsrc}</label></td>
<td colspan="4"> <td colspan="4">
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="quicktime_qtsrc" name="quicktime_qtsrc" onchange="Media.formToData();" /></td> <td><input type="text" id="quicktime_qtsrc" name="quicktime_qtsrc" onchange="Media.formToData();" /></td>
<td id="qtsrcfilebrowsercontainer">&nbsp;</td> <td id="qtsrcfilebrowsercontainer">&nbsp;</td>
@ -579,10 +579,10 @@
<fieldset id="windowsmedia_options"> <fieldset id="windowsmedia_options">
<legend>{#media_dlg.wmp_options}</legend> <legend>{#media_dlg.wmp_options}</legend>
<table role="presentation" border="0" cellpadding="4" cellspacing="0"> <table role="presentation" cellpadding="4" cellspacing="0">
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="windowsmedia_autostart" name="windowsmedia_autostart" checked="checked" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="windowsmedia_autostart" name="windowsmedia_autostart" checked="checked" onchange="Media.formToData();" /></td>
<td><label for="windowsmedia_autostart">{#media_dlg.autostart}</label></td> <td><label for="windowsmedia_autostart">{#media_dlg.autostart}</label></td>
@ -591,7 +591,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="windowsmedia_enabled" name="windowsmedia_enabled" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="windowsmedia_enabled" name="windowsmedia_enabled" onchange="Media.formToData();" /></td>
<td><label for="windowsmedia_enabled">{#media_dlg.enabled}</label></td> <td><label for="windowsmedia_enabled">{#media_dlg.enabled}</label></td>
@ -602,7 +602,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="windowsmedia_enablecontextmenu" name="windowsmedia_enablecontextmenu" checked="checked" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="windowsmedia_enablecontextmenu" name="windowsmedia_enablecontextmenu" checked="checked" onchange="Media.formToData();" /></td>
<td><label for="windowsmedia_enablecontextmenu">{#media_dlg.menu}</label></td> <td><label for="windowsmedia_enablecontextmenu">{#media_dlg.menu}</label></td>
@ -611,7 +611,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="windowsmedia_fullscreen" name="windowsmedia_fullscreen" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="windowsmedia_fullscreen" name="windowsmedia_fullscreen" onchange="Media.formToData();" /></td>
<td><label for="windowsmedia_fullscreen">{#media_dlg.fullscreen}</label></td> <td><label for="windowsmedia_fullscreen">{#media_dlg.fullscreen}</label></td>
@ -622,7 +622,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="windowsmedia_invokeurls" name="windowsmedia_invokeurls" checked="checked" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="windowsmedia_invokeurls" name="windowsmedia_invokeurls" checked="checked" onchange="Media.formToData();" /></td>
<td><label for="windowsmedia_invokeurls">{#media_dlg.invokeurls}</label></td> <td><label for="windowsmedia_invokeurls">{#media_dlg.invokeurls}</label></td>
@ -631,7 +631,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="windowsmedia_mute" name="windowsmedia_mute" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="windowsmedia_mute" name="windowsmedia_mute" onchange="Media.formToData();" /></td>
<td><label for="windowsmedia_mute">{#media_dlg.mute}</label></td> <td><label for="windowsmedia_mute">{#media_dlg.mute}</label></td>
@ -642,7 +642,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="windowsmedia_stretchtofit" name="windowsmedia_stretchtofit" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="windowsmedia_stretchtofit" name="windowsmedia_stretchtofit" onchange="Media.formToData();" /></td>
<td><label for="windowsmedia_stretchtofit">{#media_dlg.stretchtofit}</label></td> <td><label for="windowsmedia_stretchtofit">{#media_dlg.stretchtofit}</label></td>
@ -651,7 +651,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="windowsmedia_windowlessvideo" name="windowsmedia_windowlessvideo" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="windowsmedia_windowlessvideo" name="windowsmedia_windowlessvideo" onchange="Media.formToData();" /></td>
<td><label for="windowsmedia_windowlessvideo">{#media_dlg.windowlessvideo}</label></td> <td><label for="windowsmedia_windowlessvideo">{#media_dlg.windowlessvideo}</label></td>
@ -706,10 +706,10 @@
<fieldset id="realmedia_options"> <fieldset id="realmedia_options">
<legend>{#media_dlg.rmp_options}</legend> <legend>{#media_dlg.rmp_options}</legend>
<table role="presentation" border="0" cellpadding="4" cellspacing="0"> <table role="presentation" cellpadding="4" cellspacing="0">
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="realmedia_autostart" name="realmedia_autostart" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="realmedia_autostart" name="realmedia_autostart" onchange="Media.formToData();" /></td>
<td><label for="realmedia_autostart">{#media_dlg.autostart}</label></td> <td><label for="realmedia_autostart">{#media_dlg.autostart}</label></td>
@ -718,7 +718,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="realmedia_loop" name="realmedia_loop" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="realmedia_loop" name="realmedia_loop" onchange="Media.formToData();" /></td>
<td><label for="realmedia_loop">{#media_dlg.loop}</label></td> <td><label for="realmedia_loop">{#media_dlg.loop}</label></td>
@ -729,7 +729,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="realmedia_autogotourl" name="realmedia_autogotourl" checked="checked" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="realmedia_autogotourl" name="realmedia_autogotourl" checked="checked" onchange="Media.formToData();" /></td>
<td><label for="realmedia_autogotourl">{#media_dlg.autogotourl}</label></td> <td><label for="realmedia_autogotourl">{#media_dlg.autogotourl}</label></td>
@ -738,7 +738,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="realmedia_center" name="realmedia_center" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="realmedia_center" name="realmedia_center" onchange="Media.formToData();" /></td>
<td><label for="realmedia_center">{#media_dlg.center}</label></td> <td><label for="realmedia_center">{#media_dlg.center}</label></td>
@ -749,7 +749,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="realmedia_imagestatus" name="realmedia_imagestatus" checked="checked" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="realmedia_imagestatus" name="realmedia_imagestatus" checked="checked" onchange="Media.formToData();" /></td>
<td><label for="realmedia_imagestatus">{#media_dlg.imagestatus}</label></td> <td><label for="realmedia_imagestatus">{#media_dlg.imagestatus}</label></td>
@ -758,7 +758,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="realmedia_maintainaspect" name="realmedia_maintainaspect" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="realmedia_maintainaspect" name="realmedia_maintainaspect" onchange="Media.formToData();" /></td>
<td><label for="realmedia_maintainaspect">{#media_dlg.maintainaspect}</label></td> <td><label for="realmedia_maintainaspect">{#media_dlg.maintainaspect}</label></td>
@ -769,7 +769,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="realmedia_nojava" name="realmedia_nojava" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="realmedia_nojava" name="realmedia_nojava" onchange="Media.formToData();" /></td>
<td><label for="realmedia_nojava">{#media_dlg.nojava}</label></td> <td><label for="realmedia_nojava">{#media_dlg.nojava}</label></td>
@ -778,7 +778,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="realmedia_prefetch" name="realmedia_prefetch" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="realmedia_prefetch" name="realmedia_prefetch" onchange="Media.formToData();" /></td>
<td><label for="realmedia_prefetch">{#media_dlg.prefetch}</label></td> <td><label for="realmedia_prefetch">{#media_dlg.prefetch}</label></td>
@ -789,7 +789,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="realmedia_shuffle" name="realmedia_shuffle" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="realmedia_shuffle" name="realmedia_shuffle" onchange="Media.formToData();" /></td>
<td><label for="realmedia_shuffle">{#media_dlg.shuffle}</label></td> <td><label for="realmedia_shuffle">{#media_dlg.shuffle}</label></td>
@ -823,7 +823,7 @@
<fieldset id="shockwave_options"> <fieldset id="shockwave_options">
<legend>{#media_dlg.shockwave_options}</legend> <legend>{#media_dlg.shockwave_options}</legend>
<table role="presentation" border="0" cellpadding="4" cellspacing="0"> <table role="presentation" cellpadding="4" cellspacing="0">
<tr> <tr>
<td><label for="shockwave_swstretchstyle">{#media_dlg.swstretchstyle}</label></td> <td><label for="shockwave_swstretchstyle">{#media_dlg.swstretchstyle}</label></td>
<td> <td>
@ -863,7 +863,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="shockwave_autostart" name="shockwave_autostart" onchange="Media.formToData();" checked="checked" /></td> <td><input type="checkbox" class="checkbox" id="shockwave_autostart" name="shockwave_autostart" onchange="Media.formToData();" checked="checked" /></td>
<td><label for="shockwave_autostart">{#media_dlg.autostart}</label></td> <td><label for="shockwave_autostart">{#media_dlg.autostart}</label></td>
@ -872,7 +872,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="shockwave_sound" name="shockwave_sound" onchange="Media.formToData();" checked="checked" /></td> <td><input type="checkbox" class="checkbox" id="shockwave_sound" name="shockwave_sound" onchange="Media.formToData();" checked="checked" /></td>
<td><label for="shockwave_sound">{#media_dlg.sound}</label></td> <td><label for="shockwave_sound">{#media_dlg.sound}</label></td>
@ -884,7 +884,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="shockwave_swliveconnect" name="shockwave_swliveconnect" onchange="Media.formToData();" /></td> <td><input type="checkbox" class="checkbox" id="shockwave_swliveconnect" name="shockwave_swliveconnect" onchange="Media.formToData();" /></td>
<td><label for="shockwave_swliveconnect">{#media_dlg.liveconnect}</label></td> <td><label for="shockwave_swliveconnect">{#media_dlg.liveconnect}</label></td>
@ -893,7 +893,7 @@
</td> </td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input type="checkbox" class="checkbox" id="shockwave_progress" name="shockwave_progress" onchange="Media.formToData();" checked="checked" /></td> <td><input type="checkbox" class="checkbox" id="shockwave_progress" name="shockwave_progress" onchange="Media.formToData();" checked="checked" /></td>
<td><label for="shockwave_progress">{#media_dlg.progress}</label></td> <td><label for="shockwave_progress">{#media_dlg.progress}</label></td>

View File

@ -645,7 +645,7 @@
}); });
} else { } else {
if (tinymce.isWebKit) { if (tinymce.isWebKit) {
// We need to compress the styles on WebKit since if you paste <img border="0" /> it will become <img border="0" style="... lots of junk ..." /> // We need to compress the styles on WebKit since if you paste <img /> it will become <img style="... lots of junk ..." />
// Removing the mce_style that contains the real value will force the Serializer engine to compress the styles // Removing the mce_style that contains the real value will force the Serializer engine to compress the styles
each(dom.select('*', o.node), function(el) { each(dom.select('*', o.node), function(el) {
el.removeAttribute('data-mce-style'); el.removeAttribute('data-mce-style');

View File

@ -13,7 +13,7 @@ var PasteWordDialog = {
css = [ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css")]; css = [ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css")];
css = css.concat(tinymce.explode(ed.settings.content_css) || []); css = css.concat(tinymce.explode(ed.settings.content_css) || []);
tinymce.each(css, function(u) { tinymce.each(css, function(u) {
cssHTML += '<link href="' + ed.documentBaseURI.toAbsolute('' + u) + '" rel="stylesheet" type="text/css" />'; cssHTML += '<link href="' + ed.documentBaseURI.toAbsolute('' + u) + '" rel="stylesheet" />';
}); });
// Write content into iframe // Write content into iframe

View File

@ -1,8 +1,8 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#paste.paste_text_desc}</title> <title>{#paste.paste_text_desc}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/pastetext.js"></script> <script src="js/pastetext.js"></script>
</head> </head>
<body onresize="PasteTextDialog.resize();" style="display:none; overflow:hidden;"> <body onresize="PasteTextDialog.resize();" style="display:none; overflow:hidden;">
<form name="source" onsubmit="return PasteTextDialog.insert();" action="#"> <form name="source" onsubmit="return PasteTextDialog.insert();" action="#">

View File

@ -1,8 +1,8 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#paste.paste_word_desc}</title> <title>{#paste.paste_word_desc}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/pasteword.js"></script> <script src="js/pasteword.js"></script>
</head> </head>
<body onresize="PasteWordDialog.resize();" style="display:none; overflow:hidden;"> <body onresize="PasteWordDialog.resize();" style="display:none; overflow:hidden;">
<form name="source" onsubmit="return PasteWordDialog.insert();" action="#"> <form name="source" onsubmit="return PasteWordDialog.insert();" action="#">

View File

@ -1,8 +1,8 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<script language="javascript" src="../../tiny_mce_popup.js"></script> <script language="javascript" src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="jscripts/embed.js"></script> <script src="jscripts/embed.js"></script>
<script type="text/javascript"> <script>
tinyMCEPopup.onInit.add(function(ed) { tinyMCEPopup.onInit.add(function(ed) {
var dom = tinyMCEPopup.dom; var dom = tinyMCEPopup.dom;

View File

@ -1,16 +1,16 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="jscripts/embed.js"></script> <script src="jscripts/embed.js"></script>
<script type="text/javascript"><!-- <script><!--
document.write('<base href="' + tinyMCEPopup.getWindowArg("base") + '">'); document.write('<base href="' + tinyMCEPopup.getWindowArg("base") + '">');
// --> // -->
</script> </script>
<title>{#preview.preview_desc}</title> <title>{#preview.preview_desc}</title>
</head> </head>
<body id="content"> <body id="content">
<script type="text/javascript"> <script>
document.write(tinyMCEPopup.editor.getContent()); document.write(tinyMCEPopup.editor.getContent());
</script> </script>
</body> </body>

View File

@ -2,11 +2,11 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#searchreplace_dlg.replace_title}</title> <title>{#searchreplace_dlg.replace_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="js/searchreplace.js"></script> <script src="js/searchreplace.js"></script>
<link rel="stylesheet" type="text/css" href="css/searchreplace.css" /> <link rel="stylesheet" href="css/searchreplace.css" />
</head> </head>
<body style="display:none;" role="application" aria-labelledby="app_title"> <body style="display:none;" role="application" aria-labelledby="app_title">
<span id="app_title" style="display:none">{#searchreplace_dlg.replace_title}</span> <span id="app_title" style="display:none">{#searchreplace_dlg.replace_title}</span>
@ -20,14 +20,14 @@
<div class="panel_wrapper"> <div class="panel_wrapper">
<div id="search_panel" class="panel"> <div id="search_panel" class="panel">
<table role="presentation" border="0" cellspacing="0" cellpadding="2"> <table role="presentation" cellspacing="0" cellpadding="2">
<tr> <tr>
<td><label for="search_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td> <td><label for="search_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
<td><input type="text" id="search_panel_searchstring" name="search_panel_searchstring" style="width: 200px" aria-required="true" /></td> <td><input type="text" id="search_panel_searchstring" name="search_panel_searchstring" style="width: 200px" aria-required="true" /></td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellspacing="0" cellpadding="0" class="direction"> <table role="presentation" cellspacing="0" cellpadding="0" class="direction">
<tr role="group" aria-labelledby="search_panel_backwards_label"> <tr role="group" aria-labelledby="search_panel_backwards_label">
<td><label id="search_panel_backwards_label">{#searchreplace_dlg.direction}</label></td> <td><label id="search_panel_backwards_label">{#searchreplace_dlg.direction}</label></td>
<td><input id="search_panel_backwardsu" name="search_panel_backwards" class="radio" type="radio" /></td> <td><input id="search_panel_backwardsu" name="search_panel_backwards" class="radio" type="radio" /></td>
@ -40,7 +40,7 @@
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input id="search_panel_casesensitivebox" name="search_panel_casesensitivebox" class="checkbox" type="checkbox" /></td> <td><input id="search_panel_casesensitivebox" name="search_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
<td><label for="search_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td> <td><label for="search_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
@ -52,7 +52,7 @@
</div> </div>
<div id="replace_panel" class="panel"> <div id="replace_panel" class="panel">
<table role="presentation" border="0" cellspacing="0" cellpadding="2"> <table role="presentation" cellspacing="0" cellpadding="2">
<tr> <tr>
<td><label for="replace_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td> <td><label for="replace_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
<td><input type="text" id="replace_panel_searchstring" name="replace_panel_searchstring" style="width: 200px" aria-required="true" /></td> <td><input type="text" id="replace_panel_searchstring" name="replace_panel_searchstring" style="width: 200px" aria-required="true" /></td>
@ -63,7 +63,7 @@
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellspacing="0" cellpadding="0" class="direction"> <table role="presentation" cellspacing="0" cellpadding="0" class="direction">
<tr role="group" aria-labelledby="replace_panel_dir_label"> <tr role="group" aria-labelledby="replace_panel_dir_label">
<td><label id="replace_panel_dir_label">{#searchreplace_dlg.direction}</label></td> <td><label id="replace_panel_dir_label">{#searchreplace_dlg.direction}</label></td>
<td><input id="replace_panel_backwardsu" name="replace_panel_backwards" class="radio" type="radio" /></td> <td><input id="replace_panel_backwardsu" name="replace_panel_backwards" class="radio" type="radio" /></td>
@ -76,7 +76,7 @@
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input id="replace_panel_casesensitivebox" name="replace_panel_casesensitivebox" class="checkbox" type="checkbox" /></td> <td><input id="replace_panel_casesensitivebox" name="replace_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
<td><label for="replace_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td> <td><label for="replace_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>

View File

@ -2,12 +2,12 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#style_dlg.title}</title> <title>{#style_dlg.title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/editable_selects.js"></script> <script src="../../utils/editable_selects.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="js/props.js"></script> <script src="js/props.js"></script>
<link href="css/props.css" rel="stylesheet" type="text/css" /> <link href="css/props.css" rel="stylesheet" />
</head> </head>
<body id="styleprops" style="display: none" role="application" aria-labelledby="app_title"> <body id="styleprops" style="display: none" role="application" aria-labelledby="app_title">
@ -29,7 +29,7 @@
<div id="text_panel" class="panel current"> <div id="text_panel" class="panel current">
<fieldset> <fieldset>
<legend>{#style_dlg.text}</legend> <legend>{#style_dlg.text}</legend>
<table role="presentation" border="0" width="100%"> <table role="presentation" width="100%">
<tr> <tr>
<td><label for="text_font">{#style_dlg.text_font}</label></td> <td><label for="text_font">{#style_dlg.text_font}</label></td>
<td colspan="3"> <td colspan="3">
@ -39,7 +39,7 @@
<tr> <tr>
<td><label for="text_size">{#style_dlg.text_size}</label></td> <td><label for="text_size">{#style_dlg.text_size}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><select id="text_size" name="text_size" class="mceEditableSelect"></select></td> <td><select id="text_size" name="text_size" class="mceEditableSelect"></select></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -68,7 +68,7 @@
<tr> <tr>
<td><label for="text_lineheight">{#style_dlg.text_lineheight}</label></td> <td><label for="text_lineheight">{#style_dlg.text_lineheight}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td> <td>
<select id="text_lineheight" name="text_lineheight" class="mceEditableSelect"></select> <select id="text_lineheight" name="text_lineheight" class="mceEditableSelect"></select>
@ -89,7 +89,7 @@
<tr> <tr>
<td><label for="text_color">{#style_dlg.text_color}</label></td> <td><label for="text_color">{#style_dlg.text_color}</label></td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="text_color" name="text_color" type="text" value="" size="9" onChange="updateColor('text_color_pick','text_color');" /></td> <td><input id="text_color" name="text_color" type="text" value="" size="9" onChange="updateColor('text_color_pick','text_color');" /></td>
<td id="text_color_pickcontainer">&nbsp;</td> <td id="text_color_pickcontainer">&nbsp;</td>
@ -100,7 +100,7 @@
<tr> <tr>
<td valign="top" style="vertical-align: top; padding-top: 3px;">{#style_dlg.text_decoration}</td> <td valign="top" style="vertical-align: top; padding-top: 3px;">{#style_dlg.text_decoration}</td>
<td colspan="2"> <td colspan="2">
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input id="text_underline" name="text_underline" class="checkbox" type="checkbox" /></td> <td><input id="text_underline" name="text_underline" class="checkbox" type="checkbox" /></td>
<td><label for="text_underline">{#style_dlg.text_underline}</label></td> <td><label for="text_underline">{#style_dlg.text_underline}</label></td>
@ -131,11 +131,11 @@
<div id="background_panel" class="panel"> <div id="background_panel" class="panel">
<fieldset> <fieldset>
<legend>{#style_dlg.background}</legend> <legend>{#style_dlg.background}</legend>
<table role="presentation" border="0"> <table role="presentation">
<tr> <tr>
<td><label for="background_color">{#style_dlg.background_color}</label></td> <td><label for="background_color">{#style_dlg.background_color}</label></td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="background_color" name="background_color" type="text" value="" size="9" onChange="updateColor('background_color_pick','background_color');" /></td> <td><input id="background_color" name="background_color" type="text" value="" size="9" onChange="updateColor('background_color_pick','background_color');" /></td>
<td id="background_color_pickcontainer">&nbsp;</td> <td id="background_color_pickcontainer">&nbsp;</td>
@ -146,7 +146,7 @@
<tr> <tr>
<td><label for="background_image">{#style_dlg.background_image}</label></td> <td><label for="background_image">{#style_dlg.background_image}</label></td>
<td><table role="presentation" border="0" cellspacing="0" cellpadding="0"> <td><table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input id="background_image" name="background_image" type="text" /></td> <td><input id="background_image" name="background_image" type="text" /></td>
<td id="background_image_browser">&nbsp;</td> <td id="background_image_browser">&nbsp;</td>
@ -168,7 +168,7 @@
<tr> <tr>
<td><label for="background_hpos">{#style_dlg.background_hpos}</label></td> <td><label for="background_hpos">{#style_dlg.background_hpos}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><select id="background_hpos" name="background_hpos" class="mceEditableSelect"></select></td> <td><select id="background_hpos" name="background_hpos" class="mceEditableSelect"></select></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -184,7 +184,7 @@
<tr> <tr>
<td><label for="background_vpos">{#style_dlg.background_vpos}</label></td> <td><label for="background_vpos">{#style_dlg.background_vpos}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><select id="background_vpos" name="background_vpos" class="mceEditableSelect"></select></td> <td><select id="background_vpos" name="background_vpos" class="mceEditableSelect"></select></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -203,11 +203,11 @@
<div id="block_panel" class="panel"> <div id="block_panel" class="panel">
<fieldset> <fieldset>
<legend>{#style_dlg.block}</legend> <legend>{#style_dlg.block}</legend>
<table role="presentation" border="0"> <table role="presentation">
<tr> <tr>
<td><label for="block_wordspacing">{#style_dlg.block_wordspacing}</label></td> <td><label for="block_wordspacing">{#style_dlg.block_wordspacing}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><select id="block_wordspacing" name="block_wordspacing" class="mceEditableSelect"></select></td> <td><select id="block_wordspacing" name="block_wordspacing" class="mceEditableSelect"></select></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -223,7 +223,7 @@
<tr> <tr>
<td><label for="block_letterspacing">{#style_dlg.block_letterspacing}</label></td> <td><label for="block_letterspacing">{#style_dlg.block_letterspacing}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><select id="block_letterspacing" name="block_letterspacing" class="mceEditableSelect"></select></td> <td><select id="block_letterspacing" name="block_letterspacing" class="mceEditableSelect"></select></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -249,7 +249,7 @@
<tr> <tr>
<td><label for="block_text_indent">{#style_dlg.block_text_indent}</label></td> <td><label for="block_text_indent">{#style_dlg.block_text_indent}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="block_text_indent" name="block_text_indent" /></td> <td><input type="text" id="block_text_indent" name="block_text_indent" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -279,11 +279,11 @@
<div id="box_panel" class="panel"> <div id="box_panel" class="panel">
<fieldset> <fieldset>
<legend>{#style_dlg.box}</legend> <legend>{#style_dlg.box}</legend>
<table role="presentation" border="0"> <table role="presentation">
<tr> <tr>
<td><label for="box_width">{#style_dlg.box_width}</label></td> <td><label for="box_width">{#style_dlg.box_width}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="box_width" name="box_width" class="mceEditableSelect" onChange="synch('box_width','positioning_width');" /></td> <td><input type="text" id="box_width" name="box_width" class="mceEditableSelect" onChange="synch('box_width','positioning_width');" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -301,7 +301,7 @@
<tr> <tr>
<td><label for="box_height">{#style_dlg.box_height}</label></td> <td><label for="box_height">{#style_dlg.box_height}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="box_height" name="box_height" class="mceEditableSelect" onChange="synch('box_height','positioning_height');" /></td> <td><input type="text" id="box_height" name="box_height" class="mceEditableSelect" onChange="synch('box_height','positioning_height');" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -322,7 +322,7 @@
<fieldset> <fieldset>
<legend>{#style_dlg.padding}</legend> <legend>{#style_dlg.padding}</legend>
<table role="presentation" border="0"> <table role="presentation">
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td><input type="checkbox" id="box_padding_same" name="box_padding_same" class="checkbox" checked="checked" onClick="toggleSame(this,'box_padding');" /> <label for="box_padding_same">{#style_dlg.same}</label></td> <td><input type="checkbox" id="box_padding_same" name="box_padding_same" class="checkbox" checked="checked" onClick="toggleSame(this,'box_padding');" /> <label for="box_padding_same">{#style_dlg.same}</label></td>
@ -330,7 +330,7 @@
<tr> <tr>
<td><label for="box_padding_top">{#style_dlg.top}</label></td> <td><label for="box_padding_top">{#style_dlg.top}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="box_padding_top" name="box_padding_top" class="mceEditableSelect" /></td> <td><input type="text" id="box_padding_top" name="box_padding_top" class="mceEditableSelect" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -345,7 +345,7 @@
<tr> <tr>
<td><label for="box_padding_right">{#style_dlg.right}</label></td> <td><label for="box_padding_right">{#style_dlg.right}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="box_padding_right" name="box_padding_right" class="mceEditableSelect" disabled="disabled" /></td> <td><input type="text" id="box_padding_right" name="box_padding_right" class="mceEditableSelect" disabled="disabled" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -360,7 +360,7 @@
<tr> <tr>
<td><label for="box_padding_bottom">{#style_dlg.bottom}</label></td> <td><label for="box_padding_bottom">{#style_dlg.bottom}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="box_padding_bottom" name="box_padding_bottom" class="mceEditableSelect" disabled="disabled" /></td> <td><input type="text" id="box_padding_bottom" name="box_padding_bottom" class="mceEditableSelect" disabled="disabled" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -375,7 +375,7 @@
<tr> <tr>
<td><label for="box_padding_left">{#style_dlg.left}</label></td> <td><label for="box_padding_left">{#style_dlg.left}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="box_padding_left" name="box_padding_left" class="mceEditableSelect" disabled="disabled" /></td> <td><input type="text" id="box_padding_left" name="box_padding_left" class="mceEditableSelect" disabled="disabled" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -395,7 +395,7 @@
<fieldset> <fieldset>
<legend>{#style_dlg.margin}</legend> <legend>{#style_dlg.margin}</legend>
<table role="presentation" border="0"> <table role="presentation">
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td><input type="checkbox" id="box_margin_same" name="box_margin_same" class="checkbox" checked="checked" onClick="toggleSame(this,'box_margin');" /> <label for="box_margin_same">{#style_dlg.same}</label></td> <td><input type="checkbox" id="box_margin_same" name="box_margin_same" class="checkbox" checked="checked" onClick="toggleSame(this,'box_margin');" /> <label for="box_margin_same">{#style_dlg.same}</label></td>
@ -403,7 +403,7 @@
<tr> <tr>
<td><label for="box_margin_top">{#style_dlg.top}</label></td> <td><label for="box_margin_top">{#style_dlg.top}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="box_margin_top" name="box_margin_top" class="mceEditableSelect" /></td> <td><input type="text" id="box_margin_top" name="box_margin_top" class="mceEditableSelect" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -418,7 +418,7 @@
<tr> <tr>
<td><label for="box_margin_right">{#style_dlg.right}</label></td> <td><label for="box_margin_right">{#style_dlg.right}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="box_margin_right" name="box_margin_right" class="mceEditableSelect" disabled="disabled" /></td> <td><input type="text" id="box_margin_right" name="box_margin_right" class="mceEditableSelect" disabled="disabled" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -433,7 +433,7 @@
<tr> <tr>
<td><label for="box_margin_bottom">{#style_dlg.bottom}</label></td> <td><label for="box_margin_bottom">{#style_dlg.bottom}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="box_margin_bottom" name="box_margin_bottom" class="mceEditableSelect" disabled="disabled" /></td> <td><input type="text" id="box_margin_bottom" name="box_margin_bottom" class="mceEditableSelect" disabled="disabled" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -448,7 +448,7 @@
<tr> <tr>
<td><label for="box_margin_left">{#style_dlg.left}</label></td> <td><label for="box_margin_left">{#style_dlg.left}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="box_margin_left" name="box_margin_left" class="mceEditableSelect" disabled="disabled" /></td> <td><input type="text" id="box_margin_left" name="box_margin_left" class="mceEditableSelect" disabled="disabled" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -469,7 +469,7 @@
<div id="border_panel" class="panel"> <div id="border_panel" class="panel">
<fieldset> <fieldset>
<legend>{#style_dlg.border}</legend> <legend>{#style_dlg.border}</legend>
<table role="presentation" border="0" cellspacing="0" cellpadding="0" width="100%"> <table role="presentation" cellspacing="0" cellpadding="0" width="100%">
<tr> <tr>
<td class="tdelim">&nbsp;</td> <td class="tdelim">&nbsp;</td>
<td class="tdelim delim">&nbsp;</td> <td class="tdelim delim">&nbsp;</td>
@ -496,7 +496,7 @@
<td><select id="border_style_top" name="border_style_top" class="mceEditableSelect"></select></td> <td><select id="border_style_top" name="border_style_top" class="mceEditableSelect"></select></td>
<td class="delim">&nbsp;</td> <td class="delim">&nbsp;</td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><select id="border_width_top" name="border_width_top" class="mceEditableSelect"></select></td> <td><select id="border_width_top" name="border_width_top" class="mceEditableSelect"></select></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -509,7 +509,7 @@
</td> </td>
<td class="delim">&nbsp;</td> <td class="delim">&nbsp;</td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="border_color_top" name="border_color_top" type="text" value="" size="9" onChange="updateColor('border_color_top_pick','border_color_top');" /></td> <td><input id="border_color_top" name="border_color_top" type="text" value="" size="9" onChange="updateColor('border_color_top_pick','border_color_top');" /></td>
<td id="border_color_top_pickcontainer">&nbsp;</td> <td id="border_color_top_pickcontainer">&nbsp;</td>
@ -524,7 +524,7 @@
<td><select id="border_style_right" name="border_style_right" class="mceEditableSelect" disabled="disabled"></select></td> <td><select id="border_style_right" name="border_style_right" class="mceEditableSelect" disabled="disabled"></select></td>
<td class="delim">&nbsp;</td> <td class="delim">&nbsp;</td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><select id="border_width_right" name="border_width_right" class="mceEditableSelect" disabled="disabled"></select></td> <td><select id="border_width_right" name="border_width_right" class="mceEditableSelect" disabled="disabled"></select></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -537,7 +537,7 @@
</td> </td>
<td class="delim">&nbsp;</td> <td class="delim">&nbsp;</td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="border_color_right" name="border_color_right" type="text" value="" size="9" onChange="updateColor('border_color_right_pick','border_color_right');" disabled="disabled" /></td> <td><input id="border_color_right" name="border_color_right" type="text" value="" size="9" onChange="updateColor('border_color_right_pick','border_color_right');" disabled="disabled" /></td>
<td id="border_color_right_pickcontainer">&nbsp;</td> <td id="border_color_right_pickcontainer">&nbsp;</td>
@ -552,7 +552,7 @@
<td><select id="border_style_bottom" name="border_style_bottom" class="mceEditableSelect" disabled="disabled"></select></td> <td><select id="border_style_bottom" name="border_style_bottom" class="mceEditableSelect" disabled="disabled"></select></td>
<td class="delim">&nbsp;</td> <td class="delim">&nbsp;</td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><select id="border_width_bottom" name="border_width_bottom" class="mceEditableSelect" disabled="disabled"></select></td> <td><select id="border_width_bottom" name="border_width_bottom" class="mceEditableSelect" disabled="disabled"></select></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -565,7 +565,7 @@
</td> </td>
<td class="delim">&nbsp;</td> <td class="delim">&nbsp;</td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="border_color_bottom" name="border_color_bottom" type="text" value="" size="9" onChange="updateColor('border_color_bottom_pick','border_color_bottom');" disabled="disabled" /></td> <td><input id="border_color_bottom" name="border_color_bottom" type="text" value="" size="9" onChange="updateColor('border_color_bottom_pick','border_color_bottom');" disabled="disabled" /></td>
<td id="border_color_bottom_pickcontainer">&nbsp;</td> <td id="border_color_bottom_pickcontainer">&nbsp;</td>
@ -580,7 +580,7 @@
<td><select id="border_style_left" name="border_style_left" class="mceEditableSelect" disabled="disabled"></select></td> <td><select id="border_style_left" name="border_style_left" class="mceEditableSelect" disabled="disabled"></select></td>
<td class="delim">&nbsp;</td> <td class="delim">&nbsp;</td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><select id="border_width_left" name="border_width_left" class="mceEditableSelect" disabled="disabled"></select></td> <td><select id="border_width_left" name="border_width_left" class="mceEditableSelect" disabled="disabled"></select></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -593,7 +593,7 @@
</td> </td>
<td class="delim">&nbsp;</td> <td class="delim">&nbsp;</td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="border_color_left" name="border_color_left" type="text" value="" size="9" onChange="updateColor('border_color_left_pick','border_color_left');" disabled="disabled" /></td> <td><input id="border_color_left" name="border_color_left" type="text" value="" size="9" onChange="updateColor('border_color_left_pick','border_color_left');" disabled="disabled" /></td>
<td id="border_color_left_pickcontainer">&nbsp;</td> <td id="border_color_left_pickcontainer">&nbsp;</td>
@ -608,7 +608,7 @@
<div id="list_panel" class="panel"> <div id="list_panel" class="panel">
<fieldset> <fieldset>
<legend>{#style_dlg.list}</legend> <legend>{#style_dlg.list}</legend>
<table role="presentation" border="0"> <table role="presentation">
<tr> <tr>
<td><label for="list_type">{#style_dlg.list_type}</label></td> <td><label for="list_type">{#style_dlg.list_type}</label></td>
<td><select id="list_type" name="list_type" class="mceEditableSelect"></select></td> <td><select id="list_type" name="list_type" class="mceEditableSelect"></select></td>
@ -630,7 +630,7 @@
<div id="positioning_panel" class="panel"> <div id="positioning_panel" class="panel">
<fieldset> <fieldset>
<legend>{#style_dlg.position}</legend> <legend>{#style_dlg.position}</legend>
<table role="presentation" border="0"> <table role="presentation">
<tr> <tr>
<td><label for="positioning_type">{#style_dlg.positioning_type}</label></td> <td><label for="positioning_type">{#style_dlg.positioning_type}</label></td>
<td><select id="positioning_type" name="positioning_type" class="mceEditableSelect"></select></td> <td><select id="positioning_type" name="positioning_type" class="mceEditableSelect"></select></td>
@ -641,7 +641,7 @@
<tr> <tr>
<td><label for="positioning_width">{#style_dlg.width}</label></td> <td><label for="positioning_width">{#style_dlg.width}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="positioning_width" name="positioning_width" onChange="synch('positioning_width','box_width');" /></td> <td><input type="text" id="positioning_width" name="positioning_width" onChange="synch('positioning_width','box_width');" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -659,7 +659,7 @@
<tr> <tr>
<td><label for="positioning_height">{#style_dlg.height}</label></td> <td><label for="positioning_height">{#style_dlg.height}</label></td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="positioning_height" name="positioning_height" onChange="synch('positioning_height','box_height');" /></td> <td><input type="text" id="positioning_height" name="positioning_height" onChange="synch('positioning_height','box_height');" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -680,7 +680,7 @@
<fieldset> <fieldset>
<legend>{#style_dlg.placement}</legend> <legend>{#style_dlg.placement}</legend>
<table role="presentation" border="0"> <table role="presentation">
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td><input type="checkbox" id="positioning_placement_same" name="positioning_placement_same" class="checkbox" checked="checked" onClick="toggleSame(this,'positioning_placement');" /> <label for="positioning_placement_same">{#style_dlg.same}</label></td> <td><input type="checkbox" id="positioning_placement_same" name="positioning_placement_same" class="checkbox" checked="checked" onClick="toggleSame(this,'positioning_placement');" /> <label for="positioning_placement_same">{#style_dlg.same}</label></td>
@ -688,7 +688,7 @@
<tr> <tr>
<td>{#style_dlg.top}</td> <td>{#style_dlg.top}</td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="positioning_placement_top" name="positioning_placement_top" /></td> <td><input type="text" id="positioning_placement_top" name="positioning_placement_top" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -703,7 +703,7 @@
<tr> <tr>
<td>{#style_dlg.right}</td> <td>{#style_dlg.right}</td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="positioning_placement_right" name="positioning_placement_right" disabled="disabled" /></td> <td><input type="text" id="positioning_placement_right" name="positioning_placement_right" disabled="disabled" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -718,7 +718,7 @@
<tr> <tr>
<td>{#style_dlg.bottom}</td> <td>{#style_dlg.bottom}</td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="positioning_placement_bottom" name="positioning_placement_bottom" disabled="disabled" /></td> <td><input type="text" id="positioning_placement_bottom" name="positioning_placement_bottom" disabled="disabled" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -733,7 +733,7 @@
<tr> <tr>
<td>{#style_dlg.left}</td> <td>{#style_dlg.left}</td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="positioning_placement_left" name="positioning_placement_left" disabled="disabled" /></td> <td><input type="text" id="positioning_placement_left" name="positioning_placement_left" disabled="disabled" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -753,7 +753,7 @@
<fieldset> <fieldset>
<legend>{#style_dlg.clip}</legend> <legend>{#style_dlg.clip}</legend>
<table role="presentation" border="0"> <table role="presentation">
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td><input type="checkbox" id="positioning_clip_same" name="positioning_clip_same" class="checkbox" checked="checked" onClick="toggleSame(this,'positioning_clip');" /> <label for="positioning_clip_same">{#style_dlg.same}</label></td> <td><input type="checkbox" id="positioning_clip_same" name="positioning_clip_same" class="checkbox" checked="checked" onClick="toggleSame(this,'positioning_clip');" /> <label for="positioning_clip_same">{#style_dlg.same}</label></td>
@ -761,7 +761,7 @@
<tr> <tr>
<td>{#style_dlg.top}</td> <td>{#style_dlg.top}</td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="positioning_clip_top" name="positioning_clip_top" /></td> <td><input type="text" id="positioning_clip_top" name="positioning_clip_top" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -776,7 +776,7 @@
<tr> <tr>
<td>{#style_dlg.right}</td> <td>{#style_dlg.right}</td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="positioning_clip_right" name="positioning_clip_right" disabled="disabled" /></td> <td><input type="text" id="positioning_clip_right" name="positioning_clip_right" disabled="disabled" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -791,7 +791,7 @@
<tr> <tr>
<td>{#style_dlg.bottom}</td> <td>{#style_dlg.bottom}</td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="positioning_clip_bottom" name="positioning_clip_bottom" disabled="disabled" /></td> <td><input type="text" id="positioning_clip_bottom" name="positioning_clip_bottom" disabled="disabled" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>
@ -806,7 +806,7 @@
<tr> <tr>
<td>{#style_dlg.left}</td> <td>{#style_dlg.left}</td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input type="text" id="positioning_clip_left" name="positioning_clip_left" disabled="disabled" /></td> <td><input type="text" id="positioning_clip_left" name="positioning_clip_left" disabled="disabled" /></td>
<td>&nbsp;</td> <td>&nbsp;</td>

View File

@ -2,13 +2,13 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#table_dlg.cell_title}</title> <title>{#table_dlg.cell_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="../../utils/validate.js"></script> <script src="../../utils/validate.js"></script>
<script type="text/javascript" src="../../utils/editable_selects.js"></script> <script src="../../utils/editable_selects.js"></script>
<script type="text/javascript" src="js/cell.js"></script> <script src="js/cell.js"></script>
<link href="css/cell.css" rel="stylesheet" type="text/css" /> <link href="css/cell.css" rel="stylesheet" />
</head> </head>
<body id="tablecell" style="display: none" role="application"> <body id="tablecell" style="display: none" role="application">
<form onsubmit="updateAction();return false;" action="#"> <form onsubmit="updateAction();return false;" action="#">
@ -24,7 +24,7 @@
<fieldset> <fieldset>
<legend>{#table_dlg.general_props}</legend> <legend>{#table_dlg.general_props}</legend>
<table role="presentation" border="0" cellpadding="4" cellspacing="0"> <table role="presentation" cellpadding="4" cellspacing="0">
<tr> <tr>
<td><label for="align">{#table_dlg.align}</label></td> <td><label for="align">{#table_dlg.align}</label></td>
<td> <td>
@ -93,7 +93,7 @@
<fieldset> <fieldset>
<legend>{#table_dlg.advanced_props}</legend> <legend>{#table_dlg.advanced_props}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="column1"><label for="id">{#table_dlg.id}</label></td> <td class="column1"><label for="id">{#table_dlg.id}</label></td>
<td><input id="id" name="id" type="text" value="" style="width: 200px" /></td> <td><input id="id" name="id" type="text" value="" style="width: 200px" /></td>
@ -125,7 +125,7 @@
<tr> <tr>
<td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td> <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td> <td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
<td id="backgroundimagebrowsercontainer">&nbsp;</td> <td id="backgroundimagebrowsercontainer">&nbsp;</td>
@ -137,7 +137,7 @@
<tr role="group" aria-labelledby="bordercolor_label"> <tr role="group" aria-labelledby="bordercolor_label">
<td class="column1"><label id="bordercolor_label" for="bordercolor">{#table_dlg.bordercolor}</label></td> <td class="column1"><label id="bordercolor_label" for="bordercolor">{#table_dlg.bordercolor}</label></td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td> <td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
<td id="bordercolor_pickcontainer">&nbsp;</td> <td id="bordercolor_pickcontainer">&nbsp;</td>
@ -149,7 +149,7 @@
<tr role="group" aria-labelledby="bgcolor_label"> <tr role="group" aria-labelledby="bgcolor_label">
<td class="column1"><label id="bgcolor_label" for="bgcolor">{#table_dlg.bgcolor}</label></td> <td class="column1"><label id="bgcolor_label" for="bgcolor">{#table_dlg.bgcolor}</label></td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td> <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
<td id="bgcolor_pickcontainer">&nbsp;</td> <td id="bgcolor_pickcontainer">&nbsp;</td>

View File

@ -2,16 +2,16 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#table_dlg.merge_cells_title}</title> <title>{#table_dlg.merge_cells_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/validate.js"></script> <script src="../../utils/validate.js"></script>
<script type="text/javascript" src="js/merge_cells.js"></script> <script src="js/merge_cells.js"></script>
</head> </head>
<body style="margin: 8px" role="application"> <body style="margin: 8px" role="application">
<form onsubmit="MergeCellsDialog.merge();return false;" action="#"> <form onsubmit="MergeCellsDialog.merge();return false;" action="#">
<fieldset> <fieldset>
<legend>{#table_dlg.merge_cells_title}</legend> <legend>{#table_dlg.merge_cells_title}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="3" width="100%"> <table role="presentation" cellpadding="0" cellspacing="3" width="100%">
<tr> <tr>
<td><label for="numcols">{#table_dlg.cols}</label>:</td> <td><label for="numcols">{#table_dlg.cols}</label>:</td>
<td align="right"><input type="text" id="numcols" name="numcols" value="" class="number min1 mceFocus" style="width: 30px" aria-required="true" /></td> <td align="right"><input type="text" id="numcols" name="numcols" value="" class="number min1 mceFocus" style="width: 30px" aria-required="true" /></td>

View File

@ -2,13 +2,13 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#table_dlg.row_title}</title> <title>{#table_dlg.row_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="../../utils/validate.js"></script> <script src="../../utils/validate.js"></script>
<script type="text/javascript" src="../../utils/editable_selects.js"></script> <script src="../../utils/editable_selects.js"></script>
<script type="text/javascript" src="js/row.js"></script> <script src="js/row.js"></script>
<link href="css/row.css" rel="stylesheet" type="text/css" /> <link href="css/row.css" rel="stylesheet" />
</head> </head>
<body id="tablerow" style="display: none" role="application"> <body id="tablerow" style="display: none" role="application">
<form onsubmit="updateAction();return false;" action="#"> <form onsubmit="updateAction();return false;" action="#">
@ -24,7 +24,7 @@
<fieldset> <fieldset>
<legend>{#table_dlg.general_props}</legend> <legend>{#table_dlg.general_props}</legend>
<table role="presentation" border="0" cellpadding="4" cellspacing="0"> <table role="presentation" cellpadding="4" cellspacing="0">
<tr> <tr>
<td><label for="rowtype">{#table_dlg.rowtype}</label></td> <td><label for="rowtype">{#table_dlg.rowtype}</label></td>
<td class="col2"> <td class="col2">
@ -81,7 +81,7 @@
<fieldset> <fieldset>
<legend>{#table_dlg.advanced_props}</legend> <legend>{#table_dlg.advanced_props}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="column1"><label for="id">{#table_dlg.id}</label></td> <td class="column1"><label for="id">{#table_dlg.id}</label></td>
<td><input id="id" name="id" type="text" value="" style="width: 200px" /></td> <td><input id="id" name="id" type="text" value="" style="width: 200px" /></td>
@ -113,7 +113,7 @@
<tr> <tr>
<td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td> <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td> <td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
<td id="backgroundimagebrowsercontainer">&nbsp;</td> <td id="backgroundimagebrowsercontainer">&nbsp;</td>
@ -126,7 +126,7 @@
<td class="column1"><label for="bgcolor" id="bgcolor_label">{#table_dlg.bgcolor}</label></td> <td class="column1"><label for="bgcolor" id="bgcolor_label">{#table_dlg.bgcolor}</label></td>
<td> <td>
<span role="group" aria-labelledby="bgcolor_label"> <span role="group" aria-labelledby="bgcolor_label">
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td> <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
<td id="bgcolor_pickcontainer">&nbsp;</td> <td id="bgcolor_pickcontainer">&nbsp;</td>

View File

@ -2,13 +2,13 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#table_dlg.title}</title> <title>{#table_dlg.title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="../../utils/validate.js"></script> <script src="../../utils/validate.js"></script>
<script type="text/javascript" src="../../utils/editable_selects.js"></script> <script src="../../utils/editable_selects.js"></script>
<script type="text/javascript" src="js/table.js"></script> <script src="js/table.js"></script>
<link href="css/table.css" rel="stylesheet" type="text/css" /> <link href="css/table.css" rel="stylesheet" />
</head> </head>
<body id="table" style="display: none" role="application" aria-labelledby="app_title"> <body id="table" style="display: none" role="application" aria-labelledby="app_title">
<span style="display:none;" id="app_title">{#table_dlg.title}</span> <span style="display:none;" id="app_title">{#table_dlg.title}</span>
@ -24,7 +24,7 @@
<div id="general_panel" class="panel current"> <div id="general_panel" class="panel current">
<fieldset> <fieldset>
<legend>{#table_dlg.general_props}</legend> <legend>{#table_dlg.general_props}</legend>
<table role="presentation" border="0" cellpadding="4" cellspacing="0" width="100%"> <table role="presentation" cellpadding="4" cellspacing="0" width="100%">
<tr> <tr>
<td><label id="colslabel" for="cols">{#table_dlg.cols}</label></td> <td><label id="colslabel" for="cols">{#table_dlg.cols}</label></td>
<td><input id="cols" name="cols" type="text" value="" size="3" maxlength="3" class="required number min1 mceFocus" aria-required="true" /></td> <td><input id="cols" name="cols" type="text" value="" size="3" maxlength="3" class="required number min1 mceFocus" aria-required="true" /></td>
@ -73,7 +73,7 @@
<fieldset> <fieldset>
<legend>{#table_dlg.advanced_props}</legend> <legend>{#table_dlg.advanced_props}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="column1"><label for="id">{#table_dlg.id}</label></td> <td class="column1"><label for="id">{#table_dlg.id}</label></td>
<td><input id="id" name="id" type="text" value="" class="advfield" /></td> <td><input id="id" name="id" type="text" value="" class="advfield" /></td>
@ -99,7 +99,7 @@
<tr> <tr>
<td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td> <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
<td> <td>
<table role="presentation" aria-labelledby="backgroundimage_label" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" aria-labelledby="backgroundimage_label" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="backgroundimage" name="backgroundimage" type="text" value="" class="advfield" onchange="changedBackgroundImage();" /></td> <td><input id="backgroundimage" name="backgroundimage" type="text" value="" class="advfield" onchange="changedBackgroundImage();" /></td>
<td id="backgroundimagebrowsercontainer">&nbsp;</td> <td id="backgroundimagebrowsercontainer">&nbsp;</td>
@ -154,7 +154,7 @@
<tr role="group" aria-labelledby="bordercolor_label"> <tr role="group" aria-labelledby="bordercolor_label">
<td class="column1"><label id="bordercolor_label" for="bordercolor">{#table_dlg.bordercolor}</label></td> <td class="column1"><label id="bordercolor_label" for="bordercolor">{#table_dlg.bordercolor}</label></td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td> <td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
<td id="bordercolor_pickcontainer">&nbsp;</td> <td id="bordercolor_pickcontainer">&nbsp;</td>
@ -166,7 +166,7 @@
<tr role="group" aria-labelledby="bgcolor_label"> <tr role="group" aria-labelledby="bgcolor_label">
<td class="column1"><label id="bgcolor_label" for="bgcolor">{#table_dlg.bgcolor}</label></td> <td class="column1"><label id="bgcolor_label" for="bgcolor">{#table_dlg.bgcolor}</label></td>
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" cellpadding="0" cellspacing="0">
<tr> <tr>
<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td> <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
<td id="bgcolor_pickcontainer">&nbsp;</td> <td id="bgcolor_pickcontainer">&nbsp;</td>

View File

@ -2,7 +2,7 @@
<head> <head>
<title>blank_page</title> <title>blank_page</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript"> <script>
parent.TemplateDialog.loadCSSFiles(document); parent.TemplateDialog.loadCSSFiles(document);
</script> </script>
</head> </head>

View File

@ -5,7 +5,7 @@ var TemplateDialog = {
var url = tinyMCEPopup.getParam("template_external_list_url"); var url = tinyMCEPopup.getParam("template_external_list_url");
if (url != null) if (url != null)
document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></sc'+'ript>'); document.write('<sc'+'ript language="javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></sc'+'ript>');
}, },
init : function() { init : function() {
@ -50,7 +50,7 @@ var TemplateDialog = {
var ed = tinyMCEPopup.editor; var ed = tinyMCEPopup.editor;
tinymce.each(ed.getParam("content_css", '').split(','), function(u) { tinymce.each(ed.getParam("content_css", '').split(','), function(u) {
d.write('<link href="' + ed.documentBaseURI.toAbsolute(u) + '" rel="stylesheet" type="text/css" />'); d.write('<link href="' + ed.documentBaseURI.toAbsolute(u) + '" rel="stylesheet" />');
}); });
}, },

View File

@ -1,9 +1,9 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#template_dlg.title}</title> <title>{#template_dlg.title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/template.js"></script> <script src="js/template.js"></script>
<link href="css/template.css" rel="stylesheet" type="text/css" /> <link href="css/template.css" rel="stylesheet" />
</head> </head>
<body onresize="TemplateDialog.resize();"> <body onresize="TemplateDialog.resize();">
<form onsubmit="TemplateDialog.insert();return false;"> <form onsubmit="TemplateDialog.insert();return false;">

View File

@ -2,13 +2,13 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#xhtmlxtras_dlg.title_abbr_element}</title> <title>{#xhtmlxtras_dlg.title_abbr_element}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="../../utils/editable_selects.js"></script> <script src="../../utils/editable_selects.js"></script>
<script type="text/javascript" src="js/element_common.js"></script> <script src="js/element_common.js"></script>
<script type="text/javascript" src="js/abbr.js"></script> <script src="js/abbr.js"></script>
<link rel="stylesheet" type="text/css" href="css/popup.css" /> <link rel="stylesheet" href="css/popup.css" />
</head> </head>
<body style="display: none" role="application" aria-labelledby="app_title"> <body style="display: none" role="application" aria-labelledby="app_title">
<span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_abbr_element}</span> <span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_abbr_element}</span>
@ -24,7 +24,7 @@
<div id="general_panel" class="panel current"> <div id="general_panel" class="panel current">
<fieldset> <fieldset>
<legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend> <legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td> <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
<td><input id="title" name="title" type="text" value="" class="field mceFocus" /></td> <td><input id="title" name="title" type="text" value="" class="field mceFocus" /></td>
@ -68,7 +68,7 @@
<fieldset> <fieldset>
<legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend> <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="label"><label for="onfocus">onfocus</label>:</td> <td class="label"><label for="onfocus">onfocus</label>:</td>
<td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td> <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>

View File

@ -2,13 +2,13 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#xhtmlxtras_dlg.title_acronym_element}</title> <title>{#xhtmlxtras_dlg.title_acronym_element}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="../../utils/editable_selects.js"></script> <script src="../../utils/editable_selects.js"></script>
<script type="text/javascript" src="js/element_common.js"></script> <script src="js/element_common.js"></script>
<script type="text/javascript" src="js/acronym.js"></script> <script src="js/acronym.js"></script>
<link rel="stylesheet" type="text/css" href="css/popup.css" /> <link rel="stylesheet" href="css/popup.css" />
</head> </head>
<body style="display: none" role="application" aria-labelledby="app_title"> <body style="display: none" role="application" aria-labelledby="app_title">
<span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_acronym_element}</span> <span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_acronym_element}</span>
@ -24,7 +24,7 @@
<div id="general_panel" class="panel current"> <div id="general_panel" class="panel current">
<fieldset> <fieldset>
<legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend> <legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td> <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
<td><input id="title" name="title" type="text" value="" class="field mceFocus" /></td> <td><input id="title" name="title" type="text" value="" class="field mceFocus" /></td>
@ -68,7 +68,7 @@
<fieldset> <fieldset>
<legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend> <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="label"><label for="onfocus">onfocus</label>:</td> <td class="label"><label for="onfocus">onfocus</label>:</td>
<td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td> <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>

View File

@ -2,12 +2,12 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#xhtmlxtras_dlg.attribs_title}</title> <title>{#xhtmlxtras_dlg.attribs_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/editable_selects.js"></script> <script src="../../utils/editable_selects.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="js/attributes.js"></script> <script src="js/attributes.js"></script>
<link rel="stylesheet" type="text/css" href="css/attributes.css" /> <link rel="stylesheet" href="css/attributes.css" />
</head> </head>
<body style="display: none" role="application" aria-labelledby="app_title"> <body style="display: none" role="application" aria-labelledby="app_title">
<span style="display:none;" id="app_title">{#xhtmlxtras_dlg.attribs_title}</span> <span style="display:none;" id="app_title">{#xhtmlxtras_dlg.attribs_title}</span>
@ -23,7 +23,7 @@
<div id="general_panel" class="panel current"> <div id="general_panel" class="panel current">
<fieldset> <fieldset>
<legend>{#xhtmlxtras_dlg.attribute_attrib_tab}</legend> <legend>{#xhtmlxtras_dlg.attribute_attrib_tab}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td> <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
<td><input id="title" name="title" type="text" value="" class="mceFocus" /></td> <td><input id="title" name="title" type="text" value="" class="mceFocus" /></td>
@ -76,7 +76,7 @@
<fieldset> <fieldset>
<legend>{#xhtmlxtras_dlg.attribute_events_tab}</legend> <legend>{#xhtmlxtras_dlg.attribute_events_tab}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="label"><label for="onfocus">onfocus</label>:</td> <td class="label"><label for="onfocus">onfocus</label>:</td>
<td><input id="onfocus" name="onfocus" type="text" value="" /></td> <td><input id="onfocus" name="onfocus" type="text" value="" /></td>

View File

@ -2,13 +2,13 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#xhtmlxtras_dlg.title_cite_element}</title> <title>{#xhtmlxtras_dlg.title_cite_element}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="../../utils/editable_selects.js"></script> <script src="../../utils/editable_selects.js"></script>
<script type="text/javascript" src="js/element_common.js"></script> <script src="js/element_common.js"></script>
<script type="text/javascript" src="js/cite.js"></script> <script src="js/cite.js"></script>
<link rel="stylesheet" type="text/css" href="css/popup.css" /> <link rel="stylesheet" href="css/popup.css" />
</head> </head>
<body style="display: none" role="application" aria-labelledby="app_title"> <body style="display: none" role="application" aria-labelledby="app_title">
<span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_cite_element}</span> <span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_cite_element}</span>
@ -24,7 +24,7 @@
<div id="general_panel" class="panel current"> <div id="general_panel" class="panel current">
<fieldset> <fieldset>
<legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend> <legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td> <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
<td><input id="title" name="title" type="text" value="" class="field mceFocus" /></td> <td><input id="title" name="title" type="text" value="" class="field mceFocus" /></td>
@ -68,7 +68,7 @@
<fieldset> <fieldset>
<legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend> <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="label"><label for="onfocus">onfocus</label>:</td> <td class="label"><label for="onfocus">onfocus</label>:</td>
<td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td> <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>

View File

@ -2,13 +2,13 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#xhtmlxtras_dlg.title_del_element}</title> <title>{#xhtmlxtras_dlg.title_del_element}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="../../utils/editable_selects.js"></script> <script src="../../utils/editable_selects.js"></script>
<script type="text/javascript" src="js/element_common.js"></script> <script src="js/element_common.js"></script>
<script type="text/javascript" src="js/del.js"></script> <script src="js/del.js"></script>
<link rel="stylesheet" type="text/css" href="css/popup.css" /> <link rel="stylesheet" href="css/popup.css" />
</head> </head>
<body id="xhtmlxtrasins" style="display: none" role="application" aria-labelledby="app_title"> <body id="xhtmlxtrasins" style="display: none" role="application" aria-labelledby="app_title">
<span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_del_element}</span> <span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_del_element}</span>
@ -24,11 +24,11 @@
<div id="general_panel" class="panel current"> <div id="general_panel" class="panel current">
<fieldset> <fieldset>
<legend>{#xhtmlxtras_dlg.fieldset_general_tab}</legend> <legend>{#xhtmlxtras_dlg.fieldset_general_tab}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="label"><label id="datetimelabel" for="datetime">{#xhtmlxtras_dlg.attribute_label_datetime}</label>:</td> <td class="label"><label id="datetimelabel" for="datetime">{#xhtmlxtras_dlg.attribute_label_datetime}</label>:</td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input id="datetime" name="datetime" type="text" value="" maxlength="19" class="field mceFocus" /></td> <td><input id="datetime" name="datetime" type="text" value="" maxlength="19" class="field mceFocus" /></td>
<td><a href="javascript:insertDateTime('datetime');" onmousedown="return false;" class="browse" role="button" aria-labelledby="datetimelabel"><span class="datetime" title="{#xhtmlxtras_dlg.insert_date}"></span></a></td> <td><a href="javascript:insertDateTime('datetime');" onmousedown="return false;" class="browse" role="button" aria-labelledby="datetimelabel"><span class="datetime" title="{#xhtmlxtras_dlg.insert_date}"></span></a></td>
@ -44,7 +44,7 @@
</fieldset> </fieldset>
<fieldset> <fieldset>
<legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend> <legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td> <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
<td><input id="title" name="title" type="text" value="" class="field" /></td> <td><input id="title" name="title" type="text" value="" class="field" /></td>
@ -88,7 +88,7 @@
<fieldset> <fieldset>
<legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend> <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="label"><label for="onfocus">onfocus</label>:</td> <td class="label"><label for="onfocus">onfocus</label>:</td>
<td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td> <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>

View File

@ -2,13 +2,13 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#xhtmlxtras_dlg.title_ins_element}</title> <title>{#xhtmlxtras_dlg.title_ins_element}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="../../utils/editable_selects.js"></script> <script src="../../utils/editable_selects.js"></script>
<script type="text/javascript" src="js/element_common.js"></script> <script src="js/element_common.js"></script>
<script type="text/javascript" src="js/ins.js"></script> <script src="js/ins.js"></script>
<link rel="stylesheet" type="text/css" href="css/popup.css" /> <link rel="stylesheet" href="css/popup.css" />
</head> </head>
<body id="xhtmlxtrasins" style="display: none" role="application" aria-labelledby="app_title"> <body id="xhtmlxtrasins" style="display: none" role="application" aria-labelledby="app_title">
<span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_ins_element}</span> <span style="display:none;" id="app_title">{#xhtmlxtras_dlg.title_ins_element}</span>
@ -24,11 +24,11 @@
<div id="general_panel" class="panel current"> <div id="general_panel" class="panel current">
<fieldset> <fieldset>
<legend>{#xhtmlxtras_dlg.fieldset_general_tab}</legend> <legend>{#xhtmlxtras_dlg.fieldset_general_tab}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="label"><label id="datetimelabel" for="datetime">{#xhtmlxtras_dlg.attribute_label_datetime}</label>:</td> <td class="label"><label id="datetimelabel" for="datetime">{#xhtmlxtras_dlg.attribute_label_datetime}</label>:</td>
<td> <td>
<table role="presentation" border="0" cellspacing="0" cellpadding="0"> <table role="presentation" cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input id="datetime" name="datetime" type="text" value="" maxlength="19" class="field mceFocus" /></td> <td><input id="datetime" name="datetime" type="text" value="" maxlength="19" class="field mceFocus" /></td>
<td ><a href="javascript:insertDateTime('datetime');" onmousedown="return false;" class="browse" role="button" aria-labelledby="datetimelabel"><span class="datetime" title="{#xhtmlxtras_dlg.insert_date}"></span></a></td> <td ><a href="javascript:insertDateTime('datetime');" onmousedown="return false;" class="browse" role="button" aria-labelledby="datetimelabel"><span class="datetime" title="{#xhtmlxtras_dlg.insert_date}"></span></a></td>
@ -44,7 +44,7 @@
</fieldset> </fieldset>
<fieldset> <fieldset>
<legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend> <legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td> <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
<td><input id="title" name="title" type="text" value="" class="field" /></td> <td><input id="title" name="title" type="text" value="" class="field" /></td>
@ -88,7 +88,7 @@
<fieldset> <fieldset>
<legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend> <legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
<table role="presentation" border="0" cellpadding="0" cellspacing="4"> <table role="presentation" cellpadding="0" cellspacing="4">
<tr> <tr>
<td class="label"><label for="onfocus">onfocus</label>:</td> <td class="label"><label for="onfocus">onfocus</label>:</td>
<td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td> <td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>

View File

@ -2,9 +2,9 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#advanced_dlg.about_title}</title> <title>{#advanced_dlg.about_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="js/about.js"></script> <script src="js/about.js"></script>
</head> </head>
<body id="about" style="display: none"> <body id="about" style="display: none">
<div class="tabs"> <div class="tabs">
@ -25,7 +25,7 @@
<p>For more information about this software visit the <a href="http://tinymce.moxiecode.com" target="_blank">TinyMCE website</a>.</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 id="buttoncontainer">
<a href="http://www.moxiecode.com" target="_blank"><img src="http://tinymce.moxiecode.com/images/gotmoxie.png" alt="Got Moxie?" border="0" /></a> <a href="http://www.moxiecode.com" target="_blank"><img src="http://tinymce.moxiecode.com/images/gotmoxie.png" alt="Got Moxie?" /></a>
</div> </div>
</div> </div>

View File

@ -2,12 +2,12 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#advanced_dlg.anchor_title}</title> <title>{#advanced_dlg.anchor_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/anchor.js"></script> <script src="js/anchor.js"></script>
</head> </head>
<body style="display: none" role="application" aria-labelledby="app_title"> <body style="display: none" role="application" aria-labelledby="app_title">
<form onsubmit="AnchorDialog.update();return false;" action="#"> <form onsubmit="AnchorDialog.update();return false;" action="#">
<table border="0" cellpadding="4" cellspacing="0" role="presentation"> <table cellpadding="4" cellspacing="0" role="presentation">
<tr> <tr>
<td colspan="2" class="title" id="app_title">{#advanced_dlg.anchor_title}</td> <td colspan="2" class="title" id="app_title">{#advanced_dlg.anchor_title}</td>
</tr> </tr>

View File

@ -2,11 +2,11 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#advanced_dlg.charmap_title}</title> <title>{#advanced_dlg.charmap_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/charmap.js"></script> <script src="js/charmap.js"></script>
</head> </head>
<body id="charmap" style="display:none" role="application"> <body id="charmap" style="display:none" role="application">
<table align="center" border="0" cellspacing="0" cellpadding="2" role="presentation"> <table align="center" cellspacing="0" cellpadding="2" role="presentation">
<tr> <tr>
<td colspan="2" class="title" ><label for="charmapView" id="charmap_label">{#advanced_dlg.charmap_title}</label></td> <td colspan="2" class="title" ><label for="charmapView" id="charmap_label">{#advanced_dlg.charmap_title}</label></td>
</tr> </tr>
@ -15,7 +15,7 @@
<!-- Chars will be rendered here --> <!-- Chars will be rendered here -->
</td> </td>
<td width="100" align="center" valign="top"> <td width="100" align="center" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100" style="height:100px" role="presentation"> <table cellpadding="0" cellspacing="0" width="100" style="height:100px" role="presentation">
<tr> <tr>
<td id="codeV">&nbsp;</td> <td id="codeV">&nbsp;</td>
</tr> </tr>
@ -27,7 +27,7 @@
</tr> </tr>
<tr> <tr>
<td valign="bottom" style="padding-bottom: 3px;"> <td valign="bottom" style="padding-bottom: 3px;">
<table width="100" align="center" border="0" cellpadding="2" cellspacing="0" role="presentation"> <table width="100" align="center" cellpadding="2" cellspacing="0" role="presentation">
<tr> <tr>
<td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;"><label for="codeA">HTML-Code</label></td> <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;"><label for="codeA">HTML-Code</label></td>
</tr> </tr>

View File

@ -2,9 +2,9 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#advanced_dlg.colorpicker_title}</title> <title>{#advanced_dlg.colorpicker_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="js/color_picker.js"></script> <script src="js/color_picker.js"></script>
</head> </head>
<body id="colorpicker" style="display: none" role="application" aria-labelledby="app_label"> <body id="colorpicker" style="display: none" role="application" aria-labelledby="app_label">
<span class="mceVoiceLabel" id="app_label" style="display:none;">{#advanced_dlg.colorpicker_title}</span> <span class="mceVoiceLabel" id="app_label" style="display:none;">{#advanced_dlg.colorpicker_title}</span>

View File

@ -2,10 +2,10 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#advanced_dlg.image_title}</title> <title>{#advanced_dlg.image_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="js/image.js"></script> <script src="js/image.js"></script>
</head> </head>
<body id="image" style="display: none"> <body id="image" style="display: none">
<form onsubmit="ImageDialog.update();return false;" action="#"> <form onsubmit="ImageDialog.update();return false;" action="#">
@ -17,10 +17,10 @@
<div class="panel_wrapper"> <div class="panel_wrapper">
<div id="general_panel" class="panel current"> <div id="general_panel" class="panel current">
<table border="0" cellpadding="4" cellspacing="0"> <table cellpadding="4" cellspacing="0">
<tr> <tr>
<td class="nowrap"><label for="src">{#advanced_dlg.image_src}</label></td> <td class="nowrap"><label for="src">{#advanced_dlg.image_src}</label></td>
<td><table border="0" cellspacing="0" cellpadding="0"> <td><table cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input id="src" name="src" type="text" class="mceFocus" value="" style="width: 200px" onchange="ImageDialog.getImageData();" /></td> <td><input id="src" name="src" type="text" class="mceFocus" value="" style="width: 200px" onchange="ImageDialog.getImageData();" /></td>
<td id="srcbrowsercontainer">&nbsp;</td> <td id="srcbrowsercontainer">&nbsp;</td>

View File

@ -302,7 +302,7 @@ function addKeyboardNavigation(){
function renderCharMapHTML() { function renderCharMapHTML() {
var charsPerRow = 20, tdWidth=20, tdHeight=20, i; var charsPerRow = 20, tdWidth=20, tdHeight=20, i;
var html = '<div id="charmapgroup" aria-labelledby="charmap_label" tabindex="0" role="listbox">'+ var html = '<div id="charmapgroup" aria-labelledby="charmap_label" tabindex="0" role="listbox">'+
'<table role="presentation" border="0" cellspacing="1" cellpadding="0" width="' + (tdWidth*charsPerRow) + '<table role="presentation" cellspacing="1" cellpadding="0" width="' + (tdWidth*charsPerRow) +
'"><tr height="' + tdHeight + '">'; '"><tr height="' + tdHeight + '">';
var cols=-1; var cols=-1;

View File

@ -213,7 +213,7 @@ function generateWebColors() {
return; return;
// TODO: VoiceOver doesn't seem to support legend as a label referenced by labelledby. // TODO: VoiceOver doesn't seem to support legend as a label referenced by labelledby.
h += '<div role="listbox" aria-labelledby="webcolors_title" tabindex="0"><table role="presentation" border="0" cellspacing="1" cellpadding="0">' h += '<div role="listbox" aria-labelledby="webcolors_title" tabindex="0"><table role="presentation" cellspacing="1" cellpadding="0">'
+ '<tr>'; + '<tr>';
for (i=0; i<colors.length; i++) { for (i=0; i<colors.length; i++) {

View File

@ -5,7 +5,7 @@ var ImageDialog = {
tinyMCEPopup.requireLangPack(); tinyMCEPopup.requireLangPack();
if (url = tinyMCEPopup.getParam("external_image_list_url")) if (url = tinyMCEPopup.getParam("external_image_list_url"))
document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>'); document.write('<script language="javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
}, },
init : function() { init : function() {

View File

@ -5,7 +5,7 @@ var LinkDialog = {
var url; var url;
if (url = tinyMCEPopup.getParam("external_link_list_url")) if (url = tinyMCEPopup.getParam("external_link_list_url"))
document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>'); document.write('<script language="javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
}, },
init : function() { init : function() {

View File

@ -2,11 +2,11 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#advanced_dlg.link_title}</title> <title>{#advanced_dlg.link_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="../../utils/mctabs.js"></script> <script src="../../utils/mctabs.js"></script>
<script type="text/javascript" src="../../utils/form_utils.js"></script> <script src="../../utils/form_utils.js"></script>
<script type="text/javascript" src="../../utils/validate.js"></script> <script src="../../utils/validate.js"></script>
<script type="text/javascript" src="js/link.js"></script> <script src="js/link.js"></script>
</head> </head>
<body id="link" style="display: none"> <body id="link" style="display: none">
<form onsubmit="LinkDialog.update();return false;" action="#"> <form onsubmit="LinkDialog.update();return false;" action="#">
@ -18,10 +18,10 @@
<div class="panel_wrapper"> <div class="panel_wrapper">
<div id="general_panel" class="panel current"> <div id="general_panel" class="panel current">
<table border="0" cellpadding="4" cellspacing="0"> <table cellpadding="4" cellspacing="0">
<tr> <tr>
<td class="nowrap"><label for="href">{#advanced_dlg.link_url}</label></td> <td class="nowrap"><label for="href">{#advanced_dlg.link_url}</label></td>
<td><table border="0" cellspacing="0" cellpadding="0"> <td><table cellspacing="0" cellpadding="0">
<tr> <tr>
<td><input id="href" name="href" type="text" class="mceFocus" value="" style="width: 200px" onchange="LinkDialog.checkPrefix(this);" /></td> <td><input id="href" name="href" type="text" class="mceFocus" value="" style="width: 200px" onchange="LinkDialog.checkPrefix(this);" /></td>
<td id="hrefbrowsercontainer">&nbsp;</td> <td id="hrefbrowsercontainer">&nbsp;</td>

View File

@ -2,8 +2,8 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#advanced_dlg.accessibility_help}</title> <title>{#advanced_dlg.accessibility_help}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript">tinyMCEPopup.requireLangPack();</script> <script>tinyMCEPopup.requireLangPack();</script>
</head> </head>
<body id="content"> <body id="content">
<h1>{#advanced_dlg.accessibility_usage_title}</h1> <h1>{#advanced_dlg.accessibility_usage_title}</h1>

View File

@ -1,8 +1,8 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>{#advanced_dlg.code_title}</title> <title>{#advanced_dlg.code_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> <script src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/source_editor.js"></script> <script src="js/source_editor.js"></script>
</head> </head>
<body onresize="resizeInputs();" style="display:none; overflow:hidden;" spellcheck="false"> <body onresize="resizeInputs();" style="display:none; overflow:hidden;" spellcheck="false">
<form name="source" onsubmit="saveContent();return false;" action="#"> <form name="source" onsubmit="saveContent();return false;" action="#">

File diff suppressed because one or more lines are too long

View File

@ -2,4 +2,4 @@
// Uncomment and change this document.domain value if you are loading the script cross subdomains // Uncomment and change this document.domain value if you are loading the script cross subdomains
// document.domain = 'moxiecode.com'; // document.domain = 'moxiecode.com';
var tinymce=null,tinyMCEPopup,tinyMCE;tinyMCEPopup={init:function(){var b=this,a,c;a=b.getWin();tinymce=a.tinymce;tinyMCE=a.tinyMCE;b.editor=tinymce.EditorManager.activeEditor;b.params=b.editor.windowManager.params;b.features=b.editor.windowManager.features;b.dom=b.editor.windowManager.createInstance("tinymce.dom.DOMUtils",document,{ownEvents:true,proxy:tinyMCEPopup._eventProxy});b.dom.bind(window,"ready",b._onDOMLoaded,b);if(b.features.popup_css!==false){b.dom.loadCSS(b.features.popup_css||b.editor.settings.popup_css)}b.listeners=[];b.onInit={add:function(e,d){b.listeners.push({func:e,scope:d})}};b.isWindow=!b.getWindowArg("mce_inline");b.id=b.getWindowArg("mce_window_id");b.editor.windowManager.onOpen.dispatch(b.editor.windowManager,window)},getWin:function(){return(!window.frameElement&&window.dialogArguments)||opener||parent||top},getWindowArg:function(c,b){var a=this.params[c];return tinymce.is(a)?a:b},getParam:function(b,a){return this.editor.getParam(b,a)},getLang:function(b,a){return this.editor.getLang(b,a)},execCommand:function(d,c,e,b){b=b||{};b.skip_focus=1;this.restoreSelection();return this.editor.execCommand(d,c,e,b)},resizeToInnerSize:function(){var a=this;setTimeout(function(){var b=a.dom.getViewPort(window);a.editor.windowManager.resizeBy(a.getWindowArg("mce_width")-b.w,a.getWindowArg("mce_height")-b.h,a.id||window)},10)},executeOnLoad:function(s){this.onInit.add(function(){eval(s)})},storeSelection:function(){this.editor.windowManager.bookmark=tinyMCEPopup.editor.selection.getBookmark(1)},restoreSelection:function(){var a=tinyMCEPopup;if(!a.isWindow&&tinymce.isIE){a.editor.selection.moveToBookmark(a.editor.windowManager.bookmark)}},requireLangPack:function(){var b=this,a=b.getWindowArg("plugin_url")||b.getWindowArg("theme_url");if(a&&b.editor.settings.language&&b.features.translate_i18n!==false&&b.editor.settings.language_load!==false){a+="/langs/"+b.editor.settings.language+"_dlg.js";if(!tinymce.ScriptLoader.isDone(a)){document.write('<script type="text/javascript" src="'+tinymce._addVer(a)+'"><\/script>');tinymce.ScriptLoader.markDone(a)}}},pickColor:function(b,a){this.execCommand("mceColorPicker",true,{color:document.getElementById(a).value,func:function(e){document.getElementById(a).value=e;try{document.getElementById(a).onchange()}catch(d){}}})},openBrowser:function(a,c,b){tinyMCEPopup.restoreSelection();this.editor.execCallback("file_browser_callback",a,document.getElementById(a).value,c,window)},confirm:function(b,a,c){this.editor.windowManager.confirm(b,a,c,window)},alert:function(b,a,c){this.editor.windowManager.alert(b,a,c,window)},close:function(){var a=this;function b(){a.editor.windowManager.close(window);tinymce=tinyMCE=a.editor=a.params=a.dom=a.dom.doc=null}if(tinymce.isOpera){a.getWin().setTimeout(b,0)}else{b()}},_restoreSelection:function(){var a=window.event.srcElement;if(a.nodeName=="INPUT"&&(a.type=="submit"||a.type=="button")){tinyMCEPopup.restoreSelection()}},_onDOMLoaded:function(){var b=tinyMCEPopup,d=document.title,e,c,a;if(b.features.translate_i18n!==false){c=document.body.innerHTML;if(tinymce.isIE){c=c.replace(/ (value|title|alt)=([^"][^\s>]+)/gi,' $1="$2"')}document.dir=b.editor.getParam("directionality","");if((a=b.editor.translate(c))&&a!=c){document.body.innerHTML=a}if((a=b.editor.translate(d))&&a!=d){document.title=d=a}}if(!b.editor.getParam("browser_preferred_colors",false)||!b.isWindow){b.dom.addClass(document.body,"forceColors")}document.body.style.display="";if(tinymce.isIE){document.attachEvent("onmouseup",tinyMCEPopup._restoreSelection);b.dom.add(b.dom.select("head")[0],"base",{target:"_self"})}b.restoreSelection();b.resizeToInnerSize();if(!b.isWindow){b.editor.windowManager.setTitle(window,d)}else{window.focus()}if(!tinymce.isIE&&!b.isWindow){b.dom.bind(document,"focus",function(){b.editor.windowManager.focus(b.id)})}tinymce.each(b.dom.select("select"),function(f){f.onkeydown=tinyMCEPopup._accessHandler});tinymce.each(b.listeners,function(f){f.func.call(f.scope,b.editor)});if(b.getWindowArg("mce_auto_focus",true)){window.focus();tinymce.each(document.forms,function(g){tinymce.each(g.elements,function(f){if(b.dom.hasClass(f,"mceFocus")&&!f.disabled){f.focus();return false}})})}document.onkeyup=tinyMCEPopup._closeWinKeyHandler},_accessHandler:function(a){a=a||window.event;if(a.keyCode==13||a.keyCode==32){var b=a.target||a.srcElement;if(b.onchange){b.onchange()}return tinymce.dom.Event.cancel(a)}},_closeWinKeyHandler:function(a){a=a||window.event;if(a.keyCode==27){tinyMCEPopup.close()}},_eventProxy:function(a){return function(b){tinyMCEPopup.dom.events.callNativeHandler(a,b)}}};tinyMCEPopup.init(); var tinymce=null,tinyMCEPopup,tinyMCE;tinyMCEPopup={init:function(){var b=this,a,c;a=b.getWin();tinymce=a.tinymce;tinyMCE=a.tinyMCE;b.editor=tinymce.EditorManager.activeEditor;b.params=b.editor.windowManager.params;b.features=b.editor.windowManager.features;b.dom=b.editor.windowManager.createInstance("tinymce.dom.DOMUtils",document,{ownEvents:true,proxy:tinyMCEPopup._eventProxy});b.dom.bind(window,"ready",b._onDOMLoaded,b);if(b.features.popup_css!==false){b.dom.loadCSS(b.features.popup_css||b.editor.settings.popup_css)}b.listeners=[];b.onInit={add:function(e,d){b.listeners.push({func:e,scope:d})}};b.isWindow=!b.getWindowArg("mce_inline");b.id=b.getWindowArg("mce_window_id");b.editor.windowManager.onOpen.dispatch(b.editor.windowManager,window)},getWin:function(){return(!window.frameElement&&window.dialogArguments)||opener||parent||top},getWindowArg:function(c,b){var a=this.params[c];return tinymce.is(a)?a:b},getParam:function(b,a){return this.editor.getParam(b,a)},getLang:function(b,a){return this.editor.getLang(b,a)},execCommand:function(d,c,e,b){b=b||{};b.skip_focus=1;this.restoreSelection();return this.editor.execCommand(d,c,e,b)},resizeToInnerSize:function(){var a=this;setTimeout(function(){var b=a.dom.getViewPort(window);a.editor.windowManager.resizeBy(a.getWindowArg("mce_width")-b.w,a.getWindowArg("mce_height")-b.h,a.id||window)},10)},executeOnLoad:function(s){this.onInit.add(function(){eval(s)})},storeSelection:function(){this.editor.windowManager.bookmark=tinyMCEPopup.editor.selection.getBookmark(1)},restoreSelection:function(){var a=tinyMCEPopup;if(!a.isWindow&&tinymce.isIE){a.editor.selection.moveToBookmark(a.editor.windowManager.bookmark)}},requireLangPack:function(){var b=this,a=b.getWindowArg("plugin_url")||b.getWindowArg("theme_url");if(a&&b.editor.settings.language&&b.features.translate_i18n!==false&&b.editor.settings.language_load!==false){a+="/langs/"+b.editor.settings.language+"_dlg.js";if(!tinymce.ScriptLoader.isDone(a)){document.write('<script src="'+tinymce._addVer(a)+'"><\/script>');tinymce.ScriptLoader.markDone(a)}}},pickColor:function(b,a){this.execCommand("mceColorPicker",true,{color:document.getElementById(a).value,func:function(e){document.getElementById(a).value=e;try{document.getElementById(a).onchange()}catch(d){}}})},openBrowser:function(a,c,b){tinyMCEPopup.restoreSelection();this.editor.execCallback("file_browser_callback",a,document.getElementById(a).value,c,window)},confirm:function(b,a,c){this.editor.windowManager.confirm(b,a,c,window)},alert:function(b,a,c){this.editor.windowManager.alert(b,a,c,window)},close:function(){var a=this;function b(){a.editor.windowManager.close(window);tinymce=tinyMCE=a.editor=a.params=a.dom=a.dom.doc=null}if(tinymce.isOpera){a.getWin().setTimeout(b,0)}else{b()}},_restoreSelection:function(){var a=window.event.srcElement;if(a.nodeName=="INPUT"&&(a.type=="submit"||a.type=="button")){tinyMCEPopup.restoreSelection()}},_onDOMLoaded:function(){var b=tinyMCEPopup,d=document.title,e,c,a;if(b.features.translate_i18n!==false){c=document.body.innerHTML;if(tinymce.isIE){c=c.replace(/ (value|title|alt)=([^"][^\s>]+)/gi,' $1="$2"')}document.dir=b.editor.getParam("directionality","");if((a=b.editor.translate(c))&&a!=c){document.body.innerHTML=a}if((a=b.editor.translate(d))&&a!=d){document.title=d=a}}if(!b.editor.getParam("browser_preferred_colors",false)||!b.isWindow){b.dom.addClass(document.body,"forceColors")}document.body.style.display="";if(tinymce.isIE){document.attachEvent("onmouseup",tinyMCEPopup._restoreSelection);b.dom.add(b.dom.select("head")[0],"base",{target:"_self"})}b.restoreSelection();b.resizeToInnerSize();if(!b.isWindow){b.editor.windowManager.setTitle(window,d)}else{window.focus()}if(!tinymce.isIE&&!b.isWindow){b.dom.bind(document,"focus",function(){b.editor.windowManager.focus(b.id)})}tinymce.each(b.dom.select("select"),function(f){f.onkeydown=tinyMCEPopup._accessHandler});tinymce.each(b.listeners,function(f){f.func.call(f.scope,b.editor)});if(b.getWindowArg("mce_auto_focus",true)){window.focus();tinymce.each(document.forms,function(g){tinymce.each(g.elements,function(f){if(b.dom.hasClass(f,"mceFocus")&&!f.disabled){f.focus();return false}})})}document.onkeyup=tinyMCEPopup._closeWinKeyHandler},_accessHandler:function(a){a=a||window.event;if(a.keyCode==13||a.keyCode==32){var b=a.target||a.srcElement;if(b.onchange){b.onchange()}return tinymce.dom.Event.cancel(a)}},_closeWinKeyHandler:function(a){a=a||window.event;if(a.keyCode==27){tinyMCEPopup.close()}},_eventProxy:function(a){return function(b){tinyMCEPopup.dom.events.callNativeHandler(a,b)}}};tinyMCEPopup.init();

View File

@ -13701,7 +13701,7 @@ tinymce.create('tinymce.ui.Toolbar:tinymce.ui.Container', {
// Load the CSS by injecting them into the HTML this will reduce "flicker" // Load the CSS by injecting them into the HTML this will reduce "flicker"
for (i = 0; i < t.contentCSS.length; i++) { for (i = 0; i < t.contentCSS.length; i++) {
t.iframeHTML += '<link type="text/css" rel="stylesheet" href="' + t.contentCSS[i] + '" />'; t.iframeHTML += '<link rel="stylesheet" href="' + t.contentCSS[i] + '" />';
} }
t.contentCSS = []; t.contentCSS = [];

View File

@ -5,7 +5,7 @@ function getScript($path)
{ {
if (file_exists($_SERVER['DOCUMENT_ROOT'].$path)) if (file_exists($_SERVER['DOCUMENT_ROOT'].$path))
{ {
return '<script type="text/javascript" src="'.beforeLast($path,'.').'_v'.filectime($_SERVER['DOCUMENT_ROOT'].$path).'.'.afterLast($path,'.').'"></script>'."\n"; return '<script src="'.beforeLast($path,'.').'_v'.filectime($_SERVER['DOCUMENT_ROOT'].$path).'.'.afterLast($path,'.').'"></script>'."\n";
} }
return ''; return '';
} }

View File

@ -2,7 +2,7 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Tree</title> <title>Tree</title>
<style type="text/css"> <style>
html,body,div html,body,div
{ {
height:100%; height:100%;
@ -13,9 +13,9 @@
text-align: left; text-align: left;
} }
</style> </style>
<script type="text/javascript" src="../dbms/tools.js"></script> <script src="../dbms/tools.js"></script>
<script type="text/javascript" src="tree.js"></script> <script src="tree.js"></script>
<script type="text/javascript">//<![CDATA[ <script>//<![CDATA[
function onloadpage() function onloadpage()
{ {
tree=new TTree(document.getElementById("maintree"),"tr_","tree.php","./",24); tree=new TTree(document.getElementById("maintree"),"tr_","tree.php","./",24);

View File

@ -264,7 +264,7 @@ function TMenu(v_obj,v_scr,v_treepath) //Горизонтальное меню
//Создаём HTML кнопку //Создаём HTML кнопку
cdiv=document.createElement('div'); cdiv=document.createElement('div');
cdiv.setAttribute('id',this.m_pr+tn.htmlid+'bt'); cdiv.setAttribute('id',this.m_pr+tn.htmlid+'bt');
cdiv.style.cssText="width: 100%; display: inline-block;"; cdiv.style.cssText="width: 100%; display: block;";
cnt.appendChild(cdiv); cnt.appendChild(cdiv);
//if(nodeTree.getAttribute('visible')=='0') cdiv.style.display='none'; //Видимость кнопки //if(nodeTree.getAttribute('visible')=='0') cdiv.style.display='none'; //Видимость кнопки
@ -424,7 +424,7 @@ function TMenu(v_obj,v_scr,v_treepath) //Горизонтальное меню
//создаём кнопку меню //создаём кнопку меню
cdiv=document.createElement('div'); cdiv=document.createElement('div');
cdiv.style.cssText="width: 100%; display: inline-block;"; cdiv.style.cssText="width: 100%; display: block;";
pdiv.appendChild(cdiv); pdiv.appendChild(cdiv);
if(nodeTree.getAttribute('visible')=='0') cdiv.style.display='none'; if(nodeTree.getAttribute('visible')=='0') cdiv.style.display='none';
cdiv.innerHTML=str; cdiv.innerHTML=str;
@ -615,7 +615,7 @@ function TMenu(v_obj,v_scr,v_treepath) //Горизонтальное меню
//Создаём самый верхний контейнер с 0м HTMLID //Создаём самый верхний контейнер с 0м HTMLID
var cnt=document.createElement('div'); var cnt=document.createElement('div');
cnt.setAttribute('id',this.m_pr+this.m_root.htmlid+'tb'); cnt.setAttribute('id',this.m_pr+this.m_root.htmlid+'tb');
cnt.style.cssText="width: 100%; display: inline-block;"; cnt.style.cssText="width: 100%; display: block;";
cnt.innerHTML='<nobr id="qwery"><img src="../resources/metadata/tree/icons/loading.gif" alt=" "><font color="#999999"><b> Подождите пожалуйста...</b></font></nobr>'; cnt.innerHTML='<nobr id="qwery"><img src="../resources/metadata/tree/icons/loading.gif" alt=" "><font color="#999999"><b> Подождите пожалуйста...</b></font></nobr>';
this.m_obj.appendChild(cnt); this.m_obj.appendChild(cnt);
} }