rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
extend: function(obj){ this.initialize(Object.extend(this.obj, obj));
extend: function(obj) { for (var property in obj){ if (this.obj[property] === undefined) this.length++; this.obj[property] = obj[property]; }
extend: function(obj){ this.initialize(Object.extend(this.obj, obj)); return this; },
if (_nativeExtensions) return element;
Element.extend = function(element) { if (!element) return; if (!element._extended && element.tagName && element != window) { var methods = Element.Methods, cache = Element.extend.cache; for (property in methods) { var value = methods[property]; if (typeof value == 'function') element[property] ...
var methods = Element.Methods;
var methods = Element.Methods, cache = Element.extend.cache;
Element.extend = function(element) { if (!element) return; if (!element._extended && element.tagName && element != window) { var methods = Element.Methods; for (property in methods) { var value = methods[property]; if (typeof value == 'function') element[property] = value.bind(null, element); ...
element[property] = value.bind(null, element);
element[property] = cache.findOrStore(value);
Element.extend = function(element) { if (!element) return; if (!element._extended && element.tagName && element != window) { var methods = Element.Methods; for (property in methods) { var value = methods[property]; if (typeof value == 'function') element[property] = value.bind(null, element); ...
if (_nativeExtensions) return element;
if (_nativeExtensions || element.nodeType == 3) return element;
Element.extend = function(element) { if (!element) return; if (_nativeExtensions) return element; if (!element._extended && element.tagName && element != window) { var methods = Object.clone(Element.Methods), cache = Element.extend.cache; if (element.tagName == 'FORM') Object.extend(methods, Form.Methods)...
Object.prototype.extend = function(object) { return Object.extend.apply(this, [this, object]);
Object.extend = function(destination, source) { for (property in source) { destination[property] = source[property]; } return destination;
Object.prototype.extend = function(object) { return Object.extend.apply(this, [this, object]);}
Object.extend = function(destination, source) { for (property in source) { destination[property] = source[property];
Element.extend = function(element) { if (!element) return; if (_nativeExtensions) return element; if (!element._extended && element.tagName && element != window) { var methods = Element.Methods, cache = Element.extend.cache; for (property in methods) { var value = methods[property]; if (typeof value == 'function') ele...
Object.extend = function(destination, source) { for (property in source) { destination[property] = source[property]; } return destination;}
return destination;
element._extended = true; return element;
Object.extend = function(destination, source) { for (property in source) { destination[property] = source[property]; } return destination;}
ADD_FLAG("CFLAGS_" + EXT, "$(CFLAGS_PHP)");
ADD_FLAG("STATIC_EXT_CFLAGS", "$(CFLAGS_" + EXT + ")");
function EXTENSION(extname, file_list, shared, cflags){ var objs = null; var EXT = extname.toUpperCase(); var dllname = false; if (shared == null) { eval("shared = PHP_" + EXT + "_SHARED;"); } if (cflags == null) { cflags = ""; } if (shared) { STDOUT.WriteLine("Enabling ext/" + extname + " [shared]"); cflags = "/D ...
cflags = "$(CFLAGS_PHP) " + cflags;
DEFINE('CFLAGS_' + EXT + '_OBJ', '$(CFLAGS_PHP) $(CFLAGS_' + EXT + ')');
function EXTENSION(extname, file_list, shared, cflags){ var objs = null; var EXT = extname.toUpperCase(); var dllname = false; if (shared == null) { eval("shared = PHP_" + EXT + "_SHARED;"); } if (cflags == null) { cflags = ""; } if (shared) { STDOUT.WriteLine("Enabling ext/" + extname + " [shared]"); cflags = "/D ...
var ext_dir = FSO.GetFolder("ext/" + extname);
var ext_dir = FSO.GetFolder(configure_module_dirname);
function EXTENSION(extname, file_list, shared, cflags){ var objs = null; var EXT = extname.toUpperCase(); var dllname = false; if (shared == null) { eval("shared = PHP_" + EXT + "_SHARED;"); } if (cflags == null) { cflags = ""; } if (shared) { STDOUT.WriteLine("Enabling extension " + configure_module_dirname + " [sh...
STDOUT.WriteLine("Enabling ext/" + extname + " [shared]");
STDOUT.WriteLine("Enabling extension " + configure_module_dirname + " [shared]");
function EXTENSION(extname, file_list, shared, cflags){ var objs = null; var EXT = extname.toUpperCase(); var dllname = false; if (shared == null) { eval("shared = PHP_" + EXT + "_SHARED;"); } if (cflags == null) { cflags = ""; } if (shared) { STDOUT.WriteLine("Enabling ext/" + extname + " [shared]"); cflags = "/D ...
STDOUT.WriteLine("Enabling ext/" + extname);
STDOUT.WriteLine("Enabling extension " + configure_module_dirname);
function EXTENSION(extname, file_list, shared, cflags){ var objs = null; var EXT = extname.toUpperCase(); var dllname = false; if (shared == null) { eval("shared = PHP_" + EXT + "_SHARED;"); } if (cflags == null) { cflags = ""; } if (shared) { STDOUT.WriteLine("Enabling ext/" + extname + " [shared]"); cflags = "/D ...
ADD_SOURCES("ext/" + extname, file_list, extname);
ADD_SOURCES(configure_module_dirname, file_list, extname);
function EXTENSION(extname, file_list, shared, cflags){ var objs = null; var EXT = extname.toUpperCase(); var dllname = false; if (shared == null) { eval("shared = PHP_" + EXT + "_SHARED;"); } if (cflags == null) { cflags = ""; } if (shared) { STDOUT.WriteLine("Enabling ext/" + extname + " [shared]"); cflags = "/D ...
var resname = generate_version_info_resource(dllname, "ext/" + extname);
var resname = generate_version_info_resource(dllname, configure_module_dirname);
function EXTENSION(extname, file_list, shared, cflags){ var objs = null; var EXT = extname.toUpperCase(); var dllname = false; if (shared == null) { eval("shared = PHP_" + EXT + "_SHARED;"); } if (cflags == null) { cflags = ""; } if (shared) { STDOUT.WriteLine("Enabling ext/" + extname + " [shared]"); cflags = "/D ...
extension_include_code += '#include "ext/' + extname + '/' + FSO.GetFileName(s) + '"\r\n';
extension_include_code += '#include "' + configure_module_dirname + '/' + FSO.GetFileName(s) + '"\r\n';
function EXTENSION(extname, file_list, shared, cflags){ var objs = null; var EXT = extname.toUpperCase(); var dllname = false; if (shared == null) { eval("shared = PHP_" + EXT + "_SHARED;"); } if (cflags == null) { cflags = ""; } if (shared) { STDOUT.WriteLine("Enabling ext/" + extname + " [shared]"); cflags = "/D ...
var resname = generate_version_info_resource(makefiletarget, "ext/" + extname);
var resname = generate_version_info_resource(dllname, "ext/" + extname);
function EXTENSION(extname, file_list, shared, cflags){ var objs = null; var EXT = extname.toUpperCase(); var dllname = false; if (shared == null) { eval("shared = PHP_" + EXT + "_SHARED;"); } if (cflags == null) { cflags = ""; } if (shared) { STDOUT.WriteLine("Enabling ext/" + extname + " [shared]"); cflags = "/D ...
var matches = str.match(/(?:"([^"]+)"|(?!"([^"]+)")(\S+))/g);
var matches = str.match(/(?:\"([^\"]+)\"|(?!\"([^\"]+)\")(\S+))/g);
function extractArgs() { var str = SeleniumHTARunner.commandLine; if (str == null || str == "") return new Array(); var matches = str.match(/(?:"([^"]+)"|(?!"([^"]+)")(\S+))/g); // We either want non quote stuff ([^"]+) surrounded by quotes // or we want to look-ahead, see that the next character isn't ...
var matches = str.match(/(?:"([^"]+)"|(?!"([^"]+)")\b(\S+)\b)/g);
var matches = str.match(/(?:"([^"]+)"|(?!"([^"]+)")(\S+))/g);
function extractArgs() { var str = SeleniumHTARunner.commandLine; if (str == null || str == "") return new Array(); var matches = str.match(/(?:"([^"]+)"|(?!"([^"]+)")\b(\S+)\b)/g); // We either want non quote stuff ([^"]+) surrounded by quotes // or we want to look-ahead, see that the next character isn't ...
return createCommandFromWikiRow(command);
return createCommandFromRequest(command);
function extractCommand(xmlHttp) { if (slowMode) { delay(2000); } var command; try { command = xmlHttp.responseText; } catch (e) { alert('could not get responseText: ' + e.message); } if (command.substr(0,'|testComplete'.length)=='|testComplete') { return null; } r...
for ( var i = 0; i <= len; i += 2 )
for ( var i = 0; i <= flat.length; i += 2 )
function ez_createAArray( flat ){ var resultArray = new Array(); if( flat.length % 2 != 0 ) return resultArray; var len = flat.length / 2; for ( var i = 0; i <= len; i += 2 ) resultArray[flat[i]] = flat[i+1]; return resultArray;}
if ( ul_node && link_node )
if ( ul_node )
function ezcst_changeState( node_id, ul_node, link_node ){ // change display state of ul_node and label for link_node if ( ul_node && link_node ) { if ( ul_node.style.display == "none" ) { // fold state => make it unfold ul_node.style.display = ""; // change ...
ul_node.style.display = ""; ezjslib_setTextToHTMLChildTextNode( link_node, "[-]" ); ezcst_cookie_addNode( node_id );
ezcst_setUnfoldedState( node_id, ul_node, link_node );
function ezcst_changeState( node_id, ul_node, link_node ){ // change display state of ul_node and label for link_node if ( ul_node && link_node ) { if ( ul_node.style.display == "none" ) { // fold state => make it unfold ul_node.style.display = ""; // change ...
ul_node.style.display = "none"; ezjslib_setTextToHTMLChildTextNode( link_node, "[+]" ); ezcst_cookie_removeNode( node_id );
ezcst_setFoldedState( node_id, ul_node, link_node );
function ezcst_changeState( node_id, ul_node, link_node ){ // change display state of ul_node and label for link_node if ( ul_node && link_node ) { if ( ul_node.style.display == "none" ) { // fold state => make it unfold ul_node.style.display = ""; // change ...
function ezcst_collapseExpandSubtree( rootNodeID, bCollapse )
function ezcst_collapseExpandSubtree( rootNodeID, bCollapse, bExcludeRootNode )
function ezcst_collapseExpandSubtree( rootNodeID, bCollapse ){ if ( rootNodeID ) { var liTagID = 'n' + rootNodeID; var liTag = ezjslib_getHTMLNodeById( liTagID ); if ( liTag ) { ezcst_foldUnfoldSubtree( liTag, true, false, bCollapse, !bCollapse ); } }}
ezcst_foldUnfoldSubtree( liTag, true, false, bCollapse, !bCollapse );
ezcst_foldUnfoldSubtree( liTag, true, false, bCollapse, !bCollapse, ( bExcludeRootNode && ( gRootNodeID == liTagID ) ) );
function ezcst_collapseExpandSubtree( rootNodeID, bCollapse ){ if ( rootNodeID ) { var liTagID = 'n' + rootNodeID; var liTag = ezjslib_getHTMLNodeById( liTagID ); if ( liTag ) { ezcst_foldUnfoldSubtree( liTag, true, false, bCollapse, !bCollapse ); } }}
ezcst_collapseExpandSubtree( rootNodeID, true );
ezcst_collapseExpandSubtree( rootNodeID, true, true );
function ezcst_collapseSubtree( rootNodeID ){ ezcst_collapseExpandSubtree( rootNodeID, true );}
if ( node_id && (node_id != null) )
if ( node_id )
function ezcst_cookie_addNode( node_id ){ if ( node_id && (node_id != null) ) { if ( ezcst_findNodeIDInList( node_id ) == -1 ) { gUnfoldedNodesList[gUnfoldedNodesList.length] = node_id; ezcst_cookie_saveUnfoldedNodesList(); } }}
ezcst_collapseExpandSubtree( rootNodeID, false );
ezcst_collapseExpandSubtree( rootNodeID, false, false );
function ezcst_expandSubtree( rootNodeID ){ ezcst_collapseExpandSubtree( rootNodeID, false );}
ezjslib_createHTMLChildTextNode( child, "[ ]" );
ezjslib_createHTMLChildTextNode( child, "" );
function ezcst_foldUnfold( node, bUpdateCookie, bInitFoldUnfoldLabels, bForceFold, bForceUnfold ){ for ( var i = 0; i < node.childNodes.length; ++i ) { var child = node.childNodes[i]; if ( child["tagName"] && child.tagName.toLowerCase() == "ul" ) { var node_id = bUpdateCookie ?...
*/
function ezcst_foldUnfold( node, bUpdateCookie, bInitFoldUnfoldLabels, bForceFold, bForceUnfold ){ for ( var i = 0; i < node.childNodes.length; ++i ) { var child = node.childNodes[i]; if ( child["tagName"] && child.tagName.toLowerCase() == "ul" ) { var node_id = bUpdateCookie ?...
for ( var i = 0; i < node.childNodes.length; ++i )
if( node )
function ezcst_foldUnfold( node, bUpdateCookie, bInitFoldUnfoldLabels, bForceFold, bForceUnfold ){ for ( var i = 0; i < node.childNodes.length; ++i ) { var child = node.childNodes[i]; if ( child["tagName"] && child.tagName.toLowerCase() == "ul" ) { var node_id = bUpdateCookie ?...
var child = node.childNodes[i];
for ( var i = 0; i < node.childNodes.length; ++i ) { var child = node.childNodes[i];
function ezcst_foldUnfold( node, bUpdateCookie, bInitFoldUnfoldLabels, bForceFold, bForceUnfold ){ for ( var i = 0; i < node.childNodes.length; ++i ) { var child = node.childNodes[i]; if ( child["tagName"] && child.tagName.toLowerCase() == "ul" ) { var node_id = bUpdateCookie ?...
ezcst_changeState( node_id, child, link_node, bForceFold, bForceUnfold ); break; } else if ( bInitFoldUnfoldLabels && child["tagName"] && child.tagName.toLowerCase() == "span" ) { ezcst_createEmptyLabel( child );
ezcst_changeState( node_id, child, link_node, bForceFold, bForceUnfold ); break; } else if ( bInitFoldUnfoldLabels && child["tagName"] && child.tagName.toLowerCase() == "span" ) { ezcst_createEmptyLabel( child ); }
function ezcst_foldUnfold( node, bUpdateCookie, bInitFoldUnfoldLabels, bForceFold, bForceUnfold ){ for ( var i = 0; i < node.childNodes.length; ++i ) { var child = node.childNodes[i]; if ( child["tagName"] && child.tagName.toLowerCase() == "ul" ) { var node_id = bUpdateCookie ?...
function ezcst_foldUnfoldSubtree( rootNode, bUpdateCookie, bInitNodesText, bForceFold, bForceUnfold )
function ezcst_foldUnfoldSubtree( rootNode, bUpdateCookie, bInitNodesText, bForceFold, bForceUnfold, bExcludeRootNode )
function ezcst_foldUnfoldSubtree( rootNode, bUpdateCookie, bInitNodesText, bForceFold, bForceUnfold ){ var root_ul_node = ezjslib_getHTMLChildNodeByTag( rootNode, "ul" ); if ( root_ul_node != null ) { // search subtrees by looping through child LI tags. for ( var i = 0; i < root_ul_node.childNode...
ezcst_foldUnfoldSubtree( li_node, bUpdateCookie, bInitNodesText, bForceFold, bForceUnfold );
ezcst_foldUnfoldSubtree( li_node, bUpdateCookie, bInitNodesText, bForceFold, bForceUnfold, false );
function ezcst_foldUnfoldSubtree( rootNode, bUpdateCookie, bInitNodesText, bForceFold, bForceUnfold ){ var root_ul_node = ezjslib_getHTMLChildNodeByTag( rootNode, "ul" ); if ( root_ul_node != null ) { // search subtrees by looping through child LI tags. for ( var i = 0; i < root_ul_node.childNode...
ezcst_foldUnfold( rootNode, bUpdateCookie, bInitNodesText, bForceFold, bForceUnfold );
if ( !bExcludeRootNode ) { ezcst_foldUnfold( rootNode, bUpdateCookie, bInitNodesText, bForceFold, bForceUnfold ); }
function ezcst_foldUnfoldSubtree( rootNode, bUpdateCookie, bInitNodesText, bForceFold, bForceUnfold ){ var root_ul_node = ezjslib_getHTMLChildNodeByTag( rootNode, "ul" ); if ( root_ul_node != null ) { // search subtrees by looping through child LI tags. for ( var i = 0; i < root_ul_node.childNode...
ezcst_foldUnfoldSubtree( rootNode, false, true, false, false );
ezcst_foldUnfoldSubtree( rootNode, false, true, false, false, false );
function ezcst_initializeMenuState( additionalNodesList, menuNodeID, itemClickAction ){ var menu = ezjslib_getHTMLNodeById( menuNodeID ); var currentNodeID = additionalNodesList.pop(); // remove current node; gItemClickAction = itemClickAction; if ( menu != null ) { // restore ...
function ezcst_initializeMenuState( additionalNodesList, menuNodeID, itemClickAction, autoopenCurrentNode )
function ezcst_initializeMenuState( additionalNodesList, menuNodeID, autoopenCurrentNode )
function ezcst_initializeMenuState( additionalNodesList, menuNodeID, itemClickAction, autoopenCurrentNode ){ var menu = ezjslib_getHTMLNodeById( menuNodeID ); var currentNodeID = additionalNodesList.pop(); // remove current node; gItemClickAction = itemClickAction; if ( menu != null ) ...
gItemClickAction = itemClickAction;
function ezcst_initializeMenuState( additionalNodesList, menuNodeID, itemClickAction, autoopenCurrentNode ){ var menu = ezjslib_getHTMLNodeById( menuNodeID ); var currentNodeID = additionalNodesList.pop(); // remove current node; gItemClickAction = itemClickAction; if ( menu != null ) ...
ezcst_unfoldNode( rootNode );
function ezcst_restoreMenuState( rootNode ){ if ( rootNode != null ) { // unfold nodes which are where stored in cookies. for ( var i = 0; i < gUnfoldedNodesList.length; ++i ) { var li_node = ezjslib_getHTMLNodeById( gUnfoldedNodesList[i] ); if ( li_node ) { ...
imageNode.height = 16; imageNode.width = 16;
function ezjslib_createHTMLChildImageNode( node, imageSource ){ if ( node != null ) { var imageNode = document.createElement( 'img' ); imageNode.src = imageSource; node.appendChild( imageNode ); }}
alert( "Here" + result.ScrollY );
function ezjslib_getScreenProperties(){ // client width and height result = new Array(); result.ScrollX = 0; result.ScrollY = 0; result.Height = 0; result.Width = 0; if( typeof( window.innerWidth ) == 'number' ) { // all but IE result.Width = window.innerWidth; result.Height = window.innerHeight; } ...
MouseX = e.clientX + document.body.scrollLeft; MouseY = e.clientY + document.body.scrollTop;
MouseX = e.clientX + document.documentElement.scrollLeft; MouseY = e.clientY + document.documentElement.scrollTop;
function ezjslib_mouseHandler( e ){ if ( !e ) { e = window.event; } if( e.pageX || e.pageY ) { MouseX = e.pageX; MouseY = e.pageY; } else if ( e.clientX || e.clientY ) // IE needs special treatment { MouseX = e.clientX + document.body.scrollLeft; MouseY = e.cli...
MouseX = window.event.x + document.body.scrollLeft; MouseY = window.event.y + document.body.scrollTop;
MouseX = e.clientX + document.body.scrollLeft; MouseY = e.clientY + document.body.scrollTop;
function ezjslib_mouseHandler( e ){ if ( document.all ) // IE needs special treatment { MouseX = window.event.x + document.body.scrollLeft; MouseY = window.event.y + document.body.scrollTop; } else { MouseX = e.clientX; //+ document.body.scrollLeft; MouseY = e.clientY; //+ doc...
MouseX = e.clientX; MouseY = e.clientY;
MouseX = e.pageX; MouseY = e.pageY;
function ezjslib_mouseHandler( e ){ if ( document.all ) // IE needs special treatment { MouseX = window.event.x + document.body.scrollLeft; MouseY = window.event.y + document.body.scrollTop; } else { MouseX = e.clientX; //+ document.body.scrollLeft; MouseY = e.clientY; //+ doc...
if ( typeof localVariable != 'object' ) continue;
function ezpopmenu_doItemSubstitution( menuID, menuHeader ){ // Do URL replace for all items in that menu for ( var i in menuArray[menuID]['elements'] ) { var hrefElement = document.getElementById( i ); if ( !hrefElement ) { continue; } // href replacement v...
else if( screenData.scrollY > EZPOPMENU_OFFSET + MouseY ) newY = screenData.scrollY;
else if( screenData.ScrollY > EZPOPMENU_OFFSET + MouseY ) newY = screenData.ScrollY;
function ezpopmenu_moveOnScreen( menuID ){ menuElement = document.getElementById( menuID ); screenData = ezjslib_getScreenProperties(); newX = 0; newY = 0; if( (screenData.ScrollY + screenData.Height) < ( MouseY + EZPOPMENU_OFFSET + menuElement.offsetHeight ) ) newY = MouseY - EZPOPMENU_OFFSET - menuElement...
else if( screenData.scrollX > EZPOPMENU_OFFSET + MouseX ) newX = screenData.scrollX;
else if( screenData.ScrollX > EZPOPMENU_OFFSET + MouseX ) newX = screenData.ScrollX;
function ezpopmenu_moveOnScreen( menuID ){ menuElement = document.getElementById( menuID ); screenData = ezjslib_getScreenProperties(); newX = 0; newY = 0; if( (screenData.ScrollY + screenData.Height) < ( MouseY + EZPOPMENU_OFFSET + menuElement.offsetHeight ) ) newY = MouseY - EZPOPMENU_OFFSET - menuElement...
ezpopmenu_hideHigher( menuArray[menuID]['depth'] - 1 );
function ezpopmenu_showSubLevel( event, menuID, overItem ){ if( !document.getElementById( menuID ) ) return; ezjslib_mouseHandler( event ); // register new mouse position // ezpopmenu_showTopLevel( event, menuName, -1 ); ezpopmenu_doItemSubstitution( menuID ); // make menu visible ezpopmenu_moveSub...
document.getElementById( menuID ).style.left = MouseX + EZPOPMENU_OFFSET; document.getElementById( menuID ).style.top = MouseY + EZPOPMENU_OFFSET;
document.getElementById( menuID ).style.left = ( MouseX + EZPOPMENU_OFFSET ) + "px"; document.getElementById( menuID ).style.top = ( MouseY + EZPOPMENU_OFFSET ) + "px";
function ezpopmenu_showTopLevel( menuID, substituteValues, menuHeader, disableID ){ if( !document.getElementById( menuID ) ) return; if ( substituteValues != -1 ) // new topmenu { ezpopmenu_hideAll(); CurrentSubstituteValues = substituteValues; } if( disableID != -1 ) { CurrentDisableID = disableID; ...
alert("Test: "+component);
f_forceChildVisibility: function(component) { alert("Test: "+component); return false; }
}
},
f_getDateFormat: function(form) { var ds=this._dateFormats; switch(form) { case f_locale.LONG: return ds[2]; case f_locale.MEDIUM: return ds[1]; } return ds[0]; }
head.onmouseover=f_dataGrid._Title_onMouseOver; head.onmouseout=f_dataGrid._Title_onMouseOut; head.onmousedown=f_dataGrid._Title_onMouseDown; head.onmouseup=f_dataGrid._Title_onMouseUp;
f_setColumns: function() { this._columns=new Array; var cols=null; var heads=null; if (this._title) { heads=this._title.getElementsByTagName("TH"); cols=this._title.getElementsByTagName("COL"); } else { heads=this._table.getElementsByTagName("TH"); cols=this._table.getElementsByTagName("COL"); } ...
col=this._columns[j++]; if (col._visibility==true) {
col=columns[j++]; if (col._visibility) {
f_setColumnsImages: function(images) { var j=0; for(var i=0;i<arguments.length;) { var col; for(;;) { col=this._columns[j++]; if (col._visibility==true) { break; } } col._cellImage=arguments[i++]; // col._cellImage à TRUE signie qu'il y a une image par cellule pour cette colonne ! col._def...
col._defaultCellImage=arguments[i++]; if (col._defaultCellImage) { f_imageRepository.PrepareImage(col._defaultCellImage);
var defaultCellImage=arguments[i++]; if (defaultCellImage) { f_imageRepository.PrepareImage(defaultCellImage);
f_setColumnsImages: function(images) { var j=0; for(var i=0;i<arguments.length;) { var col; for(;;) { col=this._columns[j++]; if (col._visibility==true) { break; } } col._cellImage=arguments[i++]; // col._cellImage à TRUE signie qu'il y a une image par cellule pour cette colonne ! col._def...
options = {
options = Object.extend({
Effect.Fade = function(element) { options = { from: 1.0, to: 0.0, afterFinish: function(effect) { Element.hide(effect.element); effect.setOpacity(1); } }.extend(arguments[1] || {}); new Effect.Opacity(element,options);}
}.extend(arguments[1] || {});
}, arguments[1] || {});
Effect.Fade = function(element) { options = { from: 1.0, to: 0.0, afterFinish: function(effect) { Element.hide(effect.element); effect.setOpacity(1); } }.extend(arguments[1] || {}); new Effect.Opacity(element,options);}
highlight_yellow(this.element, this.current);
this.highlight(this.element, this.current);
fade: function() { if (this.isFinished()) return; if (this.timer) clearTimeout(this.timer); // prevent flicker highlight_yellow(this.element, this.current); this.current += 17; this.timer = setTimeout(this.fade.bind(this), 250); },
options = Object.extend({ from: 1.0,
var oldOpacity = Element.getInlineOpacity(element); var options = Object.extend({ from: Element.getOpacity(element) || 1.0,
Effect.Fade = function(element) { options = Object.extend({ from: 1.0, to: 0.0, afterFinish: function(effect) { Element.hide(effect.element); effect.setOpacity(1); } }, arguments[1] || {}); new Effect.Opacity(element,options);}
afterFinish: function(effect) { Element.hide(effect.element); effect.setOpacity(1); }
afterFinishInternal: function(effect) { if (effect.options.to == 0) { Element.hide(effect.element); Element.setInlineOpacity(effect.element, oldOpacity); } }
Effect.Fade = function(element) { options = Object.extend({ from: 1.0, to: 0.0, afterFinish: function(effect) { Element.hide(effect.element); effect.setOpacity(1); } }, arguments[1] || {}); new Effect.Opacity(element,options);}
new Effect.Opacity(element,options);
return new Effect.Opacity(element,options);
Effect.Fade = function(element) { options = Object.extend({ from: 1.0, to: 0.0, afterFinish: function(effect) { Element.hide(effect.element); effect.setOpacity(1); } }, arguments[1] || {}); new Effect.Opacity(element,options);}
options = Object.extend({
var options = Object.extend({
Effect.Fade = function(element) { options = Object.extend({ from: 1.0, to: 0.0, afterFinish: function(effect) { Element.hide(effect.element); effect.setOpacity(1); } }, arguments[1] || {}); return new Effect.Opacity(element,options);}
function fail(message) { throw new AssertionFailedError(message); }
this.fail = function(message) { throw new AssertionFailedError(message); };
function fail(message) { throw new AssertionFailedError(message);}
oFCKeditor.Config[ "ProcessHTMLEntities" ] = true ;
function fckloader(host, requesturi){ var oFCKeditor = new FCKeditor( 'content' ) ; oFCKeditor.BasePath = '/modules/fckeditor/FCKeditor/' ; oFCKeditor.Width="800"; oFCKeditor.Height="700"; oFCKeditor.Config[ "FullPage" ] = true ; oFCKeditor.Config[ "BaseHref" ] = host + requesturi ; oFCKeditor.Config["CustomConf...
function fckloader(host, requesturi)
function fckloader(host, requesturi, contextPath)
function fckloader(host, requesturi){ var oFCKeditor = new FCKeditor( 'content' ) ; oFCKeditor.BasePath = '/modules/fckeditor/FCKeditor/' ; oFCKeditor.Width="800"; oFCKeditor.Height="700"; oFCKeditor.Config[ "FullPage" ] = true ; oFCKeditor.Config[ "ProcessHTMLEntities" ] = true ; oFCKeditor.Config[ "BaseHref" ]...
oFCKeditor.BasePath = '/modules/fckeditor/FCKeditor/' ;
oFCKeditor.BasePath = contextPath + '/modules/fckeditor/FCKeditor/' ;
function fckloader(host, requesturi){ var oFCKeditor = new FCKeditor( 'content' ) ; oFCKeditor.BasePath = '/modules/fckeditor/FCKeditor/' ; oFCKeditor.Width="800"; oFCKeditor.Height="700"; oFCKeditor.Config[ "FullPage" ] = true ; oFCKeditor.Config[ "ProcessHTMLEntities" ] = true ; oFCKeditor.Config[ "BaseHref" ]...
oFCKeditor.Config["CustomConfigurationsPath"] = "/modules/fckeditor/javascript/fckconfig.js" ;
oFCKeditor.Config["CustomConfigurationsPath"] = contextPath + "/modules/fckeditor/javascript/fckconfig.js" ;
function fckloader(host, requesturi){ var oFCKeditor = new FCKeditor( 'content' ) ; oFCKeditor.BasePath = '/modules/fckeditor/FCKeditor/' ; oFCKeditor.Width="800"; oFCKeditor.Height="700"; oFCKeditor.Config[ "FullPage" ] = true ; oFCKeditor.Config[ "ProcessHTMLEntities" ] = true ; oFCKeditor.Config[ "BaseHref" ]...
oFCKeditor.Config[ "EditorAreaCSS" ] = '/default/authoring/css/page.css' ;
oFCKeditor.Config[ "EditorAreaCSS" ] = contextPath + '/default/authoring/css/page.css' ;
function fckloader(host, requesturi){ var oFCKeditor = new FCKeditor( 'content' ) ; oFCKeditor.BasePath = '/modules/fckeditor/FCKeditor/' ; oFCKeditor.Width="800"; oFCKeditor.Height="700"; oFCKeditor.Config[ "FullPage" ] = true ; oFCKeditor.Config[ "ProcessHTMLEntities" ] = true ; oFCKeditor.Config[ "BaseHref" ]...
for (i=document.channels.bchannels.length-1; i >= 0 ; i--) { document.channels.bchannels.options[i].selected=true;
for (i=document.getElementById('channels').bchannels.length-1; i >= 0 ; i--) { document.getElementById('channels').bchannels.options[i].selected=true;
function fertig(){ for (i=document.channels.bchannels.length-1; i >= 0 ; i--) { document.channels.bchannels.options[i].selected=true; } document.channels.submit();}
document.channels.submit();
document.getElementById('channels').submit();
function fertig(){ for (i=document.channels.bchannels.length-1; i >= 0 ; i--) { document.channels.bchannels.options[i].selected=true; } document.channels.submit();}
size = size/1024;
function file_size_str(size, bytes){ if(bytes) { if(size < 1000) /* Bytes */ return format("%ldB",size); if(size<10000) /* Bytes with comma */ return format("%ld,%03ldB",(size/1000),(size%1000)); size = size/1024; } if(size<1000) /* KB */ return format("%ldK",size); if(size<100000) /* KB With c...
size = size/1024;
function file_size_str(size, bytes){ if(bytes) { if(size < 1000) /* Bytes */ return format("%ldB",size); if(size<10000) /* Bytes with comma */ return format("%ld,%03ldB",(size/1000),(size%1000)); size = size/1024; } if(size<1000) /* KB */ return format("%ldK",size); if(size<100000) /* KB With c...
if(user.settings & USER_EXPERT) {
if(!(user.settings & USER_EXPERT)) {
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
bbs.curdir++; if(bbs.curdir>=file_area.lib_list[bbs.cur_lib].dir_list.length)
if(bbs.curdir>=file_area.lib_list[bbs.curlib].dir_list.length-1)
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
if(bbs.curdir<=0) bbs.curdir=file_area.lib_list[bbs.cur_lib].dir_list.length; bbs.curdir--;
if(bbs.curdir==0) bbs.curdir=file_area.lib_list[bbs.curlib].dir_list.length-1; else bbs.curdir--;
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
bbs.curlib++; if(bbs.curlib >= file_area.lib_list.length)
if(bbs.curlib == file_area.lib_list.length-1)
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
if(bbs.curlib <= 0) bbs.curlib=file_area.lib_list.length; bbs.curlib--;
if(bbs.curlib == 0) bbs.curlib=file_area.lib_list.length-1; else bbs.curlib--;
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
} }
continue file_transfers; } } str=bbs.get_filespec(); if(str==null) continue file_transfers; if(file_area.lib_list.length==0) continue file_transfers; if(user.security.restrictions&UFLAG_D) { console.putmsg(bbs.text(R_Download)); continue file_transfers; } str=todo_padfname(str); if(!bbs.list_file_info(file_area.lib_lis...
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
str=str.replace(/^(.*)(\..*)?$/, function(s, p1, p2, oset, s) { if(p2==undefined) return(format("%-8.8s ",p1)); return(format("%-8.8s%-4.4s",p1,p2)); } );
str=todo_padfname(str); if(!bbs.list_file_info(file_area.lib_list[bbs.curlib].dir_list[bbs.curdir].number, str, FI_INFO)) { var s=0; console.putmsg(bbs.text(SearchingAllDirs)); for(i=0; i<file_area.lib_list[bbs.curlib].dir_list.length; i++) { if(i!=bbs.curdir && (s=bbs.list_file_info(file_area.lib_list[bbs.curlib].dir_...
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
if(!file_area.lib_list.length) continue file_transfers; while(1) { var orig_lib=bbs.curlib; var i=0; var j=0; if(file_area.lib_list.length>1) { if(file_exists(system.text_dir+"menu/libs.*")) bbs.menu("libs"); else { console.putmsg(bbs.text(CfgLibLstHdr),P_SAVEATR); for(i=0; i<file_area.lib_list.length; i++) { if(i==bbs...
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
if(bbs.batch_dnload_total && console.yesno(bbs.text(DownloadBatchQ))) { bbs.batch_download(); bbs.logout(); }
if(bbs.batch_dnload_total) { if(console.yesno(bbs.text(DownloadBatchQ))) { bbs.batch_download(); bbs.hangup(); } } else bbs.hangup();
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
str=bbs.get_filespec(); if(str==null) continue file_transfers; str=todo_padfname(str); if(!bbs.list_file_info(file_area.lib_list[bbs.curlib].dir_list[bbs.curdir].number, str, FI_REMOVE)) { var s=0; console.putmsg(bbs.text(SearchingAllDirs)); for(i=0; i<file_area.lib_list[bbs.curlib].dir_list.length; i++) { if(i!=bbs.cu...
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
str=bbs.get_filespec(); if(str==null) continue file_transfers; str=todo_padfname(str); if(!bbs.list_files(file_area.lib_list[bbs.curlib].dir_list[bbs.curdir].number, str, FL_VIEW)) { console.putmsg(bbs.text(SearchingAllDirs)); for(i=0; i<file_area.lib_list[bbs.curlib].dir_list.length; i++) { if(i==bbs.curdir) continue;...
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
if(!file_areas.lib_list.length) continue file_transfers; str=format("%smenu/dirs%u.*", system.text_dir, file_areas.lib_list[bbs.curlib].number+1); if(file_exist(str)) { str=format("menu/dirs%u.*", file_areas.lib_list[bbs.curlib].number+1);
if(!file_area.lib_list.length) continue file_transfers; str=format("%smenu/dirs%u.*", system.text_dir, file_area.lib_list[bbs.curlib].number+1); if(file_exists(str)) { str=format("menu/dirs%u.*", file_area.lib_list[bbs.curlib].number+1);
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
console.putmsg(format(bbs.text(DirLstHdr),file_area.lib_list[bbs.curlib].name),P_SAVEATR);
console.putmsg(format(bbs.text(DirLstHdr),file_area.lib_list[bbs.curlib].descirption),P_SAVEATR);
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
outchar('*');
console.putmsg('*');
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
outchar(' ');
console.putmsg(' ');
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
,file_area.lib_list[bbs.curlib].dir_list[i].name,""
,file_area.lib_list[bbs.curlib].dir_list[i].description,""
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
case '*': continue file_transfers;
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
if(!file_area.lib_list.length) continue file_transfers; if(file_exists(system.text_dir+'menu/libs.*')) { bbs.menu('libs'); continue file_transfers; } console.putmsg(bbs.text(LibLstHdr),P_SAVEATR); for(i=0;i<file_area.lib_list.length;i++) { if(i==bbs.curlib) console.putmsg('*'); else console.putmsg(' '); if(i<9) console...
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
console.putmsg("-c\r\n bhFile nc h",P_SAVEATR);
console.putmsg("-c\r\n bhFile nc h");
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
console.putmsg("@TUSED@");
console.putmsg("@TUSED@",P_SAVEATR);
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
console.putmsg("@TLEFT@");
console.putmsg("@TLEFT@",P_SAVEATR);
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(user.settings & USER_EXPERT) { console.cle...
console.putmsg(bbs.text(NFilesListed,i),P_SAVEATR);
console.putmsg(format(bbs.text(NFilesListed),i),P_SAVEATR);
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(!(user.settings & USER_EXPERT)) { console....
bbs.menu(xfercfg);
bbs.menu("xfercfg");
function file_transfers(){ var key; if(user.compare_ars("file_cmds=0")) { if(user.settings & USER_ASK_NSCAN) { console.crlf(); console.crlf(); if(console.yesno("Search all libraries for new files")) bbs.scan_dirs(FL_ULTIME, true); } }file_transfers: while(1) { if(!(user.settings & USER_EXPERT)) { console....
this.hotkeys=KEY_LEFT+KEY_RIGHT+"\b\x7f\x1b";
this.hotkeys=KEY_LEFT+KEY_RIGHT+"\b\x7f\x1b"+ctrl('O')+ctrl('U')+ctrl('T')+ctrl('K')+ctrl('P');
function Filedirmenu(x, y, changenewscan){ this.items=new Array(); var width=changenewscan?20:0; if(width<10+file_area.lib_list[bbs.curlib].name.length) width=10+file_area.lib_list[bbs.curlib].name.length; if(width<12+file_area.lib_list[bbs.curlib].dir_list[bbs.curdir].name.length) width=12+file_area.lib_list[bbs.cur...
this.hotkeys=KEY_LEFT+KEY_RIGHT+"\b\x7f\x1b";
this.hotkeys=KEY_LEFT+KEY_RIGHT+"\b\x7f\x1b"+ctrl('O')+ctrl('U')+ctrl('T')+ctrl('K')+ctrl('P');
function Fileinfo(){ this.items=new Array(); this.xpos=22; this.ypos=4; this.lpadding="\xb3"; this.rpadding="\xb3"; this.hotkeys=KEY_LEFT+KEY_RIGHT+"\b\x7f\x1b"; this.add("\xda\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xc4\xbf",undefined,...
this.hotkeys=KEY_LEFT+KEY_RIGHT+"\b\x7f\x1b";
this.hotkeys=KEY_LEFT+KEY_RIGHT+"\b\x7f\x1b"+ctrl('O')+ctrl('U')+ctrl('T')+ctrl('K')+ctrl('P');
function Filemenu(){ this.items=new Array(); // Width of longest line with no dynamic variables var width=0; var scantime=system.datestr(bbs.new_file_time); // Expand for scan time line. if(width < 27+scantime.length) width=27+scantime.length; if(width < 11+file_area.lib_list[bbs.curlib].dir_list[bbs.curdir].name.leng...
|| (!file_area.lib_list[bbs.curdir].dir_list[bbs.curdir].can_download)
|| (!file_area.lib_list[bbs.curlib].dir_list[bbs.curdir].can_download)
function Filemenu(){ this.items=new Array(); // Width of longest line with no dynamic variables var width=0; var scantime=system.datestr(bbs.new_file_time); // Expand for scan time line. if(width < 27+scantime.length) width=27+scantime.length; if(width < 11+file_area.lib_list[bbs.curlib].dir_list[bbs.curdir].name.leng...