You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
8.3 KiB
1 line
8.3 KiB
7 months ago
|
$="��Rich�=f�se;�rng;��;��lRTEs��;��IE;��Gecko;��Safari;��Konqu�or;�i�sPath;��;�cssFile;��L;�lang�en�;�encod�g��o-8859-1�;funct� �itRTE(imgPath,�cPath,css,genXHTML֭ua=navigator.us�Ag����IE=(�msie�)!=-1)&&�op�a�)==-1)&&�webtv�)==-1)��Gecko=�gecko�)!=-1��Safari=�safari�)!=-1��Konqu�or=�konqu�or�)!=-1��L=genXHTMLǨget�ById&&�d�&&!�Safari&&!�Konqu�or��Rich�=true;}��IE֨onmouseov�=ra�e�out=norm��down=low��up=ra�eB�;}i�sPath=imgPath;�=�cPath;cssFile=css��Rich�)�� type�text/css�>@import �'+�+'�.css�;</�>'ɧwriteRich�(�,�,�,�,b�s,�{��Rich����lRTEs�>0)�lRTEs+�;�;�lRTEs+=���b�s=f�se��IE��b�s&&(�<540))�=540;�t��=���b�s&&(�<540))�=540;�t��=�+4;}�div�Div�>')�b�s==true��t��Back� cellpadd�g=2 cellspac�g=0 id�B�s1_բ�'+t��+'�� <tr� <� <s� id�formatblock�.idɢ� <� v�ue��>[Style]��<p>�>Paragraph <p�1�1 <h1�2�2 <h2�3�3 <h3�4�4 <h4�5�5 <h5�6�6 <h6>��<address>�>Address <ADDR>��<pre>�>Formatted <pre>�/�<� <s� id�fontn��.id)�� <� v�ue�Font� s�ed>[Font]��Ari�, Helvetica, sans-s�if�>Ari���Couri� New, Couri�, mono�>Couri� New��Times New Roman, Times, s�if�>Times New Roman��V�dana, Ari�, Helvetica, sans-s�if�>V�dana�/�<� <s� uns���on� id�fontsize�.idɢ� <� v�ue�Size�>[Size]��1�>1��2�>2��3�>3��4�>4��5�>5��6�>6��7�>7�/�<td�100%�� </td� </tr�</t��<t��Back� cellpadd�g�0� cellspac�g�0� id�B�s2_բ�'+t��+'�� <tr� <td><img id�bold��'bold�Bold�Bold�bold���it�ic�It�ic�It�ic�it�ic���und�l�e�Und�l�e�Und�l�e�und�l�e�left_just�Align Left�Align Left�justifyleft���c�re�C���C���justifyc�����right_just�Align Right�Align Right�justifyright���justifyfull�Justify Full�Justify Full� onc�\\', \\'justifyfull�hr�Horizont� Rule�Horizont� Rule��s�thorizont�rule�numb�ed_l�t�Ord�ed L�t�Ord�ed L�t��s�tord�edl�t���l�t�Unord�ed L�t�Unord�ed L�t��s�tunord�edl�t�outd��Outd��Outd��outd�����d��Ind��Ind���d���div id�fore�_բ><�text��� Color�� Color���, \\'fore��></div�div id�hilite�_բ><�bg��Background Color�Background Color���, \\'hilite��></div� �t����hyp�l�k�� L�k�� L�k�dlg�L�k�, \\'l�k\\')���i��Add I��Add I��addI��)��div id�t�_բ><��s�t_t��� T��� T��dlg�T��, \\'t��></div></td>')��IE֣ln(' <td><�spellcheck�Spell Check�Spell Check�checkspell()�></td>'�}�ln(' <td�100%�></td� </tr�</t�>'�}�ifr� id�բ nȯբ�'+�+'px� ߯'+�+'px� src�'+�+'blank.htm�></ifr�>')�!��br /><�put type�checkbox� id�chkSrcբ onclick�toggleHTMLSrc�,'+b�s+'ɢ /> <label for�chkSrcբ>View Source</label�<ifrȩ154� ߯104� id�cpբ src�'+�+'p�ette.htm� marg�ӯ0� marg�߯0� scroll�g�no� ��v�ibility:hidden; posit�: absolute;�></ifr��<�put type�hidden� id�hdnբ nȯբ v�ue���</div>'ɴ'hdn�).v�ue=�;en�D�(�,�,���!�{�textarea nȯբ id�բ ���: '+�+'px; �: '+�+'px;�>'+�+'</textarea>')��textarea nȯբ id�բ ���: '+�+'px; �: '+�+'px;� readonly>'+�+'</textarea>'�}}�en�D�(�,�,�{�fr�Html�<� id=\\��+�+�\\�>\\n�;�<head>\\n��cssFile�>0��<l�k media=\\��l\\� type=\\�text/css\\� href=\\��+cssFile+�\\� rel=\\��sheet\\�>\\n���<�>\\n�;�body {\\n�;� background: #FFFFFF;\\n�;� marg�: 0px;\\n�;� padd�g: 0px;\\n�;�}\\n�;�</�>\\n�;}�</head>\\n�;�<body>\\n�;fr�Html+=�+�\\n�;�</body>\\n�;�</�>�Ǩ�l֭�=�.docum�;�.open(ɺ.write(fr�Htmlɺ.close()�!�{�.dܯOn�;�.�attachEv�(�onkeypress�,funct� evt_ie_keypress(ev��ieKeyPress(ev�,��}�}}else{try{�!ϴ�).cont�Docum�.dܯon�;try{��=�.docum�;�.open(ɺ.write(fr�Htmlɺ.close()��Gecko&&!�{�.addEv�L�ten�(�keypress�,geckoKeyPress,true�}}catch(e���t(�Error preload�g cont�.��}}catch(e���Gecko�setTimeout(�en�D�('�+�+�', '�+�+�', �+readOnly+�ɢ,10)��f�se;}}}�updateRTE(���!�Rich�)return;�readOnly=f�seǨ�l���.�d�!�On�)readOnly=true�).cont�Docum�.d�!�on�)readOnly=true;}��Rich�&&!�{��checked)�click(�setHiddenV�(��}�setHiddenV�(�֭oHdnField=�'hdn�)Ǿue==null)�ue��Ǩ�l���L־ue=get_x�(�.�body,lang,encod�g)ľue=�.��;}}else{��L־ue=get_x�(�.�body,lang,encod�g)ľue=�.��;}}�stripHTML(�ue�� �,� �))=��&&�ue�).search(�<hr�)==-1&&�ue�).search(�<img�)==-1)�ue��;�updateRTEs(֭vRTEs=�lRTEs.split(�;��for(�i=0;i<vRTEs�;i++�updateRTE(vRTEs[i]�}��C�(�,c�,�֭�Ǩ�lֺ=�ĺ=�;}try{�.focus(ɺ.�execC�(c�,f�se,�ɺ.focus(�}catch(e�}�toggleHTMLSrc(�,b�s֭oHdnField=�'hdn�)��checked��b�s�B�s1_�+�,�hi
|