goldberg_generator 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. data/USAGE +34 -0
  2. data/goldberg_generator.rb +463 -0
  3. data/templates/README_GOLDBERG +22 -0
  4. data/templates/app/views/layouts/application.rhtml +80 -0
  5. data/templates/layouts/ewnf/README +8 -0
  6. data/templates/layouts/ewnf/app/views/layouts/application.rhtml +74 -0
  7. data/templates/layouts/ewnf/public/images/bg.gif +0 -0
  8. data/templates/layouts/ewnf/public/images/daddy_rightarrow.gif +0 -0
  9. data/templates/layouts/ewnf/public/images/sample.jpg +0 -0
  10. data/templates/layouts/ewnf/public/images/title_img.jpg +0 -0
  11. data/templates/layouts/ewnf/public/stylesheets/layout.css +223 -0
  12. data/templates/layouts/snooker/app/views/layouts/application.rhtml +74 -0
  13. data/templates/layouts/snooker/public/images/column_200.png +0 -0
  14. data/templates/layouts/snooker/public/images/daddy_rightarrow.gif +0 -0
  15. data/templates/layouts/snooker/public/images/footer_bg.png +0 -0
  16. data/templates/layouts/snooker/public/images/logo.jpg +0 -0
  17. data/templates/layouts/snooker/public/stylesheets/layout.css +183 -0
  18. data/templates/layouts/spoiled_brat/LICENSE.txt +211 -0
  19. data/templates/layouts/spoiled_brat/README +8 -0
  20. data/templates/layouts/spoiled_brat/app/views/layouts/application.rhtml +71 -0
  21. data/templates/layouts/spoiled_brat/public/images/blockquote-bg.gif +0 -0
  22. data/templates/layouts/spoiled_brat/public/images/body-bg.jpg +0 -0
  23. data/templates/layouts/spoiled_brat/public/images/centerColumn-bg.jpg +0 -0
  24. data/templates/layouts/spoiled_brat/public/images/daddy_leftarrow.gif +0 -0
  25. data/templates/layouts/spoiled_brat/public/images/h2-bg.gif +0 -0
  26. data/templates/layouts/spoiled_brat/public/images/h3-bg.gif +0 -0
  27. data/templates/layouts/spoiled_brat/public/images/header-bg.jpg +0 -0
  28. data/templates/layouts/spoiled_brat/public/images/hr-bg.jpg +0 -0
  29. data/templates/layouts/spoiled_brat/public/images/logo.jpg +0 -0
  30. data/templates/layouts/spoiled_brat/public/stylesheets/layout.css +379 -0
  31. data/templates/public/goldberg/images/action.png +0 -0
  32. data/templates/public/goldberg/images/add.png +0 -0
  33. data/templates/public/goldberg/images/bodybg.jpg +0 -0
  34. data/templates/public/goldberg/images/delete.png +0 -0
  35. data/templates/public/goldberg/images/down.png +0 -0
  36. data/templates/public/goldberg/images/footerbg.jpg +0 -0
  37. data/templates/public/goldberg/images/logo_right.jpg +0 -0
  38. data/templates/public/goldberg/images/menuhover.jpg +0 -0
  39. data/templates/public/goldberg/images/page.png +0 -0
  40. data/templates/public/goldberg/images/permission.png +0 -0
  41. data/templates/public/goldberg/images/role.png +0 -0
  42. data/templates/public/goldberg/images/up.png +0 -0
  43. data/templates/public/goldberg/javascripts/suckerfish.js +12 -0
  44. data/templates/public/goldberg/stylesheets/goldberg.css +142 -0
  45. data/templates/public/goldberg/stylesheets/layout.css +321 -0
  46. data/templates/public/goldberg/stylesheets/suckerfish.css +124 -0
  47. data/templates/vendor/plugins/goldberg/app/controllers/goldberg/auth_controller.rb +104 -0
  48. data/templates/vendor/plugins/goldberg/app/controllers/goldberg/content_pages_controller.rb +197 -0
  49. data/templates/vendor/plugins/goldberg/app/controllers/goldberg/controller_actions_controller.rb +134 -0
  50. data/templates/vendor/plugins/goldberg/app/controllers/goldberg/menu_items_controller.rb +184 -0
  51. data/templates/vendor/plugins/goldberg/app/controllers/goldberg/permissions_controller.rb +60 -0
  52. data/templates/vendor/plugins/goldberg/app/controllers/goldberg/roles_controller.rb +85 -0
  53. data/templates/vendor/plugins/goldberg/app/controllers/goldberg/roles_permissions_controller.rb +65 -0
  54. data/templates/vendor/plugins/goldberg/app/controllers/goldberg/site_controllers_controller.rb +157 -0
  55. data/templates/vendor/plugins/goldberg/app/controllers/goldberg/system_settings_controller.rb +75 -0
  56. data/templates/vendor/plugins/goldberg/app/controllers/goldberg/users_controller.rb +293 -0
  57. data/templates/vendor/plugins/goldberg/app/helpers/goldberg/auth_helper.rb +4 -0
  58. data/templates/vendor/plugins/goldberg/app/helpers/goldberg/content_pages_helper.rb +23 -0
  59. data/templates/vendor/plugins/goldberg/app/helpers/goldberg/controller_actions_helper.rb +5 -0
  60. data/templates/vendor/plugins/goldberg/app/helpers/goldberg/menu_items_helper.rb +4 -0
  61. data/templates/vendor/plugins/goldberg/app/helpers/goldberg/permissions_helper.rb +4 -0
  62. data/templates/vendor/plugins/goldberg/app/helpers/goldberg/roles_helper.rb +4 -0
  63. data/templates/vendor/plugins/goldberg/app/helpers/goldberg/roles_permissions_helper.rb +4 -0
  64. data/templates/vendor/plugins/goldberg/app/helpers/goldberg/site_controllers_helper.rb +4 -0
  65. data/templates/vendor/plugins/goldberg/app/helpers/goldberg/system_settings_helper.rb +4 -0
  66. data/templates/vendor/plugins/goldberg/app/helpers/goldberg/users_helper.rb +4 -0
  67. data/templates/vendor/plugins/goldberg/app/models/goldberg/content_page.rb +134 -0
  68. data/templates/vendor/plugins/goldberg/app/models/goldberg/controller_action.rb +86 -0
  69. data/templates/vendor/plugins/goldberg/app/models/goldberg/credentials.rb +128 -0
  70. data/templates/vendor/plugins/goldberg/app/models/goldberg/menu.rb +198 -0
  71. data/templates/vendor/plugins/goldberg/app/models/goldberg/menu_item.rb +127 -0
  72. data/templates/vendor/plugins/goldberg/app/models/goldberg/permission.rb +37 -0
  73. data/templates/vendor/plugins/goldberg/app/models/goldberg/role.rb +68 -0
  74. data/templates/vendor/plugins/goldberg/app/models/goldberg/roles_permission.rb +18 -0
  75. data/templates/vendor/plugins/goldberg/app/models/goldberg/site_controller.rb +59 -0
  76. data/templates/vendor/plugins/goldberg/app/models/goldberg/system_settings.rb +112 -0
  77. data/templates/vendor/plugins/goldberg/app/models/goldberg/user.rb +69 -0
  78. data/templates/vendor/plugins/goldberg/app/models/goldberg/user_mailer.rb +43 -0
  79. data/templates/vendor/plugins/goldberg/app/views/goldberg/auth/_login.rhtml +15 -0
  80. data/templates/vendor/plugins/goldberg/app/views/goldberg/auth/login.rhtml +22 -0
  81. data/templates/vendor/plugins/goldberg/app/views/goldberg/auth/logout.rhtml +2 -0
  82. data/templates/vendor/plugins/goldberg/app/views/goldberg/content_pages/_fck_create_folder.rxml +6 -0
  83. data/templates/vendor/plugins/goldberg/app/views/goldberg/content_pages/_fck_files.rxml +19 -0
  84. data/templates/vendor/plugins/goldberg/app/views/goldberg/content_pages/_form.rhtml +32 -0
  85. data/templates/vendor/plugins/goldberg/app/views/goldberg/content_pages/edit.rhtml +10 -0
  86. data/templates/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml +58 -0
  87. data/templates/vendor/plugins/goldberg/app/views/goldberg/content_pages/list.rhtml +22 -0
  88. data/templates/vendor/plugins/goldberg/app/views/goldberg/content_pages/new.rhtml +8 -0
  89. data/templates/vendor/plugins/goldberg/app/views/goldberg/content_pages/show.rhtml +57 -0
  90. data/templates/vendor/plugins/goldberg/app/views/goldberg/content_pages/view.rhtml +1 -0
  91. data/templates/vendor/plugins/goldberg/app/views/goldberg/content_pages/view_default.rhtml +1 -0
  92. data/templates/vendor/plugins/goldberg/app/views/goldberg/controller_actions/_form.rhtml +53 -0
  93. data/templates/vendor/plugins/goldberg/app/views/goldberg/controller_actions/edit.rhtml +9 -0
  94. data/templates/vendor/plugins/goldberg/app/views/goldberg/controller_actions/list.rhtml +27 -0
  95. data/templates/vendor/plugins/goldberg/app/views/goldberg/controller_actions/new.rhtml +10 -0
  96. data/templates/vendor/plugins/goldberg/app/views/goldberg/controller_actions/show.rhtml +13 -0
  97. data/templates/vendor/plugins/goldberg/app/views/goldberg/layouts/_tabpanel_js.rhtml +52 -0
  98. data/templates/vendor/plugins/goldberg/app/views/goldberg/layouts/_tabpanel_list.rhtml +7 -0
  99. data/templates/vendor/plugins/goldberg/app/views/goldberg/menu_items/_breadcrumbs.rhtml +5 -0
  100. data/templates/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml +42 -0
  101. data/templates/vendor/plugins/goldberg/app/views/goldberg/menu_items/_item_list.rhtml +52 -0
  102. data/templates/vendor/plugins/goldberg/app/views/goldberg/menu_items/_item_parent_list.rhtml +15 -0
  103. data/templates/vendor/plugins/goldberg/app/views/goldberg/menu_items/_menubar.rhtml +21 -0
  104. data/templates/vendor/plugins/goldberg/app/views/goldberg/menu_items/_suckerfish.rhtml +14 -0
  105. data/templates/vendor/plugins/goldberg/app/views/goldberg/menu_items/edit.rhtml +10 -0
  106. data/templates/vendor/plugins/goldberg/app/views/goldberg/menu_items/list-original.rhtml +27 -0
  107. data/templates/vendor/plugins/goldberg/app/views/goldberg/menu_items/list.rhtml +16 -0
  108. data/templates/vendor/plugins/goldberg/app/views/goldberg/menu_items/new.rhtml +9 -0
  109. data/templates/vendor/plugins/goldberg/app/views/goldberg/menu_items/show.rhtml +8 -0
  110. data/templates/vendor/plugins/goldberg/app/views/goldberg/permissions/_form.rhtml +7 -0
  111. data/templates/vendor/plugins/goldberg/app/views/goldberg/permissions/edit.rhtml +9 -0
  112. data/templates/vendor/plugins/goldberg/app/views/goldberg/permissions/list.rhtml +14 -0
  113. data/templates/vendor/plugins/goldberg/app/views/goldberg/permissions/new.rhtml +8 -0
  114. data/templates/vendor/plugins/goldberg/app/views/goldberg/permissions/show.rhtml +38 -0
  115. data/templates/vendor/plugins/goldberg/app/views/goldberg/roles/_form.rhtml +18 -0
  116. data/templates/vendor/plugins/goldberg/app/views/goldberg/roles/edit.rhtml +9 -0
  117. data/templates/vendor/plugins/goldberg/app/views/goldberg/roles/list.rhtml +21 -0
  118. data/templates/vendor/plugins/goldberg/app/views/goldberg/roles/new.rhtml +8 -0
  119. data/templates/vendor/plugins/goldberg/app/views/goldberg/roles/show.rhtml +79 -0
  120. data/templates/vendor/plugins/goldberg/app/views/goldberg/roles_permissions/_form.rhtml +13 -0
  121. data/templates/vendor/plugins/goldberg/app/views/goldberg/roles_permissions/edit.rhtml +9 -0
  122. data/templates/vendor/plugins/goldberg/app/views/goldberg/roles_permissions/list.rhtml +24 -0
  123. data/templates/vendor/plugins/goldberg/app/views/goldberg/roles_permissions/new.rhtml +8 -0
  124. data/templates/vendor/plugins/goldberg/app/views/goldberg/roles_permissions/new_permission_for_role.rhtml +8 -0
  125. data/templates/vendor/plugins/goldberg/app/views/goldberg/roles_permissions/show.rhtml +8 -0
  126. data/templates/vendor/plugins/goldberg/app/views/goldberg/site_controllers/_form.rhtml +15 -0
  127. data/templates/vendor/plugins/goldberg/app/views/goldberg/site_controllers/_list.rhtml +26 -0
  128. data/templates/vendor/plugins/goldberg/app/views/goldberg/site_controllers/edit.rhtml +9 -0
  129. data/templates/vendor/plugins/goldberg/app/views/goldberg/site_controllers/list.rhtml +107 -0
  130. data/templates/vendor/plugins/goldberg/app/views/goldberg/site_controllers/new.rhtml +8 -0
  131. data/templates/vendor/plugins/goldberg/app/views/goldberg/site_controllers/show.rhtml +38 -0
  132. data/templates/vendor/plugins/goldberg/app/views/goldberg/system_settings/_form.rhtml +71 -0
  133. data/templates/vendor/plugins/goldberg/app/views/goldberg/system_settings/edit.rhtml +9 -0
  134. data/templates/vendor/plugins/goldberg/app/views/goldberg/system_settings/list.rhtml +27 -0
  135. data/templates/vendor/plugins/goldberg/app/views/goldberg/system_settings/new.rhtml +8 -0
  136. data/templates/vendor/plugins/goldberg/app/views/goldberg/system_settings/show.rhtml +189 -0
  137. data/templates/vendor/plugins/goldberg/app/views/goldberg/user_mailer/confirmation_request.rhtml +19 -0
  138. data/templates/vendor/plugins/goldberg/app/views/goldberg/user_mailer/reset_password.rhtml +17 -0
  139. data/templates/vendor/plugins/goldberg/app/views/goldberg/user_mailer/reset_password_request.rhtml +23 -0
  140. data/templates/vendor/plugins/goldberg/app/views/goldberg/users/_form.rhtml +53 -0
  141. data/templates/vendor/plugins/goldberg/app/views/goldberg/users/confirm_registration.rhtml +26 -0
  142. data/templates/vendor/plugins/goldberg/app/views/goldberg/users/confirm_registration_submit.rhtml +4 -0
  143. data/templates/vendor/plugins/goldberg/app/views/goldberg/users/create.rhtml +19 -0
  144. data/templates/vendor/plugins/goldberg/app/views/goldberg/users/edit.rhtml +11 -0
  145. data/templates/vendor/plugins/goldberg/app/views/goldberg/users/forgot_password.rhtml +27 -0
  146. data/templates/vendor/plugins/goldberg/app/views/goldberg/users/forgot_password_submit.rhtml +4 -0
  147. data/templates/vendor/plugins/goldberg/app/views/goldberg/users/list.rhtml +18 -0
  148. data/templates/vendor/plugins/goldberg/app/views/goldberg/users/new.rhtml +19 -0
  149. data/templates/vendor/plugins/goldberg/app/views/goldberg/users/reset_password.rhtml +11 -0
  150. data/templates/vendor/plugins/goldberg/app/views/goldberg/users/reset_password_submit.rhtml +3 -0
  151. data/templates/vendor/plugins/goldberg/app/views/goldberg/users/show.rhtml +33 -0
  152. data/templates/vendor/plugins/goldberg/db/ContentPage.yml +466 -0
  153. data/templates/vendor/plugins/goldberg/db/ControllerAction.yml +162 -0
  154. data/templates/vendor/plugins/goldberg/db/MenuItem.yml +109 -0
  155. data/templates/vendor/plugins/goldberg/db/Permission.yml +21 -0
  156. data/templates/vendor/plugins/goldberg/db/Role.yml +493 -0
  157. data/templates/vendor/plugins/goldberg/db/RolesPermission.yml +26 -0
  158. data/templates/vendor/plugins/goldberg/db/SiteController.yml +61 -0
  159. data/templates/vendor/plugins/goldberg/db/SystemSettings.yml +21 -0
  160. data/templates/vendor/plugins/goldberg/db/User.yml +15 -0
  161. data/templates/vendor/plugins/goldberg/db/migrate/001_initial_setup.rb +128 -0
  162. data/templates/vendor/plugins/goldberg/db/migrate/002_menu_rest_items_users_cached_content_pages.rb +26 -0
  163. data/templates/vendor/plugins/goldberg/db/migrate/003_self_registration.rb +54 -0
  164. data/templates/vendor/plugins/goldberg/db/migrate/004_column_fixes.rb +119 -0
  165. data/templates/vendor/plugins/goldberg/init.rb +13 -0
  166. data/templates/vendor/plugins/goldberg/lib/goldberg.rb +37 -0
  167. data/templates/vendor/plugins/goldberg/lib/goldberg/controller.rb +11 -0
  168. data/templates/vendor/plugins/goldberg/lib/goldberg/filters.rb +197 -0
  169. data/templates/vendor/plugins/goldberg/lib/goldberg/helper.rb +66 -0
  170. data/templates/vendor/plugins/goldberg/lib/goldberg/migration.rb +113 -0
  171. data/templates/vendor/plugins/goldberg/lib/goldberg/migrator.rb +128 -0
  172. data/templates/vendor/plugins/goldberg/lib/goldberg/model.rb +110 -0
  173. data/templates/vendor/plugins/goldberg/lib/goldberg/routes.rb +49 -0
  174. data/templates/vendor/plugins/goldberg/lib/goldberg/test_helper.rb +82 -0
  175. data/templates/vendor/plugins/goldberg/tasks/goldberg_tasks.rake +47 -0
  176. data/templates/vendor/plugins/goldberg/test/functional/content_pages_controller_test.rb +31 -0
  177. data/templates/vendor/plugins/goldberg/test/integration/security_test.rb +134 -0
  178. data/templates/vendor/plugins/goldberg/test/test_helper.rb +40 -0
  179. data/templates/vendor/plugins/goldberg/test/unit/content_page_test.rb +87 -0
  180. data/templates/vendor/plugins/goldberg/test/unit/controller_action_test.rb +85 -0
  181. data/templates/vendor/plugins/goldberg/test/unit/menu_item_test.rb +46 -0
  182. data/templates/vendor/plugins/goldberg/test/unit/permission_test.rb +35 -0
  183. data/templates/vendor/plugins/goldberg/test/unit/site_controller_test.rb +53 -0
  184. data/templates/vendor/plugins/goldberg/test/unit/system_settings_test.rb +71 -0
  185. data/templates/vendor/plugins/goldberg/test/unit/user_test.rb +104 -0
  186. metadata +310 -0
