redde 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +20 -0
- data/.rspec +1 -0
- data/Gemfile +4 -0
- data/Guardfile +24 -0
- data/LICENSE +22 -0
- data/README.md +57 -0
- data/Rakefile +2 -0
- data/lib/generators/redde/deploy/deploy_generator.rb +34 -0
- data/lib/generators/redde/deploy/templates/Capfile +4 -0
- data/lib/generators/redde/deploy/templates/deploy.rb +33 -0
- data/lib/generators/redde/deploy/templates/recipes/base.rb +16 -0
- data/lib/generators/redde/deploy/templates/recipes/check.rb +13 -0
- data/lib/generators/redde/deploy/templates/recipes/database.rb +66 -0
- data/lib/generators/redde/deploy/templates/recipes/imagemagick.rb +8 -0
- data/lib/generators/redde/deploy/templates/recipes/memcached.rb +10 -0
- data/lib/generators/redde/deploy/templates/recipes/monit.rb +35 -0
- data/lib/generators/redde/deploy/templates/recipes/nginx.rb +26 -0
- data/lib/generators/redde/deploy/templates/recipes/nodejs.rb +10 -0
- data/lib/generators/redde/deploy/templates/recipes/postfix.rb +37 -0
- data/lib/generators/redde/deploy/templates/recipes/rbenv.rb +17 -0
- data/lib/generators/redde/deploy/templates/recipes/templates/database.yml.erb +8 -0
- data/lib/generators/redde/deploy/templates/recipes/templates/dkim-filter.conf.erb +57 -0
- data/lib/generators/redde/deploy/templates/recipes/templates/dkim-filter.defaults.erb +11 -0
- data/lib/generators/redde/deploy/templates/recipes/templates/dkim-keys.conf.erb +2 -0
- data/lib/generators/redde/deploy/templates/recipes/templates/gemrc.erb +1 -0
- data/lib/generators/redde/deploy/templates/recipes/templates/main.cf.erb +43 -0
- data/lib/generators/redde/deploy/templates/recipes/templates/memcached.erb +47 -0
- data/lib/generators/redde/deploy/templates/recipes/templates/monit_monitrc.erb +21 -0
- data/lib/generators/redde/deploy/templates/recipes/templates/monit_nginx.erb +5 -0
- data/lib/generators/redde/deploy/templates/recipes/templates/monit_unicorn.erb +14 -0
- data/lib/generators/redde/deploy/templates/recipes/templates/nginx_unicorn.erb +28 -0
- data/lib/generators/redde/deploy/templates/recipes/templates/unicorn.rb.erb +36 -0
- data/lib/generators/redde/deploy/templates/recipes/templates/unicorn_init.erb +84 -0
- data/lib/generators/redde/deploy/templates/recipes/unicorn.rb +27 -0
- data/lib/generators/redde/layout/layout_generator.rb +57 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/addphoto.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/ajaxloader2.gif +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/arrow_down.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/arrow_enter.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/arrow_right.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/coins.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/confirm.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/del.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/delete.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/email.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/error.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/fio.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/folder.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/folder_.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/icon_eye.gif +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/lightbox/css/jquery.lightbox-0.5.css +101 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/lightbox/images/lightbox-blank.gif +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/lightbox/images/lightbox-btn-close.gif +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/lightbox/images/lightbox-btn-next.gif +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/lightbox/images/lightbox-btn-prev.gif +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/lightbox/images/lightbox-ico-loading.gif +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/lightbox/js/jquery.js +32 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/lightbox/js/jquery.lightbox-0.5.js +477 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/lightbox/js/jquery.lightbox-0.5.min.js +42 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/lightbox/js/jquery.lightbox-0.5.pack.js +14 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/logo.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/logo_reddeshop.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/move_handler.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/phone.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/photo_ico.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/print.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/css/docstyle.css +123 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/css/redactor.css +369 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/css/style.css +119 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/css/wym.css +136 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/img/icons.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/by.js +72 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/de.js +75 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/en.js +76 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/es.js +76 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/fr.js +74 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/hu.js +76 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/it.js +76 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/ja.js +76 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/lv.js +74 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/nl.js +76 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/pl.js +75 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/pt_br.js +81 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/ru.js +75 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/sq.js +76 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/tr.js +76 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/ua.js +75 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/langs/zh_cn.js +77 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/plugins/file.html +3 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/plugins/image.html +39 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/plugins/image_edit.html +35 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/plugins/link.html +74 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/plugins/table.html +25 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/plugins/video.html +15 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/redactor.js.erb +2260 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/redactor.min.js +1 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/toolbars/default.js +219 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/redactor/toolbars/mini.js +103 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/reddebox/_jquery.reddebox.js.erb +214 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/reddebox/close.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/reddebox/jquery.reddebox.js.erb +246 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/reddebox/jquery.reddebox.scss +31 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/reddebox/next.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/reddebox/prev.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/refresh.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/submit.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/submit_hover.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadifive/change-log.txt +19 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadifive/check-exists.php +15 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadifive/index.php +50 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadifive/jquery.uploadifive.js +888 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadifive/jquery.uploadifive.min.js +6 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadifive/license-standard.txt +71 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadifive/uploadifive-cancel.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadifive/uploadifive-image-only.php +66 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadifive/uploadifive.css +100 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadifive/uploadifive.php +33 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadify/#swfobject.js +4 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadify/cancel.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadify/jquery.uploadify.min.js +315 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadify/uploadify-cancel.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadify/uploadify.css +66 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/uploadify/uploadify.swf +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/view.png +0 -0
- data/lib/generators/redde/layout/templates/assets/images/admin/view_mk.png +0 -0
- data/lib/generators/redde/layout/templates/assets/javascripts/admin/jquery.ui.nestedSortable.js +390 -0
- data/lib/generators/redde/layout/templates/assets/javascripts/admin/swfobject.js +4 -0
- data/lib/generators/redde/layout/templates/assets/javascripts/admin/zen_textarea.min.js +17 -0
- data/lib/generators/redde/layout/templates/assets/javascripts/admin.js +88 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/_reset.scss +32 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/_list.scss +22 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/_notice.scss +39 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/_orders.scss +22 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/_partners.scss +15 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/_photos.scss +31 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/_sortable.scss +17 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/default.scss +127 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/defaults/_input.scss +43 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/defaults/_table.scss +24 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/_header.scss +57 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/_launchbar.scss +35 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/_login.scss +10 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/_main.scss +59 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/_sidebar.scss +35 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/shop/_filter.scss +16 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/shop/_order-sh.scss +59 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/shop/_pe.scss +43 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin.scss +12 -0
- data/lib/generators/redde/layout/templates/controllers/base_controller.rb +6 -0
- data/lib/generators/redde/layout/templates/helpers/admin_helper.rb +37 -0
- data/lib/generators/redde/layout/templates/layouts/admin.html.haml +30 -0
- data/lib/generators/redde/layout/templates/layouts/login.html.haml +32 -0
- data/lib/generators/redde/layout/templates/shared/_header.html.haml +13 -0
- data/lib/generators/redde/layout/templates/shared/_launchbar.html.haml +9 -0
- data/lib/generators/redde/layout/templates/shared/_sidebar.html.haml +23 -0
- data/lib/generators/redde/scaffold/scaffold_generator.rb +114 -0
- data/lib/generators/redde/scaffold/templates/controllers/controller.rb +55 -0
- data/lib/generators/redde/scaffold/templates/edit.html.haml +36 -0
- data/lib/generators/redde/scaffold/templates/index.html.haml +37 -0
- data/lib/redde/version.rb +3 -0
- data/lib/redde.rb +4 -0
- data/redde.gemspec +26 -0
- data/spec/deploy_generator_spec.rb +29 -0
- data/spec/layout_generator_spec.rb +41 -0
- data/spec/scaffold_generator_spec.rb +25 -0
- data/spec/spec_helper.rb +10 -0
- metadata +327 -0
@@ -0,0 +1,77 @@
|
|
1
|
+
//@chen1706@gmail.com
|
2
|
+
var RLANG = {
|
3
|
+
html: 'HTML代码',
|
4
|
+
video: '视频',
|
5
|
+
image: '图片',
|
6
|
+
table: '表格',
|
7
|
+
link: '链接',
|
8
|
+
link_insert: '插入链接',
|
9
|
+
unlink: '取消链接',
|
10
|
+
styles: '样式',
|
11
|
+
paragraph: '段落',
|
12
|
+
quote: '引用',
|
13
|
+
code: '代码',
|
14
|
+
header1: '一级标题',
|
15
|
+
header2: '二级标题',
|
16
|
+
header3: '三级标题',
|
17
|
+
header4: '四级标题',
|
18
|
+
format: '格式',
|
19
|
+
bold: '粗体',
|
20
|
+
italic: '斜体',
|
21
|
+
superscript: '上标',
|
22
|
+
strikethrough: '删除线',
|
23
|
+
fontcolor: '字体颜色',
|
24
|
+
backcolor: '背景颜色',
|
25
|
+
removeformat: '取消格式',
|
26
|
+
cleanstyles: '清除样式',
|
27
|
+
lists: '目录',
|
28
|
+
unorderedlist: '项目编号',
|
29
|
+
orderedlist: '数字编号',
|
30
|
+
outdent: '减少缩进',
|
31
|
+
indent: '增加缩进',
|
32
|
+
redo: '重做',
|
33
|
+
undo: '撤销',
|
34
|
+
cut: '剪切',
|
35
|
+
cancel: '取消',
|
36
|
+
insert: '插入',
|
37
|
+
save: '保存',
|
38
|
+
_delete: '删除',
|
39
|
+
insert_table: '插入表格',
|
40
|
+
insert_row_above: '在上方插入',
|
41
|
+
insert_row_below: '在下方插入',
|
42
|
+
insert_column_left: '在左侧插入',
|
43
|
+
insert_column_right: '在右侧插入',
|
44
|
+
delete_column: '删除整列',
|
45
|
+
delete_row: '删除整行',
|
46
|
+
delete_table: '删除表格',
|
47
|
+
Rows: '行',
|
48
|
+
Columns: '列',
|
49
|
+
add_head: '添加标题',
|
50
|
+
delete_head: '删除标题',
|
51
|
+
title: '标题',
|
52
|
+
image_view: '查看图片',
|
53
|
+
image_position: '位置',
|
54
|
+
none: '无',
|
55
|
+
left: '左',
|
56
|
+
right: '右',
|
57
|
+
image_web_link: '图片网页链接',
|
58
|
+
text: '文本',
|
59
|
+
mailto: '邮箱',
|
60
|
+
web: '网址',
|
61
|
+
video_html_code: '视频嵌入代码',
|
62
|
+
file: '文件',
|
63
|
+
upload: '上传',
|
64
|
+
download: '下载',
|
65
|
+
choose: '选择',
|
66
|
+
or_choose: '或选择',
|
67
|
+
drop_file_here: '将文件拖拽至此区域',
|
68
|
+
align_left: '左对齐',
|
69
|
+
align_center: '居中',
|
70
|
+
align_right: '右对齐',
|
71
|
+
align_justify: '两端对齐',
|
72
|
+
horizontalrule: '水平线',
|
73
|
+
fullscreen: '全屏',
|
74
|
+
deleted: '删除',
|
75
|
+
none: '无',
|
76
|
+
anchor: '锚点'
|
77
|
+
};
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<div id="redactor_tabs">
|
2
|
+
<a href="javascript:void(null);" class="redactor_tabs_act">%RLANG.upload%</a>
|
3
|
+
<a href="javascript:void(null);">%RLANG.choose%</a>
|
4
|
+
<a href="javascript:void(null);">%RLANG.link%</a>
|
5
|
+
</div>
|
6
|
+
|
7
|
+
|
8
|
+
<form id="redactorInsertImageForm" method="post" action="" enctype="multipart/form-data">
|
9
|
+
<div id="redactor_tab1" class="redactor_tab">
|
10
|
+
<input type="file" id="redactor_file" name="file" />
|
11
|
+
</div>
|
12
|
+
<div id="redactor_tab2" class="redactor_tab" style="display: none;">
|
13
|
+
<div id="redactor_image_box"></div>
|
14
|
+
</div>
|
15
|
+
</form>
|
16
|
+
|
17
|
+
|
18
|
+
<div id="redactor_tab3" class="redactor_tab" style="display: none;">
|
19
|
+
<table class="redactor_ruler" width="100%">
|
20
|
+
<tr>
|
21
|
+
<td nowrap>%RLANG.image_web_link%</td>
|
22
|
+
<td width="100%"><input name="redactor_file_link" id="redactor_file_link" style="width: 99%" /></td>
|
23
|
+
</tr>
|
24
|
+
<tr>
|
25
|
+
<td></td>
|
26
|
+
<td>
|
27
|
+
|
28
|
+
<span class="redactor_btns_box">
|
29
|
+
<input type="button" name="upload" id="redactor_upload_btn" value="%RLANG.insert%" />
|
30
|
+
<a href="javascript:void(null);" style="color: #777; font-size: 12px;" id="redactor_btn_modal_close">%RLANG.cancel%</a>
|
31
|
+
</span>
|
32
|
+
<div style="clear: both;"></div>
|
33
|
+
|
34
|
+
</td>
|
35
|
+
</tr>
|
36
|
+
|
37
|
+
</table>
|
38
|
+
</div>
|
39
|
+
|
data/lib/generators/redde/layout/templates/assets/images/admin/redactor/plugins/image_edit.html
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
|
2
|
+
<table class="redactor_ruler">
|
3
|
+
<tr>
|
4
|
+
<td nowrap>%RLANG.title%</td>
|
5
|
+
<td><input id="redactor_file_alt" style="width: 99%;" /></td>
|
6
|
+
</tr>
|
7
|
+
<tr>
|
8
|
+
<td nowrap>%RLANG.link%</td>
|
9
|
+
<td><input id="redactor_file_link" style="width: 99%;" /></td>
|
10
|
+
</tr>
|
11
|
+
<tr>
|
12
|
+
<td nowrap class="small">%RLANG.image_position%</td>
|
13
|
+
<td width="100%">
|
14
|
+
<select id="redactor_form_image_align">
|
15
|
+
<option value="none">%RLANG.none%</option>
|
16
|
+
<option value="left">%RLANG.left%</option>
|
17
|
+
<option value="right">%RLANG.right%</option>
|
18
|
+
</select>
|
19
|
+
</td>
|
20
|
+
</tr>
|
21
|
+
<tr>
|
22
|
+
<td><a href="javascript:void(null);" id="redactor_image_delete_btn" style="color: #000;">%RLANG._delete%</a></td>
|
23
|
+
<td>
|
24
|
+
|
25
|
+
<span class="redactor_btns_box">
|
26
|
+
<input type="button" name="save" id="redactorSaveBtn" value="%RLANG.save%" />
|
27
|
+
<a href="javascript:void(null);" style="color: #777; font-size: 12px;" id="redactor_btn_modal_close">%RLANG.cancel%</a>
|
28
|
+
</span>
|
29
|
+
<div style="clear: both;"></div>
|
30
|
+
|
31
|
+
</td>
|
32
|
+
</tr>
|
33
|
+
</table>
|
34
|
+
|
35
|
+
|
@@ -0,0 +1,74 @@
|
|
1
|
+
<form id="redactorInsertLinkForm" method="post" action="" enctype="multipart/form-data">
|
2
|
+
|
3
|
+
|
4
|
+
<div id="redactor_tabs">
|
5
|
+
<a href="javascript:void(null);" class="redactor_tabs_act">URL</a>
|
6
|
+
<a href="javascript:void(null);">Email</a>
|
7
|
+
<a href="javascript:void(null);">%RLANG.anchor%</a>
|
8
|
+
<a href="javascript:void(null);">%RLANG.file%</a>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<input type="hidden" id="redactor_tab_selected" value="1" />
|
12
|
+
|
13
|
+
<div class="redactor_tab" id="redactor_tab1">
|
14
|
+
<table class="redactor_ruler">
|
15
|
+
<tr>
|
16
|
+
<td nowrap>URL</td>
|
17
|
+
<td width="100%"><input id="redactor_link_url" style="width: 99%; font-size: 16px;" /></td>
|
18
|
+
</tr>
|
19
|
+
<tr>
|
20
|
+
<td>%RLANG.text%</td>
|
21
|
+
<td><input class="redactor_link_text" id="redactor_link_url_text" style="width: 99%; font-size: 16px;" /></td>
|
22
|
+
</tr>
|
23
|
+
</table>
|
24
|
+
</div>
|
25
|
+
<div class="redactor_tab" id="redactor_tab2" style="display: none;">
|
26
|
+
<table class="redactor_ruler">
|
27
|
+
<tr>
|
28
|
+
<td nowrap>Email</td>
|
29
|
+
<td width="100%"><input id="redactor_link_mailto" style="width: 99%; font-size: 16px;" /></td>
|
30
|
+
</tr>
|
31
|
+
<tr>
|
32
|
+
<td>%RLANG.text%</td>
|
33
|
+
<td><input class="redactor_link_text" id="redactor_link_mailto_text" style="width: 99%; font-size: 16px;" /></td>
|
34
|
+
</tr>
|
35
|
+
</table>
|
36
|
+
</div>
|
37
|
+
<div class="redactor_tab" id="redactor_tab3" style="display: none;">
|
38
|
+
<table class="redactor_ruler">
|
39
|
+
<tr>
|
40
|
+
<td nowrap>%RLANG.anchor%</td>
|
41
|
+
<td width="100%"><input id="redactor_link_anchor" style="width: 99%; font-size: 16px;" /></td>
|
42
|
+
</tr>
|
43
|
+
<tr>
|
44
|
+
<td>%RLANG.text%</td>
|
45
|
+
<td><input class="redactor_link_text" id="redactor_link_anchor_text" style="width: 99%; font-size: 16px;" /></td>
|
46
|
+
</tr>
|
47
|
+
</table>
|
48
|
+
</div>
|
49
|
+
<div class="redactor_tab" id="redactor_tab4" style="display: none;">
|
50
|
+
<table class="redactor_ruler">
|
51
|
+
<tr>
|
52
|
+
<td>%RLANG.text%</td>
|
53
|
+
<td><input class="redactor_link_text" id="redactor_link_file_text" style="width: 99%; font-size: 16px;" /></td>
|
54
|
+
</tr>
|
55
|
+
<tr>
|
56
|
+
<td></td>
|
57
|
+
<td>
|
58
|
+
|
59
|
+
<input type="file" id="redactor_file" name="file" />
|
60
|
+
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
</table>
|
64
|
+
|
65
|
+
</div>
|
66
|
+
|
67
|
+
|
68
|
+
</form>
|
69
|
+
|
70
|
+
<span class="redactor_btns_box">
|
71
|
+
<input type="button" id="redactor_insert_link_btn" value="%RLANG.insert%" />
|
72
|
+
<a href="javascript:void(null);" style="color: #777; font-size: 12px;" id="redactor_btn_modal_close">%RLANG.cancel%</a>
|
73
|
+
</span>
|
74
|
+
<div style="clear: both;"></div>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
|
2
|
+
<table class="redactor_ruler" width="99%">
|
3
|
+
<tr>
|
4
|
+
<td>%RLANG.Rows%:</td>
|
5
|
+
<td width="100%"><input size="5" value="2" id="redactor_table_rows" /></td>
|
6
|
+
</tr>
|
7
|
+
<tr>
|
8
|
+
<td>%RLANG.Columns%:</td>
|
9
|
+
<td><input size="5" value="3" id="redactor_table_columns" /></td>
|
10
|
+
</tr>
|
11
|
+
|
12
|
+
<tr>
|
13
|
+
<td></td>
|
14
|
+
<td>
|
15
|
+
<br />
|
16
|
+
<span class="redactor_btns_box">
|
17
|
+
<input type="button" name="upload" id="redactor_insert_table_btn" value="%RLANG.insert%" />
|
18
|
+
<a href="javascript:void(null);" style="color: #777; font-size: 12px;" id="redactor_btn_modal_close">%RLANG.cancel%</a>
|
19
|
+
</span>
|
20
|
+
<div style="clear: both;"></div>
|
21
|
+
|
22
|
+
</td>
|
23
|
+
</tr>
|
24
|
+
</table>
|
25
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<form id="redactorInsertVideoForm">
|
2
|
+
<div style="font-size: 11px; margin-bottom: 3px;">%RLANG.video_html_code%</div>
|
3
|
+
<table class="redactor_ruler" style="width: 99%;">
|
4
|
+
<tr>
|
5
|
+
<textarea id="redactor_insert_video_area" style="width: 99%; height: 160px;"></textarea>
|
6
|
+
</tr>
|
7
|
+
</table>
|
8
|
+
</form>
|
9
|
+
|
10
|
+
|
11
|
+
<span class="redactor_btns_box">
|
12
|
+
<input type="button" id="redactor_insert_video_btn" value="%RLANG.insert%" />
|
13
|
+
<a href="javascript:void(null);" style="color: #777; font-size: 12px;" id="redactor_btn_modal_close">%RLANG.cancel%</a>
|
14
|
+
</span>
|
15
|
+
<div style="clear: both;"></div>
|