rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
this.div.style.overflow = 'hidden';
initialize: function(bounds, borderColor, borderWidth) { if (arguments.length > 0) { this.bounds = bounds; this.div = OpenLayers.Util.createDiv(); this.events = new OpenLayers.Events(this, this.div, null); this.setBorder(borderColor, borderWidth); } },
markers = new Array();
initialize: function(name) { OpenLayers.Layer.prototype.initialize.apply(this, arguments); },
if (this.document.originalBody == undefined) { this.document.originalBody = this.document.body.innerHTML; } else { this.document.body.innerHTML = this.document.originalBody; addBreakpointSupport(this.document); }
this._resetTestCase();
initialize : function(testDocument, isJavaScript, commandFactory) { this.commandFactory = commandFactory; this.waitForConditionTimeout = 30 * 1000; // 30 seconds this.isJavaScript = isJavaScript; se = selenium; global.se = selenium; this.document = testDocument; ...
if (candidateRows[j].cells.length >= 3) {
if (isCommandRow(candidateRows[j])) {
initialize : function(testDocument, isJavaScript, commandFactory) { this.commandFactory = commandFactory; this.waitForConditionTimeout = 30 * 1000; // 30 seconds this.isJavaScript = isJavaScript; se = selenium; global.se = selenium; this.document = testDocument; ...
function initialize() { userEventsInit(); document.onmousemove = mousePosition; }
function initialize() { userEventsInit(); }
function initialize() //runs at onload of window { userEventsInit(); //set up all user events document.onmousemove = mousePosition; //moz }
image.src = (display == "block")? "images/minus.gif" : "images/plus.gif";
image.src = (display == "block")? "../images/minus.gif" : "../images/plus.gif";
function initializeMenu(module) { var menuId = module + "Menu"; var triggerId = module + "Trig"; var imageId = module + "Image"; var menu = document.getElementById(menuId); var trigger = document.getElementById(triggerId); var image = document.getElementById(imageId); var state = readCookie(modul...
image.src = "images/plus.gif";
image.src = "../images/plus.gif";
function initializeMenu(module) { var menuId = module + "Menu"; var triggerId = module + "Trig"; var imageId = module + "Image"; var menu = document.getElementById(menuId); var trigger = document.getElementById(triggerId); var image = document.getElementById(imageId); var state = readCookie(modul...
image.src = "images/minus.gif";
image.src = "../images/minus.gif";
function initializeMenu(module) { var menuId = module + "Menu"; var triggerId = module + "Trig"; var imageId = module + "Image"; var menu = document.getElementById(menuId); var trigger = document.getElementById(triggerId); var image = document.getElementById(imageId); var state = readCookie(modul...
if (tinyMCE.isGecko) doc.body.spellcheck = tinyMCE.getParam("gecko_spellcheck");
function initIframe(doc) { var dir = tinyMCE.selectedInstance.settings['directionality']; doc.body.dir = dir; resizeInputs();}
gPanelContainer().addEventListener("mousedown",onMouseDown,true);
gPanelContainer().addEventListener("mousedown",izOnMouseDown,true);
function initImageZoom() { // Check the version to display initilisation page if appropriate var oldVersion = nsIPrefBranchObj.getCharPref("version"); if (oldVersion < version) { nsIPrefBranchObj.setCharPref("version", version); try { // try to save the prefs because we don't want to reset the home page if prefs ca...
contextSubMenuLabel = document.getElementById("context-zoomsub").getAttribute("label") + " (%zoom% %)";
function initImageZoom() { // Check the version to display initilisation page if appropriate var oldVersion = nsIPrefBranchObj.getCharPref("version"); if (oldVersion < version) { nsIPrefBranchObj.setCharPref("version", version); try { // try to save the prefs because we don't want to reset the home page if prefs ca...
if(this.layer.opacity != null) { OpenLayers.Util.setOpacity(this.imgDiv, this.layer.opacity); }
initImgDiv: function() { if (this.layer.alpha) { this.imgDiv = OpenLayers.Util.createAlphaImageDiv(null, this.position, this.size, ...
if (tinyMCE.isGecko) { tinyMCE.addEvent(inst.getDoc(), "keyup", TinyMCE_NonEditablePlugin._fixKeyUp); }
initInstance : function(inst) { tinyMCE.importCSS(inst.getDoc(), tinyMCE.baseURL + "/plugins/noneditable/css/noneditable.css"); // Ugly hack if (tinyMCE.isMSIE5_0) tinyMCE.settings['plugins'] = tinyMCE.settings['plugins'].replace(/noneditable/gi, 'Noneditable'); if (tinyMCE.isGecko) { tinyMCE.addEvent(inst.get...
var menupopup = document.createElement("menupopup");
var menupopup = listbox.firstChild;
function initListBox(){ var listbox = document.getElementById("translate.prefs.language.selection"); var menupopup = document.createElement("menupopup"); var listitem ; for(var i = 0;i < PGTRANSLATE_LANGUAGEPAIRS.length ; i++) { listitem = document.createElement("menuitem"); listitem.setAttribute("label",PGTRANSLATE...
toolbarItem.setAttribute("oncommand","quick_translate();");
toolbarItem.setAttribute("oncommand","if (event.target==this) quick_translate();");
function initMenus(){ var languagePair; var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMenuItemTooltiptext; var contextMenuItemOncommand; var contextMenuItemElement; va...
toolbarItem.setAttribute("oncommand","if (event.target==this) translateFrom('en_" + glanguagePairs[glocale][0] + "');");
toolbarItem.setAttribute("oncommand","if (event.target==this) translateFrom(\'en_" + glanguagePairs[glocale][0] + "\');");
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
var toolbarMenuPopupElement = document.createElement("menupopup"); var toolbarMenuItemLabel; var toolbarMenuItemTooltiptext; var toolbarMenuItemOncommand ; var toolbarMenuItemElement;
if( toolbarItem) { var isToolbar = true; } else { var isToolbar = false; } var toolbarMenuPopupElement = document.createElement("menupopup"); var toolbarMenuItemLabel; var toolbarMenuItemTooltiptext; var toolbarMenuItemOncommand ; var toolbarMenuItemElement;
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
toolbarItem.setAttribute("class","translate-tool-" + glanguagePairs[glocale][0]);
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
if(isToolbar) { toolbarItem.setAttribute("class","translate-tool-" + glanguagePairs[glocale][0]);
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
if(glocale == 0) { toolbarItem.setAttribute("oncommand","if (event.target==this) quick_translate();"); } else { toolbarItem.setAttribute("oncommand","if (event.target==this) translateFrom(\'en_" + glanguagePairs[glocale][0] + "\');"); }
if(glocale == 0) { toolbarItem.setAttribute("oncommand","if (event.target==this) quick_translate();"); } else { toolbarItem.setAttribute("oncommand","if (event.target==this) translateFrom(\'en_" + glanguagePairs[glocale][0] + "\');"); } }
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
toolbarItem.replaceChild(toolbarMenuPopupElement,toolbarItem.firstChild);
if(isToolbar) { toolbarItem.replaceChild(toolbarMenuPopupElement,toolbarItem.firstChild); }
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
toolbarItem.appendChild(toolbarMenuPopupElement);
if(isToolbar) { toolbarItem.appendChild(toolbarMenuPopupElement); }
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
toolbarItem.setAttribute("oncommand","if (event.target==this) translateFrom('en_" + glanguagePairs[glocale][0] + "');");
if(glocale = 0) { toolbarItem.setAttribute("oncommand","quick_translate();"); } else { toolbarItem.setAttribute("oncommand","if (event.target==this) translateFrom('en_" + glanguagePairs[glocale][0] + "');"); }
function initMenus(){ var languagePair; var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMenuItemTooltiptext; var contextMenuItemOncommand; var contextMenuItemElement; va...
toolbarItem.setAttribute("class","translate-tool-" + languagePairs[glocale][0]); toolbarItem.setAttribute("oncommand","if (event.target==this) translateFrom('en_" + languagePairs[glocale][0] + "');");
function initMenus(){ var languagePair; var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMenuItemTooltiptext; var contextMenuItemOncommand; var contextMenuItemElement; va...
if(glocale = 0)
if(glocale == 0)
function initMenus(){ var languagePair; var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMenuItemTooltiptext; var contextMenuItemOncommand; var contextMenuItemElement; va...
var toolbarItem = document.getElementById("translate-pg"); if( toolbarItem) { var isToolbar = true; } else { var isToolbar = false; } var toolbarMenuPopupElement = document.createElement("menupopup"); var toolbarMenuItemLabel; var toolbarMenuItemTooltiptext; var toolbarMenuItemOncommand ; var toolbarMenuItemElement;
var toolbarItem = document.getElementById("translate-pg");
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
var toolMenu = document.getElementById("translate-tool-menu"); var toolMenuSeperator = document.getElementById("translate-options-separator");
var toolMenu = document.getElementById("translate-tool-menu"); var toolMenuSeperator = document.getElementById("translate-options-separator"); var toolMenuPopupElement = document.createElement("menupopup"); var toolMenuItemLabel; var toolMenuItemTooltiptext; var toolMenuItemOncommand ; var toolMenuItemElement;
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
toolbarMenuItemLabel = gTranslateBundle.getString("toolbar.menu." + languagePair + ".label"); toolbarMenuItemTooltiptext = gTranslateBundle.getString(languagePair + ".tooltip"); toolbarMenuItemOncommand = "translateFrom('" + languagePair + "');"; toolbarMenuItemElement = document.createElement("menuitem"); toolbarMen...
toolMenuItemLabel = gTranslateBundle.getString("toolbar.menu." + languagePair + ".label"); toolMenuItemTooltiptext = gTranslateBundle.getString(languagePair + ".tooltip"); toolMenuItemOncommand = "translateFrom('" + languagePair + "');"; toolMenuItemElement = document.createElement("menuitem"); toolMenuItemElement.se...
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
if(isToolbar) { toolbarItem.setAttribute("class","translate-tool-" + glanguagePairs[glocale][0]); if(glocale == 0) { toolbarItem.setAttribute("oncommand","if (event.target==this) quick_translate();"); } else { toolbarItem.setAttribute("oncommand","if (event.target==this) translateFrom(\'en_" + glanguagePairs[gl...
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
if(isToolbar) { toolbarItem.replaceChild(toolbarMenuPopupElement,toolbarItem.firstChild); }
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
var cloneMenu = toolbarMenuPopupElement.cloneNode(true); var nodeLength = cloneMenu.childNodes.length;
var nodeLength = toolMenuPopupElement.childNodes.length;
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
toolMenu.insertBefore(cloneMenu.childNodes[0],toolMenuSeperator); }
toolMenu.insertBefore(toolMenuPopupElement.childNodes[0],toolMenuSeperator); }
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
if(isToolbar) { toolbarItem.appendChild(toolbarMenuPopupElement); } var cloneMenu = toolbarMenuPopupElement.cloneNode(true); var nodeLength = cloneMenu.childNodes.length;
var nodeLength = toolMenuPopupElement.childNodes.length;
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
toolMenu.insertBefore(cloneMenu.childNodes[0],toolMenuSeperator);
toolMenu.insertBefore(toolMenuPopupElement.childNodes[0],toolMenuSeperator);
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
langSelected.childNodes[glocale].setAttribute("checked","true"); }
langSelected.childNodes[glocale].setAttribute("checked","true"); } toolbarItem.setAttribute("class","translate-tool-" + glanguagePairs[glocale][0]);
function initMenus() //initialises the context menu and the toolbar menu{ var languagePair; // set up context menu variables var contextItem = document.getElementById("translate-context"); var contextMenuPopupElement = document.createElement("menupopup"); var contextMenuItemLabel; var contextMe...
if (this.options.selectedFormat != null) { try { testManager.selectFormat(this.options.selectedFormat); } catch (error) { log.error("failed to select format: " + error); } }
function initOptions() { if (this.options.rememberBaseURL == 'true' && this.options.baseURL != null){ if (document.getElementById("baseURL").value == '') { document.getElementById("baseURL").value = this.options.baseURL; } } if (this.options.selectedFormat != null) { try { testManager.selectFormat(this.options.s...
this.resolutions.sort( function ascend(a,b) { return(b-a); });
initResolutions: function() { if ((this.scales != null) || (this.resolutions != null)) { //preset levels if (this.scales != null) { this.resolutions = new Array(); for(var i = 0; i < this.scales.length; i++) { this.resolutions[i] = ...
tmp = tmp.replace("&", "&amp;"); tmp = tmp.replace("<", "&lt;"); tmp = tmp.replace(">", "&gt;"); tmp = tmp.replace(" ", "&nbsp;"); tmp = tmp.replace("\n", "<br />"); tmp = tmp.replace("\t", "&nbsp;&nbsp;&nbsp;&nbsp");
tmp = tmp.replace(/&/g, "&amp;"); tmp = tmp.replace(/</g, "&lt;"); tmp = tmp.replace(/>/g, "&gt;"); tmp = tmp.replace(/ /g, "&nbsp;"); tmp = tmp.replace(/\n/g, "<br />"); tmp = tmp.replace(/\t/g, "&nbsp;&nbsp;&nbsp;&nbsp");
function initRuntime() { function escapeHTML(s) { var tmp = s; tmp = tmp.replace("&", "&amp;"); tmp = tmp.replace("<", "&lt;"); tmp = tmp.replace(">", "&gt;"); tmp = tmp.replace(" ", "&nbsp;"); tmp = tmp.replace("\n", "<br />"); tmp = tmp.replace("\t", "&nbsp;&nbsp;&nbsp;&nbsp"); return tmp; } document.write(...
return false;
input: function(element) { switch (element.type.toLowerCase()) { case 'hidden': case 'text': return Form.Element.Serializers.textarea(element); case 'checkbox': case 'radio': return Form.Element.Serializers.inputSelector(element); } },
case 'password':
input: function(element) { switch (element.type.toLowerCase()) { case 'hidden': case 'text': return Form.Element.Serializers.textarea(element); case 'checkbox': case 'radio': return Form.Element.Serializers.inputSelector(element); } },
case 'hidden': case 'password': case 'text': return Form.Element.Serializers.textarea(element);
input: function(element) { switch (element.type.toLowerCase()) { case 'hidden': case 'password': case 'text': return Form.Element.Serializers.textarea(element); case 'checkbox': case 'radio': return Form.Element.Serializers.inputSelector(element); } return false; },
default: return Form.Element.Serializers.textarea(element);
input: function(element) { switch (element.type.toLowerCase()) { case 'hidden': case 'password': case 'text': return Form.Element.Serializers.textarea(element); case 'checkbox': case 'radio': return Form.Element.Serializers.inputSelector(element); } return false; },
inputElement.innerText = historyArray[historySize - historyIndex].childNodes[0].innerText;
var item = historyArray[historySize - historyIndex].childNodes[0]; while(item.className.indexOf("expression") == -1) { historyIndex++; item = historyArray[historySize - historyIndex].childNodes[0]; } inputElement.innerText = item.innerText;
function inputKeyDown(event){ if (event.keyCode == 13 && !event.altKey) { if (mainWindow.isPaused() && mainWindow.currentStack) { sendScript(inputElement.innerText); inputElement.innerText = ""; inputElement.focus(); } else alert("The debugger needs to be pau...
inputElement.innerText = historyArray[(historyArray.length - 1) - historyIndex].childNodes[0].innerText;
var historySize = historyArray.length - 1; var item = historyArray[historySize - historyIndex].childNodes[0]; while(item.className.indexOf("expression") == -1) { historyIndex--; item = historyArray[historySize - historyIndex].childNodes[0]; } inputElement.innerText = item.innerText;
function inputKeyDown(event){ if (event.keyCode == 13 && !event.altKey) { if (mainWindow.isPaused() && mainWindow.currentStack) { sendScript(inputElement.innerText); inputElement.innerText = ""; inputElement.focus(); } else alert("The debugger needs to be pau...
if (!AutoValidator.validate(formObj)) { alert(tinyMCE.getLang('lang_invalid_data')); return false; }
function insertAction() { var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); var elm = inst.getFocusElement(); var formObj = document.forms[0]; var src = formObj.src.value; var onmouseoversrc = formObj.onmouseoversrc.value; var onmouseoutsrc = formObj.onmouseoutsrc.value; if (tinyMCE.getParam("acces...
insertContent: function() { this.element.parentNode.insertBefore(this.fragment, this.element.nextSibling);
insertContent: function(fragments) { fragments.each((function(fragment) { this.element.parentNode.insertBefore(fragment, this.element.nextSibling); }).bind(this));
insertContent: function() { this.element.parentNode.insertBefore(this.fragment, this.element.nextSibling); }
function insertImage(nodeid) {
function insertImage() {
function insertImage(nodeid) { var src = document.forms['image'].assetName.value; var title = document.forms['image'].caption.value; var type = document.forms['image'].type.value; var height = document.forms['image'].height.value; var width = document.forms['image'].width.value; windo...
window.opener.SetUrl( nodeid + '/' + src, width, height, title );
window.opener.SetUrl( src, width, height, title );
function insertImage(nodeid) { var src = document.forms['image'].assetName.value; var title = document.forms['image'].caption.value; var type = document.forms['image'].type.value; var height = document.forms['image'].height.value; var width = document.forms['image'].width.value; windo...
} else if (fileTabElm.className == "current") { var text = document.forms[0].file_text.value; var href = document.forms[0].filepath.value; var filepath=""; if (":" == href.charAt(href.indexOf("\\") - 1)) filepath = "file: else if (href.substring(0, 2) == "\\\\") filepath = "file: tinyMCE.themes['wikieditor'].insertLink...
function insertLink() { var wikiTabElm = document.getElementById("wiki_tab"); var webTabElm = document.getElementById("web_tab"); var attachTabElm = document.getElementById("attachments_tab"); var emailTabElm = document.getElementById("email_tab"); var dummy; tinyMCEPopup.restoreSelection(); if (wi...
filepath = "file:
filepath = "file:\/\/" + href.replace(/\\/gi, "\/");
function insertLink() { var wikiTabElm = document.getElementById("wiki_tab"); var webTabElm = document.getElementById("web_tab"); var fileTabElm = document.getElementById("file_tab"); var attachTabElm = document.getElementById("attachments_tab"); var emailTabElm = document.getElementById("email_tab"); ...
filepath = "file:
filepath = "file:\/\/\/" + href.replace(/\\/gi, "\/");
function insertLink() { var wikiTabElm = document.getElementById("wiki_tab"); var webTabElm = document.getElementById("web_tab"); var fileTabElm = document.getElementById("file_tab"); var attachTabElm = document.getElementById("attachments_tab"); var emailTabElm = document.getElementById("email_tab"); ...
var href = document.forms[0].attach.value;
var href = document.forms[0].attach_file.value;
function insertLink() { var wikiTabElm = document.getElementById("wiki_tab"); var webTabElm = document.getElementById("web_tab"); var fileTabElm = document.getElementById("file_tab"); var attachTabElm = document.getElementById("attachments_tab"); var emailTabElm = document.getElementById("email_tab"); ...
var href = document.forms[0].filepath.value; var filepath="";
var href = document.forms[0].filepaths.value; var filepaths="";
function insertLink() { var wikiTabElm = document.getElementById("wiki_tab"); var webTabElm = document.getElementById("web_tab"); var fileTabElm = document.getElementById("file_tab"); var attachTabElm = document.getElementById("attachments_tab"); var emailTabElm = document.getElementById("email_tab"); ...
filepath = "file:\/\/" + href.replace(/\\/gi, "\/");
filepaths = "file:\/\/" + href.replace(/\\/gi, "\/");
function insertLink() { var wikiTabElm = document.getElementById("wiki_tab"); var webTabElm = document.getElementById("web_tab"); var fileTabElm = document.getElementById("file_tab"); var attachTabElm = document.getElementById("attachments_tab"); var emailTabElm = document.getElementById("email_tab"); ...
filepath = "file:\/\/\/" + href.replace(/\\/gi, "\/"); tinyMCE.themes['wikieditor'].insertLink(filepath, "", text, "", "", dummy, "");
filepaths = "file:\/\/\/" + href.replace(/\\/gi, "\/"); tinyMCE.themes['wikieditor'].insertLink(filepaths, "", text, "", "", dummy, "");
function insertLink() { var wikiTabElm = document.getElementById("wiki_tab"); var webTabElm = document.getElementById("web_tab"); var fileTabElm = document.getElementById("file_tab"); var attachTabElm = document.getElementById("attachments_tab"); var emailTabElm = document.getElementById("email_tab"); ...
{var str = "<div class='exportDocName'>";
{var str = "<div class='importDoc'>";
function insertNewDoc(id, value, language){var str = "<div class='exportDocName'>"; str += "<input type='checkBox' name='pages' value='" + value + "' class='selCheckedDoc' id='sel_" + value + "' checked />"; // Add language var sLanguage = ""; if (language!=null) sLanguage = "" + language; var htmlLa...
if (!AutoValidator.validate(formObj)) { alert(tinyMCE.getLang('lang_invalid_data')); return false; }
function insertTable() { var formObj = document.forms[0]; var inst = tinyMCE.selectedInstance; var cols = 2, rows = 2, border = 0, cellpadding = -1, cellspacing = -1, align, width, height, className; var html = ''; var elm = tinyMCE.tableElm; var cellLimit, rowLimit, colLimit; tinyMCEPopup.restoreSelection(); // Get fo...
true : (bounds.bottom > this.bottom) && (bounds.bottom < this.top);
true : (((bounds.bottom > this.bottom) && (bounds.bottom < this.top)) || ((this.bottom > bounds.bottom) && (this.bottom < bounds.top)));
intersectsBounds:function(bounds, inclusive) { if (inclusive == null) { inclusive = true; } var inBottom = (bounds.bottom == this.bottom && bounds.top == this.top) ? true : (bounds.bottom > this.bottom) && (bounds.bottom < this.top); var inTop = (bounds.bot...
true : (bounds.top > this.bottom) && (bounds.top < this.top);
true : (((bounds.top > this.bottom) && (bounds.top < this.top)) || ((this.top > bounds.bottom) && (this.top < bounds.top)));
intersectsBounds:function(bounds, inclusive) { if (inclusive == null) { inclusive = true; } var inBottom = (bounds.bottom == this.bottom && bounds.top == this.top) ? true : (bounds.bottom > this.bottom) && (bounds.bottom < this.top); var inTop = (bounds.bot...
true : (bounds.right > this.left) && (bounds.right < this.right);
true : (((bounds.right > this.left) && (bounds.right < this.right)) || ((this.right > bounds.left) && (this.right < bounds.right)));
intersectsBounds:function(bounds, inclusive) { if (inclusive == null) { inclusive = true; } var inBottom = (bounds.bottom == this.bottom && bounds.top == this.top) ? true : (bounds.bottom > this.bottom) && (bounds.bottom < this.top); var inTop = (bounds.bot...
true : (bounds.left > this.left) && (bounds.left < this.right);
true : (((bounds.left > this.left) && (bounds.left < this.right)) || ((this.left > bounds.left) && (this.left < bounds.right)));
intersectsBounds:function(bounds, inclusive) { if (inclusive == null) { inclusive = true; } var inBottom = (bounds.bottom == this.bottom && bounds.top == this.top) ? true : (bounds.bottom > this.bottom) && (bounds.bottom < this.top); var inTop = (bounds.bot...
(inTop || inBottom ) && (inLeft || inRight ));
((inTop || inBottom ) && (inLeft || inRight )));
intersectsBounds:function(bounds, inclusive) { if (inclusive == null) { inclusive = true; } var inBottom = (bounds.bottom == this.bottom && bounds.top == this.top) ? true : (bounds.bottom > this.bottom) && (bounds.bottom < this.top); var inTop = (bounds.bot...
bounds.containsBounds(this, true, inclusive));
bounds.containsBounds(this, true, inclusive) || (inTop || inBottom ) && (inLeft || inRight ));
intersectsBounds:function(bounds, inclusive) { if (inclusive == null) { inclusive = true; } return (this.containsBounds(bounds, true, inclusive) || bounds.containsBounds(this, true, inclusive)); },
tmp_mode = "-";
var tmp_mode = "-";
function inverse_chanmode(bitlist) { tmp_mode = "-"; if (bitlist&CHANMODE_INVITE) tmp_mode += "i"; if (bitlist&CHANMODE_KEY) tmp_mode += "k"; if (bitlist&CHANMODE_LIMIT) tmp_mode += "l"; if (bitlist&CHANMODE_MODERATED) tmp_mode += "m"; if (bitlist&CHANMODE_NOOUTSIDE) tmp_mode += "n"; if (bitlist&CHANMODE_PRIVATE) ...
}));
}), 'rgb');
invert: function(){ return new Color(this.map(function(value){ return 255 - value; })); },
currentDocument = null;
this.invoke=function () { try { fn(); } finally { removeLoadListener(getIframe(), self.invoke); } }
var range = getIPRangeManager().getIPRange(iprangeId);
var range = getAccreditableManager().getIPRangeManager().getIPRange(iprangeId);
function iprange_change_groups(iprangeId) { var range = getIPRangeManager().getIPRange(iprangeId); var rangeGroupArray = range.getGroups(); var rangeGroups = new java.util.ArrayList(java.util.Arrays.asList(rangeGroupArray)); var iterator = getGroupManager().getGroups(); var groups = new java.util...
var iterator = getGroupManager().getGroups();
var iterator = getAccreditableManager().getGroupManager().getGroups();
function iprange_change_groups(iprangeId) { var range = getIPRangeManager().getIPRange(iprangeId); var rangeGroupArray = range.getGroups(); var rangeGroups = new java.util.ArrayList(java.util.Arrays.asList(rangeGroupArray)); var iterator = getGroupManager().getGroups(); var groups = new java.util...
sendPageAndWait("ipranges/" + iprangeId + "/groups.xml", {
cocoon.sendPageAndWait("ipranges/" + iprangeId + "/groups.xml", {
function iprange_change_groups(iprangeId) { var range = getIPRangeManager().getIPRange(iprangeId); var rangeGroupArray = range.getGroups(); var rangeGroups = new java.util.ArrayList(java.util.Arrays.asList(rangeGroupArray)); var iterator = getGroupManager().getGroups(); var groups = new java.util...
var group = getGroupManager().getGroup(groupId);
var group = getAccreditableManager().getGroupManager().getGroup(groupId);
function iprange_change_groups(iprangeId) { var range = getIPRangeManager().getIPRange(iprangeId); var rangeGroupArray = range.getGroups(); var rangeGroups = new java.util.ArrayList(java.util.Arrays.asList(rangeGroupArray)); var iterator = getGroupManager().getGroups(); var groups = new java.util...
var group = getGroupManager().getGroup(rangeGroupId);
var group = getAccreditableManager().getGroupManager().getGroup(rangeGroupId);
function iprange_change_groups(iprangeId) { var range = getIPRangeManager().getIPRange(iprangeId); var rangeGroupArray = range.getGroups(); var rangeGroups = new java.util.ArrayList(java.util.Arrays.asList(rangeGroupArray)); var iterator = getGroupManager().getGroups(); var groups = new java.util...
sendPageAndWait("ipranges/groups.xml", {
sendPageAndWait("ipranges/" + iprangeId + "/groups.xml", {
function iprange_change_groups(iprangeId) { var range = getIPRangeManager().getIPRange(iprangeId); var rangeGroupArray = range.getGroups(); var rangeGroups = new java.util.ArrayList(java.util.Arrays.asList(rangeGroupArray)); var iterator = getGroupManager().getGroups(); var groups = new java.util...
var ipRangeManager = getIPRangeManager(); var ipRangeId = cocoon.request.get("iprange-id"); var range = ipRangeManager.getIPRange(ipRangeId); var name = range.getName(); var showPage = true;
resolve(); try { var ipRangeManager = getAccreditableManager().getIPRangeManager(); var ipRangeId = cocoon.request.get("iprange-id"); var range = ipRangeManager.getIPRange(ipRangeId); var name = range.getName(); var showPage = true; while (showPage) { cocoon.sendPageAndWait("ipranges/confirm-delete-common.xml", { "ty...
function iprange_delete_iprange() { var ipRangeManager = getIPRangeManager(); var ipRangeId = cocoon.request.get("iprange-id"); var range = ipRangeManager.getIPRange(ipRangeId); var name = range.getName(); var showPage = true; while (showPage) { sendPageAndWait("ipranges/confirm-delete-common.xml", { "type" : "I...
while (showPage) { sendPageAndWait("ipranges/confirm-delete-common.xml", { "type" : "IP range", "id" : ipRangeId, "name" : name }); if (cocoon.request.get("submit")) { ipRangeManager.remove(range); range['delete'](); showPage = false; } } sendPage("redirect.html", { "url" : "../ipranges.html" });
cocoon.sendPage("redirect.html", { "url" : "../ipranges.html" }); } finally { release(); }
function iprange_delete_iprange() { var ipRangeManager = getIPRangeManager(); var ipRangeId = cocoon.request.get("iprange-id"); var range = ipRangeManager.getIPRange(ipRangeId); var name = range.getName(); var showPage = true; while (showPage) { sendPageAndWait("ipranges/confirm-delete-common.xml", { "type" : "I...
sendPage("redirect.html", { "url" : redirectUri });
cocoon.redirectTo(redirectUri);
function iprangeChangeGroups() { var redirectUri = getRequestUri(); var iprangeId = getAccreditableId(); var range = getAccreditableManager().getIPRangeManager().getIPRange(iprangeId); var rangeGroupArray = range.getGroups(); var rangeGroups = new java.util.ArrayList(java.util.Arrays.asList(rangeGroupArray...
cocoon.sendPageAndWait("ipranges/" + iprangeId + "/groups.xml", {
cocoon.sendPageAndWait("ipranges/groups.xml", {
function iprangeChangeGroups() { var redirectUri = getRequestUri(); var iprangeId = getAccreditableId(); var range = getAccreditableManager().getIPRangeManager().getIPRange(iprangeId); var rangeGroupArray = range.getGroups(); var rangeGroups = new java.util.ArrayList(java.util.Arrays.asList(rangeGroupArray...
cocoon.sendPage("redirect.html", { "url" : redirectUri });
cocoon.redirectTo(redirectUri);
function iprangeDeleteIPRange() { resolve(); try { var redirectUri = getRequestUri(); var ipRangeManager = getAccreditableManager().getIPRangeManager(); var ipRangeId = cocoon.request.get("iprange-id"); var range = ipRangeManager.getIPRange(ipRangeId); var name = range.getName(); var showPage = true; while ...
this.queue = new Array();
this.queue = new Array;
function IRC_Queue() { this.queue = new Array(); this.bytes = 0; this.add = Queue_Add;}
this.check_nickname=IRCClient_check_nickname;
function IRC_Server() { ////////// VARIABLES // Bools/Flags that change depending on connection state. this.hub = false; // are we a hub? this.local = true; // are we a local socket? this.pinged = false; // have we sent a PING? this.server = true; // yep, we're a server. this.uline = false; // are we services? // Varia...
this.type = BAHAMUT;
function IRC_Server() { ////////// VARIABLES // Bools/Flags that change depending on connection state. this.hub = false; // are we a hub? this.local = true; // are we a local socket? this.pinged = false; // have we sent a PING? this.server = true; // yep, we're a server. this.uline = false; // are we services? // Varia...
this.do_msg=IRCClient_do_msg;
function IRC_Server() { ////////// VARIABLES // Bools/Flags that change depending on connection state. this.hub = false; // are we a hub? this.local = true; // are we a local socket? this.pinged = false; // have we sent a PING? this.server = true; // yep, we're a server. this.uline = false; // are we services? // Varia...
for(sw_counter=0;sw_counter<startword;sw_counter++) {
for(sw_counter=0;sw_counter<arg;sw_counter++) {
function IRC_string(str,arg) { var cindex; if (arg) { for(sw_counter=0;sw_counter<startword;sw_counter++) { str=str.slice(str.indexOf(" ")+1); } } cindex = str.indexOf(":")+1; if (!cindex) cindex = str.lastIndexOf(" ")+1; if (!cindex) return str; return(str.slice(cindex));}
this.channels = new Array;
this.channels = new Object;
function IRC_User(id) { ////////// VARIABLES // Bools/Flags that change depending on connection state. this.flagged_for_quit = false; // QUIT later? this.local = true; // are we a local socket? this.pinged = false; // sent PING? this.server = false; // No, we're not a server. this.uline = false; // Are we services? // ...
this.do_basic_list=IRCClient_do_basic_list; this.do_complex_list=IRCClient_do_complex_list; this.do_list_usage=IRCClient_do_list_usage;
function IRCClient(socket,new_id,local_client,do_newconn) { this.pinged=false; this.nick = ""; this.away = ""; this.realname = ""; this.uprefix = ""; this.hostname = ""; this.conntype = TYPE_UNREGISTERED; this.ircclass = 0; this.flags = 0; this.idletime = ""; this.invited = ""; this.password = ""; this.sentps = false; ...
if (possible_hostname) {
if (resolve_hostnames && possible_hostname) {
function IRCClient(socket,new_id,local_client,do_newconn) { this.pinged=false; this.nick = ""; this.away = ""; this.realname = ""; this.uprefix = ""; this.hostname = ""; this.conntype = TYPE_UNREGISTERED; this.ircclass = 0; this.idletime = ""; this.invited = ""; this.password = ""; this.sentps = false; this.local = loc...
server_wallops("!DEBUG: resolve_host took " + went_into_hostname + " seconds.");
oper_notice("DEBUG","resolve_host took " + went_into_hostname + " seconds.");
function IRCClient(socket,new_id,local_client,do_newconn) { this.pinged=false; this.nick = ""; this.away = ""; this.realname = ""; this.uprefix = ""; this.hostname = ""; this.conntype = TYPE_UNREGISTERED; this.idletime = ""; this.invited = ""; this.password = ""; this.sentps = false; this.local = local_client; this.mod...
this.reintroduce_nick=IRCClient_reintroduce_nick;
function IRCClient(socket,new_id,local_client,do_newconn) { this.pinged=false; this.nick = ""; this.away = ""; this.realname = ""; this.uprefix = ""; this.hostname = ""; this.conntype = TYPE_UNREGISTERED; this.ircclass = 0; this.flags = 0; this.idletime = ""; this.invited = ""; this.password = ""; this.sentps = false; ...
this.numeric412=IRCClient_numeric412;
function IRCClient(socket,new_id,local_client,do_newconn) { this.pinged=false; this.nick = ""; this.away = ""; this.realname = ""; this.uprefix = ""; this.hostname = ""; this.conntype = TYPE_UNREGISTERED; this.ircclass = 0; this.idletime = ""; this.invited = ""; this.password = ""; this.sentps = false; this.local = loc...
this.do_admin=IRCClient_do_admin; this.do_info=IRCClient_do_info; this.do_stats=IRCClient_do_stats;
function IRCClient(socket,new_id,local_client,do_newconn) { this.pinged=false; this.nick = ""; this.away = ""; this.realname = ""; this.uprefix = ""; this.hostname = ""; this.conntype = TYPE_UNREGISTERED; this.ircclass = 0; this.flags = 0; this.idletime = ""; this.invited = ""; this.password = ""; this.sentps = false; ...
this.affect_mode_list=IRCClient_affect_mode_list; this.tweaktmpmode=IRCClient_tweaktmpmode; this.tweaktmpmodelist=IRCClient_tweaktmpmodelist;
function IRCClient(socket,new_id,local_client,do_newconn) { this.pinged=false; this.nick = ""; this.away = ""; this.realname = ""; this.uprefix = ""; this.hostname = ""; this.conntype = TYPE_UNREGISTERED; this.ircclass = 0; this.flags = 0; this.idletime = ""; this.invited = ""; this.password = ""; this.sentps = false; ...
this.do_trace=IRCClient_do_trace; this.trace_all_opers=IRCClient_trace_all_opers;
function IRCClient(socket,new_id,local_client,do_newconn) { this.pinged=false; this.nick = ""; this.away = ""; this.realname = ""; this.uprefix = ""; this.hostname = ""; this.conntype = TYPE_UNREGISTERED; this.ircclass = 0; this.flags = 0; this.idletime = ""; this.invited = ""; this.password = ""; this.sentps = false; ...
this.numeric331=IRCClient_numeric331; this.numeric332=IRCClient_numeric332; this.numeric333=IRCClient_numeric333;
function IRCClient(socket,new_id,local_client,do_newconn) { this.pinged=false; this.nick = ""; this.away = ""; this.realname = ""; this.uprefix = ""; this.hostname = ""; this.conntype = TYPE_UNREGISTERED; this.ircclass = 0; this.flags = 0; this.idletime = ""; this.invited = ""; this.password = ""; this.sentps = false; ...
log("Accepted new connection: " + this.socket.remote_ip_address + " port " + this.socket.remote_port);
function IRCClient(socket,new_id,local_client,do_newconn) { this.pinged=false; this.nick = ""; this.away = ""; this.realname = ""; this.uprefix = ""; this.hostname = ""; this.conntype = TYPE_UNREGISTERED; this.idletime = ""; this.invited = ""; this.password = ""; this.sentps = false; this.local = local_client; this.mod...
oper_notice("DEBUG","resolve_host took " + went_into_hostname + " seconds.");
umode_notice(USERMODE_DEBUG,"Debug", "resolve_host took " + went_into_hostname + " seconds.");
function IRCClient(socket,new_id,local_client,do_newconn) { this.pinged=false; this.nick = ""; this.away = ""; this.realname = ""; this.uprefix = ""; this.hostname = ""; this.conntype = TYPE_UNREGISTERED; this.ircclass = 0; this.flags = 0; this.idletime = ""; this.invited = ""; this.password = ""; this.sentps = false; ...
this.server_notice("*** Synchronet IRC Daemon (" + serverdesc + ") Ready.");
this.server_notice("*** " + VERSION + " (" + serverdesc + ") Ready.");
function IRCClient(socket,new_id,local_client,do_newconn) { this.pinged=false; this.nick = ""; this.away = ""; this.realname = ""; this.uprefix = ""; this.hostname = ""; this.conntype = TYPE_UNREGISTERED; this.ircclass = 0; this.idletime = ""; this.invited = ""; this.password = ""; this.sentps = false; this.local = loc...
this.numeric445=IRCClient_numeric445; this.numeric446=IRCClient_numeric446;
function IRCClient(socket,new_id,local_client,do_newconn) { this.pinged=false; this.nick = ""; this.away = ""; this.realname = ""; this.uprefix = ""; this.hostname = ""; this.conntype = TYPE_UNREGISTERED; this.ircclass = 0; this.flags = 0; this.idletime = ""; this.invited = ""; this.password = ""; this.sentps = false; ...
set_ban = create_ban_mask(chan_tmplist[x][tmp_index]);
var set_ban = create_ban_mask(chan_tmplist[x][tmp_index]);
function IRCClient_affect_mode_list(list_bit,chan) { for (x=list_bit;x<=(list_bit+1);x++) { for (tmp_index in chan_tmplist[x]) { if (list_bit >= CHANLIST_BAN) { if (x == CHANLIST_BAN) { set_ban = create_ban_mask(chan_tmplist[x][tmp_index]); if (chan.count_modelist(CHANLIST_BAN) >= max_bans) { this.nu...
banid = chan.add_modelist(set_ban,CHANLIST_BAN);
var banid = chan.add_modelist(set_ban,CHANLIST_BAN);
function IRCClient_affect_mode_list(list_bit,chan) { for (x=list_bit;x<=(list_bit+1);x++) { for (tmp_index in chan_tmplist[x]) { if (list_bit >= CHANLIST_BAN) { if (x == CHANLIST_BAN) { set_ban = create_ban_mask(chan_tmplist[x][tmp_index]); if (chan.count_modelist(CHANLIST_BAN) >= max_bans) { this.nu...
banid = chan.del_modelist(chan_tmplist[CHANLIST_UNBAN][tmp_index],CHANLIST_BAN);
var banid = chan.del_modelist(chan_tmplist[CHANLIST_UNBAN][tmp_index],CHANLIST_BAN);
function IRCClient_affect_mode_list(list_bit,chan) { for (x=list_bit;x<=(list_bit+1);x++) { for (tmp_index in chan_tmplist[x]) { if (list_bit >= CHANLIST_BAN) { if (x == CHANLIST_BAN) { set_ban = create_ban_mask(chan_tmplist[x][tmp_index]); if (chan.count_modelist(CHANLIST_BAN) >= max_bans) { this.nu...
tmp_nick = searchbynick(chan_tmplist[x][tmp_index]);
var tmp_nick = searchbynick(chan_tmplist[x][tmp_index]);
function IRCClient_affect_mode_list(list_bit,chan) { for (x=list_bit;x<=(list_bit+1);x++) { for (tmp_index in chan_tmplist[x]) { if (list_bit >= CHANLIST_BAN) { if (x == CHANLIST_BAN) { set_ban = create_ban_mask(chan_tmplist[x][tmp_index]); if (chan.count_modelist(CHANLIST_BAN) >= max_bans) { this.nu...