[cpif] r268 - trunk/frontend-web/skins/default
svn at argo.es
svn at argo.es
Thu Jul 12 14:06:35 CEST 2007
Author: alvaro
Date: Thu Jul 12 14:06:34 2007
New Revision: 268
Log:
Eliminado el codigo de los quoteos.
Modified:
trunk/frontend-web/skins/default/body_show_thread.html
Modified: trunk/frontend-web/skins/default/body_show_thread.html
==============================================================================
--- trunk/frontend-web/skins/default/body_show_thread.html (original)
+++ trunk/frontend-web/skins/default/body_show_thread.html Thu Jul 12 14:06:34 2007
@@ -71,27 +71,30 @@
if(id == "hilos") { return; }
/* quotes */
- var my_id = id.slice(1);
- if(! used_ids[my_id]){
- used_ids[my_id] = true;
- var req = false;
- try {
- req = new XMLHttpRequest();
- }
- catch(e) {
- req = false;
- }
- if(req) {
- req.open("GET","/get_msg_source/"+my_id,false);
- req.send("");
- var xml = req.responseXML;;
- var author = xml.getElementsByTagName("autor")[0].textContent;
- var post = xml.getElementsByTagName("cuerpo")[0].textContent;
- var form = document.getElementById("form");
- var textarea = form.getElementsByTagName("textarea")[0];
- text = '[quote="'+author+'"]'+post+'[/quote]\n';
- textarea.value += text;
- }
+/* var my_id = id.slice(1); */
+/* if(! used_ids[my_id]){ */
+/* used_ids[my_id] = true; */
+/* var req = false; */
+/* try { */
+/* req = new XMLHttpRequest(); */
+/* } */
+/* catch(e) { */
+/* req = false; */
+/* } */
+/* if(req) { */
+/* req.open("GET","/get_msg_source/"+my_id,false); */
+/* req.send(""); */
+/* var xml = req.responseXML;; */
+/* var author = xml.getElementsByTagName("autor")[0].textContent; */
+/* var post = xml.getElementsByTagName("cuerpo")[0].textContent; */
+/* post = post.replace("<","<"); */
+/* post = post.replace(">",">"); */
+/* post = post.replace("&","&"); */
+/* var form = document.getElementById("form"); */
+/* var textarea = form.getElementsByTagName("textarea")[0]; */
+/* text = '[quote="'+author+'"]'+post+'[/quote]\n'; */
+/* textarea.value += text; */
+/* } */
}
}
More information about the cpif
mailing list