mirror of
https://github.com/avecms/AVE.cms.git
synced 2025-08-08 20:16:42 +00:00
v 3.22
This commit is contained in:
admin
lang
templates
blocks
documents
js
navigation
request
rubs
settings
sysblocks
templates
class
fields
image_mega
image_single
tpl
multi_line
multi_line_simple
multi_line_slim
functions
func.block.phpfunc.breadcrumbs.phpfunc.common.phpfunc.fields.phpfunc.navigation.phpfunc.parserequest.php
inc
index.phpinstall
lib
bootstrap
css
bootstrap-theme.cssbootstrap-theme.css.mapbootstrap-theme.min.cssbootstrap-theme.min.css.mapbootstrap.cssbootstrap.css.mapbootstrap.min.cssbootstrap.min.css.map
fonts
glyphicons-halflings-regular.eotglyphicons-halflings-regular.svgglyphicons-halflings-regular.ttfglyphicons-halflings-regular.woffglyphicons-halflings-regular.woff2
js
redactor
codemirror
addon
comment
edit
fold
hint
lint
merge
mode
runmode
search
selection
tern
lib
mode
clike
css
htmlmixed
javascript
php
sql
theme
abcdef.cssambiance.csscobalt.csscolorforth.cssdracula.cssduotone-dark.cssduotone-light.csseclipse.csserlang-dark.cssicecoder.csslesser-dark.cssliquibyte.cssmaterial.cssmdn-like.cssmidnight.cssmonokai.cssnight.csspanda-syntax.csspastel-on-dark.cssrubyblue.cssseti.csssolarized.cssthe-matrix.cssttcn.csstwilight.cssvibrant-ink.cssxq-dark.cssxq-light.cssyeti.css
elrte
css
elrte-inner.csselrte.full.css
smoothness
images
ui-bg_flat_0_aaaaaa_40x100.pngui-bg_flat_75_ffffff_40x100.pngui-bg_glass_55_fbf9ee_1x400.pngui-bg_glass_65_ffffff_1x400.pngui-bg_glass_75_dadada_1x400.pngui-bg_glass_75_e6e6e6_1x400.pngui-bg_glass_95_fef1ec_1x400.pngui-bg_highlight-soft_75_cccccc_1x100.pngui-icons_222222_256x240.pngui-icons_2e83ff_256x240.pngui-icons_454545_256x240.pngui-icons_888888_256x240.pngui-icons_cd0a0a_256x240.png
jquery-ui-1.8.13.custom.cssimages
elrte-toolbar.pnggoogle-maps.pngiframe.pngloading.gifmedia-director.pngmedia-flash.pngmedia-quicktime.pngmedia-realaudio.pngmedia-rutube.pngmedia-vimeo.pngmedia-winmedia.pngmedia-youtube.pngoutline-div.pngoutline-p.pngpagebreak.gifpixel.gif
smileys
yandex-maps.pngjs
elrte.full.jselrte.min.js
i18n
elrte.YOUR_LANG.jselrte.ar.jselrte.ca.jselrte.cs.jselrte.da.jselrte.de.jselrte.en.jselrte.es.jselrte.fa.jselrte.fr.jselrte.hr.jselrte.hu.jselrte.it.jselrte.jp.jselrte.ko.jselrte.lv.jselrte.nl.jselrte.pl.jselrte.pt_BR.jselrte.ru.jselrte.sk.jselrte.th.jselrte.tr.jselrte.uk.jselrte.vi.jselrte.zh_CN.jselrte.zh_TW.js
jquery-ui-1.8.13.custom.min.js@ -1,127 +0,0 @@
|
||||
$().ready(function() {
|
||||
|
||||
// отдельный файловый менеджер
|
||||
$('#finder').elfinder({
|
||||
url : ave_path+'lib/redactor/elfinder/php/connector.php',
|
||||
lang : 'ru',
|
||||
height : 500,
|
||||
title : 'Файловый менеджер'
|
||||
}).elfinder('instance');
|
||||
|
||||
|
||||
// диалог выбора изображений
|
||||
$('.dialog_images').click(function() {
|
||||
var id = $(this).attr("rel");
|
||||
$('<div/>').dialogelfinder({
|
||||
url : ave_path+'lib/redactor/elfinder/php/connector.php',
|
||||
lang : 'ru',
|
||||
width : 1100,
|
||||
height: 600,
|
||||
modal : true,
|
||||
title : 'Файловый менеджер',
|
||||
getFileCallback : function(files, fm) {
|
||||
$("#image__"+id).val('/'+files['url'].slice(1));
|
||||
$("#images_feld_"+id).html("<img src="+files['url']+">");
|
||||
$("#preview__"+id).attr("src", "../index.php?mode=t&thumb="+files['url']);
|
||||
},
|
||||
commandsOptions : {
|
||||
getfile : {
|
||||
oncomplete : 'destroy',
|
||||
folders : false
|
||||
}
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
$('#elFinder a').hover(
|
||||
function () {
|
||||
$('#elFinder a').animate({
|
||||
'background-position' : '0 -45px'
|
||||
}, 300);
|
||||
},
|
||||
function () {
|
||||
$('#elFinder a').delay(400).animate({
|
||||
'background-position' : '0 0'
|
||||
}, 300);
|
||||
}
|
||||
);
|
||||
$('#elRTE a').delay(800).animate({'background-position' : '0 0'}, 300);
|
||||
|
||||
// нормальный редактор
|
||||
var opt = {
|
||||
cssClass : 'el-rte',
|
||||
toolbar : 'maxi',
|
||||
lang : 'ru',
|
||||
allowTextNodes : 'true',
|
||||
height : 500,
|
||||
cssfiles : [ave_path+'lib/redactor/elrte/css/elrte-inner.css'],
|
||||
fmOpen : function(callback) {
|
||||
$('<div />').dialogelfinder({
|
||||
url : ave_path+'lib/redactor/elfinder/php/connector.php',
|
||||
lang : 'ru',
|
||||
width : 1100,
|
||||
height : 500,
|
||||
title : 'Файловый менеджер',
|
||||
commandsOptions : {
|
||||
getfile : {
|
||||
onlyURL : true,
|
||||
multiple : false,
|
||||
folders : false,
|
||||
oncomplete : 'destroy'
|
||||
}
|
||||
},
|
||||
getFileCallback: callback
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
$('.maxi-editor').elrte(opt);
|
||||
|
||||
// нормальный редактор
|
||||
var opt = {
|
||||
cssClass : 'el-rte',
|
||||
toolbars : {
|
||||
medium : ['format', 'save', 'copypaste', 'undoredo', 'style', 'alignment', 'lists', 'links', 'images', 'fullscreen']
|
||||
},
|
||||
toolbar : 'medium',
|
||||
lang : 'ru',
|
||||
allowTextNodes : 'true',
|
||||
height : 500,
|
||||
cssfiles : [ave_path+'lib/redactor/elrte/css/elrte-inner.css'],
|
||||
fmOpen : function(callback) {
|
||||
$('<div />').dialogelfinder({
|
||||
url : ave_path+'lib/redactor/elfinder/php/connector.php',
|
||||
lang : 'ru',
|
||||
width : 1100,
|
||||
height : 500,
|
||||
title : 'Файловый менеджер',
|
||||
commandsOptions : {
|
||||
getfile : {
|
||||
onlyURL : true,
|
||||
multiple : false,
|
||||
folders : false,
|
||||
oncomplete : 'destroy'
|
||||
}
|
||||
},
|
||||
getFileCallback: callback
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
$('.medium-editor').elrte(opt);
|
||||
|
||||
// упрощенный редактор
|
||||
var opts = {
|
||||
cssClass : 'el-rte',
|
||||
toolbars : {
|
||||
small : ['format', 'copypaste', 'undoredo', 'alignment', 'lists', 'links']
|
||||
},
|
||||
toolbar : 'small',
|
||||
lang : 'ru',
|
||||
allowTextNodes : 'true',
|
||||
height : 250,
|
||||
cssfiles : [ave_path+'lib/redactor/elrte/css/elrte-inner.css']
|
||||
};
|
||||
$('.small-editor').elrte(opts);
|
||||
|
||||
});
|
Reference in New Issue
Block a user