refinerycms-core 0.9.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (305) hide show
  1. data/app/controllers/admin/base_controller.rb +10 -0
  2. data/app/controllers/admin/dialogs_controller.rb +26 -0
  3. data/app/controllers/admin/refinery_core_controller.rb +12 -0
  4. data/app/controllers/application_controller.rb +6 -0
  5. data/app/controllers/refinery/fast_controller.rb +9 -0
  6. data/app/controllers/sitemap_controller.rb +14 -0
  7. data/app/helpers/application_helper.rb +5 -0
  8. data/app/views/admin/_head.html.erb +43 -0
  9. data/app/views/admin/_javascripts.html.erb +32 -0
  10. data/app/views/admin/_menu.html.erb +17 -0
  11. data/app/views/admin/dialogs/show.html.erb +19 -0
  12. data/app/views/layouts/admin.html.erb +24 -0
  13. data/app/views/layouts/admin_dialog.html.erb +14 -0
  14. data/app/views/layouts/application.html.erb +21 -0
  15. data/app/views/shared/_content_page.html.erb +63 -0
  16. data/app/views/shared/_draft_page_message.html.erb +3 -0
  17. data/app/views/shared/_footer.html.erb +4 -0
  18. data/app/views/shared/_google_analytics.html.erb +8 -0
  19. data/app/views/shared/_head.html.erb +42 -0
  20. data/app/views/shared/_header.html.erb +8 -0
  21. data/app/views/shared/_html_tag.html.erb +6 -0
  22. data/app/views/shared/_ie6check.html.erb +63 -0
  23. data/app/views/shared/_javascripts.html.erb +10 -0
  24. data/app/views/shared/_menu.html.erb +30 -0
  25. data/app/views/shared/_menu_branch.html.erb +26 -0
  26. data/app/views/shared/_message.html.erb +10 -0
  27. data/app/views/shared/_no_script.html.erb +9 -0
  28. data/app/views/shared/_site_bar.html.erb +25 -0
  29. data/app/views/shared/admin/_continue_editing.html.erb +3 -0
  30. data/app/views/shared/admin/_error_messages.html.erb +16 -0
  31. data/app/views/shared/admin/_form_actions.html.erb +75 -0
  32. data/app/views/shared/admin/_image_picker.html.erb +60 -0
  33. data/app/views/shared/admin/_make_sortable.html.erb +13 -0
  34. data/app/views/shared/admin/_resource_picker.html.erb +66 -0
  35. data/app/views/shared/admin/_search.html.erb +6 -0
  36. data/app/views/shared/admin/_sortable_list.html.erb +7 -0
  37. data/app/views/shared/admin/_tabbed_fields.html.erb +42 -0
  38. data/app/views/welcome.html.erb +17 -0
  39. data/app/views/wymiframe.html.erb +15 -0
  40. data/config/locales/cs.yml +77 -0
  41. data/config/locales/da.yml +75 -0
  42. data/config/locales/de.yml +75 -0
  43. data/config/locales/el.yml +75 -0
  44. data/config/locales/en.yml +75 -0
  45. data/config/locales/es.yml +68 -0
  46. data/config/locales/fr.yml +72 -0
  47. data/config/locales/it.yml +96 -0
  48. data/config/locales/lolcat.yml +68 -0
  49. data/config/locales/lt.yml +75 -0
  50. data/config/locales/lv.yml +72 -0
  51. data/config/locales/nb.yml +75 -0
  52. data/config/locales/nl.yml +75 -0
  53. data/config/locales/pl.yml +75 -0
  54. data/config/locales/pt-BR.yml +72 -0
  55. data/config/locales/rs.yml +76 -0
  56. data/config/locales/ru.yml +71 -0
  57. data/config/locales/sl.yml +72 -0
  58. data/config/locales/sv.yml +75 -0
  59. data/config/locales/vi.yml +75 -0
  60. data/config/locales/zh-CN.yml +75 -0
  61. data/config/locales/zh-TW.yml +75 -0
  62. data/config/routes.rb +19 -0
  63. data/crud.md +197 -0
  64. data/doc/included-jquery-ui-packages.jpg +0 -0
  65. data/engines.md +179 -0
  66. data/features/search.feature +55 -0
  67. data/features/site_bar.feature +24 -0
  68. data/features/step_definitions/core_steps.rb +61 -0
  69. data/features/support/paths.rb +14 -0
  70. data/features/uploads/beach.jpeg +0 -0
  71. data/features/uploads/refinery_is_awesome.txt +1 -0
  72. data/lib/gemspec.rb +43 -0
  73. data/lib/generators/refinerycms_generator.rb +110 -0
  74. data/lib/generators/templates/.gitignore +83 -0
  75. data/lib/generators/templates/app/views/sitemap/index.xml.builder +22 -0
  76. data/lib/generators/templates/autotest/autotest.rb +17 -0
  77. data/lib/generators/templates/autotest/discover.rb +2 -0
  78. data/lib/generators/templates/config/database.yml.mysql +20 -0
  79. data/lib/generators/templates/config/database.yml.postgresql +57 -0
  80. data/lib/generators/templates/config/database.yml.sqlite3 +26 -0
  81. data/lib/generators/templates/config/i18n-js.yml +6 -0
  82. data/lib/generators/templates/config/initializers/devise.rb +142 -0
  83. data/lib/generators/templates/config/settings.rb +2 -0
  84. data/lib/generators/templates/db/seeds.rb +5 -0
  85. data/lib/refinery/activity.rb +45 -0
  86. data/lib/refinery/admin/base_controller.rb +111 -0
  87. data/lib/refinery/admin_base_controller.rb +5 -0
  88. data/lib/refinery/application.rb +48 -0
  89. data/lib/refinery/application_controller.rb +120 -0
  90. data/lib/refinery/application_helper.rb +19 -0
  91. data/lib/refinery/base_presenter.rb +27 -0
  92. data/lib/refinery/catch_all_routes.rb +11 -0
  93. data/lib/refinery/crud.rb +295 -0
  94. data/lib/refinery/helpers/form_helper.rb +66 -0
  95. data/lib/refinery/helpers/head_helper.rb +17 -0
  96. data/lib/refinery/helpers/html_truncation_helper.rb +25 -0
  97. data/lib/refinery/helpers/image_helper.rb +49 -0
  98. data/lib/refinery/helpers/menu_helper.rb +68 -0
  99. data/lib/refinery/helpers/meta_helper.rb +67 -0
  100. data/lib/refinery/helpers/pagination_helper.rb +16 -0
  101. data/lib/refinery/helpers/script_helper.rb +36 -0
  102. data/lib/refinery/helpers/site_bar_helper.rb +24 -0
  103. data/lib/refinery/helpers/tag_helper.rb +21 -0
  104. data/lib/refinery/helpers/translation_helper.rb +17 -0
  105. data/lib/refinery/link_renderer.rb +55 -0
  106. data/lib/refinery/plugin.rb +106 -0
  107. data/lib/refinery/plugins.rb +75 -0
  108. data/lib/refinerycms-core.rb +156 -0
  109. data/lib/tasks/doc.rake +29 -0
  110. data/lib/tasks/refinery.rake +231 -0
  111. data/lib/tasks/yard.rake +30 -0
  112. data/license.md +21 -0
  113. data/public/404.html +26 -0
  114. data/public/422.html +26 -0
  115. data/public/500.html +26 -0
  116. data/public/favicon.ico +0 -0
  117. data/public/images/refinery/add.png +0 -0
  118. data/public/images/refinery/admin_bg.png +0 -0
  119. data/public/images/refinery/ajax-loader.gif +0 -0
  120. data/public/images/refinery/branch-end.gif +0 -0
  121. data/public/images/refinery/branch-start.gif +0 -0
  122. data/public/images/refinery/branch.gif +0 -0
  123. data/public/images/refinery/carousel-left.png +0 -0
  124. data/public/images/refinery/carousel-right.png +0 -0
  125. data/public/images/refinery/cross.png +0 -0
  126. data/public/images/refinery/dialogLoadingAnimation.gif +0 -0
  127. data/public/images/refinery/header_background.png +0 -0
  128. data/public/images/refinery/hover-gradient.jpg +0 -0
  129. data/public/images/refinery/icons/accept.png +0 -0
  130. data/public/images/refinery/icons/add.png +0 -0
  131. data/public/images/refinery/icons/ajax-loader.gif +0 -0
  132. data/public/images/refinery/icons/application_edit.png +0 -0
  133. data/public/images/refinery/icons/application_go.png +0 -0
  134. data/public/images/refinery/icons/arrow_left.png +0 -0
  135. data/public/images/refinery/icons/arrow_switch.png +0 -0
  136. data/public/images/refinery/icons/arrow_up.png +0 -0
  137. data/public/images/refinery/icons/bin.png +0 -0
  138. data/public/images/refinery/icons/bin_closed.png +0 -0
  139. data/public/images/refinery/icons/cancel.png +0 -0
  140. data/public/images/refinery/icons/cog_add.png +0 -0
  141. data/public/images/refinery/icons/cog_edit.png +0 -0
  142. data/public/images/refinery/icons/cross.png +0 -0
  143. data/public/images/refinery/icons/delete.png +0 -0
  144. data/public/images/refinery/icons/doc.png +0 -0
  145. data/public/images/refinery/icons/down.gif +0 -0
  146. data/public/images/refinery/icons/edit.png +0 -0
  147. data/public/images/refinery/icons/email.png +0 -0
  148. data/public/images/refinery/icons/email_edit.png +0 -0
  149. data/public/images/refinery/icons/email_go.png +0 -0
  150. data/public/images/refinery/icons/email_open.png +0 -0
  151. data/public/images/refinery/icons/eye.png +0 -0
  152. data/public/images/refinery/icons/folder_page_white.png +0 -0
  153. data/public/images/refinery/icons/image_add.png +0 -0
  154. data/public/images/refinery/icons/image_edit.png +0 -0
  155. data/public/images/refinery/icons/img.png +0 -0
  156. data/public/images/refinery/icons/information.png +0 -0
  157. data/public/images/refinery/icons/layout_add.png +0 -0
  158. data/public/images/refinery/icons/layout_edit.png +0 -0
  159. data/public/images/refinery/icons/music.png +0 -0
  160. data/public/images/refinery/icons/page_add.png +0 -0
  161. data/public/images/refinery/icons/page_edit.png +0 -0
  162. data/public/images/refinery/icons/page_white_edit.png +0 -0
  163. data/public/images/refinery/icons/page_white_gear.png +0 -0
  164. data/public/images/refinery/icons/page_white_put.png +0 -0
  165. data/public/images/refinery/icons/pdf.png +0 -0
  166. data/public/images/refinery/icons/ppt.png +0 -0
  167. data/public/images/refinery/icons/star.png +0 -0
  168. data/public/images/refinery/icons/tick.png +0 -0
  169. data/public/images/refinery/icons/up.gif +0 -0
  170. data/public/images/refinery/icons/user_add.png +0 -0
  171. data/public/images/refinery/icons/user_comment.png +0 -0
  172. data/public/images/refinery/icons/user_edit.png +0 -0
  173. data/public/images/refinery/icons/xls.png +0 -0
  174. data/public/images/refinery/icons/zip.png +0 -0
  175. data/public/images/refinery/icons/zoom.png +0 -0
  176. data/public/images/refinery/logo-large.png +0 -0
  177. data/public/images/refinery/logo-medium.png +0 -0
  178. data/public/images/refinery/logo-site-bar.png +0 -0
  179. data/public/images/refinery/logo-small-medium.png +0 -0
  180. data/public/images/refinery/logo-small.png +0 -0
  181. data/public/images/refinery/logo-tiny.png +0 -0
  182. data/public/images/refinery/logo.png +0 -0
  183. data/public/images/refinery/nav-3-background.gif +0 -0
  184. data/public/images/refinery/nav_inactive_background.png +0 -0
  185. data/public/images/refinery/orange_button.png +0 -0
  186. data/public/images/refinery/page_bg.png +0 -0
  187. data/public/images/refinery/resolve_digital_footer_logo.png +0 -0
  188. data/public/images/refinery/text_field_background.png +0 -0
  189. data/public/images/refinery/tooltip-nib.gif +0 -0
  190. data/public/images/refinery/tooltip-nib.png +0 -0
  191. data/public/images/wymeditor/skins/refinery/arrow_redo.png +0 -0
  192. data/public/images/wymeditor/skins/refinery/arrow_undo.png +0 -0
  193. data/public/images/wymeditor/skins/refinery/eye.png +0 -0
  194. data/public/images/wymeditor/skins/refinery/iframe/lbl-blockquote.png +0 -0
  195. data/public/images/wymeditor/skins/refinery/iframe/lbl-h1.png +0 -0
  196. data/public/images/wymeditor/skins/refinery/iframe/lbl-h2.png +0 -0
  197. data/public/images/wymeditor/skins/refinery/iframe/lbl-h3.png +0 -0
  198. data/public/images/wymeditor/skins/refinery/iframe/lbl-h4.png +0 -0
  199. data/public/images/wymeditor/skins/refinery/iframe/lbl-h5.png +0 -0
  200. data/public/images/wymeditor/skins/refinery/iframe/lbl-h6.png +0 -0
  201. data/public/images/wymeditor/skins/refinery/iframe/lbl-p.png +0 -0
  202. data/public/images/wymeditor/skins/refinery/iframe/lbl-pre.png +0 -0
  203. data/public/images/wymeditor/skins/refinery/link_add.png +0 -0
  204. data/public/images/wymeditor/skins/refinery/link_break.png +0 -0
  205. data/public/images/wymeditor/skins/refinery/page_code.png +0 -0
  206. data/public/images/wymeditor/skins/refinery/page_paste.png +0 -0
  207. data/public/images/wymeditor/skins/refinery/photo_add.png +0 -0
  208. data/public/images/wymeditor/skins/refinery/right.png +0 -0
  209. data/public/images/wymeditor/skins/refinery/style.png +0 -0
  210. data/public/images/wymeditor/skins/refinery/table_add.png +0 -0
  211. data/public/images/wymeditor/skins/refinery/text_align_center.png +0 -0
  212. data/public/images/wymeditor/skins/refinery/text_align_justify.png +0 -0
  213. data/public/images/wymeditor/skins/refinery/text_align_left.png +0 -0
  214. data/public/images/wymeditor/skins/refinery/text_align_right.png +0 -0
  215. data/public/images/wymeditor/skins/refinery/text_bold.png +0 -0
  216. data/public/images/wymeditor/skins/refinery/text_heading_1.png +0 -0
  217. data/public/images/wymeditor/skins/refinery/text_heading_2.png +0 -0
  218. data/public/images/wymeditor/skins/refinery/text_heading_3.png +0 -0
  219. data/public/images/wymeditor/skins/refinery/text_heading_4.png +0 -0
  220. data/public/images/wymeditor/skins/refinery/text_heading_5.png +0 -0
  221. data/public/images/wymeditor/skins/refinery/text_heading_6.png +0 -0
  222. data/public/images/wymeditor/skins/refinery/text_indent.png +0 -0
  223. data/public/images/wymeditor/skins/refinery/text_indent_remove.png +0 -0
  224. data/public/images/wymeditor/skins/refinery/text_italic.png +0 -0
  225. data/public/images/wymeditor/skins/refinery/text_list_bullets.png +0 -0
  226. data/public/images/wymeditor/skins/refinery/text_list_numbers.png +0 -0
  227. data/public/images/wymeditor/skins/refinery/text_paragraph.png +0 -0
  228. data/public/images/wymeditor/skins/refinery/text_strikethrough.png +0 -0
  229. data/public/images/wymeditor/skins/refinery/text_subscript.png +0 -0
  230. data/public/images/wymeditor/skins/refinery/text_superscript.png +0 -0
  231. data/public/images/wymeditor/skins/refinery/text_underline.png +0 -0
  232. data/public/images/wymeditor/skins/wymeditor_icon.png +0 -0
  233. data/public/javascripts/admin.js +7 -0
  234. data/public/javascripts/application.js +1 -0
  235. data/public/javascripts/dd_belatedpng.js +13 -0
  236. data/public/javascripts/i18n-messages.js +2 -0
  237. data/public/javascripts/jquery-min.js +16 -0
  238. data/public/javascripts/jquery-ui-custom-min.js +251 -0
  239. data/public/javascripts/jquery.js +8176 -0
  240. data/public/javascripts/jquery/GPL-LICENSE.txt +278 -0
  241. data/public/javascripts/jquery/MIT-LICENSE.txt +20 -0
  242. data/public/javascripts/jquery/jquery.corner.js +345 -0
  243. data/public/javascripts/jquery/jquery.html5-placeholder-shim.js +88 -0
  244. data/public/javascripts/jquery/jquery.jcarousel.js +900 -0
  245. data/public/javascripts/jquery/jquery.textTruncate.js +174 -0
  246. data/public/javascripts/jquery/jquery.timers.js +138 -0
  247. data/public/javascripts/modernizr-min.js +30 -0
  248. data/public/javascripts/rails.js +175 -0
  249. data/public/javascripts/refinery/admin.js +1114 -0
  250. data/public/javascripts/refinery/boot_wym.js +285 -0
  251. data/public/javascripts/refinery/core.js +18 -0
  252. data/public/javascripts/refinery/i18n.js +340 -0
  253. data/public/javascripts/refinery/nestedsortables.js +164 -0
  254. data/public/javascripts/refinery/serializelist.js +66 -0
  255. data/public/javascripts/refinery/site_bar.js +16 -0
  256. data/public/javascripts/refinery/submenu.js +49 -0
  257. data/public/javascripts/wymeditor/jquery.refinery.wymeditor.js +5156 -0
  258. data/public/javascripts/wymeditor/lang/ca.js +45 -0
  259. data/public/javascripts/wymeditor/lang/cs.js +45 -0
  260. data/public/javascripts/wymeditor/lang/da.js +48 -0
  261. data/public/javascripts/wymeditor/lang/de.js +45 -0
  262. data/public/javascripts/wymeditor/lang/en.js +47 -0
  263. data/public/javascripts/wymeditor/lang/es.js +48 -0
  264. data/public/javascripts/wymeditor/lang/fa.js +46 -0
  265. data/public/javascripts/wymeditor/lang/fr.js +45 -0
  266. data/public/javascripts/wymeditor/lang/he.js +45 -0
  267. data/public/javascripts/wymeditor/lang/hu.js +45 -0
  268. data/public/javascripts/wymeditor/lang/it.js +48 -0
  269. data/public/javascripts/wymeditor/lang/lv.js +47 -0
  270. data/public/javascripts/wymeditor/lang/nb.js +48 -0
  271. data/public/javascripts/wymeditor/lang/nl.js +47 -0
  272. data/public/javascripts/wymeditor/lang/nn.js +45 -0
  273. data/public/javascripts/wymeditor/lang/pl.js +45 -0
  274. data/public/javascripts/wymeditor/lang/pt-BR.js +47 -0
  275. data/public/javascripts/wymeditor/lang/pt.js +45 -0
  276. data/public/javascripts/wymeditor/lang/rs.js +47 -0
  277. data/public/javascripts/wymeditor/lang/ru.js +45 -0
  278. data/public/javascripts/wymeditor/lang/sl.js +47 -0
  279. data/public/javascripts/wymeditor/lang/sv.js +45 -0
  280. data/public/javascripts/wymeditor/lang/tr.js +45 -0
  281. data/public/javascripts/wymeditor/lang/vi.js +47 -0
  282. data/public/javascripts/wymeditor/lang/zh_cn.js +47 -0
  283. data/public/javascripts/wymeditor/skins/refinery/skin.js +48 -0
  284. data/public/robots.txt +3 -0
  285. data/public/stylesheets/application.css +4 -0
  286. data/public/stylesheets/formatting.css +4 -0
  287. data/public/stylesheets/home.css +4 -0
  288. data/public/stylesheets/refinery/application.css +72 -0
  289. data/public/stylesheets/refinery/formatting.css +57 -0
  290. data/public/stylesheets/refinery/home.css +0 -0
  291. data/public/stylesheets/refinery/refinery.css +1579 -0
  292. data/public/stylesheets/refinery/site_bar.css +87 -0
  293. data/public/stylesheets/refinery/submenu.css +22 -0
  294. data/public/stylesheets/refinery/theme.css +36 -0
  295. data/public/stylesheets/refinery/tooltips.css +34 -0
  296. data/public/stylesheets/refinery/ui.css +107 -0
  297. data/public/stylesheets/theme.css +4 -0
  298. data/public/stylesheets/wymeditor/skins/refinery/skin.css +528 -0
  299. data/public/stylesheets/wymeditor/skins/refinery/wymiframe.css +96 -0
  300. data/public/wymeditor/GPL-license.txt +278 -0
  301. data/public/wymeditor/MIT-license.txt +20 -0
  302. data/public/wymeditor/README +35 -0
  303. data/refinerycms-core.gemspec +391 -0
  304. data/spec/lib/refinery/plugins_spec.rb +90 -0
  305. metadata +482 -0
