Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
owncloud-prm /
core /
js /
Delete
Unzip
Name
Size
Permission
Date
Action
files
[ DIR ]
drwxr-xr-x
2018-04-19 18:15
systemtags
[ DIR ]
drwxr-xr-x
2018-04-19 18:15
apps.js
2.77
KB
-rw-r--r--
2018-04-19 18:15
backgroundjobs.js
912
B
-rw-r--r--
2018-04-19 18:15
browser-update.js
827
B
-rw-r--r--
2018-04-19 18:15
config.js
1.49
KB
-rw-r--r--
2018-04-19 18:15
config.php
8.69
KB
-rw-r--r--
2018-04-19 18:15
core.json
1.42
KB
-rw-r--r--
2018-04-19 18:15
eventsource.js
4.16
KB
-rw-r--r--
2018-04-19 18:15
installation.js
115
B
-rw-r--r--
2018-04-19 18:15
integritycheck-failed-notification.js
1.07
KB
-rw-r--r--
2018-04-19 18:15
jquery-showpassword.js
3.16
KB
-rw-r--r--
2018-04-19 18:15
jquery.avatar.js
4.21
KB
-rw-r--r--
2018-04-19 18:15
jquery.ocdialog.js
4.88
KB
-rw-r--r--
2018-04-19 18:15
js.js
58.83
KB
-rw-r--r--
2018-04-19 18:15
l10n.js
7.38
KB
-rw-r--r--
2018-04-19 18:15
login.js
787
B
-rw-r--r--
2018-04-19 18:15
lostpassword.js
3.99
KB
-rw-r--r--
2018-04-19 18:15
maintenance-check.js
487
B
-rw-r--r--
2018-04-19 18:15
mimetype.js
3.51
KB
-rw-r--r--
2018-04-19 18:15
mimetypelist.js
4.97
KB
-rw-r--r--
2018-04-19 18:15
multiselect.js
11.29
KB
-rw-r--r--
2018-04-19 18:15
oc-backbone-webdav.js
13.39
KB
-rw-r--r--
2018-04-19 18:15
oc-backbone.js
252
B
-rw-r--r--
2018-04-19 18:15
oc-dialogs.js
25.89
KB
-rw-r--r--
2018-04-19 18:15
oc-requesttoken.js
209
B
-rw-r--r--
2018-04-19 18:15
octemplate.js
3.01
KB
-rw-r--r--
2018-04-19 18:15
placeholder.js
4.08
KB
-rw-r--r--
2018-04-19 18:15
select2-toggleselect.js
1.44
KB
-rw-r--r--
2018-04-19 18:15
setup.js
3.62
KB
-rw-r--r--
2018-04-19 18:15
setupchecks.js
11.67
KB
-rw-r--r--
2018-04-19 18:15
share.js
14.22
KB
-rw-r--r--
2018-04-19 18:15
shareconfigmodel.js
2.53
KB
-rw-r--r--
2018-04-19 18:15
sharedialogexpirationview.js
5.31
KB
-rw-r--r--
2018-04-19 18:15
sharedialoglinklistview.js
8.4
KB
-rw-r--r--
2018-04-19 18:15
sharedialoglinkshareview.js
11.75
KB
-rw-r--r--
2018-04-19 18:15
sharedialoglinksocialview.js
3.1
KB
-rw-r--r--
2018-04-19 18:15
sharedialogmailview.js
7.47
KB
-rw-r--r--
2018-04-19 18:15
sharedialogresharerinfoview.js
2.56
KB
-rw-r--r--
2018-04-19 18:15
sharedialogshareelistview.js
10.95
KB
-rw-r--r--
2018-04-19 18:15
sharedialogview.js
14.38
KB
-rw-r--r--
2018-04-19 18:15
shareitemmodel.js
18.28
KB
-rw-r--r--
2018-04-19 18:15
sharemodel.js
2.8
KB
-rw-r--r--
2018-04-19 18:15
sharescollection.js
617
B
-rw-r--r--
2018-04-19 18:15
singleselect.js
2.6
KB
-rw-r--r--
2018-04-19 18:15
tags.js
9.44
KB
-rw-r--r--
2018-04-19 18:15
update.js
4.63
KB
-rw-r--r--
2018-04-19 18:15
visitortimezone.js
385
B
-rw-r--r--
2018-04-19 18:15
Save
Rename
/** * Copyright (c) 2013 Christopher Schäpers <christopher@schaepers.it> * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ /** * This plugin inserts the right avatar for the user, depending on, whether a * custom avatar is uploaded - which it uses then - or not, and display a * placeholder with the first letter of the users name instead. * For this it queries the core_avatar_get route, thus this plugin is fit very * tightly for owncloud, and it may not work anywhere else. * * You may use this on any <div></div> * Here I'm using <div class="avatardiv"></div> as an example. * * There are 5 ways to call this: * * 1. $('.avatardiv').avatar('jdoe', 128); * This will make the div to jdoe's fitting avatar, with a size of 128px. * * 2. $('.avatardiv').avatar('jdoe'); * This will make the div to jdoe's fitting avatar. If the div already has a * height, it will be used for the avatars size. Otherwise this plugin will * search for 'size' DOM data, to use for avatar size. If neither are available * it will default to 64px. * * 3. $('.avatardiv').avatar(); * This will search the DOM for 'user' data, to use as the username. If there * is no username available it will default to a placeholder with the value of * "x". The size will be determined the same way, as the second example. * * 4. $('.avatardiv').avatar('jdoe', 128, true); * This will behave like the first example, except it will also append random * hashes to the custom avatar images, to force image reloading in IE8. * * 5. $('.avatardiv').avatar('jdoe', 128, undefined, true); * This will behave like the first example, but it will hide the avatardiv, if * it will display the default placeholder. undefined is the ie8fix from * example 4 and can be either true, or false/undefined, to be ignored. * * 6. $('.avatardiv').avatar('jdoe', 128, undefined, true, callback); * This will behave like the above example, but it will call the function * defined in callback after the avatar is placed into the DOM. * */ (function ($) { $.fn.avatar = function(user, size, ie8fix, hidedefault, callback, displayname) { if (typeof(size) === 'undefined') { if (this.height() > 0) { size = this.height(); } else if (this.data('size') > 0) { size = this.data('size'); } else { size = 64; } } this.height(size); this.width(size); if (typeof(user) === 'undefined') { if (typeof(this.data('user')) !== 'undefined') { user = this.data('user'); } else { this.imageplaceholder('x'); return; } } // sanitize user = String(user).replace(/\//g,''); var $div = this; var url = OC.generateUrl( '/avatar/{user}/{size}', {user: user, size: Math.ceil(size * window.devicePixelRatio)}); // If the displayname is not defined we use the old code path if (typeof(displayname) === 'undefined') { $.get(url).always(function(result, status) { // if there is an error or an object returned (contains user information): // -> show the fallback placeholder if (typeof(result) === 'object' || status === 'error') { if (!hidedefault) { if (result.data && result.data.displayname) { $div.imageplaceholder(user, result.data.displayname); } else { // User does not exist $div.imageplaceholder(user, 'X'); $div.css('background-color', '#b9b9b9'); } } else { $div.hide(); } // else an image is transferred and should be shown } else { $div.show(); if (ie8fix === true) { $div.html('<img width="' + size + '" height="' + size + '" src="'+url+'#'+Math.floor(Math.random()*1000)+'">'); } else { $div.html('<img width="' + size + '" height="' + size + '" src="'+url+'">'); } } if(typeof callback === 'function') { callback(); } }); } else { // We already have the displayname so set the placeholder (to show at least something) if (!hidedefault) { $div.imageplaceholder(displayname); } var img = new Image(); // If the new image loads successfully set it. img.onload = function() { $div.show(); $div.text(''); $div.append(img); } img.width = size; img.height = size; img.src = url; } }; }(jQuery));