Vergleich jscripts/general.js - 1.2.10 - 1.2.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 89Zeile 89
			input.setAttribute("type", "hidden");
input.setAttribute("value", "do_editevent");
form.appendChild(input);

			input.setAttribute("type", "hidden");
input.setAttribute("value", "do_editevent");
form.appendChild(input);

 
			
if(my_post_key)
{
var input = document.createElement("input");
input.setAttribute("name", "my_post_key");
input.setAttribute("type", "hidden");
input.setAttribute("value", my_post_key);
form.appendChild(input);
}


var input = document.createElement("input");
input.setAttribute("name", "eid");
input.setAttribute("type", "hidden");
input.setAttribute("value", eid);


var input = document.createElement("input");
input.setAttribute("name", "eid");
input.setAttribute("type", "hidden");
input.setAttribute("value", eid);

			form.appendChild(input);


			form.appendChild(input);


			var input = document.createElement("input");
input.setAttribute("name", "delete");
input.setAttribute("type", "hidden");
input.setAttribute("value", "yes");

			var input = document.createElement("input");
input.setAttribute("name", "delete");
input.setAttribute("type", "hidden");
input.setAttribute("value", "yes");

			form.appendChild(input);


			form.appendChild(input);


			document.getElementsByTagName("body")[0].appendChild(form);
form.submit();
}

			document.getElementsByTagName("body")[0].appendChild(form);
form.submit();
}

Zeile 114Zeile 123
		{
var element = formName.elements[i];
if((element.name != "allbox") && (element.type == "checkbox"))

		{
var element = formName.elements[i];
if((element.name != "allbox") && (element.type == "checkbox"))

			{

			{

				element.checked = formName.allbox.checked;
}
}
},

reputation: function(uid)

				element.checked = formName.allbox.checked;
}
}
},

reputation: function(uid)

	{

	{

		MyBB.popupWindow("reputation.php?action=add&uid="+uid, "reputation", 400, 350)
},


		MyBB.popupWindow("reputation.php?action=add&uid="+uid, "reputation", 400, 350)
},


Zeile 141Zeile 150
			input.setAttribute("type", "hidden");
input.setAttribute("value", rid);
form.appendChild(input);

			input.setAttribute("type", "hidden");
input.setAttribute("value", rid);
form.appendChild(input);

 
			
if(my_post_key)
{
var input = document.createElement("input");
input.setAttribute("name", "my_post_key");
input.setAttribute("type", "hidden");
input.setAttribute("value", my_post_key);
form.appendChild(input);
}


var input = document.createElement("input");
input.setAttribute("name", "uid");


var input = document.createElement("input");
input.setAttribute("name", "uid");