cable 0.9.16 → 0.9.17
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/controllers/admin_controller.rb +1 -1
- data/app/views/layouts/admin.html.erb +3 -1
- data/lib/generators/cable/install_generator.rb +1 -0
- data/lib/generators/cable/menu/templates/erb/menus/_menu.html.erb +1 -1
- data/lib/generators/cable/menu/templates/erb/menus/_resources.html.erb +1 -1
- data/lib/generators/cable/menu/templates/erb/menus/show.html.erb +1 -1
- data/public/javascripts/admin.js +16 -16
- metadata +2 -254
- data/public/javascripts/tinymce/jquery.tinymce.js +0 -1
- data/public/javascripts/tinymce/langs/en.js +0 -222
- data/public/javascripts/tinymce/license.txt +0 -504
- data/public/javascripts/tinymce/plugins/advhr/css/advhr.css +0 -5
- data/public/javascripts/tinymce/plugins/advhr/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/advhr/editor_plugin_src.js +0 -57
- data/public/javascripts/tinymce/plugins/advhr/js/rule.js +0 -43
- data/public/javascripts/tinymce/plugins/advhr/langs/en_dlg.js +0 -7
- data/public/javascripts/tinymce/plugins/advhr/rule.htm +0 -58
- data/public/javascripts/tinymce/plugins/advimage/css/advimage.css +0 -13
- data/public/javascripts/tinymce/plugins/advimage/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/advimage/editor_plugin_src.js +0 -50
- data/public/javascripts/tinymce/plugins/advimage/image.htm +0 -235
- data/public/javascripts/tinymce/plugins/advimage/img/sample.gif +0 -0
- data/public/javascripts/tinymce/plugins/advimage/js/image.js +0 -445
- data/public/javascripts/tinymce/plugins/advimage/langs/en_dlg.js +0 -45
- data/public/javascripts/tinymce/plugins/advlink/css/advlink.css +0 -8
- data/public/javascripts/tinymce/plugins/advlink/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/advlink/editor_plugin_src.js +0 -61
- data/public/javascripts/tinymce/plugins/advlink/js/advlink.js +0 -523
- data/public/javascripts/tinymce/plugins/advlink/langs/en_dlg.js +0 -54
- data/public/javascripts/tinymce/plugins/advlink/link.htm +0 -338
- data/public/javascripts/tinymce/plugins/advlist/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/advlist/editor_plugin_src.js +0 -154
- data/public/javascripts/tinymce/plugins/autolink/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/autolink/editor_plugin_src.js +0 -169
- data/public/javascripts/tinymce/plugins/autoresize/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/autoresize/editor_plugin_src.js +0 -119
- data/public/javascripts/tinymce/plugins/autosave/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/autosave/editor_plugin_src.js +0 -431
- data/public/javascripts/tinymce/plugins/autosave/langs/en.js +0 -4
- data/public/javascripts/tinymce/plugins/bbcode/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/bbcode/editor_plugin_src.js +0 -120
- data/public/javascripts/tinymce/plugins/contextmenu/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js +0 -156
- data/public/javascripts/tinymce/plugins/directionality/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/directionality/editor_plugin_src.js +0 -82
- data/public/javascripts/tinymce/plugins/emotions/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/emotions/editor_plugin_src.js +0 -43
- data/public/javascripts/tinymce/plugins/emotions/emotions.htm +0 -41
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/js/emotions.js +0 -22
- data/public/javascripts/tinymce/plugins/emotions/langs/en_dlg.js +0 -20
- data/public/javascripts/tinymce/plugins/example/dialog.htm +0 -22
- data/public/javascripts/tinymce/plugins/example/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/example/editor_plugin_src.js +0 -84
- data/public/javascripts/tinymce/plugins/example/img/example.gif +0 -0
- data/public/javascripts/tinymce/plugins/example/js/dialog.js +0 -19
- data/public/javascripts/tinymce/plugins/example/langs/en.js +0 -3
- data/public/javascripts/tinymce/plugins/example/langs/en_dlg.js +0 -3
- data/public/javascripts/tinymce/plugins/fullpage/css/fullpage.css +0 -184
- data/public/javascripts/tinymce/plugins/fullpage/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/fullpage/editor_plugin_src.js +0 -198
- data/public/javascripts/tinymce/plugins/fullpage/fullpage.htm +0 -571
- data/public/javascripts/tinymce/plugins/fullpage/js/fullpage.js +0 -497
- data/public/javascripts/tinymce/plugins/fullpage/langs/en_dlg.js +0 -85
- data/public/javascripts/tinymce/plugins/fullscreen/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js +0 -159
- data/public/javascripts/tinymce/plugins/fullscreen/fullscreen.htm +0 -109
- data/public/javascripts/tinymce/plugins/iespell/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/iespell/editor_plugin_src.js +0 -54
- data/public/javascripts/tinymce/plugins/inlinepopups/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/inlinepopups/editor_plugin_src.js +0 -696
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css +0 -90
- data/public/javascripts/tinymce/plugins/inlinepopups/template.htm +0 -387
- data/public/javascripts/tinymce/plugins/insertdatetime/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/insertdatetime/editor_plugin_src.js +0 -83
- data/public/javascripts/tinymce/plugins/layer/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/layer/editor_plugin_src.js +0 -214
- data/public/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js +0 -139
- data/public/javascripts/tinymce/plugins/lists/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/lists/editor_plugin_src.js +0 -617
- data/public/javascripts/tinymce/plugins/media/css/media.css +0 -17
- data/public/javascripts/tinymce/plugins/media/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/media/editor_plugin_src.js +0 -770
- data/public/javascripts/tinymce/plugins/media/js/embed.js +0 -73
- data/public/javascripts/tinymce/plugins/media/js/media.js +0 -354
- data/public/javascripts/tinymce/plugins/media/langs/en_dlg.js +0 -109
- data/public/javascripts/tinymce/plugins/media/media.htm +0 -812
- data/public/javascripts/tinymce/plugins/media/moxieplayer.swf +0 -0
- data/public/javascripts/tinymce/plugins/nonbreaking/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/nonbreaking/editor_plugin_src.js +0 -53
- data/public/javascripts/tinymce/plugins/noneditable/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/noneditable/editor_plugin_src.js +0 -90
- data/public/javascripts/tinymce/plugins/pagebreak/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/pagebreak/editor_plugin_src.js +0 -74
- data/public/javascripts/tinymce/plugins/paste/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/paste/editor_plugin_src.js +0 -930
- data/public/javascripts/tinymce/plugins/paste/js/pastetext.js +0 -36
- data/public/javascripts/tinymce/plugins/paste/js/pasteword.js +0 -51
- data/public/javascripts/tinymce/plugins/paste/langs/en_dlg.js +0 -5
- data/public/javascripts/tinymce/plugins/paste/pastetext.htm +0 -27
- data/public/javascripts/tinymce/plugins/paste/pasteword.htm +0 -21
- data/public/javascripts/tinymce/plugins/preview/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/preview/editor_plugin_src.js +0 -53
- data/public/javascripts/tinymce/plugins/preview/example.html +0 -28
- data/public/javascripts/tinymce/plugins/preview/jscripts/embed.js +0 -73
- data/public/javascripts/tinymce/plugins/preview/preview.html +0 -17
- data/public/javascripts/tinymce/plugins/print/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/print/editor_plugin_src.js +0 -34
- data/public/javascripts/tinymce/plugins/save/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/save/editor_plugin_src.js +0 -101
- data/public/javascripts/tinymce/plugins/searchreplace/css/searchreplace.css +0 -6
- data/public/javascripts/tinymce/plugins/searchreplace/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/searchreplace/editor_plugin_src.js +0 -61
- data/public/javascripts/tinymce/plugins/searchreplace/js/searchreplace.js +0 -142
- data/public/javascripts/tinymce/plugins/searchreplace/langs/en_dlg.js +0 -16
- data/public/javascripts/tinymce/plugins/searchreplace/searchreplace.htm +0 -100
- data/public/javascripts/tinymce/plugins/spellchecker/css/content.css +0 -1
- data/public/javascripts/tinymce/plugins/spellchecker/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js +0 -435
- data/public/javascripts/tinymce/plugins/spellchecker/img/wline.gif +0 -0
- data/public/javascripts/tinymce/plugins/style/css/props.css +0 -13
- data/public/javascripts/tinymce/plugins/style/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/style/editor_plugin_src.js +0 -55
- data/public/javascripts/tinymce/plugins/style/js/props.js +0 -635
- data/public/javascripts/tinymce/plugins/style/langs/en_dlg.js +0 -70
- data/public/javascripts/tinymce/plugins/style/props.htm +0 -838
- data/public/javascripts/tinymce/plugins/tabfocus/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js +0 -114
- data/public/javascripts/tinymce/plugins/table/cell.htm +0 -178
- data/public/javascripts/tinymce/plugins/table/css/cell.css +0 -17
- data/public/javascripts/tinymce/plugins/table/css/row.css +0 -25
- data/public/javascripts/tinymce/plugins/table/css/table.css +0 -13
- data/public/javascripts/tinymce/plugins/table/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/table/editor_plugin_src.js +0 -1198
- data/public/javascripts/tinymce/plugins/table/js/cell.js +0 -284
- data/public/javascripts/tinymce/plugins/table/js/merge_cells.js +0 -27
- data/public/javascripts/tinymce/plugins/table/js/row.js +0 -232
- data/public/javascripts/tinymce/plugins/table/js/table.js +0 -450
- data/public/javascripts/tinymce/plugins/table/langs/en_dlg.js +0 -74
- data/public/javascripts/tinymce/plugins/table/merge_cells.htm +0 -32
- data/public/javascripts/tinymce/plugins/table/row.htm +0 -157
- data/public/javascripts/tinymce/plugins/table/table.htm +0 -188
- data/public/javascripts/tinymce/plugins/template/blank.htm +0 -12
- data/public/javascripts/tinymce/plugins/template/css/template.css +0 -23
- data/public/javascripts/tinymce/plugins/template/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/template/editor_plugin_src.js +0 -159
- data/public/javascripts/tinymce/plugins/template/js/template.js +0 -106
- data/public/javascripts/tinymce/plugins/template/langs/en_dlg.js +0 -15
- data/public/javascripts/tinymce/plugins/template/template.htm +0 -31
- data/public/javascripts/tinymce/plugins/visualchars/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/visualchars/editor_plugin_src.js +0 -83
- data/public/javascripts/tinymce/plugins/wordcount/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js +0 -114
- data/public/javascripts/tinymce/plugins/xhtmlxtras/abbr.htm +0 -142
- data/public/javascripts/tinymce/plugins/xhtmlxtras/acronym.htm +0 -142
- data/public/javascripts/tinymce/plugins/xhtmlxtras/attributes.htm +0 -149
- data/public/javascripts/tinymce/plugins/xhtmlxtras/cite.htm +0 -142
- data/public/javascripts/tinymce/plugins/xhtmlxtras/css/attributes.css +0 -11
- data/public/javascripts/tinymce/plugins/xhtmlxtras/css/popup.css +0 -9
- data/public/javascripts/tinymce/plugins/xhtmlxtras/del.htm +0 -162
- data/public/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin.js +0 -1
- data/public/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin_src.js +0 -132
- data/public/javascripts/tinymce/plugins/xhtmlxtras/ins.htm +0 -162
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/abbr.js +0 -28
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/acronym.js +0 -28
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/attributes.js +0 -125
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/cite.js +0 -28
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/del.js +0 -53
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/element_common.js +0 -229
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/ins.js +0 -53
- data/public/javascripts/tinymce/plugins/xhtmlxtras/langs/en_dlg.js +0 -32
- data/public/javascripts/tinymce/themes/advanced/about.htm +0 -52
- data/public/javascripts/tinymce/themes/advanced/anchor.htm +0 -26
- data/public/javascripts/tinymce/themes/advanced/charmap.htm +0 -51
- data/public/javascripts/tinymce/themes/advanced/color_picker.htm +0 -74
- data/public/javascripts/tinymce/themes/advanced/editor_template.js +0 -1
- data/public/javascripts/tinymce/themes/advanced/editor_template_src.js +0 -1360
- data/public/javascripts/tinymce/themes/advanced/image.htm +0 -80
- data/public/javascripts/tinymce/themes/advanced/img/colorpicker.jpg +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/flash.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/icons.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/iframe.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/pagebreak.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/quicktime.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/realmedia.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/shockwave.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/trans.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/video.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/windowsmedia.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/js/about.js +0 -73
- data/public/javascripts/tinymce/themes/advanced/js/anchor.js +0 -42
- data/public/javascripts/tinymce/themes/advanced/js/charmap.js +0 -355
- data/public/javascripts/tinymce/themes/advanced/js/color_picker.js +0 -329
- data/public/javascripts/tinymce/themes/advanced/js/image.js +0 -247
- data/public/javascripts/tinymce/themes/advanced/js/link.js +0 -153
- data/public/javascripts/tinymce/themes/advanced/js/source_editor.js +0 -56
- data/public/javascripts/tinymce/themes/advanced/langs/en.js +0 -68
- data/public/javascripts/tinymce/themes/advanced/langs/en_dlg.js +0 -54
- data/public/javascripts/tinymce/themes/advanced/link.htm +0 -57
- data/public/javascripts/tinymce/themes/advanced/shortcuts.htm +0 -47
- data/public/javascripts/tinymce/themes/advanced/skins/default/content.css +0 -47
- data/public/javascripts/tinymce/themes/advanced/skins/default/dialog.css +0 -117
- data/public/javascripts/tinymce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/img/items.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/ui.css +0 -213
- data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/content.css +0 -23
- data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/dialog.css +0 -105
- data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/ui.css +0 -101
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/content.css +0 -46
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css +0 -117
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui.css +0 -216
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_black.css +0 -8
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_silver.css +0 -5
- data/public/javascripts/tinymce/themes/advanced/source_editor.htm +0 -25
- data/public/javascripts/tinymce/themes/simple/editor_template.js +0 -1
- data/public/javascripts/tinymce/themes/simple/editor_template_src.js +0 -84
- data/public/javascripts/tinymce/themes/simple/img/icons.gif +0 -0
- data/public/javascripts/tinymce/themes/simple/langs/en.js +0 -11
- data/public/javascripts/tinymce/themes/simple/skins/default/content.css +0 -25
- data/public/javascripts/tinymce/themes/simple/skins/default/ui.css +0 -32
- data/public/javascripts/tinymce/themes/simple/skins/o2k7/content.css +0 -17
- data/public/javascripts/tinymce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/public/javascripts/tinymce/themes/simple/skins/o2k7/ui.css +0 -35
- data/public/javascripts/tinymce/tiny_mce.js +0 -1
- data/public/javascripts/tinymce/tiny_mce_popup.js +0 -5
- data/public/javascripts/tinymce/tiny_mce_src.js +0 -15752
- data/public/javascripts/tinymce/utils/editable_selects.js +0 -70
- data/public/javascripts/tinymce/utils/form_utils.js +0 -210
- data/public/javascripts/tinymce/utils/mctabs.js +0 -162
- data/public/javascripts/tinymce/utils/validate.js +0 -252
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.17
|
@@ -11,7 +11,9 @@
|
|
11
11
|
<%= stylesheet_link_tag 'cable/formtastic' %>
|
12
12
|
<%= stylesheet_link_tag 'cable/formtastic_changes' %>
|
13
13
|
<%= stylesheet_link_tag 'jquery/ui/jquery-ui-1.8.7.custom.css' %>
|
14
|
-
<%= javascript_include_tag 'jquery' , 'jquery-ui', 'rails',
|
14
|
+
<%= javascript_include_tag 'jquery' , 'jquery-ui', 'rails', 'jquery.tablesorter.min.js', 'jquery.ui.autocomplete.html.js', 'admin.js' %>
|
15
|
+
<%# javascript_include_tag 'tinymce/jquery.tinymce.js'%>
|
16
|
+
<%= include_tiny_mce_if_needed %>
|
15
17
|
<%= yield :scripts %>
|
16
18
|
</head>
|
17
19
|
<body>
|
@@ -61,6 +61,7 @@ module Cable
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def install_admin
|
64
|
+
copy_file "app/controllers/admin_controller.rb", "app/controllers/admin_controller.rb"
|
64
65
|
copy_file "app/views/layouts/admin.html.erb", 'app/views/layouts/admin.html.erb'
|
65
66
|
directory 'app/views/layouts/admin', 'app/views/layouts/admin'
|
66
67
|
directory "public/stylesheets/tinymce", "public/stylesheets/tinymce"
|
@@ -67,7 +67,7 @@
|
|
67
67
|
<%%= f.inputs do %>
|
68
68
|
<%%= f.input :cable_menuable_type, :as => :hidden %>
|
69
69
|
<%%= f.input :cable_menuable_id, :as => :hidden %>
|
70
|
-
<li><div id="selected-resource"><%%= @<%= singular_table_name %>.cable_menuable_type %> » <%%= @<%= singular_table_name %>.resource.
|
70
|
+
<li><div id="selected-resource"><%%= @<%= singular_table_name %>.cable_menuable_type %> » <%%= @<%= singular_table_name %>.resource.first_displayable_attribute unless @<%= singular_table_name %>.resource.nil? %></div></li>
|
71
71
|
<li>
|
72
72
|
<table id="resources">
|
73
73
|
<thead>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<tbody>
|
3
3
|
<%% @resources.each do |resource| %>
|
4
4
|
<tr>
|
5
|
-
<td menu_id="<%%= resource.id %>" resource_type="<%%= resource.class.name %>" class="resource"><%%= resource.
|
5
|
+
<td menu_id="<%%= resource.id %>" resource_type="<%%= resource.class.name %>" class="resource"><%%= resource.first_displayable_attribute %></td>
|
6
6
|
<td><%%= link_to image_tag("cable/search.png"), [:admin, resource], :target => "_blank" %></td>
|
7
7
|
</tr>
|
8
8
|
<%% end %>
|
@@ -11,7 +11,7 @@
|
|
11
11
|
<%% unless @<%= singular_table_name %>.resource.nil? %>
|
12
12
|
<tr>
|
13
13
|
<th class="label">Links to:</th>
|
14
|
-
<td><%%= @<%= singular_table_name %>.cable_<%= singular_table_name %>able_type %> | <%%= link_to @<%= singular_table_name %>.resource.
|
14
|
+
<td><%%= @<%= singular_table_name %>.cable_<%= singular_table_name %>able_type %> | <%%= link_to @<%= singular_table_name %>.resource.first_displayable_attribute, [:admin, @<%= singular_table_name %>.resource] %></td>
|
15
15
|
</tr>
|
16
16
|
<%% end %>
|
17
17
|
</tbody>
|
data/public/javascripts/admin.js
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
$(document).ready(function(){
|
2
2
|
$('.sortable-table').tablesorter();
|
3
|
-
$('.rich_editor').tinymce({
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
});
|
3
|
+
// $('.rich_editor').tinymce({
|
4
|
+
// script_url : '/javascripts/tinymce/tiny_mce.js',
|
5
|
+
// theme : "advanced",
|
6
|
+
// plugins : "pdw,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist",
|
7
|
+
// theme_advanced_buttons1 : "pdw_toggle,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,cut,copy,paste,pastetext,pasteword",
|
8
|
+
// theme_advanced_buttons2 : "search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,preview",
|
9
|
+
// theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,media,|,fullscreen",
|
10
|
+
// theme_advanced_toolbar_location : "top",
|
11
|
+
// theme_advanced_toolbar_align : "left",
|
12
|
+
// theme_advanced_statusbar_location : "bottom",
|
13
|
+
// theme_advanced_resizing : true,
|
14
|
+
// theme_advanced_resize_horizontal : false,
|
15
|
+
// pdw_toggle_on : 1,
|
16
|
+
// pdw_toggle_toolbars : "2,3",
|
17
|
+
// content_css : "/stylesheets/tinymce/custom_rich_editor.css"
|
18
|
+
// });
|
19
19
|
|
20
20
|
$('.disabled-button').button({disabled: true});
|
21
21
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: cable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.9.
|
5
|
+
version: 0.9.17
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Spencer Markowski
|
@@ -12,7 +12,7 @@ autorequire:
|
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
14
|
|
15
|
-
date: 2011-
|
15
|
+
date: 2011-07-08 00:00:00 -04:00
|
16
16
|
default_executable:
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
@@ -249,258 +249,6 @@ files:
|
|
249
249
|
- public/javascripts/jquery.tablesorter.min.js
|
250
250
|
- public/javascripts/jquery.tagsinput.js
|
251
251
|
- public/javascripts/jquery.ui.autocomplete.html.js
|
252
|
-
- public/javascripts/tinymce/jquery.tinymce.js
|
253
|
-
- public/javascripts/tinymce/langs/en.js
|
254
|
-
- public/javascripts/tinymce/license.txt
|
255
|
-
- public/javascripts/tinymce/plugins/advhr/css/advhr.css
|
256
|
-
- public/javascripts/tinymce/plugins/advhr/editor_plugin.js
|
257
|
-
- public/javascripts/tinymce/plugins/advhr/editor_plugin_src.js
|
258
|
-
- public/javascripts/tinymce/plugins/advhr/js/rule.js
|
259
|
-
- public/javascripts/tinymce/plugins/advhr/langs/en_dlg.js
|
260
|
-
- public/javascripts/tinymce/plugins/advhr/rule.htm
|
261
|
-
- public/javascripts/tinymce/plugins/advimage/css/advimage.css
|
262
|
-
- public/javascripts/tinymce/plugins/advimage/editor_plugin.js
|
263
|
-
- public/javascripts/tinymce/plugins/advimage/editor_plugin_src.js
|
264
|
-
- public/javascripts/tinymce/plugins/advimage/image.htm
|
265
|
-
- public/javascripts/tinymce/plugins/advimage/img/sample.gif
|
266
|
-
- public/javascripts/tinymce/plugins/advimage/js/image.js
|
267
|
-
- public/javascripts/tinymce/plugins/advimage/langs/en_dlg.js
|
268
|
-
- public/javascripts/tinymce/plugins/advlink/css/advlink.css
|
269
|
-
- public/javascripts/tinymce/plugins/advlink/editor_plugin.js
|
270
|
-
- public/javascripts/tinymce/plugins/advlink/editor_plugin_src.js
|
271
|
-
- public/javascripts/tinymce/plugins/advlink/js/advlink.js
|
272
|
-
- public/javascripts/tinymce/plugins/advlink/langs/en_dlg.js
|
273
|
-
- public/javascripts/tinymce/plugins/advlink/link.htm
|
274
|
-
- public/javascripts/tinymce/plugins/advlist/editor_plugin.js
|
275
|
-
- public/javascripts/tinymce/plugins/advlist/editor_plugin_src.js
|
276
|
-
- public/javascripts/tinymce/plugins/autolink/editor_plugin.js
|
277
|
-
- public/javascripts/tinymce/plugins/autolink/editor_plugin_src.js
|
278
|
-
- public/javascripts/tinymce/plugins/autoresize/editor_plugin.js
|
279
|
-
- public/javascripts/tinymce/plugins/autoresize/editor_plugin_src.js
|
280
|
-
- public/javascripts/tinymce/plugins/autosave/editor_plugin.js
|
281
|
-
- public/javascripts/tinymce/plugins/autosave/editor_plugin_src.js
|
282
|
-
- public/javascripts/tinymce/plugins/autosave/langs/en.js
|
283
|
-
- public/javascripts/tinymce/plugins/bbcode/editor_plugin.js
|
284
|
-
- public/javascripts/tinymce/plugins/bbcode/editor_plugin_src.js
|
285
|
-
- public/javascripts/tinymce/plugins/contextmenu/editor_plugin.js
|
286
|
-
- public/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js
|
287
|
-
- public/javascripts/tinymce/plugins/directionality/editor_plugin.js
|
288
|
-
- public/javascripts/tinymce/plugins/directionality/editor_plugin_src.js
|
289
|
-
- public/javascripts/tinymce/plugins/emotions/editor_plugin.js
|
290
|
-
- public/javascripts/tinymce/plugins/emotions/editor_plugin_src.js
|
291
|
-
- public/javascripts/tinymce/plugins/emotions/emotions.htm
|
292
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-cool.gif
|
293
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-cry.gif
|
294
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-embarassed.gif
|
295
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-foot-in-mouth.gif
|
296
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-frown.gif
|
297
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-innocent.gif
|
298
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-kiss.gif
|
299
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-laughing.gif
|
300
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-money-mouth.gif
|
301
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-sealed.gif
|
302
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-smile.gif
|
303
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-surprised.gif
|
304
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-tongue-out.gif
|
305
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-undecided.gif
|
306
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-wink.gif
|
307
|
-
- public/javascripts/tinymce/plugins/emotions/img/smiley-yell.gif
|
308
|
-
- public/javascripts/tinymce/plugins/emotions/js/emotions.js
|
309
|
-
- public/javascripts/tinymce/plugins/emotions/langs/en_dlg.js
|
310
|
-
- public/javascripts/tinymce/plugins/example/dialog.htm
|
311
|
-
- public/javascripts/tinymce/plugins/example/editor_plugin.js
|
312
|
-
- public/javascripts/tinymce/plugins/example/editor_plugin_src.js
|
313
|
-
- public/javascripts/tinymce/plugins/example/img/example.gif
|
314
|
-
- public/javascripts/tinymce/plugins/example/js/dialog.js
|
315
|
-
- public/javascripts/tinymce/plugins/example/langs/en.js
|
316
|
-
- public/javascripts/tinymce/plugins/example/langs/en_dlg.js
|
317
|
-
- public/javascripts/tinymce/plugins/fullpage/css/fullpage.css
|
318
|
-
- public/javascripts/tinymce/plugins/fullpage/editor_plugin.js
|
319
|
-
- public/javascripts/tinymce/plugins/fullpage/editor_plugin_src.js
|
320
|
-
- public/javascripts/tinymce/plugins/fullpage/fullpage.htm
|
321
|
-
- public/javascripts/tinymce/plugins/fullpage/js/fullpage.js
|
322
|
-
- public/javascripts/tinymce/plugins/fullpage/langs/en_dlg.js
|
323
|
-
- public/javascripts/tinymce/plugins/fullscreen/editor_plugin.js
|
324
|
-
- public/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js
|
325
|
-
- public/javascripts/tinymce/plugins/fullscreen/fullscreen.htm
|
326
|
-
- public/javascripts/tinymce/plugins/iespell/editor_plugin.js
|
327
|
-
- public/javascripts/tinymce/plugins/iespell/editor_plugin_src.js
|
328
|
-
- public/javascripts/tinymce/plugins/inlinepopups/editor_plugin.js
|
329
|
-
- public/javascripts/tinymce/plugins/inlinepopups/editor_plugin_src.js
|
330
|
-
- public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif
|
331
|
-
- public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif
|
332
|
-
- public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif
|
333
|
-
- public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif
|
334
|
-
- public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif
|
335
|
-
- public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif
|
336
|
-
- public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif
|
337
|
-
- public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css
|
338
|
-
- public/javascripts/tinymce/plugins/inlinepopups/template.htm
|
339
|
-
- public/javascripts/tinymce/plugins/insertdatetime/editor_plugin.js
|
340
|
-
- public/javascripts/tinymce/plugins/insertdatetime/editor_plugin_src.js
|
341
|
-
- public/javascripts/tinymce/plugins/layer/editor_plugin.js
|
342
|
-
- public/javascripts/tinymce/plugins/layer/editor_plugin_src.js
|
343
|
-
- public/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js
|
344
|
-
- public/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js
|
345
|
-
- public/javascripts/tinymce/plugins/lists/editor_plugin.js
|
346
|
-
- public/javascripts/tinymce/plugins/lists/editor_plugin_src.js
|
347
|
-
- public/javascripts/tinymce/plugins/media/css/media.css
|
348
|
-
- public/javascripts/tinymce/plugins/media/editor_plugin.js
|
349
|
-
- public/javascripts/tinymce/plugins/media/editor_plugin_src.js
|
350
|
-
- public/javascripts/tinymce/plugins/media/js/embed.js
|
351
|
-
- public/javascripts/tinymce/plugins/media/js/media.js
|
352
|
-
- public/javascripts/tinymce/plugins/media/langs/en_dlg.js
|
353
|
-
- public/javascripts/tinymce/plugins/media/media.htm
|
354
|
-
- public/javascripts/tinymce/plugins/media/moxieplayer.swf
|
355
|
-
- public/javascripts/tinymce/plugins/nonbreaking/editor_plugin.js
|
356
|
-
- public/javascripts/tinymce/plugins/nonbreaking/editor_plugin_src.js
|
357
|
-
- public/javascripts/tinymce/plugins/noneditable/editor_plugin.js
|
358
|
-
- public/javascripts/tinymce/plugins/noneditable/editor_plugin_src.js
|
359
|
-
- public/javascripts/tinymce/plugins/pagebreak/editor_plugin.js
|
360
|
-
- public/javascripts/tinymce/plugins/pagebreak/editor_plugin_src.js
|
361
|
-
- public/javascripts/tinymce/plugins/paste/editor_plugin.js
|
362
|
-
- public/javascripts/tinymce/plugins/paste/editor_plugin_src.js
|
363
|
-
- public/javascripts/tinymce/plugins/paste/js/pastetext.js
|
364
|
-
- public/javascripts/tinymce/plugins/paste/js/pasteword.js
|
365
|
-
- public/javascripts/tinymce/plugins/paste/langs/en_dlg.js
|
366
|
-
- public/javascripts/tinymce/plugins/paste/pastetext.htm
|
367
|
-
- public/javascripts/tinymce/plugins/paste/pasteword.htm
|
368
|
-
- public/javascripts/tinymce/plugins/preview/editor_plugin.js
|
369
|
-
- public/javascripts/tinymce/plugins/preview/editor_plugin_src.js
|
370
|
-
- public/javascripts/tinymce/plugins/preview/example.html
|
371
|
-
- public/javascripts/tinymce/plugins/preview/jscripts/embed.js
|
372
|
-
- public/javascripts/tinymce/plugins/preview/preview.html
|
373
|
-
- public/javascripts/tinymce/plugins/print/editor_plugin.js
|
374
|
-
- public/javascripts/tinymce/plugins/print/editor_plugin_src.js
|
375
|
-
- public/javascripts/tinymce/plugins/save/editor_plugin.js
|
376
|
-
- public/javascripts/tinymce/plugins/save/editor_plugin_src.js
|
377
|
-
- public/javascripts/tinymce/plugins/searchreplace/css/searchreplace.css
|
378
|
-
- public/javascripts/tinymce/plugins/searchreplace/editor_plugin.js
|
379
|
-
- public/javascripts/tinymce/plugins/searchreplace/editor_plugin_src.js
|
380
|
-
- public/javascripts/tinymce/plugins/searchreplace/js/searchreplace.js
|
381
|
-
- public/javascripts/tinymce/plugins/searchreplace/langs/en_dlg.js
|
382
|
-
- public/javascripts/tinymce/plugins/searchreplace/searchreplace.htm
|
383
|
-
- public/javascripts/tinymce/plugins/spellchecker/css/content.css
|
384
|
-
- public/javascripts/tinymce/plugins/spellchecker/editor_plugin.js
|
385
|
-
- public/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js
|
386
|
-
- public/javascripts/tinymce/plugins/spellchecker/img/wline.gif
|
387
|
-
- public/javascripts/tinymce/plugins/style/css/props.css
|
388
|
-
- public/javascripts/tinymce/plugins/style/editor_plugin.js
|
389
|
-
- public/javascripts/tinymce/plugins/style/editor_plugin_src.js
|
390
|
-
- public/javascripts/tinymce/plugins/style/js/props.js
|
391
|
-
- public/javascripts/tinymce/plugins/style/langs/en_dlg.js
|
392
|
-
- public/javascripts/tinymce/plugins/style/props.htm
|
393
|
-
- public/javascripts/tinymce/plugins/tabfocus/editor_plugin.js
|
394
|
-
- public/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js
|
395
|
-
- public/javascripts/tinymce/plugins/table/cell.htm
|
396
|
-
- public/javascripts/tinymce/plugins/table/css/cell.css
|
397
|
-
- public/javascripts/tinymce/plugins/table/css/row.css
|
398
|
-
- public/javascripts/tinymce/plugins/table/css/table.css
|
399
|
-
- public/javascripts/tinymce/plugins/table/editor_plugin.js
|
400
|
-
- public/javascripts/tinymce/plugins/table/editor_plugin_src.js
|
401
|
-
- public/javascripts/tinymce/plugins/table/js/cell.js
|
402
|
-
- public/javascripts/tinymce/plugins/table/js/merge_cells.js
|
403
|
-
- public/javascripts/tinymce/plugins/table/js/row.js
|
404
|
-
- public/javascripts/tinymce/plugins/table/js/table.js
|
405
|
-
- public/javascripts/tinymce/plugins/table/langs/en_dlg.js
|
406
|
-
- public/javascripts/tinymce/plugins/table/merge_cells.htm
|
407
|
-
- public/javascripts/tinymce/plugins/table/row.htm
|
408
|
-
- public/javascripts/tinymce/plugins/table/table.htm
|
409
|
-
- public/javascripts/tinymce/plugins/template/blank.htm
|
410
|
-
- public/javascripts/tinymce/plugins/template/css/template.css
|
411
|
-
- public/javascripts/tinymce/plugins/template/editor_plugin.js
|
412
|
-
- public/javascripts/tinymce/plugins/template/editor_plugin_src.js
|
413
|
-
- public/javascripts/tinymce/plugins/template/js/template.js
|
414
|
-
- public/javascripts/tinymce/plugins/template/langs/en_dlg.js
|
415
|
-
- public/javascripts/tinymce/plugins/template/template.htm
|
416
|
-
- public/javascripts/tinymce/plugins/visualchars/editor_plugin.js
|
417
|
-
- public/javascripts/tinymce/plugins/visualchars/editor_plugin_src.js
|
418
|
-
- public/javascripts/tinymce/plugins/wordcount/editor_plugin.js
|
419
|
-
- public/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js
|
420
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/abbr.htm
|
421
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/acronym.htm
|
422
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/attributes.htm
|
423
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/cite.htm
|
424
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/css/attributes.css
|
425
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/css/popup.css
|
426
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/del.htm
|
427
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin.js
|
428
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin_src.js
|
429
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/ins.htm
|
430
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/js/abbr.js
|
431
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/js/acronym.js
|
432
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/js/attributes.js
|
433
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/js/cite.js
|
434
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/js/del.js
|
435
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/js/element_common.js
|
436
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/js/ins.js
|
437
|
-
- public/javascripts/tinymce/plugins/xhtmlxtras/langs/en_dlg.js
|
438
|
-
- public/javascripts/tinymce/themes/advanced/about.htm
|
439
|
-
- public/javascripts/tinymce/themes/advanced/anchor.htm
|
440
|
-
- public/javascripts/tinymce/themes/advanced/charmap.htm
|
441
|
-
- public/javascripts/tinymce/themes/advanced/color_picker.htm
|
442
|
-
- public/javascripts/tinymce/themes/advanced/editor_template.js
|
443
|
-
- public/javascripts/tinymce/themes/advanced/editor_template_src.js
|
444
|
-
- public/javascripts/tinymce/themes/advanced/image.htm
|
445
|
-
- public/javascripts/tinymce/themes/advanced/img/colorpicker.jpg
|
446
|
-
- public/javascripts/tinymce/themes/advanced/img/flash.gif
|
447
|
-
- public/javascripts/tinymce/themes/advanced/img/icons.gif
|
448
|
-
- public/javascripts/tinymce/themes/advanced/img/iframe.gif
|
449
|
-
- public/javascripts/tinymce/themes/advanced/img/pagebreak.gif
|
450
|
-
- public/javascripts/tinymce/themes/advanced/img/quicktime.gif
|
451
|
-
- public/javascripts/tinymce/themes/advanced/img/realmedia.gif
|
452
|
-
- public/javascripts/tinymce/themes/advanced/img/shockwave.gif
|
453
|
-
- public/javascripts/tinymce/themes/advanced/img/trans.gif
|
454
|
-
- public/javascripts/tinymce/themes/advanced/img/video.gif
|
455
|
-
- public/javascripts/tinymce/themes/advanced/img/windowsmedia.gif
|
456
|
-
- public/javascripts/tinymce/themes/advanced/js/about.js
|
457
|
-
- public/javascripts/tinymce/themes/advanced/js/anchor.js
|
458
|
-
- public/javascripts/tinymce/themes/advanced/js/charmap.js
|
459
|
-
- public/javascripts/tinymce/themes/advanced/js/color_picker.js
|
460
|
-
- public/javascripts/tinymce/themes/advanced/js/image.js
|
461
|
-
- public/javascripts/tinymce/themes/advanced/js/link.js
|
462
|
-
- public/javascripts/tinymce/themes/advanced/js/source_editor.js
|
463
|
-
- public/javascripts/tinymce/themes/advanced/langs/en.js
|
464
|
-
- public/javascripts/tinymce/themes/advanced/langs/en_dlg.js
|
465
|
-
- public/javascripts/tinymce/themes/advanced/link.htm
|
466
|
-
- public/javascripts/tinymce/themes/advanced/shortcuts.htm
|
467
|
-
- public/javascripts/tinymce/themes/advanced/skins/default/content.css
|
468
|
-
- public/javascripts/tinymce/themes/advanced/skins/default/dialog.css
|
469
|
-
- public/javascripts/tinymce/themes/advanced/skins/default/img/buttons.png
|
470
|
-
- public/javascripts/tinymce/themes/advanced/skins/default/img/items.gif
|
471
|
-
- public/javascripts/tinymce/themes/advanced/skins/default/img/menu_arrow.gif
|
472
|
-
- public/javascripts/tinymce/themes/advanced/skins/default/img/menu_check.gif
|
473
|
-
- public/javascripts/tinymce/themes/advanced/skins/default/img/progress.gif
|
474
|
-
- public/javascripts/tinymce/themes/advanced/skins/default/img/tabs.gif
|
475
|
-
- public/javascripts/tinymce/themes/advanced/skins/default/ui.css
|
476
|
-
- public/javascripts/tinymce/themes/advanced/skins/highcontrast/content.css
|
477
|
-
- public/javascripts/tinymce/themes/advanced/skins/highcontrast/dialog.css
|
478
|
-
- public/javascripts/tinymce/themes/advanced/skins/highcontrast/ui.css
|
479
|
-
- public/javascripts/tinymce/themes/advanced/skins/o2k7/content.css
|
480
|
-
- public/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css
|
481
|
-
- public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg.png
|
482
|
-
- public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_black.png
|
483
|
-
- public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_silver.png
|
484
|
-
- public/javascripts/tinymce/themes/advanced/skins/o2k7/ui.css
|
485
|
-
- public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_black.css
|
486
|
-
- public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_silver.css
|
487
|
-
- public/javascripts/tinymce/themes/advanced/source_editor.htm
|
488
|
-
- public/javascripts/tinymce/themes/simple/editor_template.js
|
489
|
-
- public/javascripts/tinymce/themes/simple/editor_template_src.js
|
490
|
-
- public/javascripts/tinymce/themes/simple/img/icons.gif
|
491
|
-
- public/javascripts/tinymce/themes/simple/langs/en.js
|
492
|
-
- public/javascripts/tinymce/themes/simple/skins/default/content.css
|
493
|
-
- public/javascripts/tinymce/themes/simple/skins/default/ui.css
|
494
|
-
- public/javascripts/tinymce/themes/simple/skins/o2k7/content.css
|
495
|
-
- public/javascripts/tinymce/themes/simple/skins/o2k7/img/button_bg.png
|
496
|
-
- public/javascripts/tinymce/themes/simple/skins/o2k7/ui.css
|
497
|
-
- public/javascripts/tinymce/tiny_mce.js
|
498
|
-
- public/javascripts/tinymce/tiny_mce_popup.js
|
499
|
-
- public/javascripts/tinymce/tiny_mce_src.js
|
500
|
-
- public/javascripts/tinymce/utils/editable_selects.js
|
501
|
-
- public/javascripts/tinymce/utils/form_utils.js
|
502
|
-
- public/javascripts/tinymce/utils/mctabs.js
|
503
|
-
- public/javascripts/tinymce/utils/validate.js
|
504
252
|
- public/stylesheets/cable.css
|
505
253
|
- public/stylesheets/cable/base.css
|
506
254
|
- public/stylesheets/cable/blueprint/ie.css
|
@@ -1 +0,0 @@
|
|
1
|
-
(function(b){var e,d,a=[],c=window;b.fn.tinymce=function(j){var p=this,g,k,h,m,i,l="",n="";if(!p.length){return p}if(!j){return tinyMCE.get(p[0].id)}function o(){var r=[],q=0;if(f){f();f=null}p.each(function(t,u){var s,w=u.id,v=j.oninit;if(!w){u.id=w=tinymce.DOM.uniqueId()}s=new tinymce.Editor(w,j);r.push(s);if(v){s.onInit.add(function(){var x,y=v;if(++q==r.length){if(tinymce.is(y,"string")){x=(y.indexOf(".")===-1)?null:tinymce.resolve(y.replace(/\.\w+$/,""));y=tinymce.resolve(y)}y.apply(x||tinymce,r)}})}});b.each(r,function(t,s){s.render()})}if(!c.tinymce&&!d&&(g=j.script_url)){d=1;h=g.substring(0,g.lastIndexOf("/"));if(/_(src|dev)\.js/g.test(g)){n="_src"}m=g.lastIndexOf("?");if(m!=-1){l=g.substring(m+1)}c.tinyMCEPreInit=c.tinyMCEPreInit||{base:h,suffix:n,query:l};if(g.indexOf("gzip")!=-1){i=j.language||"en";g=g+(/\?/.test(g)?"&":"?")+"js=true&core=true&suffix="+escape(n)+"&themes="+escape(j.theme)+"&plugins="+escape(j.plugins)+"&languages="+i;if(!c.tinyMCE_GZ){tinyMCE_GZ={start:function(){tinymce.suffix=n;function q(r){tinymce.ScriptLoader.markDone(tinyMCE.baseURI.toAbsolute(r))}q("langs/"+i+".js");q("themes/"+j.theme+"/editor_template"+n+".js");q("themes/"+j.theme+"/langs/"+i+".js");b.each(j.plugins.split(","),function(s,r){if(r){q("plugins/"+r+"/editor_plugin"+n+".js");q("plugins/"+r+"/langs/"+i+".js")}})},end:function(){}}}}b.ajax({type:"GET",url:g,dataType:"script",cache:true,success:function(){tinymce.dom.Event.domLoaded=1;d=2;if(j.script_loaded){j.script_loaded()}o();b.each(a,function(q,r){r()})}})}else{if(d===1){a.push(o)}else{o()}}return p};b.extend(b.expr[":"],{tinymce:function(g){return g.id&&!!tinyMCE.get(g.id)}});function f(){function i(l){if(l==="remove"){this.each(function(n,o){var m=h(o);if(m){m.remove()}})}this.find("span.mceEditor,div.mceEditor").each(function(n,o){var m=tinyMCE.get(o.id.replace(/_parent$/,""));if(m){m.remove()}})}function k(n){var m=this,l;if(n!==e){i.call(m);m.each(function(p,q){var o;if(o=tinyMCE.get(q.id)){o.setContent(n)}})}else{if(m.length>0){if(l=tinyMCE.get(m[0].id)){return l.getContent()}}}}function h(m){var l=null;(m)&&(m.id)&&(c.tinymce)&&(l=tinyMCE.get(m.id));return l}function g(l){return !!((l)&&(l.length)&&(c.tinymce)&&(l.is(":tinymce")))}var j={};b.each(["text","html","val"],function(n,l){var o=j[l]=b.fn[l],m=(l==="text");b.fn[l]=function(s){var p=this;if(!g(p)){return o.apply(p,arguments)}if(s!==e){k.call(p.filter(":tinymce"),s);o.apply(p.not(":tinymce"),arguments);return p}else{var r="";var q=arguments;(m?p:p.eq(0)).each(function(u,v){var t=h(v);r+=t?(m?t.getContent().replace(/<(?:"[^"]*"|'[^']*'|[^'">])*>/g,""):t.getContent()):o.apply(b(v),q)});return r}}});b.each(["append","prepend"],function(n,m){var o=j[m]=b.fn[m],l=(m==="prepend");b.fn[m]=function(q){var p=this;if(!g(p)){return o.apply(p,arguments)}if(q!==e){p.filter(":tinymce").each(function(s,t){var r=h(t);r&&r.setContent(l?q+r.getContent():r.getContent()+q)});o.apply(p.not(":tinymce"),arguments);return p}}});b.each(["remove","replaceWith","replaceAll","empty"],function(m,l){var n=j[l]=b.fn[l];b.fn[l]=function(){i.call(this,l);return n.apply(this,arguments)}});j.attr=b.fn.attr;b.fn.attr=function(n,q,o){var m=this;if((!n)||(n!=="value")||(!g(m))){return j.attr.call(m,n,q,o)}if(q!==e){k.call(m.filter(":tinymce"),q);j.attr.call(m.not(":tinymce"),n,q,o);return m}else{var p=m[0],l=h(p);return l?l.getContent():j.attr.call(b(p),n,q,o)}}}})(jQuery);
|
@@ -1,222 +0,0 @@
|
|
1
|
-
tinyMCE.addI18n({en:{
|
2
|
-
common:{
|
3
|
-
edit_confirm:"Do you want to use the WYSIWYG mode for this textarea?",
|
4
|
-
apply:"Apply",
|
5
|
-
insert:"Insert",
|
6
|
-
update:"Update",
|
7
|
-
cancel:"Cancel",
|
8
|
-
close:"Close",
|
9
|
-
browse:"Browse",
|
10
|
-
class_name:"Class",
|
11
|
-
not_set:"-- Not set --",
|
12
|
-
clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?",
|
13
|
-
clipboard_no_support:"Currently not supported by your browser, use keyboard shortcuts instead.",
|
14
|
-
popup_blocked:"Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.",
|
15
|
-
invalid_data:"{#field} is invalid",
|
16
|
-
invalid_data_number:"{#field} must be a number",
|
17
|
-
invalid_data_min:"{#field} must be a number greater than {#min}",
|
18
|
-
invalid_data_size:"{#field} must be a number or percentage",
|
19
|
-
more_colors:"More colors"
|
20
|
-
},
|
21
|
-
colors:{
|
22
|
-
'000000':'Black',
|
23
|
-
'993300':'Burnt orange',
|
24
|
-
'333300':'Dark olive',
|
25
|
-
'003300':'Dark green',
|
26
|
-
'003366':'Dark azure',
|
27
|
-
'000080':'Navy Blue',
|
28
|
-
'333399':'Indigo',
|
29
|
-
'333333':'Very dark gray',
|
30
|
-
'800000':'Maroon',
|
31
|
-
'FF6600':'Orange',
|
32
|
-
'808000':'Olive',
|
33
|
-
'008000':'Green',
|
34
|
-
'008080':'Teal',
|
35
|
-
'0000FF':'Blue',
|
36
|
-
'666699':'Grayish blue',
|
37
|
-
'808080':'Gray',
|
38
|
-
'FF0000':'Red',
|
39
|
-
'FF9900':'Amber',
|
40
|
-
'99CC00':'Yellow green',
|
41
|
-
'339966':'Sea green',
|
42
|
-
'33CCCC':'Turquoise',
|
43
|
-
'3366FF':'Royal blue',
|
44
|
-
'800080':'Purple',
|
45
|
-
'999999':'Medium gray',
|
46
|
-
'FF00FF':'Magenta',
|
47
|
-
'FFCC00':'Gold',
|
48
|
-
'FFFF00':'Yellow',
|
49
|
-
'00FF00':'Lime',
|
50
|
-
'00FFFF':'Aqua',
|
51
|
-
'00CCFF':'Sky blue',
|
52
|
-
'993366':'Brown',
|
53
|
-
'C0C0C0':'Silver',
|
54
|
-
'FF99CC':'Pink',
|
55
|
-
'FFCC99':'Peach',
|
56
|
-
'FFFF99':'Light yellow',
|
57
|
-
'CCFFCC':'Pale green',
|
58
|
-
'CCFFFF':'Pale cyan',
|
59
|
-
'99CCFF':'Light sky blue',
|
60
|
-
'CC99FF':'Plum',
|
61
|
-
'FFFFFF':'White'
|
62
|
-
},
|
63
|
-
contextmenu:{
|
64
|
-
align:"Alignment",
|
65
|
-
left:"Left",
|
66
|
-
center:"Center",
|
67
|
-
right:"Right",
|
68
|
-
full:"Full"
|
69
|
-
},
|
70
|
-
insertdatetime:{
|
71
|
-
date_fmt:"%Y-%m-%d",
|
72
|
-
time_fmt:"%H:%M:%S",
|
73
|
-
insertdate_desc:"Insert date",
|
74
|
-
inserttime_desc:"Insert time",
|
75
|
-
months_long:"January,February,March,April,May,June,July,August,September,October,November,December",
|
76
|
-
months_short:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",
|
77
|
-
day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday",
|
78
|
-
day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun"
|
79
|
-
},
|
80
|
-
print:{
|
81
|
-
print_desc:"Print"
|
82
|
-
},
|
83
|
-
preview:{
|
84
|
-
preview_desc:"Preview"
|
85
|
-
},
|
86
|
-
directionality:{
|
87
|
-
ltr_desc:"Direction left to right",
|
88
|
-
rtl_desc:"Direction right to left"
|
89
|
-
},
|
90
|
-
layer:{
|
91
|
-
insertlayer_desc:"Insert new layer",
|
92
|
-
forward_desc:"Move forward",
|
93
|
-
backward_desc:"Move backward",
|
94
|
-
absolute_desc:"Toggle absolute positioning",
|
95
|
-
content:"New layer..."
|
96
|
-
},
|
97
|
-
save:{
|
98
|
-
save_desc:"Save",
|
99
|
-
cancel_desc:"Cancel all changes"
|
100
|
-
},
|
101
|
-
nonbreaking:{
|
102
|
-
nonbreaking_desc:"Insert non-breaking space character"
|
103
|
-
},
|
104
|
-
iespell:{
|
105
|
-
iespell_desc:"Run spell checking",
|
106
|
-
download:"ieSpell not detected. Do you want to install it now?"
|
107
|
-
},
|
108
|
-
advhr:{
|
109
|
-
advhr_desc:"Horizontal rule"
|
110
|
-
},
|
111
|
-
emotions:{
|
112
|
-
emotions_desc:"Emotions"
|
113
|
-
},
|
114
|
-
searchreplace:{
|
115
|
-
search_desc:"Find",
|
116
|
-
replace_desc:"Find/Replace"
|
117
|
-
},
|
118
|
-
advimage:{
|
119
|
-
image_desc:"Insert/edit image"
|
120
|
-
},
|
121
|
-
advlink:{
|
122
|
-
link_desc:"Insert/edit link"
|
123
|
-
},
|
124
|
-
xhtmlxtras:{
|
125
|
-
cite_desc:"Citation",
|
126
|
-
abbr_desc:"Abbreviation",
|
127
|
-
acronym_desc:"Acronym",
|
128
|
-
del_desc:"Deletion",
|
129
|
-
ins_desc:"Insertion",
|
130
|
-
attribs_desc:"Insert/Edit Attributes"
|
131
|
-
},
|
132
|
-
style:{
|
133
|
-
desc:"Edit CSS Style"
|
134
|
-
},
|
135
|
-
paste:{
|
136
|
-
paste_text_desc:"Paste as Plain Text",
|
137
|
-
paste_word_desc:"Paste from Word",
|
138
|
-
selectall_desc:"Select All",
|
139
|
-
plaintext_mode_sticky:"Paste is now in plain text mode. Click again to toggle back to regular paste mode. After you paste something you will be returned to regular paste mode.",
|
140
|
-
plaintext_mode:"Paste is now in plain text mode. Click again to toggle back to regular paste mode."
|
141
|
-
},
|
142
|
-
paste_dlg:{
|
143
|
-
text_title:"Use CTRL+V on your keyboard to paste the text into the window.",
|
144
|
-
text_linebreaks:"Keep linebreaks",
|
145
|
-
word_title:"Use CTRL+V on your keyboard to paste the text into the window."
|
146
|
-
},
|
147
|
-
table:{
|
148
|
-
desc:"Inserts a new table",
|
149
|
-
row_before_desc:"Insert row before",
|
150
|
-
row_after_desc:"Insert row after",
|
151
|
-
delete_row_desc:"Delete row",
|
152
|
-
col_before_desc:"Insert column before",
|
153
|
-
col_after_desc:"Insert column after",
|
154
|
-
delete_col_desc:"Remove column",
|
155
|
-
split_cells_desc:"Split merged table cells",
|
156
|
-
merge_cells_desc:"Merge table cells",
|
157
|
-
row_desc:"Table row properties",
|
158
|
-
cell_desc:"Table cell properties",
|
159
|
-
props_desc:"Table properties",
|
160
|
-
paste_row_before_desc:"Paste table row before",
|
161
|
-
paste_row_after_desc:"Paste table row after",
|
162
|
-
cut_row_desc:"Cut table row",
|
163
|
-
copy_row_desc:"Copy table row",
|
164
|
-
del:"Delete table",
|
165
|
-
row:"Row",
|
166
|
-
col:"Column",
|
167
|
-
cell:"Cell"
|
168
|
-
},
|
169
|
-
autosave:{
|
170
|
-
unload_msg:"The changes you made will be lost if you navigate away from this page.",
|
171
|
-
restore_content:"Restore auto-saved content.",
|
172
|
-
warning_message:"If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?."
|
173
|
-
},
|
174
|
-
fullscreen:{
|
175
|
-
desc:"Toggle fullscreen mode"
|
176
|
-
},
|
177
|
-
media:{
|
178
|
-
desc:"Insert / edit embedded media",
|
179
|
-
edit:"Edit embedded media"
|
180
|
-
},
|
181
|
-
fullpage:{
|
182
|
-
desc:"Document properties"
|
183
|
-
},
|
184
|
-
template:{
|
185
|
-
desc:"Insert predefined template content"
|
186
|
-
},
|
187
|
-
visualchars:{
|
188
|
-
desc:"Visual control characters on/off."
|
189
|
-
},
|
190
|
-
spellchecker:{
|
191
|
-
desc:"Toggle spellchecker",
|
192
|
-
menu:"Spellchecker settings",
|
193
|
-
ignore_word:"Ignore word",
|
194
|
-
ignore_words:"Ignore all",
|
195
|
-
langs:"Languages",
|
196
|
-
wait:"Please wait...",
|
197
|
-
sug:"Suggestions",
|
198
|
-
no_sug:"No suggestions",
|
199
|
-
no_mpell:"No misspellings found."
|
200
|
-
},
|
201
|
-
pagebreak:{
|
202
|
-
desc:"Insert page break."
|
203
|
-
},
|
204
|
-
advlist:{
|
205
|
-
types:"Types",
|
206
|
-
def:"Default",
|
207
|
-
lower_alpha:"Lower alpha",
|
208
|
-
lower_greek:"Lower greek",
|
209
|
-
lower_roman:"Lower roman",
|
210
|
-
upper_alpha:"Upper alpha",
|
211
|
-
upper_roman:"Upper roman",
|
212
|
-
circle:"Circle",
|
213
|
-
disc:"Disc",
|
214
|
-
square:"Square"
|
215
|
-
},
|
216
|
-
aria:{
|
217
|
-
rich_text_area:"Rich Text Area"
|
218
|
-
},
|
219
|
-
wordcount:{
|
220
|
-
words: 'Words: '
|
221
|
-
}
|
222
|
-
}});
|