Submit
Path:
F:
/
Inetpub
/
vhosts
/
solasmarine.com.tr
/
httpdocs
/
wp-includes
/
js
/
File Content:
utils.js
/** * Cookie functions. * * @output wp-includes/js/utils.js */ /* global userSettings, getAllUserSettings, wpCookies, setUserSetting */ /* exported getUserSetting, setUserSetting, deleteUserSetting */ window.wpCookies = { // The following functions are from Cookie.js class in TinyMCE 3, Moxiecode, used under LGPL. each: function( obj, cb, scope ) { var n, l; if ( ! obj ) { return 0; } scope = scope || obj; if ( typeof( obj.length ) !== 'undefined' ) { for ( n = 0, l = obj.length; n < l; n++ ) { if ( cb.call( scope, obj[n], n, obj ) === false ) { return 0; } } } else { for ( n in obj ) { if ( obj.hasOwnProperty(n) ) { if ( cb.call( scope, obj[n], n, obj ) === false ) { return 0; } } } } return 1; }, /** * Get a multi-values cookie. * Returns a JS object with the name: 'value' pairs. */ getHash: function( name ) { var cookie = this.get( name ), values; if ( cookie ) { this.each( cookie.split('&'), function( pair ) { pair = pair.split('='); values = values || {}; values[pair[0]] = pair[1]; }); } return values; }, /** * Set a multi-values cookie. * * 'values_obj' is the JS object that is stored. It is encoded as URI in wpCookies.set(). */ setHash: function( name, values_obj, expires, path, domain, secure ) { var str = ''; this.each( values_obj, function( val, key ) { str += ( ! str ? '' : '&' ) + key + '=' + val; }); this.set( name, str, expires, path, domain, secure ); }, /** * Get a cookie. */ get: function( name ) { var e, b, cookie = document.cookie, p = name + '='; if ( ! cookie ) { return; } b = cookie.indexOf( '; ' + p ); if ( b === -1 ) { b = cookie.indexOf(p); if ( b !== 0 ) { return null; } } else { b += 2; } e = cookie.indexOf( ';', b ); if ( e === -1 ) { e = cookie.length; } return decodeURIComponent( cookie.substring( b + p.length, e ) ); }, /** * Set a cookie. * * The 'expires' arg can be either a JS Date() object set to the expiration date (back-compat) * or the number of seconds until expiration */ set: function( name, value, expires, path, domain, secure ) { var d = new Date(); if ( typeof( expires ) === 'object' && expires.toGMTString ) { expires = expires.toGMTString(); } else if ( parseInt( expires, 10 ) ) { d.setTime( d.getTime() + ( parseInt( expires, 10 ) * 1000 ) ); // Time must be in milliseconds. expires = d.toGMTString(); } else { expires = ''; } document.cookie = name + '=' + encodeURIComponent( value ) + ( expires ? '; expires=' + expires : '' ) + ( path ? '; path=' + path : '' ) + ( domain ? '; domain=' + domain : '' ) + ( secure ? '; secure' : '' ); }, /** * Remove a cookie. * * This is done by setting it to an empty value and setting the expiration time in the past. */ remove: function( name, path, domain, secure ) { this.set( name, '', -1000, path, domain, secure ); } }; // Returns the value as string. Second arg or empty string is returned when value is not set. window.getUserSetting = function( name, def ) { var settings = getAllUserSettings(); if ( settings.hasOwnProperty( name ) ) { return settings[name]; } if ( typeof def !== 'undefined' ) { return def; } return ''; }; /* * Both name and value must be only ASCII letters, numbers or underscore * and the shorter, the better (cookies can store maximum 4KB). Not suitable to store text. * The value is converted and stored as string. */ window.setUserSetting = function( name, value, _del ) { if ( 'object' !== typeof userSettings ) { return false; } var uid = userSettings.uid, settings = wpCookies.getHash( 'wp-settings-' + uid ), path = userSettings.url, secure = !! userSettings.secure; name = name.toString().replace( /[^A-Za-z0-9_-]/g, '' ); if ( typeof value === 'number' ) { value = parseInt( value, 10 ); } else { value = value.toString().replace( /[^A-Za-z0-9_-]/g, '' ); } settings = settings || {}; if ( _del ) { delete settings[name]; } else { settings[name] = value; } wpCookies.setHash( 'wp-settings-' + uid, settings, 31536000, path, '', secure ); wpCookies.set( 'wp-settings-time-' + uid, userSettings.time, 31536000, path, '', secure ); return name; }; window.deleteUserSetting = function( name ) { return setUserSetting( name, '', 1 ); }; // Returns all settings as JS object. window.getAllUserSettings = function() { if ( 'object' !== typeof userSettings ) { return {}; } return wpCookies.getHash( 'wp-settings-' + userSettings.uid ) || {}; };
Edit
Rename
Chmod
Delete
FILE
DIR
INFO
CMD
Name
Size
Permission
Action
codemirror
---
0777
crop
---
0777
dist
---
0777
imgareaselect
---
0777
jcrop
---
0777
jquery
---
0777
mediaelement
---
0777
plupload
---
0777
swfupload
---
0777
thickbox
---
0777
tinymce
---
0777
admin-bar.js
10547bytes
0666
admin-bar.min.js
3487bytes
0666
api-request.js
3324bytes
0666
api-request.min.js
1023bytes
0666
autosave.js
22476bytes
0666
autosave.min.js
5807bytes
0666
backbone.js
80436bytes
0666
backbone.min.js
24314bytes
0666
clipboard.js
26807bytes
0666
clipboard.min.js
9009bytes
0666
colorpicker.js
29083bytes
0666
colorpicker.min.js
16498bytes
0666
comment-reply.js
12513bytes
0666
comment-reply.min.js
3026bytes
0666
customize-base.js
25822bytes
0666
customize-base.min.js
7852bytes
0666
customize-loader.js
7903bytes
0666
customize-loader.min.js
3551bytes
0666
customize-models.js
6821bytes
0666
customize-models.min.js
3681bytes
0666
customize-preview-nav-menus.js
15024bytes
0666
customize-preview-nav-menus.min.js
5033bytes
0666
customize-preview-widgets.js
23253bytes
0666
customize-preview-widgets.min.js
7820bytes
0666
customize-preview.js
28597bytes
0666
customize-preview.min.js
11011bytes
0666
customize-selective-refresh.js
33335bytes
0666
customize-selective-refresh.min.js
10693bytes
0666
customize-views.js
5222bytes
0666
customize-views.min.js
2567bytes
0666
heartbeat.js
24052bytes
0666
heartbeat.min.js
5947bytes
0666
hoverIntent.js
7225bytes
0666
hoverIntent.min.js
1499bytes
0666
hoverintent-js.min.js
1718bytes
0666
imagesloaded.min.js
5520bytes
0666
json2.js
31bytes
0666
json2.min.js
35bytes
0666
masonry.min.js
24138bytes
0666
mce-view.js
25849bytes
0666
mce-view.min.js
9770bytes
0666
media-audiovideo.js
24711bytes
0666
media-audiovideo.min.js
12043bytes
0666
media-editor.js
29460bytes
0666
media-editor.min.js
11092bytes
0666
media-grid.js
26673bytes
0666
media-grid.min.js
13285bytes
0666
media-models.js
43544bytes
0666
media-models.min.js
13279bytes
0666
media-views.js
272888bytes
0666
media-views.min.js
110657bytes
0666
quicktags.js
22601bytes
0666
quicktags.min.js
11132bytes
0666
shortcode.js
10758bytes
0666
shortcode.min.js
2643bytes
0666
swfobject.js
0bytes
0666
swfobject.min.js
35bytes
0666
tw-sack.js
4970bytes
0666
tw-sack.min.js
3288bytes
0666
twemoji.js
37190bytes
0666
twemoji.min.js
19858bytes
0666
underscore.js
68873bytes
0666
underscore.min.js
19012bytes
0666
utils.js
4665bytes
0666
utils.min.js
1864bytes
0666
wp-ajax-response.js
3903bytes
0666
wp-ajax-response.min.js
2571bytes
0666
wp-api.js
46983bytes
0666
wp-api.min.js
14682bytes
0666
wp-auth-check.js
4444bytes
0666
wp-auth-check.min.js
1689bytes
0666
wp-backbone.js
15241bytes
0666
wp-backbone.min.js
3039bytes
0666
wp-custom-header.js
10465bytes
0666
wp-custom-header.min.js
4442bytes
0666
wp-embed-template.js
6779bytes
0666
wp-embed-template.min.js
3174bytes
0666
wp-embed.js
3214bytes
0666
wp-embed.min.js
1251bytes
0666
wp-emoji-loader.js
13203bytes
0666
wp-emoji-loader.min.js
2890bytes
0666
wp-emoji-release.min.js
22762bytes
0666
wp-emoji.js
8792bytes
0666
wp-emoji.min.js
2855bytes
0666
wp-list-revisions.js
970bytes
0666
wp-list-revisions.min.js
597bytes
0666
wp-lists.js
25315bytes
0666
wp-lists.min.js
7521bytes
0666
wp-pointer.js
10233bytes
0666
wp-pointer.min.js
3621bytes
0666
wp-sanitize.js
1622bytes
0666
wp-sanitize.min.js
402bytes
0666
wp-util.js
4689bytes
0666
wp-util.min.js
1431bytes
0666
wpdialog.js
569bytes
0666
wpdialog.min.js
281bytes
0666
wplink.js
21240bytes
0666
wplink.min.js
11317bytes
0666
zxcvbn-async.js
821bytes
0666
zxcvbn-async.min.js
351bytes
0666
zxcvbn.min.js
822237bytes
0666