@@ -0,0 +1,47 @@
1
+ WYMeditor.STRINGS['sl'] = {
2
+ Strong: 'Močno',
3
+ Bold: 'Krepko',
4
+ Emphasis: 'Ležeče',
5
+ Superscript: 'Nadpisano besedilo',
6
+ Subscript: 'Podpisano besedilo',
7
+ Ordered_List: 'Oštevilčen Seznam',
8
+ Unordered_List: 'Označen Seznam',
9
+ Indent: 'Povečaj zamik',
10
+ Outdent: 'Zmanjšaj zamik',
11
+ Undo: 'Razveljavi',
12
+ Redo: 'Redo',
13
+ Link: 'Dodaj Povezavo',
14
+ Unlink: 'Odstrani Povezavo',
15
+ Image: 'Vstavi Sliko',
16
+ Table: 'Vstavi Tabelo',
17
+ HTML: 'HTML',
18
+ Paragraph: 'Odstavek',
19
+ Heading_1: 'Naslov 1',
20
+ Heading_2: 'Naslov 2',
21
+ Heading_3: 'Naslov 3',
22
+ Heading_4: 'Naslov 4',
23
+ Heading_5: 'Naslov 5',
24
+ Heading_6: 'Naslov 6',
25
+ Preformatted: 'Vnaprej Oblikovano',
26
+ Blockquote: 'Navedek',
27
+ Table_Header: 'Glava Tabele',
28
+ URL: 'URL',
29
+ Title: 'Naslov',
30
+ Alternative_Text: 'Alternativno besedilo',
31
+ Caption: 'Napis',
32
+ Summary: 'Povzetek',
33
+ Number_Of_Rows: 'Število vrstic',
34
+ Number_Of_Cols: 'Število stolpcev',
35
+ Insert: 'Vstavi',
36
+ Submit: 'Predloži',
37
+ Cancel: 'Prekliči',
38
+ Choose: 'Izberi',
39
+ Preview: 'Predogled',
40
+ Paste_From_Word: 'Prilepite vaše besedilo spodaj',
41
+ Tools: 'Orodja',
42
+ Containers: 'Zabojniki',
43
+ Classes: 'Razredi',
44
+ Status: 'Status',
45
+ Source_Code: 'Izvorna koda',
46
+ Apply_Style: 'Uporabi slog'
47
+ };
@@ -0,0 +1,45 @@
1
+ WYMeditor.STRINGS['sv'] = {
2
+ Strong: 'Viktigt',
3
+ Emphasis: 'Betoning',
4
+ Superscript: 'Upphöjt',
5
+ Subscript: 'Nedsänkt',
6
+ Ordered_List: 'Nummerlista',
7
+ Unordered_List: 'Punktlista',
8
+ Indent: 'Indrag',
9
+ Outdent: 'Utdrag',
10
+ Undo: 'Ångra',
11
+ Redo: 'Gör om',
12
+ Link: 'Länk',
13
+ Unlink: 'Ta bort länk',
14
+ Image: 'Bild',
15
+ Table: 'Tabell',
16
+ HTML: 'HTML',
17
+ Paragraph: 'Paragraf',
18
+ Heading_1: 'Rubrik 1',
19
+ Heading_2: 'Rubrik 2',
20
+ Heading_3: 'Rubrik 3',
21
+ Heading_4: 'Rubrik 4',
22
+ Heading_5: 'Rubrik 5',
23
+ Heading_6: 'Rubrik 6',
24
+ Preformatted: 'Förformaterad',
25
+ Blockquote: 'Blockcitat',
26
+ Table_Header: 'Tabellrubrik',
27
+ URL: 'URL',
28
+ Title: 'Titel',
29
+ Alternative_Text: 'Alternativ text',
30
+ Caption: 'Överskrift',
31
+ Summary: 'Summary',
32
+ Number_Of_Rows: 'Antal rader',
33
+ Number_Of_Cols: 'Antal kolumner',
34
+ Submit: 'Skicka',
35
+ Cancel: 'Avbryt',
36
+ Choose: 'Välj',
37
+ Preview: 'Förhandsgranska',
38
+ Paste_From_Word: 'Klistra in från Word',
39
+ Tools: 'Verktyg',
40
+ Containers: 'Formatering',
41
+ Classes: 'Klasser',
42
+ Status: 'Status',
43
+ Source_Code: 'Källkod'
44
+ };
45
+
@@ -0,0 +1,45 @@
1
+ WYMeditor.STRINGS['tr'] = {
2
+ Strong: 'Kalın',
3
+ Emphasis: 'Vurgu',
4
+ Superscript: 'Superscript',
5
+ Subscript: 'Subscript',
6
+ Ordered_List: 'Sıralı List',
7
+ Unordered_List: 'Sırasız List',
8
+ Indent: 'İçerlek',
9
+ Outdent: 'Çıkıntılı',
10
+ Undo: 'Geri Al',
11
+ Redo: 'Yinele',
12
+ Link: 'Bağlantı',
13
+ Unlink: 'Bağlantıyı Kaldır',
14
+ Image: 'İmaj',
15
+ Table: 'Tablo',
16
+ HTML: 'HTML',
17
+ Paragraph: 'Parağraf',
18
+ Heading_1: 'Başlık 1',
19
+ Heading_2: 'Başlık 2',
20
+ Heading_3: 'Başlık 3',
21
+ Heading_4: 'Başlık 4',
22
+ Heading_5: 'Başlık 5',
23
+ Heading_6: 'Başlık 6',
24
+ Preformatted: 'Önceden Formatlı',
25
+ Blockquote: 'Alıntı',
26
+ Table_Header: 'Tablo Başlığı',
27
+ URL: 'URL',
28
+ Title: 'Başlık',
29
+ Alternative_Text: 'Alternatif Metin',
30
+ Caption: 'Etiket',
31
+ Summary: 'Summary',
32
+ Number_Of_Rows: 'Satır sayısı',
33
+ Number_Of_Cols: 'Sütun sayısı',
34
+ Submit: 'Gönder',
35
+ Cancel: 'İptal',
36
+ Choose: 'Seç',
37
+ Preview: 'Önizleme',
38
+ Paste_From_Word: 'Wordden yapıştır',
39
+ Tools: 'Araçlar',
40
+ Containers: 'Kapsayıcılar',
41
+ Classes: 'Sınıflar',
42
+ Status: 'Durum',
43
+ Source_Code: 'Kaynak Kodu'
44
+ };
45
+
@@ -0,0 +1,47 @@
1
+ WYMeditor.STRINGS['vi'] = {
2
+ Strong: 'Đậm',
3
+ Bold: 'Đậm',
4
+ Emphasis: 'Nghiêng',
5
+ Superscript: 'Viết lên trên',
6
+ Subscript: 'Viết xuống dưới',
7
+ Ordered_List: 'Danh sách có đánh số',
8
+ Unordered_List: 'Danh sách không đánh số',
9
+ Indent: 'Thụt vào',
10
+ Outdent: 'Bớt thụt vào',
11
+ Undo: 'Undo',
12
+ Redo: 'Redo',
13
+ Link: 'Tạo liên kết',
14
+ Unlink: 'Xóa liên kết',
15
+ Image: 'Chèn ảnh',
16
+ Table: 'Chèn bảng',
17
+ HTML: 'HTML',
18
+ Paragraph: 'Đoạn',
19
+ Heading_1: 'Tiêu đề 1',
20
+ Heading_2: 'Tiêu đề 2',
21
+ Heading_3: 'Tiêu đề 3',
22
+ Heading_4: 'Tiêu đề 4',
23
+ Heading_5: 'Tiêu đề 5',
24
+ Heading_6: 'Tiêu đề 6',
25
+ Preformatted: 'Định dạng sẵn',
26
+ Blockquote: 'Khối trích dẫn',
27
+ Table_Header: 'Tiêu đề bảng',
28
+ URL: 'Địa chỉ',
29
+ Title: 'Tiêu đề',
30
+ Alternative_Text: 'Chữ thay thế',
31
+ Caption: 'Tiêu đề',
32
+ Summary: 'Tóm tắt',
33
+ Number_Of_Rows: 'Số dòng',
34
+ Number_Of_Cols: 'Số cột',
35
+ Insert: 'Chèn',
36
+ Submit: 'Gửi',
37
+ Cancel: 'Hủy',
38
+ Choose: 'Chọn',
39
+ Preview: 'Xem trước',
40
+ Paste_From_Word: 'Dán đoạn văn bản vào bên dưới',
41
+ Tools: 'Công cụ',
42
+ Containers: 'Containers',
43
+ Classes: 'Các class',
44
+ Status: 'Trạng thái',
45
+ Source_Code: 'Mã nguồn',
46
+ Apply_Style: 'Kiểu'
47
+ };
@@ -0,0 +1,47 @@
1
+ WYMeditor.STRINGS['zh_cn'] = {
2
+ Strong: '加粗',
3
+ Emphasis: '斜体',
4
+ Superscript: '上标',
5
+ Subscript: '下标',
6
+ Ordered_List: '有序列表',
7
+ Unordered_List: '无序列表',
8
+ Indent: '增加缩进',
9
+ Outdent: '减少缩进',
10
+ Undo: '撤消',
11
+ Redo: '重做',
12
+ Link: '链接',
13
+ Unlink: '取消链接',
14
+ Image: '图片',
15
+ Table: '表格',
16
+ HTML: 'HTML源代码',
17
+ Paragraph: '段落',
18
+ Heading_1: '标题 1',
19
+ Heading_2: '标题 2',
20
+ Heading_3: '标题 3',
21
+ Heading_4: '标题 4',
22
+ Heading_5: '标题 5',
23
+ Heading_6: '标题 6',
24
+ Preformatted: '原始文本',
25
+ Blockquote: '引语',
26
+ Table_Header: '表头',
27
+ URL: '地址',
28
+ Title: '提示文字',
29
+ Alternative_Text: '失效文字',
30
+ Caption: '标题',
31
+ Summary: 'Summary',
32
+ Number_Of_Rows: '行数',
33
+ Number_Of_Cols: '列数',
34
+ Submit: '提交',
35
+ Cancel: '放弃',
36
+ Choose: '选择',
37
+ Preview: '预览',
38
+ Paste_From_Word: '从Word粘贴纯文本',
39
+ Tools: '工具',
40
+ Containers: '容器',
41
+ Classes: '预定义样式',
42
+ Status: '状态',
43
+ Source_Code: '源代码',
44
+ Attachment: '附件',
45
+ NewParagraph: '新段落'
46
+ };
47
+
@@ -0,0 +1,48 @@
1
+ WYMeditor.SKINS['refinery'] = {
2
+
3
+ init: function(wym) {
4
+ //render following sections as buttons
5
+ $(wym._box).find(wym._options.toolsSelector)
6
+ .addClass('wym_buttons');
7
+
8
+ // auto add some margin to the main area sides if left area
9
+ // or right area are not empty (if they contain sections)
10
+ $(wym._box).find('div.wym_area_right ul')
11
+ .parents('div.wym_area_right').show()
12
+ .parents(wym._options.boxSelector)
13
+ .find('div.wym_area_main')
14
+ .css({'margin-right': '155px'});
15
+
16
+ $(wym._box).find('div.wym_area_left ul')
17
+ .parents('div.wym_area_left').show()
18
+ .parents(wym._options.boxSelector)
19
+ .find('div.wym_area_main')
20
+ .css({'margin-left': '155px'});
21
+
22
+ //make hover work under IE < 7
23
+ $(wym._box).find('.wym_section').hover(function(){
24
+ $(this).addClass('hover');
25
+ },function(){
26
+ $(this).removeClass('hover');
27
+ });
28
+
29
+ // show or hide CSS class options on hover
30
+ $(wym._box).find('.wym_tools_class')
31
+ .hover($.proxy(function(){
32
+ this.toggleClassSelector();
33
+ }, wym), $.proxy(function(){
34
+ this.toggleClassSelector();
35
+ }, wym));
36
+
37
+ // adjust sizing
38
+ $(wym._box).css('width', $(wym._element).width() - 2)
39
+ .find('.wym_iframe iframe').css('width', $(wym._box).width() - 2);
40
+
41
+ $('.button').corner('6px');
42
+ $(".wym_area_top li>a").corner("2px");
43
+
44
+ $(".wym_skin_refinery").animate({
45
+ opacity: 1
46
+ }, 800);
47
+ }
48
+ };
data/public/robots.txt ADDED
@@ -0,0 +1,3 @@
1
+ User-Agent: *
2
+ Disallow: /admin/
3
+ Disallow: /refinery/
@@ -0,0 +1,4 @@
1
+ /*
2
+ Override default refinery application CSS below.
3
+ Formatting applies to all frontend.
4
+ */
@@ -0,0 +1,4 @@
1
+ /*
2
+ Override default refinery formatting below.
3
+ Formatting applies to backend WYSIWYG editors and all frontend.
4
+ */
@@ -0,0 +1,4 @@
1
+ /*
2
+ Override default refinery homepage styles here.
3
+ These only apply to the homepage of your site.
4
+ */
@@ -0,0 +1,72 @@
1
+ body {
2
+ margin: 0px;
3
+ }
4
+ #page, #site_bar_content, footer, header {
5
+ width: 1000px;
6
+ margin: 0px auto;
7
+ }
8
+ #body_content_left {
9
+ float: left;
10
+ width: 590px;
11
+ padding-right: 10px;
12
+ }
13
+ #body_content_right {
14
+ float: right;
15
+ padding-left: 10px;
16
+ width: 390px;
17
+ }
18
+ #body_content.no_body_content_left #body_content_right,
19
+ #body_content.no_body_content_right #body_content_left {
20
+ width: 100%;
21
+ padding-left: 0px;
22
+ padding-right: 0px;
23
+ }
24
+ .menu ul {
25
+ margin: 0px;
26
+ padding: 0px;
27
+ }
28
+ .menu li {
29
+ padding: 0px;
30
+ margin: 0px 9px 0px 0px;
31
+ list-style: none;
32
+ float: left;
33
+ }
34
+ .menu li.last {
35
+ margin-right: 0px;
36
+ }
37
+ .menu li.selected > a {
38
+ font-weight: bold;
39
+ }
40
+ .inquiries form label {
41
+ width: 150px;
42
+ float: left;
43
+ }
44
+ .inquiries form input {
45
+ width: 200px;
46
+ }
47
+ .inquiries form input, .inquiries form textarea {
48
+
49
+ }
50
+ .inquiries form textarea {
51
+
52
+ }
53
+ .inquiries form .actions {
54
+ margin-left: 150px;
55
+ }
56
+ .inquiries form .actions input {
57
+ width: auto;
58
+ }
59
+ .inquiries .field {
60
+ margin: 12px 0px;
61
+ }
62
+ .inquiries form {
63
+ padding-top: 12px;
64
+ }
65
+ .page_not_live {
66
+ border: 1px solid #A00027;
67
+ color: #A00027;
68
+ background: #FFB1B1;
69
+ padding:3px 9px;
70
+ font-weight:bold;
71
+ width:auto;
72
+ }
@@ -0,0 +1,57 @@
1
+ /* Default error colouring */
2
+
3
+ article, nav, header, footer, aside, hgroup, section{
4
+ display:block;
5
+ }
6
+
7
+ div.fieldWithErrors {
8
+ display: inline;
9
+ }
10
+
11
+ #errorExplanation {
12
+ border-top: 3px solid #F27F7F;
13
+ background: #FFBEBE;
14
+ padding: 10px;
15
+ }
16
+
17
+ #errorExplanation, #errorExplanation *, .fieldWithErrors, .fieldWithErrors * {
18
+ color: #9C2626;
19
+ }
20
+
21
+ /* Browser Hacks */
22
+
23
+ /* remove borders from images */
24
+
25
+ a img {
26
+ border: 0px none;
27
+ }
28
+
29
+ /*
30
+ Firefox Dotted Line Fix
31
+ - http://sonspring.com/journal/removing-dotted-links
32
+ */
33
+ a:focus {
34
+ outline: none;
35
+ }
36
+
37
+ /*
38
+ Clearfix docs
39
+ - Main docs: http://positioniseverything.net/easyclearing.html
40
+ - IE7 change: http://www.456bereastreet.com/archive/200603/new_clearing_method_needed_for_ie7/
41
+ */
42
+ .clearfix:after, section:after {
43
+ content: ".";
44
+ display: block;
45
+ height: 0;
46
+ clear: both;
47
+ visibility: hidden;
48
+ }
49
+ .clearfix, section {
50
+ display: inline-block;
51
+ }
52
+
53
+ /* Hide from IE Mac \*/
54
+ .clearfix, section {
55
+ display:block;
56
+ }
57
+ /* End hide from IE Mac */
File without changes