Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/imgmanager.tar
Назад
plugin.js 0000604 00000026700 15246311424 0006403 0 ustar 00 /* jce - 2.9.99.2 | 2026-04-22 | https://www.joomlacontenteditor.net | Source: https://github.com/widgetfactory/jce | Copyright (C) 2006 - 2026 Ryan Demmer. All rights reserved | GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html */ !function() { var DOM = tinymce.DOM, Event = tinymce.dom.Event, extend = tinymce.extend; function isMediaObject(node) { return node.getAttribute("data-mce-object") || node.getAttribute("data-mce-type"); } function isImage(node) { return node && "IMG" === node.nodeName && !isMediaObject(node); } function getUploadConfig(ed) { return ed.getParam("imgmanager", {}).upload || {}; } function getUploadURL(ed, file) { var data = getUploadConfig(ed); return !!(data && data.filetypes && new RegExp(".(" + data.filetypes.join("|") + ")$", "i").test(file.name)) && ed.getParam("site_url") + "index.php?option=com_jce&task=plugin.display&plugin=image"; } tinymce.PluginManager.add("imgmanager", function(ed, url) { var self = this; function openDialog() { var node = ed.selection.getNode(); "IMG" == node.nodeName && isMediaObject(node) || ed.windowManager.open({ file: ed.getParam("site_url") + "index.php?option=com_jce&task=plugin.display&plugin=image", size: "mce-modal-portrait-full" }, { plugin_url: url }); } function insertImage(args) { var node = ed.selection.getNode(); isImage(node) ? ed.dom.setAttribs(node, { src: args.src, alt: args.alt || "", class: args.class || "" }) : (ed.execCommand("mceInsertContent", !1, '<img id="__mce_tmp" src="" />', { skip_undo: 1 }), node = ed.dom.get("__mce_tmp"), ed.dom.setAttribs(node, args), ed.dom.setAttrib(node, "id", "")), ed.selection.select(node), ed.undoManager.add(), ed.nodeChanged(); } function getDataAndInsert(args) { var params = ed.getParam("imgmanager", {}); return new Promise(function(resolve, reject) { var value; !1 !== params.always_include_dimensions ? (ed.setProgressState(!0), value = args.src, new Promise(function(resolve, reject) { if (!value) return resolve(); var img = new Image(); img.onload = function() { resolve({ width: img.width, height: img.height }); }, img.onerror = function() { reject(); }, img.src = ed.documentBaseURI.toAbsolute(value); }).then(function(data) { ed.setProgressState(!1), insertImage(extend(args, data)), resolve(); }, function() { ed.setProgressState(!1), reject(); })) : (insertImage(args), resolve()); }); } ed.addCommand("mceImageManager", function() { openDialog(); }), ed.addCommand("mceImage", function() { openDialog(); }), ed.addButton("imgmanager", { title: "imgmanager.desc", cmd: "mceImage" }), ed.onNodeChange.add(function(ed, cm, n, collapsed) { n = isImage(n); cm.setDisabled("imgmanager", !n && !collapsed), cm.setActive("imgmanager", n); }), ed.onPreInit.add(function() { var cm, form, urlCtrl, descriptionCtrl, stylesListCtrl, args, uploader, params = ed.getParam("imgmanager", {}), isMobile = window.matchMedia("(max-width: 600px)").matches; !0 === (!0 === params.basic_dialog || isMobile) && (cm = ed.controlManager, form = cm.createForm("image_form"), !(args = { label: ed.getLang("dlg.url", "URL"), name: "url", clear: !0 }) !== params.basic_dialog_filebrowser && (params.basic_dialog_filebrowser || isMobile) && extend(args, { picker: !0, picker_label: "browse", picker_icon: "image", onpick: function() { ed.execCommand("mceFileBrowser", !0, { caller: "imgmanager", callback: function(selected, data) { var src; data.length && (src = data[0].url, data = data[0].title, urlCtrl.value(src), data = data.replace(/\.[^.]+$/i, ""), descriptionCtrl.value(data), window.setTimeout(function() { urlCtrl.focus(); }, 10)); }, filter: params.filetypes || "images", value: urlCtrl.value() }); } }), uploader = ed.plugins.upload || !1, params.upload && uploader && extend(args, { upload_label: "upload.label", upload_accept: params.upload.filetypes, upload: function(e, file) { if (file && file.name) { var url = getUploadURL(ed, file); if (!url) return ed.windowManager.alert({ text: ed.getLang("upload.file_extension_error", "File type not supported"), title: ed.getLang("upload.error", "Upload Error") }), !1; urlCtrl.setLoading(!0), extend(file, { filename: file.name.replace(/[\+\\\/\?\#%&<>"\'=\[\]\{\},;@\^\(\)\xa3\u20ac$~]/g, ""), upload_url: url }), uploader.upload(file, function(response) { urlCtrl.setLoading(!1); var response = response.files || [], response = response.length ? response[0] : {}; if (response.file) return urlCtrl.value(response.file), response = (response = response.alt || response.name || "").replace(/\.[^.]+$/i, ""), descriptionCtrl.value(response), !0; ed.windowManager.alert({ text: "File upload failed!", title: ed.getLang("upload.error", "Upload Error") }); }, function(message) { ed.windowManager.alert({ text: message, title: ed.getLang("upload.error", "Upload Error") }), urlCtrl.setLoading(!1); }); } } }), urlCtrl = cm.createUrlBox("image_url", args), form.add(urlCtrl), descriptionCtrl = cm.createTextBox("image_description", { label: ed.getLang("dlg.description", "Description"), name: "alt", clear: !0 }), form.add(descriptionCtrl), !1 !== params.basic_dialog_classes && (stylesListCtrl = cm.createStylesBox("image_class", { label: ed.getLang("image.class", "Classes"), onselect: function() {}, name: "classes", styles: params.custom_classes || [] }), form.add(stylesListCtrl)), ed.addCommand("mceImage", function() { var node = ed.selection.getNode(); "IMG" == node.nodeName && isMediaObject(node) || ed.windowManager.open({ title: ed.getLang("imgmanager.desc", "Image"), items: [ form ], size: "mce-modal-landscape-small", open: function() { var label = ed.getLang("insert", "Insert"), node = ed.selection.getNode(), src = "", alt = "", classes = params.attributes.classes || ""; isImage(node) && ((src = ed.dom.getAttrib(node, "src")) && (label = ed.getLang("update", "Update")), alt = ed.dom.getAttrib(node, "alt"), classes = ed.dom.getAttrib(node, "class")), urlCtrl.value(src), descriptionCtrl.value(alt), stylesListCtrl && (classes = classes.replace(/mce-[\w\-]+/g, "").replace(/\s+/g, " ").trim().split(" ").filter(function(cls) { return "" !== cls.trim(); }), stylesListCtrl.value(classes)), window.setTimeout(function() { urlCtrl.focus(); }, 10), DOM.setHTML(this.id + "_insert", label); }, buttons: [ { title: ed.getLang("cancel", "Cancel"), id: "cancel" }, { title: ed.getLang("insert", "Insert"), id: "insert", onsubmit: function(e) { var data = form.submit(), node = ed.selection.getNode(); if (Event.cancel(e), !data.url) return isImage(node) && ed.dom.remove(node), !1; e = { src: data.url, alt: data.alt }; (e = extend(e, self.getAttributes(params))).class = data.classes || e.class || "", getDataAndInsert(e).then(); }, classes: "primary", scope: self } ] }); })); }), ed.onInit.add(function() { ed && ed.plugins.contextmenu && ed.plugins.contextmenu.onContextMenu.add(function(th, m, e) { m.add({ title: "imgmanager.desc", icon: "imgmanager", cmd: "mceImage" }); }); }), this.getAttributes = function(data) { var attr = { style: {} }, attribs = data.attributes || {}; return attribs.style && tinymce.is(attribs.style, "string") && (attribs.style = ed.dom.parseStyle(attribs.style)), attribs.styles && tinymce.is(attribs.styles, "object") && (attribs.style = extend(attribs.styles, attribs.style || {}), delete attribs.styles), attribs.style && (attribs.style = ed.dom.serializeStyle(attribs.style)), tinymce.each([ "alt", "title", "id", "dir", "class", "usemap", "style", "longdesc", "loading" ], function(key) { tinymce.is(attribs[key]) && (attr[key] = attribs[key]); }), data.width && (attr.width = data.width), data.height && (attr.height = data.height), attr; }, this.insertUploadedFile = function(o) { var data = this.getUploadConfig(); if (data && data.filetypes && new RegExp(".(" + data.filetypes.join("|") + ")$", "i").test(o.name)) return data = { src: o.file, alt: o.alt || o.name, style: {} }, data = extend(data, this.getAttributes(o)), ed.dom.create("img", data); return !1; }, this.getUploadURL = function(file) { return !ed.plugins.imgmanager_ext && getUploadURL(ed, file); }, this.getUploadConfig = function() { return getUploadConfig(ed); }; }); }(); css/imgmanager.css 0000604 00000000755 15246311424 0010162 0 ustar 00 .uk-browser-bottom .uk-tabs+.uk-form,.uk-browser-top .uk-form{height:57%}.uk-browser .uk-tabs{min-height:43%;height:auto;position:relative}.uk-browser-top .uk-form{top:-43%;position:relative}.uk-browser-top .uk-tabs{top:58%;position:relative}.uk-browser-external .uk-tabs{height:100%}.uk-browser-external+.uk-modal-footer .uk-button-refresh{display:none}.uk-browser-external .uk-tabs .uk-tab+.uk-switcher{height:calc(100% - 33px)}.uk-browser-external .uk-form-row+.uk-form-row{margin-top:15px} js/imgmanager.js 0000604 00000025314 15246311424 0007630 0 ustar 00 /* jce - 2.9.99.2 | 2026-04-22 | https://www.joomlacontenteditor.net | Source: https://github.com/widgetfactory/jce | Copyright (C) 2006 - 2026 Ryan Demmer. All rights reserved | GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html */ !function($) { var ImageManagerDialog = { settings: {}, init: function() { tinyMCEPopup.restoreSelection(); var w, h, x, ed = tinyMCEPopup.editor, n = ed.selection.getNode(), self = this, params = ed.getParam("imgmanager", {}), src = ($("#insert").on("click", function(e) { self.insert(), e.preventDefault(); }), decodeURIComponent(ed.dom.getAttrib(n, "src"))), src = ed.convertURL(src); $.each(this.settings.attributes, function(key, val) { val || $("#attributes-" + key).hide(); }), $("#onmouseover, #onmouseout").addClass("uk-persistent-focus").on("click focus", function() { $("#onmouseover, #onmouseout").removeClass("uk-active"), $(this).addClass("uk-active"); }), $("body").on("click.persistent-focus", function(e) { $(e.target).is(".uk-persistent-focus, li.file") || $(e.target).parents("li.file").length || $(".uk-persistent-focus").removeClass("uk-active"); }), Wf.init({ classes: params.custom_classes || [] }), $("#alt").on("change", function() { "" === this.value ? $(this).removeClass("uk-edited") : $(this).addClass("uk-edited"); }), n && "IMG" == n.nodeName ? ($(".uk-button-text", "#insert").text(tinyMCEPopup.getLang("update", "Update", !0)), $("#src").val(src), $("#sample").attr({ src: n.src }).attr(Wf.sizeToFit(n, { width: 80, height: 60 })), w = Wf.getAttrib(n, "width"), h = Wf.getAttrib(n, "height"), $("#width").val(function() { return w ? ($(this).addClass("uk-isdirty"), w) : h ? void 0 : n.width; }), $("#height").val(function() { return h ? ($(this).addClass("uk-isdirty"), h) : w ? void 0 : n.height; }), $("#alt").val(function() { var val = ed.dom.getAttrib(n, "alt"); if (val) return $(this).addClass("uk-edited"), val; }), $("#title").val(ed.dom.getAttrib(n, "title")), $.each([ "top", "right", "bottom", "left" ], function() { $("#margin_" + this).val(Wf.getAttrib(n, "margin-" + this)); }), $("#border_width").val(function() { var v = Wf.getAttrib(n, "border-width"); return 0 == $('option[value="' + v + '"]', this).length && $(this).append(new Option(v, v, !1, !0)), v; }), $("#border_style").val(Wf.getAttrib(n, "border-style")), $("#border_color").val(Wf.getAttrib(n, "border-color")).trigger("change"), $("#border").trigger("change"), $("#border").is(":checked") || $.each([ "border_width", "border_style", "border_color" ], function(i, k) { $("#" + k).val(self.settings.defaults[k]).trigger("change"); }), $("#align").val(Wf.getAttrib(n, "align")), $("#classes").val(function() { var values = ed.dom.getAttrib(n, "class"); return $.trim(values); }).trigger("change"), $("#style").val(ed.dom.getAttrib(n, "style")), $("#id").val(ed.dom.getAttrib(n, "id")), $("#dir").val(ed.dom.getAttrib(n, "dir")), $("#lang").val(ed.dom.getAttrib(n, "lang")), $("#usemap").val(ed.dom.getAttrib(n, "usemap")), $("#loading").val(ed.dom.getAttrib(n, "loading")), $("#insert").button("option", "label", ed.getLang("update", "Update")), $("#longdesc").val(ed.convertURL(ed.dom.getAttrib(n, "longdesc"))), $.each([ "mouseover", "mouseout" ], function(i, key) { var val = ed.dom.getAttrib(n, "data-" + key); val = (val = $.trim(val)).replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, "$1").replace(/^\s*|\s*$/g, ""), val = ed.convertURL(val), "mouseout" == key && (val = val || src), $("#on" + key).val(val); }), (params = n.nextSibling) && "BR" == params.nodeName && params.style.clear && $("#clear").val(params.style.clear), x = 0, params = function(ed, node) { for (var attrs = node.attributes, attribs = {}, i = attrs.length - 1; 0 <= i; i--) { var name = attrs[i].name, value = ed.dom.getAttrib(node, name); "_" !== name.charAt(0) && -1 === name.indexOf("-mce-") && (attribs[name] = value); } return attribs; }(ed, n), $.each(params, function(key, val) { if ("data-mouseover" === key || "data-mouseout" === key || 0 === key.indexOf("on")) return !0; if (document.getElementById(key) || "class" == key) return !0; try { val = decodeURIComponent(val); } catch (e) {} var repeatable = $(".uk-repeatable").eq(0), repeatable = (0 < x && $(repeatable).clone(!0).appendTo($(repeatable).parent()), $(".uk-repeatable").eq(x).find("input, select")); $(repeatable).eq(0).val(key), $(repeatable).eq(1).val(val), x++; })) : Wf.setDefaults(this.settings.defaults), "external" === ed.settings.filebrowser_position ? Wf.createBrowsers($("#src"), function(files) { files = files.shift(); self.selectFile(files); }, "images") : $("#src").filebrowser().on("filebrowser:onfileclick", function(e, file, data) { self.selectFile(file, data); }).on("filebrowser:onfileinsert", function(e, file, data) { self.selectFile(file, data); }).on("filebrowser:onfileinsert", function(e, file, data) { self.insert(); }), Wf.updateStyles(), $("#border").change(), $(".uk-constrain-checkbox").on("constrain:change", function(e, elms) { $(elms).addClass("uk-isdirty"); }).trigger("constrain:update"), $(".uk-equalize-checkbox").trigger("equalize:update"), $(".uk-form-controls select").datalist().trigger("datalist:update"), $(".uk-datalist").trigger("datalist:update"); }, insert: function() { var ed = tinyMCEPopup.editor, self = this, n = ed.selection.getNode(); if ("" === $("#src").val()) return Wf.Modal.alert(tinyMCEPopup.getLang("imgmanager_dlg.no_src", "Please enter a url for the image")), !1; n && "IMG" === n.nodeName && "" === ed.dom.getAttrib(n, "alt") && this.insertAndClose(), "" === $("#alt").val() ? Wf.Modal.confirm(tinyMCEPopup.getLang("imgmanager_dlg.missing_alt"), function(state) { state && self.insertAndClose(); }, { width: 360, height: 240 }) : this.insertAndClose(); }, insertAndClose: function() { var v, ed = tinyMCEPopup.editor, self = this, args = {}, br = "", over = (Wf.updateStyles(), tinyMCEPopup.restoreSelection(), tinymce.isWebKit && ed.getWin().focus(), args = { vspace: "", hspace: "", border: "", align: "" }, $.each([ "src", "width", "height", "alt", "title", "classes", "style", "id", "dir", "lang", "usemap", "longdesc", "loading" ], function(i, k) { v = $("#" + k + ":enabled").val(), "src" == k && (v = Wf.String.buildURI(v)), "width" != k && "height" != k || (v = !1 !== self.settings.always_include_dimensions ? $("#" + k).val() : $("#" + k + ".uk-isdirty").val() || ""), args[k = "classes" == k ? "class" : k] = v; }), args.onmouseover = args.onmouseout = "", $("#onmouseover").val()), out = $("#onmouseout").val(); over || (out = ""), args = $.extend(args, { "data-mouseover": over ? ed.convertURL(over) : "", "data-mouseout": out ? ed.convertURL(out) : "" }), br = (over = ed.selection.getNode()).nextSibling, $(".uk-repeatable").each(function() { var elements = $("input, select", this), key = $(elements).eq(0).val(), elements = $(elements).eq(1).val(); key && (args[key] = elements); }), over && "IMG" == over.nodeName ? (ed.dom.setAttribs(over, args), br && "BR" == br.nodeName ? (!$("#clear").is(":disabled") && "" !== $("#clear").val() || ed.dom.remove(br), $("#clear").is(":disabled") || "" === $("#clear").val() || ed.dom.setStyle(br, "clear", $("#clear").val())) : $("#clear").is(":disabled") || "" === $("#clear").val() || (br = ed.dom.create("br"), ed.dom.setStyle(br, "clear", $("#clear").val()), ed.dom.insertAfter(br, over)), ed.onUpdateMedia.dispatch(ed, { node: over })) : (ed.execCommand("mceInsertContent", !1, ed.dom.createHTML("img", $.extend({}, args, { id: "__mce_tmp" })), { skip_undo: 1 }), over = ed.dom.get("__mce_tmp"), $("#clear").is(":disabled") || "" === $("#clear").val() || (br = ed.dom.create("br"), ed.dom.setStyle(br, "clear", $("#clear").val()), ed.dom.insertAfter(br, over)), ed.dom.setAttrib(over, "id", args.id)), ed.undoManager.add(), ed.nodeChanged(), tinyMCEPopup.close(); }, selectFile: function(file, data) { var img, name = data.title, src = data.url; "rollover_tab" == $(".uk-tabs-panel > .uk-active").attr("id") ? $("input.uk-active", "#rollover_tab").or("#onmouseout").val(src) : ($("#alt").hasClass("uk-edited") || (name = (name = Wf.String.stripExt(name)).replace(/[-_]+/g, " "), $("#alt").val(name)), $("#onmouseout").val(src), $("#src").val(src), data.width && data.height ? $.each([ "width", "height" ], function(i, k) { var v = data[k] || ""; $("#" + k).val(v).data("tmp", v).removeClass("uk-edited").addClass("uk-text-muted"); }) : ((img = new Image()).onload = function() { $.each([ "width", "height" ], function(i, k) { $("#" + k).val(img[k]).data("tmp", img[k]).removeClass("uk-edited").addClass("uk-text-muted"); }); }, img.src = src), name = Wf.sizeToFit({ width: data.width, height: data.height }, { width: 80, height: 60 }), $("#sample").attr({ src: data.preview }).attr(name)); } }; window.ImageManagerDialog = ImageManagerDialog, $(document).ready(function() { ImageManagerDialog.init(); }); }(jQuery); imgmanager.php 0000604 00000005702 15246351265 0007375 0 ustar 00 <?php /** * @package JCE * @subpackage Editor * * @copyright Copyright (c) 2009-2024 Ryan Demmer. All rights reserved * @license GNU General Public License version 2 or later; see LICENSE.txt */ \defined('_JEXEC') or die; use Joomla\CMS\Factory; class WFImgManagerPlugin extends WFMediaManager { public $_filetypes = 'jpg,jpeg,png,apng,gif,webp,avif'; protected $name = 'imgmanager'; public function __construct($config = array()) { $config['colorpicker'] = true; parent::__construct($config); $this->addFileBrowserEvent('onUpload', array($this, 'onUpload')); } /** * Display the plugin. */ public function display() { parent::display(); $document = WFDocument::getInstance(); // create new tabs instance $tabs = WFTabs::getInstance(array( 'base_path' => WF_EDITOR_PLUGINS . '/imgmanager', )); // Add tabs $tabs->addTab('image', 1, array('plugin' => $this)); if ($this->allowEvents()) { $tabs->addTab('rollover', $this->getParam('tabs_rollover', 1)); } $tabs->addTab('advanced', $this->getParam('tabs_advanced', 1)); $document->addScript(array('imgmanager'), 'plugins'); $document->addStyleSheet(array('imgmanager'), 'plugins'); $document->addScriptDeclaration('ImageManagerDialog.settings=' . json_encode($this->getSettings()) . ';'); } public function getDefaultAttributes() { return parent::getDefaultAttributes(); } public function onUpload($file, $relative = '') { parent::onUpload($file, $relative); $app = Factory::getApplication(); // inline upload if ($app->input->getInt('inline', 0) === 1) { $result = array( 'file' => $relative, 'name' => WFUtility::mb_basename($relative), ); if ($this->getParam('always_include_dimensions', 1)) { $dim = @getimagesize($file); if ($dim) { $result['width'] = $dim[0]; $result['height'] = $dim[1]; } } $result = array_merge($result, array('attributes' => $this->getDefaultAttributes())); return $result; } return array(); } public function getSettings($settings = array()) { $settings = array( 'always_include_dimensions' => (bool) $this->getParam('always_include_dimensions', 1), ); $params = $this->getParams()->get('imgmanager', []); $attributes = array(); foreach($params as $name => $value) { if (strpos($name, 'attributes_') === 0) { $attr = substr($name, 11); $attributes[$attr] = (bool) $value; } } $settings['attributes'] = $attributes; return parent::getSettings($settings); } } imgmanager.xml 0000604 00000037425 15246351265 0007415 0 ustar 00 <?xml version="1.0" encoding="utf-8"?> <extension version="3.4" type="plugin" group="jce" method="upgrade"> <name>WF_IMGMANAGER_TITLE</name> <version>2.9.99.2</version> <creationDate>22-04-2026</creationDate> <author>Ryan Demmer</author> <authorEmail>info@joomlacontenteditor.net</authorEmail> <authorUrl>https://www.joomlacontenteditor.net/</authorUrl> <copyright>Ryan Demmer</copyright> <license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license> <description>WF_IMGMANAGER_DESC</description> <icon>imgmanager</icon> <files></files> <fields name="imgmanager"> <fieldset name="config"> <field name="dir" type="filesystempath" default="" size="50" label="WF_PARAM_DIRECTORY" description="WF_PARAM_DIRECTORY_DESC"/> <field name="max_size" class="input-small" hint="1024" max="" type="uploadmaxsize" step="128" label="WF_PARAM_UPLOAD_SIZE" description="WF_PARAM_UPLOAD_SIZE_DESC" /> <field name="extensions" type="filetype" class="extensions" default="jpeg,jpg,png,apng,gif,webp,avif" label="WF_PARAM_EXTENSIONS" description="WF_PARAM_EXTENSIONS_DESC"> <option value="jpeg">jpeg</option> <option value="jpg">jpg</option> <option value="png">png</option> <option value="apng">apng</option> <option value="gif">gif</option> <option value="webp">webp</option> <option value="avif">avif</option> </field> <field name="filesystem" type="filesystem" default="" label="WF_PARAM_FILESYSTEM" description="WF_PARAM_FILESYSTEM_DESC"> <option value="">WF_OPTION_INHERIT</option> </field> <field name="always_include_dimensions" type="yesno" default="1" label="WF_IMGMANAGER_PARAM_ALWAYS_INCLUDE_DIMENSIONS" description="WF_IMGMANAGER_PARAM_ALWAYS_INCLUDE_DIMENSIONS_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="custom_classes" type="repeatable" default="" label="WF_LABEL_CUSTOM_CLASSES" description="WF_LABEL_CUSTOM_CLASSES_DESC"> <field type="text" size="50" hiddenLabel="true" /> </field> <field name="basic_dialog" type="yesno" default="0" label="WF_PARAM_BASIC_DIALOG" description="WF_PARAM_BASIC_DIALOG_DESC" class="btn-group btn-group-yesno"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field type="container" showon="basic_dialog:1"> <field name="basic_dialog_filebrowser" type="yesno" default="1" label="WF_URL_FILE_BROWSER" description="WF_URL_FILE_BROWSER_DESC" class="btn-group btn-group-yesno"> <option value="1">JYES</option> <option value="0">JNO</option> </field> </field> <fieldset name="defaults"> <field type="heading" label="WF_PROFILES_PLUGINS_DEFAULTS" /> <field name="margin_top" type="list" default="" class="editable" label="WF_PARAM_MARGIN_TOP" description="WF_PARAM_MARGIN_TOP_DESC"> <option value="">WF_OPTION_NOT_SET</option> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> </field> <field name="margin_right" type="list" default="" class="editable" label="WF_PARAM_MARGIN_RIGHT" description="WF_PARAM_MARGIN_RIGHT_DESC"> <option value="">WF_OPTION_NOT_SET</option> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> </field> <field name="margin_bottom" type="list" default="" class="editable" label="WF_PARAM_MARGIN_BOTTOM" description="WF_PARAM_MARGIN_BOTTOM_DESC"> <option value="">WF_OPTION_NOT_SET</option> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> </field> <field name="margin_left" type="list" default="" class="editable" label="WF_PARAM_MARGIN_LEFT" description="WF_PARAM_MARGIN_LEFT_DESC"> <option value="">WF_OPTION_NOT_SET</option> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> </field> <field name="border" type="yesno" default="0" label="WF_PARAM_BORDER_ENABLE" description="WF_PARAM_BORDER_ENABLE_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="border_width" type="list" default="1" class="editable" label="WF_PARAM_BORDER_WIDTH" description="WF_PARAM_BORDER_WIDTH_DESC"> <option value="inherit">WF_OPTION_NOT_SET</option> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="thin">WF_OPTION_BORDER_THIN</option> <option value="medium">WF_OPTION_BORDER_MEDIUM</option> <option value="thick">WF_OPTION_BORDER_THICK</option> </field> <field name="border_style" type="list" default="solid" label="WF_PARAM_BORDER_STYLE" description="WF_PARAM_BORDER_STYLE_DESC"> <option value="inherit">WF_OPTION_NOT_SET</option> <option value="none">JNONE</option> <option value="solid">WF_OPTION_BORDER_SOLID</option> <option value="dashed">WF_OPTION_BORDER_DASHED</option> <option value="dotted">WF_OPTION_BORDER_DOTTED</option> <option value="double">WF_OPTION_BORDER_DOUBLE</option> <option value="groove">WF_OPTION_BORDER_GROOVE</option> <option value="inset">WF_OPTION_BORDER_INSET</option> <option value="outset">WF_OPTION_BORDER_OUTSET</option> <option value="ridge">WF_OPTION_BORDER_RIDGE</option> </field> <field name="border_color" type="color" class="color" size="10" default="#000000" label="WF_PARAM_BORDER_COLOR" description="WF_PARAM_BORDER_COLOR_DESC"/> <field name="align" type="list" default="" label="WF_PARAM_ALIGN_DEFAULT" description="WF_PARAM_ALIGN_DEFAULT_DESC"> <option value="">WF_OPTION_NOT_SET</option> <option value="left">WF_OPTION_ALIGN_LEFT</option> <option value="center">WF_OPTION_ALIGN_CENTER</option> <option value="right">WF_OPTION_ALIGN_RIGHT</option> <option value="top">WF_OPTION_ALIGN_TOP</option> <option value="middle">WF_OPTION_ALIGN_MIDDLE</option> <option value="bottom">WF_OPTION_ALIGN_BOTTOM</option> </field> <field name="style" type="text" default="" size="50" label="WF_LABEL_STYLE" description="WF_LABEL_STYLE_DESC" /> <field name="classes" type="text" default="" size="50" label="WF_LABEL_CLASSES" description="WF_LABEL_CLASSES_DESC" /> <field name="title" type="text" default="" size="50" label="WF_LABEL_TITLE" description="WF_LABEL_TITLE_DESC" /> <field name="id" type="text" default="" size="50" label="WF_LABEL_ID" description="WF_LABEL_ID_DESC" /> <field name="direction" type="list" default="" label="WF_LABEL_DIR" description="WF_LABEL_DIR_DESC"> <option value="">WF_OPTION_NOT_SET</option> <option value="ltr">WF_OPTION_LTR</option> <option value="rtl">WF_OPTION_RTL</option> </field> <field name="usemap" type="text" default="" size="50" label="WF_LABEL_USEMAP" description="WF_LABEL_USEMAP_DESC" /> <field name="longdesc" type="browser" default="" size="50" class="browser" label="WF_LABEL_LONGDESC" description="WF_LABEL_LONGDESC_DESC" /> <field name="loading" type="list" default="" label="WF_LABEL_LOADING" description="WF_LABEL_LOADING_DESC"> <option value="">WF_OPTION_NOT_SET</option> <option value="lazy">WF_OPTION_LOADING_LAZY</option> <option value="eager">WF_OPTION_LOADING_EAGER</option> </field> <field name="attributes" type="keyvalue" default="" label="WF_PARAM_CUSTOM_ATTRIBUTES" description="WF_PARAM_CUSTOM_ATTRIBUTES_DESC" boolean="true" /> </fieldset> <field type="heading" label="WF_PROFILES_PLUGINS_ACCESS" /> <field type="container" showon="basic_dialog:0"> <field name="tabs_rollover" type="yesno" default="1" label="WF_IMGMANAGER_PARAM_TAB_ROLLOVER" description="WF_IMGMANAGER_PARAM_TAB_ROLLOVER_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="tabs_advanced" type="yesno" default="1" label="WF_IMGMANAGER_PARAM_TAB_ADVANCED" description="WF_IMGMANAGER_PARAM_TAB_ADVANCED_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="attributes_dimensions" type="yesno" default="1" label="WF_IMGMANAGER_SHOW_DIMENSIONS" description="WF_IMGMANAGER_SHOW_DIMENSIONS_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="attributes_align" type="yesno" default="1" label="WF_IMGMANAGER_SHOW_ALIGN" description="WF_IMGMANAGER_SHOW_ALIGN_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="attributes_margin" type="yesno" default="1" label="WF_IMGMANAGER_SHOW_MARGIN" description="WF_IMGMANAGER_SHOW_MARGIN_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="attributes_border" type="yesno" default="1" label="WF_IMGMANAGER_SHOW_BORDER" description="WF_IMGMANAGER_SHOW_BORDER_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> </field> <field name="attributes_classes" type="yesno" default="1" label="WF_IMGMANAGER_SHOW_CLASSES" description="WF_IMGMANAGER_SHOW_CLASSES_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="help_button" type="yesno" default="1" label="WF_PARAM_HELP_BUTTON" description="WF_PARAM_HELP_BUTTON_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="upload" type="yesno" default="1" label="WF_PARAM_UPLOAD" description="WF_PARAM_UPLOAD_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="folder_new" type="yesno" default="1" label="WF_PARAM_FOLDER_CREATE" description="WF_PARAM_FOLDER_CREATE_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="folder_delete" type="yesno" default="1" label="WF_PARAM_FOLDER_DELETE" description="WF_PARAM_FOLDER_DELETE_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="folder_rename" type="yesno" default="1" label="WF_PARAM_FOLDER_RENAME" description="WF_PARAM_FOLDER_RENAME_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="folder_move" type="yesno" default="1" label="WF_PARAM_FOLDER_PASTE" description="WF_PARAM_FOLDER_PASTE_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="file_delete" type="yesno" default="1" label="WF_PARAM_FILE_DELETE" description="WF_PARAM_FILE_DELETE_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="file_rename" type="yesno" default="1" label="WF_PARAM_FILE_RENAME" description="WF_PARAM_FILE_RENAME_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="file_move" type="yesno" default="1" label="WF_PARAM_FILE_PASTE" description="WF_PARAM_FILE_PASTE_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="inline_upload" type="yesno" default="1" label="WF_PARAM_INLINE_UPLOAD" description="WF_PARAM_INLINE_UPLOAD_DESC"> <option value="1">JYES</option> <option value="0">JNO</option> </field> </fieldset> </fields> <languages> <language tag="en-GB">en-GB.WF_imgmanager.ini</language> </languages> <help> <topic key="imgmanager.about" title="WF_IMGMANAGER_HELP_ABOUT" /> <topic key="imgmanager.interface" title="WF_IMGMANAGER_HELP_INTERFACE" /> <topic key="imgmanager.rollover" title="WF_IMGMANAGER_HELP_ROLLOVER" /> <topic key="imgmanager.advanced" title="WF_IMGMANAGER_HELP_ADVANCED" /> <topic key="imgmanager.insert" title="WF_IMGMANAGER_HELP_INSERT" /> <topic file="libraries/xml/help/manager.xml" /> </help> </extension> index.html 0000604 00000000054 15246351265 0006545 0 ustar 00 <html><body bgcolor="#FFFFFF"></body></html>