@@ -0,0 +1,183 @@
1
+ body {
2
+ background: #6d7a73 ;
3
+ font: 85% Verdana,Tahoma,Arial,sans-serif ;
4
+ padding: 6px ;
5
+ }
6
+
7
+ a {
8
+ color: #986633 ;
9
+ background-color: transparent ;
10
+ text-decoration: none ;
11
+ margin: 0 ;
12
+ padding: 0 1px 2px 1px ;
13
+ }
14
+
15
+ a:hover {
16
+ color: #6D7A73 ;
17
+ text-decoration: underline ;
18
+ }
19
+
20
+ .wrapper {
21
+ background: white url('/goldberg/images/column_200.png') repeat-y right ;
22
+ }
23
+
24
+ .header * {
25
+ margin: 0 ;
26
+ padding: 0 ;
27
+ }
28
+
29
+ .header {
30
+ height: 90px ;
31
+ color: #fafaea ;
32
+ background: #003e00 ;
33
+ }
34
+
35
+ .header img {
36
+ position: relative ;
37
+ float: right ;
38
+ height: 90px ;
39
+ }
40
+
41
+ .header h1 {
42
+ font-size: 2em ;
43
+ padding: 15px 0 0 20px ;
44
+ }
45
+
46
+ .header h2 {
47
+ font-size: .75em ;
48
+ padding: 6px 0 0 20px ;
49
+ }
50
+
51
+ .navbar {
52
+ height: 2em ;
53
+ background-color: #762d27 ;
54
+ }
55
+
56
+ #suckerfish * {
57
+ margin: 0 ;
58
+ padding: 0 ;
59
+ }
60
+
61
+ #suckerfish, #suckerfish ul {
62
+ padding: 0 ;
63
+ margin: 0 ;
64
+ width: 100% ;
65
+ list-style: none ;
66
+ line-height: 2em ;
67
+ z-index: 999 ;
68
+ }
69
+
70
+ #suckerfish a {
71
+ color: white ;
72
+ display: block ;
73
+ }
74
+
75
+ #suckerfish a:hover {
76
+ color: #f4ec7d ;
77
+ text-decoration: none ;
78
+ }
79
+
80
+ #suckerfish li {
81
+ padding: 0 .75em 0 .75em ;
82
+ float: left ;
83
+ }
84
+
85
+ #suckerfish li ul li a {
86
+ margin-left: .25em ;
87
+ width: 10.75em ;
88
+ }
89
+
90
+ #suckerfish li ul li a.daddy {
91
+ background-image: url("/goldberg/images/daddy_rightarrow.gif") ;
92
+ background-position: right center ;
93
+ background-repeat: no-repeat ;
94
+ }
95
+
96
+ #suckerfish li ul li {
97
+ padding: 0 ;
98
+ width: 11em ;
99
+ border-bottom: .075em solid white ;
100
+ border-right: .075em solid white ;
101
+ }
102
+
103
+ #suckerfish li ul {
104
+ position: absolute ;
105
+ background: #6d7a73 ;
106
+ width: 11em ;
107
+ left: -999em ;
108
+ }
109
+
110
+ #suckerfish li ul ul {
111
+ margin: -2em 0 0 11.075em ;
112
+ }
113
+
114
+ #suckerfish li:hover ul ul, #suckerfish li.sfhover ul ul {
115
+ left: -999em ;
116
+ }
117
+
118
+ #suckerfish li:hover ul, #suckerfish li li:hover ul, #suckerfish li.sfhover ul, #suckerfish li li.sfhover ul {
119
+ left: auto ;
120
+ }
121
+
122
+
123
+ .container {
124
+ width: 100%;
125
+ background: white url('/goldberg/images/column_200.png') repeat-y right ;
126
+ float: left ;
127
+ margin-right: -200px ;
128
+ }
129
+
130
+ .main {
131
+ background: white ;
132
+ margin-right: 200px ;
133
+ }
134
+
135
+ .breadcrumbs {
136
+ font-size: .75em ;
137
+ background: #fafaea;
138
+ border-top: 1px solid #986633 ;
139
+ border-bottom: 1px solid #986633 ;
140
+ margin-bottom: 8px ;
141
+ }
142
+
143
+ .sidebar {
144
+ width: 200px ;
145
+ float: right ;
146
+ }
147
+
148
+ .content {
149
+ margin: 16px ;
150
+ }
151
+
152
+ .sidecontent {
153
+ margin: 16px ;
154
+ }
155
+
156
+ .footer {
157
+ color: white ;
158
+ background: #6d7a73 url('/goldberg/images/footer_bg.png') repeat-x top ;
159
+ padding: 8px ;
160
+ }
161
+
162
+ .footer a {
163
+ color: #F4EC7D ;
164
+ text-decoration: none ;
165
+ }
166
+
167
+ .footer a:hover {
168
+ color: white ;
169
+ text-decoration: underline ;
170
+ }
171
+
172
+ h1 {
173
+ margin-top: 0 ;
174
+ }
175
+
176
+ .last {
177
+ margin-bottom: 0 ;
178
+ }
179
+
180
+ .clearing {
181
+ height: 0 ;
182
+ clear: both ;
183
+ }
@@ -0,0 +1,211 @@
1
+ THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE
2
+ ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE
3
+ OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
4
+
5
+ BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS
6
+ OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE
7
+ OF SUCH TERMS AND CONDITIONS.
8
+
9
+ 1. Definitions
10
+
11
+ a. "Collective Work" means a work, such as a periodical issue, anthology or encyclopedia,
12
+ in which the Work in its entirety in unmodified form, along with a number of other
13
+ contributions, constituting separate and independent works in themselves, are assembled
14
+ into a collective whole. A work that constitutes a Collective Work will not be
15
+ considered a Derivative Work (as defined below) for the purposes of this License.
16
+
17
+ b. "Derivative Work" means a work based upon the Work or upon the Work and other
18
+ pre-existing works, such as a translation, musical arrangement, dramatization,
19
+ fictionalization, motion picture version, sound recording, art reproduction, abridgment,
20
+ condensation, or any other form in which the Work may be recast, transformed, or adapted,
21
+ except that a work that constitutes a Collective Work will not be considered a Derivative
22
+ Work for the purpose of this License. For the avoidance of doubt, where the Work is a
23
+ musical composition or sound recording, the synchronization of the Work in timed-relation
24
+ with a moving image ("synching") will be considered a Derivative Work for the purpose of
25
+ this License.
26
+
27
+ c. "Licensor" means the individual or entity that offers the Work under the terms of this
28
+ License.
29
+
30
+ d. "Original Author" means the individual or entity who created the Work.
31
+
32
+ e. "Work" means the copyrightable work of authorship offered under the terms of this
33
+ License.
34
+
35
+ f. "You" means an individual or entity exercising rights under this License who has not
36
+ previously violated the terms of this License with respect to the Work, or who has
37
+ received express permission from the Licensor to exercise rights under this License
38
+ despite a previous violation.
39
+
40
+ g. "License Elements" means the following high-level license attributes as selected by
41
+ Licensor and indicated in the title of this License: Attribution, ShareAlike.
42
+
43
+ 2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights
44
+ arising from fair use, first sale or other limitations on the exclusive rights of the copyright
45
+ owner under copyright law or other applicable laws.
46
+
47
+ 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants
48
+ You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable
49
+ copyright) license to exercise the rights in the Work as stated below:
50
+
51
+ a. to reproduce the Work, to incorporate the Work into one or more Collective Works, and to
52
+ reproduce the Work as incorporated in the Collective Works;
53
+
54
+ b. to create and reproduce Derivative Works;
55
+
56
+ c. to distribute copies or phonorecords of, display publicly, perform publicly, and perform
57
+ publicly by means of a digital audio transmission the Work including as incorporated in
58
+ Collective Works;
59
+
60
+ d. to distribute copies or phonorecords of, display publicly, perform publicly, and perform
61
+ publicly by means of a digital audio transmission Derivative Works.
62
+
63
+ e. For the avoidance of doubt, where the work is a musical composition:
64
+
65
+ i. Performance Royalties Under Blanket Licenses. Licensor waives the exclusive right to
66
+ collect, whether individually or via a performance rights society (e.g. ASCAP, BMI,
67
+ SESAC), royalties for the public performance or public digital performance (e.g.
68
+ webcast) of the Work.
69
+
70
+ ii. Mechanical Rights and Statutory Royalties. Licensor waives the exclusive right to
71
+ collect, whether individually or via a music rights society or designated agent (e.g.
72
+ Harry Fox Agency), royalties for any phonorecord You create from the Work ("cover
73
+ version") and distribute, subject to the compulsory license created by 17 USC Section
74
+ 115 of the US Copyright Act (or the equivalent in other jurisdictions).
75
+
76
+ f. Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is
77
+ a sound recording, Licensor waives the exclusive right to collect, whether individually
78
+ or via a performance-rights society (e.g. SoundExchange), royalties for the public
79
+ digital performance (e.g. webcast) of the Work, subject to the compulsory license created
80
+ by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).
81
+
82
+ The above rights may be exercised in all media and formats whether now known or hereafter devised.
83
+ The above rights include the right to make such modifications as are technically necessary to
84
+ exercise the rights in other media and formats. All rights not expressly granted by Licensor are
85
+ hereby reserved.
86
+
87
+ 4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by
88
+ the following restrictions:
89
+
90
+ a. You may distribute, publicly display, publicly perform, or publicly digitally perform the
91
+ Work only under the terms of this License, and You must include a copy of, or the Uniform
92
+ Resource Identifier for, this License with every copy or phonorecord of the Work You
93
+ distribute, publicly display, publicly perform, or publicly digitally perform. You may
94
+ not offer or impose any terms on the Work that alter or restrict the terms of this
95
+ License or the recipients' exercise of the rights granted hereunder. You may not
96
+ sublicense the Work. You must keep intact all notices that refer to this License and to
97
+ the disclaimer of warranties. You may not distribute, publicly display, publicly perform,
98
+ or publicly digitally perform the Work with any technological measures that control
99
+ access or use of the Work in a manner inconsistent with the terms of this License
100
+ Agreement. The above applies to the Work as incorporated in a Collective Work, but this
101
+ does not require the Collective Work apart from the Work itself to be made subject to the
102
+ terms of this License. If You create a Collective Work, upon notice from any Licensor You
103
+ must, to the extent practicable, remove from the Collective Work any reference to such
104
+ Licensor or the Original Author, as requested. If You create a Derivative Work, upon
105
+ notice from any Licensor You must, to the extent practicable, remove from the Derivative
106
+ Work any reference to such Licensor or the Original Author, as requested.
107
+
108
+ b. You may distribute, publicly display, publicly perform, or publicly digitally perform a
109
+ Derivative Work only under the terms of this License, a later version of this License
110
+ with the same License Elements as this License, or a Creative Commons iCommons license
111
+ that contains the same License Elements as this License (e.g. Attribution-ShareAlike 2.0
112
+ Japan). You must include a copy of, or the Uniform Resource Identifier for, this License
113
+ or other license specified in the previous sentence with every copy or phonorecord of
114
+ each Derivative Work You distribute, publicly display, publicly perform, or publicly
115
+ digitally perform. You may not offer or impose any terms on the Derivative Works that
116
+ alter or restrict the terms of this License or the recipients' exercise of the rights
117
+ granted hereunder, and You must keep intact all notices that refer to this License and to
118
+
119
+ the disclaimer of warranties. You may not distribute, publicly display, publicly perform,
120
+ or publicly digitally perform the Derivative Work with any technological measures that
121
+ control access or use of the Work in a manner inconsistent with the terms of this License
122
+ Agreement. The above applies to the Derivative Work as incorporated in a Collective Work,
123
+ but this does not require the Collective Work apart from the Derivative Work itself to be
124
+ made subject to the terms of this License.
125
+
126
+ c. If you distribute, publicly display, publicly perform, or publicly digitally perform the
127
+ Work or any Derivative Works or Collective Works, You must keep intact all copyright
128
+ notices for the Work and give the Original Author credit reasonable to the medium or
129
+ means You are utilizing by conveying the name (or pseudonym if applicable) of the
130
+ Original Author if supplied; the title of the Work if supplied; to the extent reasonably
131
+ practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be
132
+ associated with the Work, unless such URI does not refer to the copyright notice or
133
+ licensing information for the Work; and in the case of a Derivative Work, a credit
134
+ identifying the use of the Work in the Derivative Work (e.g., "French translation of the
135
+ Work by Original Author," or "Screenplay based on original Work by Original Author").
136
+ Such credit may be implemented in any reasonable manner; provided, however, that in the
137
+ case of a Derivative Work or Collective Work, at a minimum such credit will appear where
138
+ any other comparable authorship credit appears and in a manner at least as prominent as
139
+ such other comparable authorship credit.
140
+
141
+ 5. Representations, Warranties and Disclaimer
142
+
143
+ UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO
144
+ REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE MATERIALS, EXPRESS, IMPLIED, STATUTORY OR
145
+ OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A
146
+ PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE
147
+ PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE
148
+ EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
149
+
150
+ 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL
151
+ LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE
152
+ OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN
153
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
154
+
155
+ 7. Termination
156
+
157
+ a. This License and the rights granted hereunder will terminate automatically upon any
158
+ breach by You of the terms of this License. Individuals or entities who have received
159
+ Derivative Works or Collective Works from You under this License, however, will not have
160
+ their licenses terminated provided such individuals or entities remain in full compliance
161
+ with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this
162
+ License.
163
+
164
+ b. Subject to the above terms and conditions, the license granted here is perpetual (for the
165
+ duration of the applicable copyright in the Work). Notwithstanding the above, Licensor
166
+ reserves the right to release the Work under different license terms or to stop
167
+ distributing the Work at any time; provided, however that any such election will not
168
+ serve to withdraw this License (or any other license that has been, or is required to be,
169
+ granted under the terms of this License), and this License will continue in full force
170
+ and effect unless terminated as stated above.
171
+
172
+ 8. Miscellaneous
173
+
174
+ a. Each time You distribute or publicly digitally perform the Work or a Collective Work, the
175
+ Licensor offers to the recipient a license to the Work on the same terms and conditions
176
+ as the license granted to You under this License.
177
+
178
+ b. Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers
179
+ to the recipient a license to the original Work on the same terms and conditions as the
180
+ license granted to You under this License.
181
+
182
+ c. If any provision of this License is invalid or unenforceable under applicable law, it
183
+ shall not affect the validity or enforceability of the remainder of the terms of this
184
+ License, and without further action by the parties to this agreement, such provision
185
+ shall be reformed to the minimum extent necessary to make such provision valid and
186
+ enforceable.
187
+
188
+ d. No term or provision of this License shall be deemed waived and no breach consented to
189
+ unless such waiver or consent shall be in writing and signed by the party to be charged
190
+ with such waiver or consent.
191
+
192
+ e. This License constitutes the entire agreement between the parties with respect to the
193
+ Work licensed here. There are no understandings, agreements or representations with
194
+ respect to the Work not specified here. Licensor shall not be bound by any additional
195
+ provisions that may appear in any communication from You. This License may not be
196
+ modified without the mutual written agreement of the Licensor and You.
197
+
198
+ Creative Commons is not a party to this License, and makes no warranty whatsoever in connection
199
+ with the Work. Creative Commons will not be liable to You or any party on any legal theory for
200
+ any damages whatsoever, including without limitation any general, special, incidental or
201
+ consequential damages arising in connection to this license. Notwithstanding the foregoing two
202
+ (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder,
203
+ it shall have all rights and obligations of Licensor.
204
+
205
+ Except for the limited purpose of indicating to the public that the Work is licensed under the
206
+ CCPL, neither party will use the trademark "Creative Commons" or any related trademark or logo
207
+ of Creative Commons without the prior written consent of Creative Commons. Any permitted use will
208
+ be in compliance with Creative Commons' then-current trademark usage guidelines, as may be
209
+ published on its website or otherwise made available upon request from time to time.
210
+
211
+ Creative Commons may be contacted at http://creativecommons.org/.
@@ -0,0 +1,8 @@
1
+ SPOILED BRAT (spoiled_brat)
2
+
3
+ by Rayk Web Design
4
+
5
+
6
+ Website: http://www.raykdesign.net/
7
+ Source: http://www.openwebdesign.org/download.phtml/spoiled_brat.zip?id=2894
8
+ License: Creative Commons
@@ -0,0 +1,71 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3
+ <head>
4
+
5
+ <title><%= goldberg_title %></title>
6
+
7
+ <!--meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /-->
8
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
9
+
10
+ <link rel="stylesheet" href="/goldberg/stylesheets/goldberg.css"
11
+ type="text/css" media="screen" />
12
+ <link rel="stylesheet" href="/goldberg/stylesheets/layout.css"
13
+ type="text/css" media="screen" />
14
+
15
+ <script type="text/javascript" src="/goldberg/javascripts/suckerfish.js"></script>
16
+
17
+ <%= javascript_include_tag :defaults %>
18
+
19
+ <% if defined?(RAILS_ROOT)
20
+ if File.exists?("#{RAILS_ROOT}/public/stylesheets/ajax_scaffold.css") -%>
21
+ <%= stylesheet_link_tag 'ajax_scaffold', :media => 'all' %>
22
+ <% end
23
+ if File.exists?("#{RAILS_ROOT}/public/javascripts/ajax_scaffold.js") -%>
24
+ <%= javascript_include_tag 'rico_corner', 'ajax_scaffold' %>
25
+ <% end
26
+ end -%>
27
+
28
+ </head>
29
+ <body>
30
+ <div id="header"><img alt="Logo" src="/goldberg/images/logo.jpg" />
31
+ <h1><%= Goldberg.settings.site_name %></h1>
32
+ <h3><%= Goldberg.settings.site_subtitle %></h3>
33
+ </div><!--//end #header//-->
34
+
35
+ <div class="centerColumn clearfix">
36
+
37
+ <div id="rightColumn">
38
+ <h3>Navigation</h3>
39
+ <div class="rightmenu">
40
+ <ul id="suckerfish">
41
+ <%= goldberg_suckerfish_menu %>
42
+ </ul>
43
+ </div>
44
+ <div class="clearing"></div>
45
+
46
+ <h3>Authentication</h3>
47
+
48
+ <div class="auth">
49
+ <%= goldberg_login %>
50
+ </div>
51
+
52
+ </div><!--//end #rightColumn//-->
53
+
54
+ <div class="breadcrumbs">
55
+ <%= goldberg_breadcrumbs %>
56
+ </div>
57
+
58
+ <% if flash[:note] -%>
59
+ <div class="flash_note"><%= flash[:note] %></div>
60
+ <% elsif flash[:error] -%>
61
+ <div class="flash_error"><h1>Error!</h1><%= flash[:error] %></div>
62
+ <% end -%>
63
+
64
+ <%= yield %>
65
+
66
+ </div><!--//end #centerColumn//-->
67
+
68
+ <div id="footer"><%= Goldberg.settings.footer_message %></div><!--//end #footer//-->
69
+
70
+ </body>
71
+ </html>