Upload Mod v3.0.2
Fix for Opera 12.18 Fix english language
This commit is contained in:
parent
387dc6fedd
commit
e23cbd7a8b
4 changed files with 9 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (C) 2011-2019 Visman (visman@inbox.ru)
|
||||
* Copyright (C) 2011-2020 Visman (visman@inbox.ru)
|
||||
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
|
||||
*/
|
||||
|
||||
|
@ -50,7 +50,7 @@ FluxBB.uploadvars = {
|
|||
</script>
|
||||
<script type="text/javascript" src="js/upload.js"></script>
|
||||
|
||||
<div id="upf-template" style="display: none;">
|
||||
<div id="upf-template" style="width: 0; height: 0; overflow: hidden; margin: 0; padding: 0;">
|
||||
<div class="inform upf-fmess">
|
||||
<fieldset>
|
||||
<legend><?= $lang_up['upfiles'] ?></legend>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// upload.js v3.0.0 BETA Copyright (C) 2019 Visman (mio.visman@yandex.ru)
|
||||
// upload.js v3.0.2 Copyright (C) 2020 Visman (mio.visman@yandex.ru)
|
||||
if (typeof FluxBB === 'undefined' || !FluxBB) {var FluxBB = {};}
|
||||
|
||||
FluxBB.upload = (function (doc, win) {
|
||||
|
@ -367,9 +367,9 @@ FluxBB.upload = (function (doc, win) {
|
|||
|
||||
buttonHandler : function(event) {
|
||||
var event;
|
||||
if (typeof MouseEvent === 'function') {
|
||||
try {
|
||||
event = new MouseEvent('click');
|
||||
} else {
|
||||
} catch (e) {
|
||||
event = document.createEvent('MouseEvent');
|
||||
event.initEvent('click', false, false);
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ $lang_up = array(
|
|||
'px' => 'Pixel',
|
||||
'kbytes' => 'KBytes',
|
||||
'pictures' => 'Pictures',
|
||||
'for pictures' => 'For a picture in weight it is more',
|
||||
'for pictures' => 'For files greater than',
|
||||
'Install quality' => 'Install quality:',
|
||||
'Size not more' => 'Size not more (WxH):',
|
||||
'to jpeg' => 'Convert to jpeg',
|
||||
|
@ -47,7 +47,7 @@ $lang_up = array(
|
|||
'popup_title' => 'File manager',
|
||||
|
||||
'info_2' => '%1$s (%2$s max file size)',
|
||||
'info_4' => 'Storage space used: <span>%s</span> in %s',
|
||||
'info_4' => 'Storage space used: <span>%s</span> of %s allowed.',
|
||||
'legend' => 'File',
|
||||
'fichier' => 'Select a file',
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Copyright (C) 2011-2019 Visman (mio.visman@yandex.ru)
|
||||
* Copyright (C) 2011-2020 Visman (mio.visman@yandex.ru)
|
||||
* Copyright (C) 2007 BN (bnmaster@la-bnbox.info)
|
||||
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
|
||||
*/
|
||||
|
@ -13,7 +13,7 @@ if (! defined('PUN')) {
|
|||
|
||||
// Tell admin_loader.php that this is indeed a plugin and that it is loaded
|
||||
define('PUN_PLUGIN_LOADED', 1);
|
||||
define('PLUGIN_VERSION', '3.0.1');
|
||||
define('PLUGIN_VERSION', '3.0.2');
|
||||
define('PLUGIN_URL', pun_htmlspecialchars('admin_loader.php?plugin=' . $plugin));
|
||||
define('PLUGIN_EXTS', 'webp,jpg,jpeg,png,gif,mp3,zip,rar,7z');
|
||||
define('PLUGIN_NF', 25);
|
||||
|
|
Loading…
Reference in a new issue