code
stringlengths
1
2.08M
language
stringclasses
1 value
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Conditionally called from libraries/header_scripts.inc.php * if third-party framing is not allowed * */ try { // can't access this if on a different domain var topdomain = top.document.domain; // double-check just for sure if (topdomain != self.docume...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @fileoverview functions used in server privilege pages * @name Server Privileges * * @requires jQuery * @requires jQueryUI * @requires js/functions.js * */ /** * Validates the password field in a form * * @see PMA_messages['strPasswo...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Scripts to update location to allow bookmarking of frameset * and restoring the bookmark once the page is loaded. * */ var hash_to_set = ""; var hash_init_done = 0; /** * Sets hash part in URL, either calls itself in parent frame or does the * work itself. The has...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * * @package phpMyAdmin-Designer */ /** * */ if (!window.all) // if IE { document.attachEvent("onreadystatechange", // document load function () { if (document.readyState == "complete") { var el = document.getElementById("canvas"); ...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @package phpMyAdmin-Designer */ /** * init */ var dx, dy, dy2; var cur_click; // update in Main() var sm_x = 2, sm_y = 2; var sm_s = 0; var sm_add = 10; var s_left = 0; var s_right = 0; var ON_relation = 0; var ON_grid = 0; ...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * * @package phpMyAdmin-Designer */ /** * */ var http_request = false; var xmldoc; var textdoc; /** * */ function makeRequest(url, parameters) { http_request = false; if (window.XMLHttpRequest) { // Mozilla, Safari,... http_request = new XML...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @fileoverview function used in this file builds history tab and generates query. * * @requires jQuery * @requires moves.js * @version $Id$ */ var history_array = []; // Global array to store history objects var select_field = []; // Global array to...
JavaScript
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
//Copyright 2011 Google Inc. All Rights Reserved. /** * @fileoverview This file contains the popup JS which opens the console. * @author ekamenskaya@google.com (Ekaterina Kamenskaya) */ goog.provide('brt.popup'); goog.require('brt.constants'); goog.require('brt.content.Templates.popup'); goog.require('brt.coverag...
JavaScript
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
// Copyright 2011 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
JavaScript
var cm_config_defaults= { home_page:"http://stone-egypt.blogspot.com",max_result:15,t_w:50,t_h:50,summary:9999,new_tab_link:false,ct_id:"comments-container",new_cm:" Komentar Baru!",interval:30000,alert:true, } ,_cookie= { set:function(g,f,j) { var i,h; if(j) { i=new Date(); i.setTime(i.g...
JavaScript
/* * Inline Form Validation Engine 2.5.3, jQuery plugin * * Copyright(c) 2010, Cedric Dugas * http://www.position-absolute.com * * 2.0 Rewrite by Olivier Refalo * http://www.crionics.com * * Form validation engine allowing custom regex rules to be added. * Licensed under the MIT License */ (func...
JavaScript
(function($){ $.fn.validationEngineLanguage = function(){ }; $.validationEngineLanguage = { newLang: function(){ $.validationEngineLanguage.allRules = { "required": { // Add your regex rules here, you can take telephone as an example "regex": "n...
JavaScript
// Copyright 2011 Google Inc. All Rights Reserved. /** * @fileoverview This script posts to the data servlet with a request for data * to display until either the servlet responds with data or responds that it * failed. The servlet responds to each post with a message, which the script * displays to the user and d...
JavaScript
<!-- /* A Better Form - A jQuery plugin ================================================================== ©2010 JasonLau.biz - Version 1.1.7 ================================================================== This program is free software: you can redistribute it and/or modify it unde...
JavaScript
/* English dictionary for ABORD-GUI */ var bmelcl = { BME_name : "ABORD", ERR_noObjOnContainer : "Sorry, the object you're looking for is not in the container: ", ERR_AjaxFailedErrcod : "AJAX failed with error code: ", ERR_UnWritableFile : "I can't write on the file: ", ERR_UnReadableFile : "I can't read the file: ",...
JavaScript
/************************************************ javascript que muestra u oculta contenido ************************************************/ function justfold(elementId, fold) { var elementToFold = document.getElementById(elementId); if (navigator.userAgent.indexOf("Netscape6") != -1) { if (fold=="0") { ...
JavaScript
/* ABORD-GUI Main JS. @author: Luis M. Rodriguez <me at miguel dot weapps dot com> */ function load(rt,rq) { if ( location.hash ) { //window.location = rt + "?request=" + location.hash.substr(1); //return; rq = location.hash.substr(1); } include(rt+"lcl/en.js"); AJAXer.start(); BME.root = rt; BME.load...
JavaScript
/* ABOUT-GUI JS > AJAX. @author: Luis M. Rodriguez <me at miguel dot weapps dot com> */ /** * The AJAXer var is the object handling all the ajax requests. */ var AJAXer = { /** * XmlHttp request object. */ xmlHttp:{}, /** * The first function, to create the xmlHttp request object. */ start:functio...
JavaScript
/* -------------------------------- Some recurrently used functions by the author. -------------------------------- @author: Luis M. Rodriguez-R -------------------------------- */ // ToDo function add_externals(where) { var anchors = where.getElementsByTagName('a'); var internal = /http:\/\/((www\.)?bioinf\....
JavaScript
// Copyright 2011 Google Inc. All Rights Reserved. /** * @fileoverview This script posts to the data servlet with a request for data * to display until either the servlet responds with data or responds that it * failed. The servlet responds to each post with a message, which the script * displays to the user and d...
JavaScript
YAHOO.util.Event.onDOMReady(function() { var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event; var myConfig = { height: '300px', width: '600px', animate: true, dompath: false, handleSubmit: true, markup: 'xhtml', toolbar: { titlebar: fa...
JavaScript
$(document).ready(function(){ $(".btnContact").click(function(){ $(".wrContact").css("visibility", "visible"); }); $(".btnClose,.wrContact").click(function(){ $(".wrContact").css("visibility", "hidden"); }); if ($("#galeria").length > 0) { $("#galeria").carouFredSel(...
JavaScript
/** * Isotope v1.5.25 * An exquisite jQuery plugin for magical layouts * http://isotope.metafizzy.co * * Commercial use requires one-time purchase of a commercial license * http://isotope.metafizzy.co/docs/license.html * * Non-commercial use is licensed under the MIT License * * Copyright 2013 Metafizzy */ ...
JavaScript
/** * validate.js * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /** // String validation: if (!Validator.isEmail('myemail')) alert('Invalid email.'); // Form validation...
JavaScript
/** * editable_selects.js * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ var TinyMCE_EditableSelects = { editSelectElm : null, init : function() { var nl = document.getEleme...
JavaScript
/** * form_utils.js * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ var themeBaseURL = tinyMCEPopup.editor.baseURI.toAbsolute('themes/' + tinyMCEPopup.getParam("theme")); function ...
JavaScript
/** * mctabs.js * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ function MCTabs() { this.settings = []; this.onChange = tinyMCEPopup.editor.windowManager.createInstance('tinymce.u...
JavaScript
/** * Debug Toolbar Javascript. * * Creates the DEBUGKIT namespace and provides methods for extending * and enhancing the Html toolbar. Includes library agnostic Event, Element, * Cookie and Request wrappers. * * * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright 2005-2010, C...
JavaScript
$(document).ready(function(){ $(".btnContact").click(function(){ $(".wrContact").css("visibility", "visible"); }); $(".btnClose,.wrContact").click(function(){ $(".wrContact").css("visibility", "hidden"); }); $("#galeria").carouFredSel({ scroll : { items : 1, fx:"crossfade" }, auto : {...
JavaScript
/** * @author Remy Sharp * @url http://remysharp.com/2007/01/25/jquery-tutorial-text-box-hints/ */ (function ($) { $.fn.hint = function (blurClass) { if (!blurClass) { blurClass = 'blur'; } return this.each(function () { // get jQuery version of 'this' var $input = $(this), // capture...
JavaScript
function checkEmail (strng) { var error=""; if (strng == "") { error = "You didn't enter an email address.>"; } var emailFilter=/^.+@.+\..{2,4}$/; if (!(emailFilter.test(strng))) { error = "Please enter a valid email address."; } else { //test email for illegal characters ...
JavaScript
/** * AJAX Upload ( http://valums.com/ajax-upload/ ) * Copyright (c) Andris Valums * Licensed under the MIT license ( http://valums.com/mit-license/ ) * Thanks to Gary Haran, David Mark, Corey Burns and others for contributions */ (function () { /* global window */ /* jslint browser: true, devel: true, u...
JavaScript
var errorObj = function() { var hasError = false; var decRegExp = /^\d\d?\d?$/; var me = { hasError: function() { return hasError; }, reset: function() { hasError=false; $('.error').remove(); }, attacheError: function (elem, msg) { $(elem).parent().append($("<span class='error'>"+msg+"</s...
JavaScript
var traffic = function() { var sum = 0; var me = { changed: false, getSum: function() { var new_sum = 0; $(".traffic").each(function() { var tmp = parseInt($(this).attr("value")); if (tmp>=0) new_sum+= tmp; }); return new_sum; }, activateSave: function () { me.changed=true; $("#s...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojo.jaxer"]){dojo._hasResource["dojo.jaxer"]=true;dojo.provide("dojo.jaxer");if(typeof print=="func...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojo._base"]){dojo._hasResource["dojo._base"]=true;dojo.provide("dojo._base");dojo.require("dojo._ba...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojo.data.api.Request"]){dojo._hasResource["dojo.data.api.Request"]=true;dojo.provide("dojo.data.api...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojo.data.api.Notification"]){dojo._hasResource["dojo.data.api.Notification"]=true;dojo.provide("doj...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojo.data.util.filter"]){dojo._hasResource["dojo.data.util.filter"]=true;dojo.provide("dojo.data.uti...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojo.cldr.monetary"]){dojo._hasResource["dojo.cldr.monetary"]=true;dojo.provide("dojo.cldr.monetary"...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");dojo.dn...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojo._base.browser"]){dojo._hasResource["dojo._base.browser"]=true;dojo.provide("dojo._base.browser"...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.regexp.escapeS...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ /* This is an optimized version of Dojo, built for deployment and not for development. To get sources and documentation, p...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojo.NodeList-html"]){dojo._hasResource["dojo.NodeList-html"]=true;dojo.provide("dojo.NodeList-html"...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.uuid.generateRandomUuid"]){dojo._hasResource["dojox.uuid.generateRandomUuid"]=true;dojo.provid...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.timing.doLater"]){dojo._hasResource["dojox.timing.doLater"]=true;dojo.provide("dojox.timing.do...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.embed.flashVars"]){dojo._hasResource["dojox.embed.flashVars"]=true;dojo.provide("dojox.embed.f...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ dojox.embed.Flash.place=function(_1,_2){var o=dojox.embed.Flash.__ie_markup__(_1);_2=dojo.byId(_2);if(!_2){_2=dojo.doc.crea...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.drawing"]){dojo._hasResource["dojox.drawing"]=true;dojo.provide("dojox.drawing");dojo.require(...
JavaScript
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.collections"]){dojo._hasResource["dojox.collections"]=true;dojo.provide("dojox.collections");d...
JavaScript
({"edit":"[szerkesztés]","save":"[mentés]","cancel":"[mégse]","doNew":"[új]"})
JavaScript
({"add":"Hozzáadás","addAuthor":"Szerző hozzáadása","addContributor":"Közreműködő hozzáadása"})
JavaScript
({"deleteButton":"[Törlés]"})
JavaScript
({"edit":"[bewerken]","save":"[opslaan]","cancel":"[annuleren]","doNew":"[nieuw]"})
JavaScript
({"add":"Toevoegen","addAuthor":"Auteur toevoegen","addContributor":"Deelnemer toevoegen"})
JavaScript
({"deleteButton":"[Wissen]"})
JavaScript
({"edit":"[modifica]","save":"[salva]","cancel":"[annulla]","doNew":"[nuovo]"})
JavaScript
({"add":"Aggiungi","addAuthor":"Aggiungi autore","addContributor":"Aggiungi collaboratori"})
JavaScript
({"deleteButton":"[Cancella]"})
JavaScript
({"edit":"[edit]","save":"[save]","cancel":"[cancel]","doNew":"[new]"})
JavaScript
({"edit":"[upravit]","save":"[uložit]","cancel":"[storno]","doNew":"[nové]"})
JavaScript
({"add":"Přidat","addAuthor":"Přidat autora","addContributor":"Přidat přispěvatele"})
JavaScript
({"deleteButton":"[Odstranit]"})
JavaScript
({"edit":"[Redigera]","save":"[Spara]","cancel":"[Avbryt]","doNew":"[Nytt]"})
JavaScript
({"add":"Lägg til ","addAuthor":"Lägg till författare","addContributor":"Lägg till medverkande"})
JavaScript
({"deleteButton":"[Ta bort]"})
JavaScript
({"edit":"[Bearbeiten]","save":"[Speichern]","cancel":"[Abbrechen]","doNew":"[Neu]"})
JavaScript
({"add":"Hinzufügen","addAuthor":"Autor hinzufügen","addContributor":"Mitwirkenden hinzufügen"})
JavaScript
({"deleteButton":"[Löschen]"})
JavaScript
({"edit":"[editar]","save":"[salvar]","cancel":"[cancelar]","doNew":"[novo]"})
JavaScript
({"add":"Adicionar","addAuthor":"Adicionar Autor","addContributor":"Adicionar Contribuidor"})
JavaScript
({"deleteButton":"[Excluir]"})
JavaScript
({"edit":"[تحرير]","save":"[حفظ]","cancel":"[الغاء]","doNew":"[جديد]"})
JavaScript
({"add":"اضافة","addAuthor":"اضافة مؤلف","addContributor":"اضافة مشارك "})
JavaScript
({"deleteButton":"[حذف]"})
JavaScript
({"deleteButton":"[ลบ]"})
JavaScript
({"edit":"[redigér]","save":"[gem]","cancel":"[annullér]","doNew":"[ny]"})
JavaScript
({"add":"Tilføj","addAuthor":"Tilføj forfatter","addContributor":"Tilføj bidragyder"})
JavaScript
({"deleteButton":"[Slet]"})
JavaScript
({"deleteButton":"[Διαγραφή]"})
JavaScript
({"edit":"[upraviť]","save":"[uložiť]","cancel":"[zrušiť]","doNew":"[nový]"})
JavaScript
({"add":"Pridať","addAuthor":"Pridať autora","addContributor":"Pridať prispievateľa"})
JavaScript
({"deleteButton":"[Vymazať]"})
JavaScript
({"deleteButton":"[Удалить]"})
JavaScript
({"edit":"[編輯]","save":"[儲存]","cancel":"[取消]","doNew":"[新建]"})
JavaScript
({"add":"新增","addAuthor":"新增作者","addContributor":"新增提出者"})
JavaScript
({"deleteButton":"[刪除]"})
JavaScript
({"edit":"[editar]","save":"[guardar]","cancel":"[cancelar]","doNew":"[nuevo]"})
JavaScript