Vergleich jscripts/general.js - 1.4.1 - 1.4.2

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 53Zeile 53
		else if(navigator.product == "Gecko")
{
this.browser = "mozilla";

		else if(navigator.product == "Gecko")
{
this.browser = "mozilla";

 
		}
else if(this.useragent.indexOf("chrome") != -1)
{
this.browser = "chrome";

		}
else if(this.useragent.indexOf("opera") != -1)
{
this.browser = "opera";
}
else if(this.useragent.indexOf("konqueror") != -1)

		}
else if(this.useragent.indexOf("opera") != -1)
{
this.browser = "opera";
}
else if(this.useragent.indexOf("konqueror") != -1)

		{

		{

			this.browser = "konqueror";
}
else if(this.useragent.indexOf("msie") != -1)
{
this.browser = "ie";

			this.browser = "konqueror";
}
else if(this.useragent.indexOf("msie") != -1)
{
this.browser = "ie";

		}

		}

		else if(this.useragent.indexOf("compatible") == -1 && this.useragent.indexOf("mozilla") != -1)
{
this.browser = "netscape";

		else if(this.useragent.indexOf("compatible") == -1 && this.useragent.indexOf("mozilla") != -1)
{
this.browser = "netscape";

		}


		}


		if(this.useragent.indexOf("win") != -1)
{
this.os = "win";
}
else if(this.useragent.indexOf("mac") != -1)

		if(this.useragent.indexOf("win") != -1)
{
this.os = "win";
}
else if(this.useragent.indexOf("mac") != -1)

		{

		{

			this.os = "mac";
}
},

			this.os = "mac";
}
},

Zeile 98Zeile 102
	},

deleteEvent: function(eid)

	},

deleteEvent: function(eid)

	{

	{

		confirmReturn = confirm(deleteevent_confirm);

if(confirmReturn == true)

		confirmReturn = confirm(deleteevent_confirm);

if(confirmReturn == true)

Zeile 108Zeile 112
			form.setAttribute("action", "calendar.php");
form.setAttribute("style", "display: none;");


			form.setAttribute("action", "calendar.php");
form.setAttribute("style", "display: none;");


			if(this.browser == "ie")

			if(this.browser == "ie")

			{
var input = document.createElement("<input name=\"action\">");
}

			{
var input = document.createElement("<input name=\"action\">");
}

Zeile 141Zeile 145
			if(this.browser == "ie")
{
var input = document.createElement("<input name=\"eid\">");

			if(this.browser == "ie")
{
var input = document.createElement("<input name=\"eid\">");

			}
else
{

			}
else
{

				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);


if(this.browser == "ie")
{


if(this.browser == "ie")
{

Zeile 166Zeile 170

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


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

		}

		}

	},

checkAll: function(e)

	},

checkAll: function(e)

Zeile 186Zeile 190
	},

reputation: function(uid)

	},

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)
},


deleteReputation: function(uid, rid)
{


deleteReputation: function(uid, rid)
{

Zeile 276Zeile 280
	{
element = Event.element(event);
if(!element)

	{
element = Event.element(event);
if(!element)

		{
return false;

		{
return false;

		}
var fid = element.id.replace("mark_read_", "");
if(!fid)

		}
var fid = element.id.replace("mark_read_", "");
if(!fid)

Zeile 415Zeile 419
			
if(this.browser == "ie")
{

			
if(this.browser == "ie")
{

				var input = document.createElement("<input name=\"username\">");















				var input = document.createElement("<input name=\"quick_login\">");
}
else
{
var input = document.createElement("input");
input.setAttribute("name", "quick_login");
}

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

if(this.browser == "ie")
{
var input = document.createElement("<input name=\"quick_username\">");

			}
else
{
var input = document.createElement("input");

			}
else
{
var input = document.createElement("input");

				input.setAttribute("name", "username");

				input.setAttribute("name", "quick_username");

			}
input.setAttribute("type", "text");
input.setAttribute("value", lang.username);

			}
input.setAttribute("type", "text");
input.setAttribute("value", lang.username);

Zeile 433Zeile 451
			
if(this.browser == "ie")
{

			
if(this.browser == "ie")
{

				var input = document.createElement("<input name=\"password\">");

				var input = document.createElement("<input name=\"quick_password\">");

			}
else
{
var input = document.createElement("input");

			}
else
{
var input = document.createElement("input");

				input.setAttribute("name", "password");

				input.setAttribute("name", "quick_password");

			}
input.setAttribute("type", "password");
input.setAttribute("value", lang.password);

			}
input.setAttribute("type", "password");
input.setAttribute("value", lang.password);