wordpress-starter 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (417) hide show
  1. data/CHANGELOG.md +13 -0
  2. data/README.md +47 -4
  3. data/lib/wordpress-starter.rb +3 -2
  4. data/stylesheets/wordpress/_defaults.scss +267 -20
  5. data/stylesheets/wordpress/_page.scss +0 -363
  6. data/stylesheets/wordpress/_responsive.scss +0 -115
  7. data/stylesheets/wordpress/_theme.scss +0 -82
  8. data/stylesheets/wordpress/_typography.scss +0 -134
  9. data/templates/foundation/404.php +24 -0
  10. data/templates/{starter → foundation}/admin/README.txt +0 -0
  11. data/templates/{starter → foundation}/admin/assets/css/admin-style.css +0 -0
  12. data/templates/{starter → foundation}/admin/assets/css/colorpicker.css +0 -0
  13. data/templates/{starter → foundation}/admin/assets/images/1col.png +0 -0
  14. data/templates/{starter → foundation}/admin/assets/images/2-col-portfolio.png +0 -0
  15. data/templates/{starter → foundation}/admin/assets/images/2cl.png +0 -0
  16. data/templates/{starter → foundation}/admin/assets/images/2cr.png +0 -0
  17. data/templates/{starter → foundation}/admin/assets/images/3-col-portfolio.png +0 -0
  18. data/templates/{starter → foundation}/admin/assets/images/3cm.png +0 -0
  19. data/templates/{starter → foundation}/admin/assets/images/3cr.png +0 -0
  20. data/templates/{starter → foundation}/admin/assets/images/4-col-portfolio.png +0 -0
  21. data/templates/{starter → foundation}/admin/assets/images/accept.png +0 -0
  22. data/templates/{starter → foundation}/admin/assets/images/button_check.png +0 -0
  23. data/templates/{starter → foundation}/admin/assets/images/colorpicker/blank.gif +0 -0
  24. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_background.png +0 -0
  25. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_hex.png +0 -0
  26. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_hsb_b.png +0 -0
  27. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_hsb_h.png +0 -0
  28. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_hsb_s.png +0 -0
  29. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_indic.gif +0 -0
  30. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_overlay.png +0 -0
  31. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_rgb_b.png +0 -0
  32. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_rgb_g.png +0 -0
  33. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_rgb_r.png +0 -0
  34. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_select.gif +0 -0
  35. data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_submit.png +0 -0
  36. data/templates/{starter → foundation}/admin/assets/images/colorpicker/select.png +0 -0
  37. data/templates/{starter → foundation}/admin/assets/images/dropdown-arrow.png +0 -0
  38. data/templates/{starter → foundation}/admin/assets/images/favicon.ico +0 -0
  39. data/templates/{starter → foundation}/admin/assets/images/icon-add.png +0 -0
  40. data/templates/{starter → foundation}/admin/assets/images/icon-backup.png +0 -0
  41. data/templates/{starter → foundation}/admin/assets/images/icon-delete.png +0 -0
  42. data/templates/{starter → foundation}/admin/assets/images/icon-docs.png +0 -0
  43. data/templates/{starter → foundation}/admin/assets/images/icon-edit.png +0 -0
  44. data/templates/{starter → foundation}/admin/assets/images/icon-home.png +0 -0
  45. data/templates/{starter → foundation}/admin/assets/images/icon-info.png +0 -0
  46. data/templates/{starter → foundation}/admin/assets/images/icon-notice.png +0 -0
  47. data/templates/{starter → foundation}/admin/assets/images/icon-paint.png +0 -0
  48. data/templates/{starter → foundation}/admin/assets/images/icon-settings.png +0 -0
  49. data/templates/{starter → foundation}/admin/assets/images/icon-slider.png +0 -0
  50. data/templates/{starter → foundation}/admin/assets/images/icon-warn.png +0 -0
  51. data/templates/{starter → foundation}/admin/assets/images/icon_option.png +0 -0
  52. data/templates/{starter → foundation}/admin/assets/images/loading-bottom.gif +0 -0
  53. data/templates/{starter → foundation}/admin/assets/images/select.png +0 -0
  54. data/templates/{starter → foundation}/admin/assets/images/sign_warning.png +0 -0
  55. data/templates/{starter → foundation}/admin/assets/images/stop.png +0 -0
  56. data/templates/{starter → foundation}/admin/assets/images/toggle_tabs.png +0 -0
  57. data/templates/{starter → foundation}/admin/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  58. data/templates/{starter → foundation}/admin/assets/images/warning.png +0 -0
  59. data/templates/{starter → foundation}/admin/assets/images/wrench.png +0 -0
  60. data/templates/{starter → foundation}/admin/assets/images/wrench16.png +0 -0
  61. data/templates/{starter → foundation}/admin/assets/js/ajaxupload.js +0 -0
  62. data/templates/{starter → foundation}/admin/assets/js/colorpicker.js +0 -0
  63. data/templates/{starter → foundation}/admin/assets/js/cookie.js +0 -0
  64. data/templates/{starter → foundation}/admin/assets/js/jquery.maskedinput-1.2.2.js +0 -0
  65. data/templates/{starter → foundation}/admin/assets/js/jquery.tipsy.js +0 -0
  66. data/templates/{starter → foundation}/admin/assets/js/of-medialibrary-uploader.js +0 -0
  67. data/templates/{starter → foundation}/admin/assets/js/smof.js +0 -0
  68. data/templates/foundation/admin/classes/class.options-machine.php +627 -0
  69. data/templates/{starter → foundation}/admin/front-end/options.php +0 -0
  70. data/templates/{starter → foundation}/admin/functions/functions.admin.php +0 -0
  71. data/templates/{starter → foundation}/admin/functions/functions.interface.php +0 -0
  72. data/templates/{starter → foundation}/admin/functions/functions.load.php +0 -0
  73. data/templates/foundation/admin/functions/functions.mediauploader.php +194 -0
  74. data/templates/foundation/admin/functions/functions.options.php +508 -0
  75. data/templates/{starter → foundation}/admin/functions/functions.php +0 -0
  76. data/templates/{starter → foundation}/admin/index.php +88 -86
  77. data/templates/{starter → foundation}/admin/layouts/default.css +0 -0
  78. data/templates/{starter → foundation}/admin/layouts/placebo.css +0 -0
  79. data/templates/foundation/archive.php +57 -0
  80. data/templates/foundation/category.php +40 -0
  81. data/templates/foundation/comments.php +65 -0
  82. data/templates/foundation/content-aside.php +26 -0
  83. data/templates/foundation/content-image.php +29 -0
  84. data/templates/foundation/content-link.php +27 -0
  85. data/templates/foundation/content-none.php +21 -0
  86. data/templates/foundation/content-page.php +24 -0
  87. data/templates/foundation/content-quote.php +26 -0
  88. data/templates/foundation/content-status.php +33 -0
  89. data/templates/foundation/content.php +67 -0
  90. data/templates/foundation/editor-style.scss +359 -0
  91. data/templates/foundation/footer.php +29 -0
  92. data/templates/foundation/functions.php +1425 -0
  93. data/templates/foundation/header.php +63 -0
  94. data/templates/foundation/ie.scss +1 -0
  95. data/templates/{starter → foundation}/images/bg/bg0.png +0 -0
  96. data/templates/{starter → foundation}/images/bg/bg1.png +0 -0
  97. data/templates/{starter → foundation}/images/bg/bg10.png +0 -0
  98. data/templates/{starter → foundation}/images/bg/bg11.png +0 -0
  99. data/templates/{starter → foundation}/images/bg/bg2.png +0 -0
  100. data/templates/{starter → foundation}/images/bg/bg3.png +0 -0
  101. data/templates/{starter → foundation}/images/bg/bg4.png +0 -0
  102. data/templates/{starter → foundation}/images/bg/bg5.png +0 -0
  103. data/templates/{starter → foundation}/images/bg/bg6.jpg +0 -0
  104. data/templates/{starter → foundation}/images/bg/bg7.jpg +0 -0
  105. data/templates/{starter → foundation}/images/bg/bg8.png +0 -0
  106. data/templates/{starter → foundation}/images/bg/bg9.png +0 -0
  107. data/templates/foundation/images/fairhead-icons/fc-webicon-behance-m.png +0 -0
  108. data/templates/foundation/images/fairhead-icons/fc-webicon-behance-s.png +0 -0
  109. data/templates/foundation/images/fairhead-icons/fc-webicon-behance.png +0 -0
  110. data/templates/foundation/images/fairhead-icons/fc-webicon-behance.svg +48 -0
  111. data/templates/foundation/images/fairhead-icons/fc-webicon-creativecloud-m.png +0 -0
  112. data/templates/foundation/images/fairhead-icons/fc-webicon-creativecloud-s.png +0 -0
  113. data/templates/foundation/images/fairhead-icons/fc-webicon-creativecloud.png +0 -0
  114. data/templates/foundation/images/fairhead-icons/fc-webicon-creativecloud.svg +48 -0
  115. data/templates/foundation/images/fairhead-icons/fc-webicon-dribbble-m.png +0 -0
  116. data/templates/foundation/images/fairhead-icons/fc-webicon-dribbble-s.png +0 -0
  117. data/templates/foundation/images/fairhead-icons/fc-webicon-dribbble.png +0 -0
  118. data/templates/foundation/images/fairhead-icons/fc-webicon-dribbble.svg +28 -0
  119. data/templates/foundation/images/fairhead-icons/fc-webicon-dropbox-m.png +0 -0
  120. data/templates/foundation/images/fairhead-icons/fc-webicon-dropbox-s.png +0 -0
  121. data/templates/foundation/images/fairhead-icons/fc-webicon-dropbox.png +0 -0
  122. data/templates/foundation/images/fairhead-icons/fc-webicon-dropbox.svg +73 -0
  123. data/templates/foundation/images/fairhead-icons/fc-webicon-evernote-m.png +0 -0
  124. data/templates/foundation/images/fairhead-icons/fc-webicon-evernote-s.png +0 -0
  125. data/templates/foundation/images/fairhead-icons/fc-webicon-evernote.png +0 -0
  126. data/templates/foundation/images/fairhead-icons/fc-webicon-evernote.svg +62 -0
  127. data/templates/foundation/images/fairhead-icons/fc-webicon-facebook-m.png +0 -0
  128. data/templates/foundation/images/fairhead-icons/fc-webicon-facebook-s.png +0 -0
  129. data/templates/foundation/images/fairhead-icons/fc-webicon-facebook.png +0 -0
  130. data/templates/foundation/images/fairhead-icons/fc-webicon-facebook.svg +15 -0
  131. data/templates/foundation/images/fairhead-icons/fc-webicon-flickr-m.png +0 -0
  132. data/templates/foundation/images/fairhead-icons/fc-webicon-flickr-s.png +0 -0
  133. data/templates/foundation/images/fairhead-icons/fc-webicon-flickr.png +0 -0
  134. data/templates/foundation/images/fairhead-icons/fc-webicon-flickr.svg +14 -0
  135. data/templates/foundation/images/fairhead-icons/fc-webicon-github-m.png +0 -0
  136. data/templates/foundation/images/fairhead-icons/fc-webicon-github-s.png +0 -0
  137. data/templates/foundation/images/fairhead-icons/fc-webicon-github.png +0 -0
  138. data/templates/foundation/images/fairhead-icons/fc-webicon-github.svg +38 -0
  139. data/templates/foundation/images/fairhead-icons/fc-webicon-googleplus-m.png +0 -0
  140. data/templates/foundation/images/fairhead-icons/fc-webicon-googleplus-s.png +0 -0
  141. data/templates/foundation/images/fairhead-icons/fc-webicon-googleplus.png +0 -0
  142. data/templates/foundation/images/fairhead-icons/fc-webicon-googleplus.svg +52 -0
  143. data/templates/foundation/images/fairhead-icons/fc-webicon-icloud-m.png +0 -0
  144. data/templates/foundation/images/fairhead-icons/fc-webicon-icloud-s.png +0 -0
  145. data/templates/foundation/images/fairhead-icons/fc-webicon-icloud.png +0 -0
  146. data/templates/foundation/images/fairhead-icons/fc-webicon-icloud.svg +26 -0
  147. data/templates/foundation/images/fairhead-icons/fc-webicon-linkedin-m.png +0 -0
  148. data/templates/foundation/images/fairhead-icons/fc-webicon-linkedin-s.png +0 -0
  149. data/templates/foundation/images/fairhead-icons/fc-webicon-linkedin.png +0 -0
  150. data/templates/foundation/images/fairhead-icons/fc-webicon-linkedin.svg +28 -0
  151. data/templates/foundation/images/fairhead-icons/fc-webicon-mail-m.png +0 -0
  152. data/templates/foundation/images/fairhead-icons/fc-webicon-mail-s.png +0 -0
  153. data/templates/foundation/images/fairhead-icons/fc-webicon-mail.png +0 -0
  154. data/templates/foundation/images/fairhead-icons/fc-webicon-mail.svg +27 -0
  155. data/templates/foundation/images/fairhead-icons/fc-webicon-msn-m.png +0 -0
  156. data/templates/foundation/images/fairhead-icons/fc-webicon-msn-s.png +0 -0
  157. data/templates/foundation/images/fairhead-icons/fc-webicon-msn.png +0 -0
  158. data/templates/foundation/images/fairhead-icons/fc-webicon-msn.svg +44 -0
  159. data/templates/foundation/images/fairhead-icons/fc-webicon-pinterest-m.png +0 -0
  160. data/templates/foundation/images/fairhead-icons/fc-webicon-pinterest-s.png +0 -0
  161. data/templates/foundation/images/fairhead-icons/fc-webicon-pinterest.png +0 -0
  162. data/templates/foundation/images/fairhead-icons/fc-webicon-pinterest.svg +42 -0
  163. data/templates/foundation/images/fairhead-icons/fc-webicon-rdio-m.png +0 -0
  164. data/templates/foundation/images/fairhead-icons/fc-webicon-rdio-s.png +0 -0
  165. data/templates/foundation/images/fairhead-icons/fc-webicon-rdio.png +0 -0
  166. data/templates/foundation/images/fairhead-icons/fc-webicon-rdio.svg +18 -0
  167. data/templates/foundation/images/fairhead-icons/fc-webicon-rss-m.png +0 -0
  168. data/templates/foundation/images/fairhead-icons/fc-webicon-rss-s.png +0 -0
  169. data/templates/foundation/images/fairhead-icons/fc-webicon-rss.png +0 -0
  170. data/templates/foundation/images/fairhead-icons/fc-webicon-rss.svg +18 -0
  171. data/templates/foundation/images/fairhead-icons/fc-webicon-skitch-m.png +0 -0
  172. data/templates/foundation/images/fairhead-icons/fc-webicon-skitch-s.png +0 -0
  173. data/templates/foundation/images/fairhead-icons/fc-webicon-skitch.png +0 -0
  174. data/templates/foundation/images/fairhead-icons/fc-webicon-skitch.svg +24 -0
  175. data/templates/foundation/images/fairhead-icons/fc-webicon-skype-m.png +0 -0
  176. data/templates/foundation/images/fairhead-icons/fc-webicon-skype-s.png +0 -0
  177. data/templates/foundation/images/fairhead-icons/fc-webicon-skype.png +0 -0
  178. data/templates/foundation/images/fairhead-icons/fc-webicon-skype.svg +25 -0
  179. data/templates/foundation/images/fairhead-icons/fc-webicon-spotify-m.png +0 -0
  180. data/templates/foundation/images/fairhead-icons/fc-webicon-spotify-s.png +0 -0
  181. data/templates/foundation/images/fairhead-icons/fc-webicon-spotify.png +0 -0
  182. data/templates/foundation/images/fairhead-icons/fc-webicon-spotify.svg +38 -0
  183. data/templates/foundation/images/fairhead-icons/fc-webicon-stumbleupon-m.png +0 -0
  184. data/templates/foundation/images/fairhead-icons/fc-webicon-stumbleupon-s.png +0 -0
  185. data/templates/foundation/images/fairhead-icons/fc-webicon-stumbleupon.png +0 -0
  186. data/templates/foundation/images/fairhead-icons/fc-webicon-stumbleupon.svg +22 -0
  187. data/templates/foundation/images/fairhead-icons/fc-webicon-tumblr-m.png +0 -0
  188. data/templates/foundation/images/fairhead-icons/fc-webicon-tumblr-s.png +0 -0
  189. data/templates/foundation/images/fairhead-icons/fc-webicon-tumblr.png +0 -0
  190. data/templates/foundation/images/fairhead-icons/fc-webicon-tumblr.svg +16 -0
  191. data/templates/foundation/images/fairhead-icons/fc-webicon-twitter-m.png +0 -0
  192. data/templates/foundation/images/fairhead-icons/fc-webicon-twitter-s.png +0 -0
  193. data/templates/foundation/images/fairhead-icons/fc-webicon-twitter.png +0 -0
  194. data/templates/foundation/images/fairhead-icons/fc-webicon-twitter.svg +24 -0
  195. data/templates/foundation/images/fairhead-icons/fc-webicon-vimeo-m.png +0 -0
  196. data/templates/foundation/images/fairhead-icons/fc-webicon-vimeo-s.png +0 -0
  197. data/templates/foundation/images/fairhead-icons/fc-webicon-vimeo.png +0 -0
  198. data/templates/foundation/images/fairhead-icons/fc-webicon-vimeo.svg +20 -0
  199. data/templates/foundation/images/fairhead-icons/fc-webicon-youtube-m.png +0 -0
  200. data/templates/foundation/images/fairhead-icons/fc-webicon-youtube-s.png +0 -0
  201. data/templates/foundation/images/fairhead-icons/fc-webicon-youtube.png +0 -0
  202. data/templates/foundation/images/fairhead-icons/fc-webicon-youtube.svg +106 -0
  203. data/templates/foundation/images/fairhead-icons/fc-webicon-youversion-m.png +0 -0
  204. data/templates/foundation/images/fairhead-icons/fc-webicon-youversion-s.png +0 -0
  205. data/templates/foundation/images/fairhead-icons/fc-webicon-youversion.png +0 -0
  206. data/templates/foundation/images/fairhead-icons/fc-webicon-youversion.svg +54 -0
  207. data/templates/foundation/images/fairhead-icons/fc-webicon-zerply-m.png +0 -0
  208. data/templates/foundation/images/fairhead-icons/fc-webicon-zerply-s.png +0 -0
  209. data/templates/foundation/images/fairhead-icons/fc-webicon-zerply.png +0 -0
  210. data/templates/foundation/images/fairhead-icons/fc-webicon-zerply.svg +20 -0
  211. data/templates/foundation/images/foundation/orbit/bullets.jpg +0 -0
  212. data/templates/foundation/images/foundation/orbit/left-arrow-small.png +0 -0
  213. data/templates/foundation/images/foundation/orbit/left-arrow.png +0 -0
  214. data/templates/foundation/images/foundation/orbit/loading.gif +0 -0
  215. data/templates/foundation/images/foundation/orbit/mask-black.png +0 -0
  216. data/templates/foundation/images/foundation/orbit/pause-black.png +0 -0
  217. data/templates/foundation/images/foundation/orbit/right-arrow-small.png +0 -0
  218. data/templates/foundation/images/foundation/orbit/right-arrow.png +0 -0
  219. data/templates/foundation/images/foundation/orbit/rotator-black.png +0 -0
  220. data/templates/foundation/images/foundation/orbit/timer-black.png +0 -0
  221. data/templates/foundation/index.php +19 -0
  222. data/templates/foundation/javascripts/app.js +38 -0
  223. data/templates/foundation/javascripts/foundation.min.js +77 -0
  224. data/templates/foundation/javascripts/jquery.foundation.accordion.js +39 -0
  225. data/templates/foundation/javascripts/jquery.foundation.alerts.js +20 -0
  226. data/templates/foundation/javascripts/jquery.foundation.buttons.js +79 -0
  227. data/templates/foundation/javascripts/jquery.foundation.clearing.js +480 -0
  228. data/templates/foundation/javascripts/jquery.foundation.forms.js +494 -0
  229. data/templates/foundation/javascripts/jquery.foundation.joyride.js +639 -0
  230. data/templates/foundation/javascripts/jquery.foundation.magellan.js +86 -0
  231. data/templates/foundation/javascripts/jquery.foundation.mediaQueryToggle.js +27 -0
  232. data/templates/foundation/javascripts/jquery.foundation.navigation.js +55 -0
  233. data/templates/foundation/javascripts/jquery.foundation.orbit.js +897 -0
  234. data/templates/foundation/javascripts/jquery.foundation.reveal.js +794 -0
  235. data/templates/foundation/javascripts/jquery.foundation.tabs.js +56 -0
  236. data/templates/foundation/javascripts/jquery.foundation.tooltips.js +193 -0
  237. data/templates/foundation/javascripts/jquery.foundation.topbar.js +156 -0
  238. data/templates/foundation/javascripts/modernizr.foundation.js +4 -0
  239. data/templates/foundation/languages/readme.txt +6 -0
  240. data/templates/foundation/license.txt +281 -0
  241. data/templates/foundation/loop.php +30 -0
  242. data/templates/foundation/manifest.rb +285 -0
  243. data/templates/foundation/options.php +43 -0
  244. data/templates/foundation/page.php +29 -0
  245. data/templates/foundation/print.css +1 -0
  246. data/templates/foundation/print.scss +1 -0
  247. data/templates/foundation/readme.txt +6 -0
  248. data/templates/foundation/sass/_app.scss +50 -0
  249. data/templates/foundation/sass/_settings.scss +243 -0
  250. data/templates/foundation/screen.scss +1 -0
  251. data/templates/foundation/screenshot.png +0 -0
  252. data/templates/foundation/search.php +31 -0
  253. data/templates/{starter → foundation}/search.png +0 -0
  254. data/templates/foundation/searchform.php +14 -0
  255. data/templates/foundation/sidebar.php +15 -0
  256. data/templates/foundation/single.php +31 -0
  257. data/templates/foundation/style.css +17 -0
  258. data/templates/foundation/stylesheets/fc-webicons.css +156 -0
  259. data/templates/foundation/tag.php +41 -0
  260. data/templates/project/404.php +24 -0
  261. data/templates/project/admin/README.txt +25 -0
  262. data/templates/project/admin/assets/css/admin-style.css +838 -0
  263. data/templates/project/admin/assets/css/colorpicker.css +177 -0
  264. data/templates/project/admin/assets/images/1col.png +0 -0
  265. data/templates/project/admin/assets/images/2-col-portfolio.png +0 -0
  266. data/templates/project/admin/assets/images/2cl.png +0 -0
  267. data/templates/project/admin/assets/images/2cr.png +0 -0
  268. data/templates/project/admin/assets/images/3-col-portfolio.png +0 -0
  269. data/templates/project/admin/assets/images/3cm.png +0 -0
  270. data/templates/project/admin/assets/images/3cr.png +0 -0
  271. data/templates/project/admin/assets/images/4-col-portfolio.png +0 -0
  272. data/templates/project/admin/assets/images/accept.png +0 -0
  273. data/templates/project/admin/assets/images/button_check.png +0 -0
  274. data/templates/project/admin/assets/images/colorpicker/blank.gif +0 -0
  275. data/templates/project/admin/assets/images/colorpicker/colorpicker_background.png +0 -0
  276. data/templates/project/admin/assets/images/colorpicker/colorpicker_hex.png +0 -0
  277. data/templates/project/admin/assets/images/colorpicker/colorpicker_hsb_b.png +0 -0
  278. data/templates/project/admin/assets/images/colorpicker/colorpicker_hsb_h.png +0 -0
  279. data/templates/project/admin/assets/images/colorpicker/colorpicker_hsb_s.png +0 -0
  280. data/templates/project/admin/assets/images/colorpicker/colorpicker_indic.gif +0 -0
  281. data/templates/project/admin/assets/images/colorpicker/colorpicker_overlay.png +0 -0
  282. data/templates/project/admin/assets/images/colorpicker/colorpicker_rgb_b.png +0 -0
  283. data/templates/project/admin/assets/images/colorpicker/colorpicker_rgb_g.png +0 -0
  284. data/templates/project/admin/assets/images/colorpicker/colorpicker_rgb_r.png +0 -0
  285. data/templates/project/admin/assets/images/colorpicker/colorpicker_select.gif +0 -0
  286. data/templates/project/admin/assets/images/colorpicker/colorpicker_submit.png +0 -0
  287. data/templates/project/admin/assets/images/colorpicker/select.png +0 -0
  288. data/templates/project/admin/assets/images/dropdown-arrow.png +0 -0
  289. data/templates/project/admin/assets/images/favicon.ico +0 -0
  290. data/templates/project/admin/assets/images/icon-add.png +0 -0
  291. data/templates/project/admin/assets/images/icon-backup.png +0 -0
  292. data/templates/project/admin/assets/images/icon-delete.png +0 -0
  293. data/templates/project/admin/assets/images/icon-docs.png +0 -0
  294. data/templates/project/admin/assets/images/icon-edit.png +0 -0
  295. data/templates/project/admin/assets/images/icon-home.png +0 -0
  296. data/templates/project/admin/assets/images/icon-info.png +0 -0
  297. data/templates/project/admin/assets/images/icon-notice.png +0 -0
  298. data/templates/project/admin/assets/images/icon-paint.png +0 -0
  299. data/templates/project/admin/assets/images/icon-settings.png +0 -0
  300. data/templates/project/admin/assets/images/icon-slider.png +0 -0
  301. data/templates/project/admin/assets/images/icon-warn.png +0 -0
  302. data/templates/project/admin/assets/images/icon_option.png +0 -0
  303. data/templates/project/admin/assets/images/loading-bottom.gif +0 -0
  304. data/templates/project/admin/assets/images/select.png +0 -0
  305. data/templates/project/admin/assets/images/sign_warning.png +0 -0
  306. data/templates/project/admin/assets/images/stop.png +0 -0
  307. data/templates/project/admin/assets/images/toggle_tabs.png +0 -0
  308. data/templates/project/admin/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  309. data/templates/project/admin/assets/images/warning.png +0 -0
  310. data/templates/project/admin/assets/images/wrench.png +0 -0
  311. data/templates/project/admin/assets/images/wrench16.png +0 -0
  312. data/templates/project/admin/assets/js/ajaxupload.js +606 -0
  313. data/templates/project/admin/assets/js/colorpicker.js +455 -0
  314. data/templates/project/admin/assets/js/cookie.js +1 -0
  315. data/templates/project/admin/assets/js/jquery.maskedinput-1.2.2.js +252 -0
  316. data/templates/project/admin/assets/js/jquery.tipsy.js +241 -0
  317. data/templates/project/admin/assets/js/of-medialibrary-uploader.js +168 -0
  318. data/templates/project/admin/assets/js/smof.js +623 -0
  319. data/templates/{starter → project}/admin/classes/class.options-machine.php +0 -0
  320. data/templates/project/admin/front-end/options.php +77 -0
  321. data/templates/project/admin/functions/functions.admin.php +76 -0
  322. data/templates/project/admin/functions/functions.interface.php +232 -0
  323. data/templates/project/admin/functions/functions.load.php +14 -0
  324. data/templates/{starter → project}/admin/functions/functions.mediauploader.php +0 -0
  325. data/templates/project/admin/functions/functions.options.php +508 -0
  326. data/templates/project/admin/functions/functions.php +0 -0
  327. data/templates/project/admin/index.php +87 -0
  328. data/templates/project/admin/layouts/default.css +0 -0
  329. data/templates/project/admin/layouts/placebo.css +0 -0
  330. data/templates/project/archive.php +57 -0
  331. data/templates/{starter → project}/category.php +0 -0
  332. data/templates/project/comments.php +65 -0
  333. data/templates/{starter → project}/content-aside.php +0 -0
  334. data/templates/{starter → project}/content-image.php +0 -0
  335. data/templates/{starter → project}/content-link.php +0 -0
  336. data/templates/{starter → project}/content-none.php +0 -0
  337. data/templates/project/content-page.php +24 -0
  338. data/templates/{starter → project}/content-quote.php +0 -0
  339. data/templates/{starter → project}/content-status.php +0 -0
  340. data/templates/project/content.php +67 -0
  341. data/templates/{starter → project}/editor-style.scss +0 -0
  342. data/templates/project/footer.php +29 -0
  343. data/templates/project/functions.php +1233 -0
  344. data/templates/project/header.php +63 -0
  345. data/templates/project/images/bg/bg0.png +0 -0
  346. data/templates/project/images/bg/bg1.png +0 -0
  347. data/templates/project/images/bg/bg10.png +0 -0
  348. data/templates/project/images/bg/bg11.png +0 -0
  349. data/templates/project/images/bg/bg2.png +0 -0
  350. data/templates/project/images/bg/bg3.png +0 -0
  351. data/templates/project/images/bg/bg4.png +0 -0
  352. data/templates/project/images/bg/bg5.png +0 -0
  353. data/templates/project/images/bg/bg6.jpg +0 -0
  354. data/templates/project/images/bg/bg7.jpg +0 -0
  355. data/templates/project/images/bg/bg8.png +0 -0
  356. data/templates/project/images/bg/bg9.png +0 -0
  357. data/templates/project/index.php +19 -0
  358. data/templates/project/javascripts/app.js +6 -0
  359. data/templates/{starter → project/javascripts}/moderninzr.min.js +0 -0
  360. data/templates/project/languages/readme.txt +6 -0
  361. data/templates/project/license.txt +281 -0
  362. data/templates/{starter → project}/loop.php +0 -0
  363. data/templates/project/manifest.rb +131 -4
  364. data/templates/project/options.php +42 -0
  365. data/templates/project/page.php +29 -0
  366. data/templates/project/readme.txt +6 -1
  367. data/templates/project/screenshot.png +0 -0
  368. data/templates/project/search.php +31 -0
  369. data/templates/project/searchform.php +14 -0
  370. data/templates/project/sidebar.php +15 -0
  371. data/templates/project/single.php +31 -0
  372. data/templates/project/style.css +5 -0
  373. data/templates/{starter → project}/tag.php +0 -0
  374. data/templates/starter/404.php +42 -19
  375. data/templates/starter/README.md +41 -0
  376. data/templates/starter/archive.php +89 -49
  377. data/templates/starter/comments.php +43 -32
  378. data/templates/starter/content-page.php +12 -16
  379. data/templates/starter/content-single.php +59 -0
  380. data/templates/starter/content.php +52 -58
  381. data/templates/starter/footer.php +20 -22
  382. data/templates/starter/functions.php +60 -1156
  383. data/templates/starter/header.php +31 -52
  384. data/templates/starter/image.php +111 -0
  385. data/templates/starter/inc/custom-header.php +184 -0
  386. data/templates/starter/inc/extras.php +79 -0
  387. data/templates/starter/inc/template-tags.php +175 -0
  388. data/templates/starter/inc/theme-options/theme-options.php +306 -0
  389. data/templates/starter/index.php +41 -11
  390. data/templates/starter/javascripts/html5.js +6 -0
  391. data/templates/starter/javascripts/keyboard-image-navigation.js +14 -0
  392. data/templates/starter/javascripts/small-menu.js +39 -0
  393. data/templates/starter/languages/readme.txt +6 -0
  394. data/templates/starter/layouts/content-sidebar-sidebar.css +27 -0
  395. data/templates/starter/layouts/content-sidebar.css +25 -0
  396. data/templates/starter/layouts/sidebar-content-sidebar.css +27 -0
  397. data/templates/starter/layouts/sidebar-content.css +25 -0
  398. data/templates/starter/layouts/sidebar-sidebar-content.css +22 -0
  399. data/templates/starter/license.txt +281 -0
  400. data/templates/starter/manifest.rb +22 -110
  401. data/templates/starter/no-results.php +34 -0
  402. data/templates/starter/page.php +16 -14
  403. data/templates/starter/print.scss +1 -104
  404. data/templates/starter/rtl.css +17 -0
  405. data/templates/starter/screen.scss +653 -1
  406. data/templates/starter/screenshot.png +0 -0
  407. data/templates/starter/search.php +31 -21
  408. data/templates/starter/searchform.php +8 -9
  409. data/templates/starter/sidebar.php +29 -10
  410. data/templates/starter/single.php +24 -21
  411. data/templates/starter/style.css +10 -6
  412. metadata +401 -100
  413. data/templates/project/print.css +0 -4
  414. data/templates/starter/admin/functions/functions.options.php +0 -507
  415. data/templates/starter/app.js +0 -97
  416. data/templates/starter/options.php +0 -407
  417. data/templates/starter/readme.txt +0 -1
@@ -0,0 +1,494 @@
1
+ /*
2
+ * jQuery Custom Forms Plugin 1.0
3
+ * www.ZURB.com
4
+ * Copyright 2010, ZURB
5
+ * Free to use under the MIT license.
6
+ * http://www.opensource.org/licenses/mit-license.php
7
+ */
8
+
9
+ (function( $ ){
10
+
11
+ /**
12
+ * Helper object used to quickly adjust all hidden parent element's, display and visibility properties.
13
+ * This is currently used for the custom drop downs. When the dropdowns are contained within a reveal modal
14
+ * we cannot accurately determine the list-item elements width property, since the modal's display property is set
15
+ * to 'none'.
16
+ *
17
+ * This object will help us work around that problem.
18
+ *
19
+ * NOTE: This could also be plugin.
20
+ *
21
+ * @function hiddenFix
22
+ */
23
+ var hiddenFix = function() {
24
+
25
+ return {
26
+ /**
27
+ * Sets all hidden parent elements and self to visibile.
28
+ *
29
+ * @method adjust
30
+ * @param {jQuery Object} $child
31
+ */
32
+
33
+ // We'll use this to temporarily store style properties.
34
+ tmp : [],
35
+
36
+ // We'll use this to set hidden parent elements.
37
+ hidden : null,
38
+
39
+ adjust : function( $child ) {
40
+ // Internal reference.
41
+ var _self = this;
42
+
43
+ // Set all hidden parent elements, including this element.
44
+ _self.hidden = $child.parents().andSelf().filter( ":hidden" );
45
+
46
+ // Loop through all hidden elements.
47
+ _self.hidden.each( function() {
48
+
49
+ // Cache the element.
50
+ var $elem = $( this );
51
+
52
+ // Store the style attribute.
53
+ // Undefined if element doesn't have a style attribute.
54
+ _self.tmp.push( $elem.attr( 'style' ) );
55
+
56
+ // Set the element's display property to block,
57
+ // but ensure it's visibility is hidden.
58
+ $elem.css( { 'visibility' : 'hidden', 'display' : 'block' } );
59
+ });
60
+
61
+ }, // end adjust
62
+
63
+ /**
64
+ * Resets the elements previous state.
65
+ *
66
+ * @method reset
67
+ */
68
+ reset : function() {
69
+ // Internal reference.
70
+ var _self = this;
71
+ // Loop through our hidden element collection.
72
+ _self.hidden.each( function( i ) {
73
+ // Cache this element.
74
+ var $elem = $( this ),
75
+ _tmp = _self.tmp[ i ]; // Get the stored 'style' value for this element.
76
+
77
+ // If the stored value is undefined.
78
+ if( _tmp === undefined )
79
+ // Remove the style attribute.
80
+ $elem.removeAttr( 'style' );
81
+ else
82
+ // Otherwise, reset the element style attribute.
83
+ $elem.attr( 'style', _tmp );
84
+
85
+ });
86
+ // Reset the tmp array.
87
+ _self.tmp = [];
88
+ // Reset the hidden elements variable.
89
+ _self.hidden = null;
90
+
91
+ } // end reset
92
+
93
+ }; // end return
94
+
95
+ };
96
+
97
+ jQuery.foundation = jQuery.foundation || {};
98
+ jQuery.foundation.customForms = jQuery.foundation.customForms || {};
99
+
100
+ $.foundation.customForms.appendCustomMarkup = function ( options ) {
101
+
102
+ var defaults = {
103
+ disable_class: "js-disable-custom"
104
+ };
105
+
106
+ options = $.extend( defaults, options );
107
+
108
+ function appendCustomMarkup(idx, sel) {
109
+ var $this = $(sel).hide(),
110
+ type = $this.attr('type'),
111
+ $span = $this.next('span.custom.' + type);
112
+
113
+ if ($span.length === 0) {
114
+ $span = $('<span class="custom ' + type + '"></span>').insertAfter($this);
115
+ }
116
+
117
+ $span.toggleClass('checked', $this.is(':checked'));
118
+ $span.toggleClass('disabled', $this.is(':disabled'));
119
+ }
120
+
121
+ function appendCustomSelect(idx, sel) {
122
+ var hiddenFixObj = hiddenFix();
123
+ //
124
+ // jQueryify the <select> element and cache it.
125
+ //
126
+ var $this = $( sel ),
127
+ //
128
+ // Find the custom drop down element.
129
+ //
130
+ $customSelect = $this.next( 'div.custom.dropdown' ),
131
+ //
132
+ // Find the custom select element within the custom drop down.
133
+ //
134
+ $customList = $customSelect.find( 'ul' ),
135
+ //
136
+ // Find the custom a.current element.
137
+ //
138
+ $selectCurrent = $customSelect.find( ".current" ),
139
+ //
140
+ // Find the custom a.selector element (the drop-down icon).
141
+ //
142
+ $selector = $customSelect.find( ".selector" ),
143
+ //
144
+ // Get the <options> from the <select> element.
145
+ //
146
+ $options = $this.find( 'option' ),
147
+ //
148
+ // Filter down the selected options
149
+ //
150
+ $selectedOption = $options.filter( ':selected' ),
151
+ //
152
+ // Initial max width.
153
+ //
154
+ maxWidth = 0,
155
+ //
156
+ // We'll use this variable to create the <li> elements for our custom select.
157
+ //
158
+ liHtml = '',
159
+ //
160
+ // We'll use this to cache the created <li> elements within our custom select.
161
+ //
162
+ $listItems
163
+ ;
164
+ var $currentSelect = false;
165
+ //
166
+ // Should we not create a custom list?
167
+ //
168
+ if ( $this.hasClass( 'no-custom' ) ) return;
169
+
170
+ //
171
+ // Did we not create a custom select element yet?
172
+ //
173
+ if ( $customSelect.length === 0 ) {
174
+ //
175
+ // Let's create our custom select element!
176
+ //
177
+
178
+ //
179
+ // Determine what select size to use.
180
+ //
181
+ var customSelectSize = $this.hasClass( 'small' ) ? 'small' :
182
+ $this.hasClass( 'medium' ) ? 'medium' :
183
+ $this.hasClass( 'large' ) ? 'large' :
184
+ $this.hasClass( 'expand' ) ? 'expand' : ''
185
+ ;
186
+ //
187
+ // Build our custom list.
188
+ //
189
+ $customSelect = $('<div class="' + ['custom', 'dropdown', customSelectSize ].join( ' ' ) + '"><a href="#" class="selector"></a><ul /></div>"');
190
+ //
191
+ // Grab the selector element
192
+ //
193
+ $selector = $customSelect.find( ".selector" );
194
+ //
195
+ // Grab the unordered list element from the custom list.
196
+ //
197
+ $customList = $customSelect.find( "ul" );
198
+ //
199
+ // Build our <li> elements.
200
+ //
201
+ liHtml = $options.map( function() { return "<li>" + $( this ).html() + "</li>"; } ).get().join( '' );
202
+ //
203
+ // Append our <li> elements to the custom list (<ul>).
204
+ //
205
+ $customList.append( liHtml );
206
+ //
207
+ // Insert the the currently selected list item before all other elements.
208
+ // Then, find the element and assign it to $currentSelect.
209
+ //
210
+
211
+ $currentSelect = $customSelect.prepend( '<a href="#" class="current">' + $selectedOption.html() + '</a>' ).find( ".current" );
212
+ //
213
+ // Add the custom select element after the <select> element.
214
+ //
215
+ $this.after( $customSelect )
216
+ //
217
+ //then hide the <select> element.
218
+ //
219
+ .hide();
220
+
221
+ } else {
222
+ //
223
+ // Create our list item <li> elements.
224
+ //
225
+ liHtml = $options.map( function() { return "<li>" + $( this ).html() + "</li>"; } ).get().join( '' );
226
+ //
227
+ // Refresh the ul with options from the select in case the supplied markup doesn't match.
228
+ // Clear what's currently in the <ul> element.
229
+ //
230
+ $customList.html( '' )
231
+ //
232
+ // Populate the list item <li> elements.
233
+ //
234
+ .append( liHtml );
235
+
236
+ } // endif $customSelect.length === 0
237
+
238
+ //
239
+ // Determine whether or not the custom select element should be disabled.
240
+ //
241
+ $customSelect.toggleClass( 'disabled', $this.is( ':disabled' ) );
242
+ //
243
+ // Cache our List item elements.
244
+ //
245
+ $listItems = $customList.find( 'li' );
246
+
247
+ //
248
+ // Determine which elements to select in our custom list.
249
+ //
250
+ $options.each( function ( index ) {
251
+
252
+ if ( this.selected ) {
253
+ //
254
+ // Add the selected class to the current li element
255
+ //
256
+ $listItems.eq( index ).addClass( 'selected' );
257
+ //
258
+ // Update the current element with the option value.
259
+ //
260
+ if ($currentSelect) {
261
+ $currentSelect.html( $( this ).html() );
262
+ }
263
+
264
+ }
265
+ if ($(this).is(':disabled')) {
266
+ $listItems.eq( index ).addClass( 'disabled' );
267
+ }
268
+
269
+ });
270
+
271
+ //
272
+ // Update the custom <ul> list width property.
273
+ //
274
+ $customList.css( 'width', 'inherit' );
275
+ //
276
+ // Set the custom select width property.
277
+ //
278
+ $customSelect.css( 'width', 'inherit' );
279
+
280
+ //
281
+ // If we're not specifying a predetermined form size.
282
+ //
283
+ if ( !$customSelect.is( '.small, .medium, .large, .expand' ) ) {
284
+
285
+ // ------------------------------------------------------------------------------------
286
+ // This is a work-around for when elements are contained within hidden parents.
287
+ // For example, when custom-form elements are inside of a hidden reveal modal.
288
+ //
289
+ // We need to display the current custom list element as well as hidden parent elements
290
+ // in order to properly calculate the list item element's width property.
291
+ // -------------------------------------------------------------------------------------
292
+
293
+ //
294
+ // Show the drop down.
295
+ // This should ensure that the list item's width values are properly calculated.
296
+ //
297
+ $customSelect.addClass( 'open' );
298
+ //
299
+ // Quickly, display all parent elements.
300
+ // This should help us calcualate the width of the list item's within the drop down.
301
+ //
302
+ hiddenFixObj.adjust( $customList );
303
+ //
304
+ // Grab the largest list item width.
305
+ //
306
+ maxWidth = ( $listItems.outerWidth() > maxWidth ) ? $listItems.outerWidth() : maxWidth;
307
+ //
308
+ // Okay, now reset the parent elements.
309
+ // This will hide them again.
310
+ //
311
+ hiddenFixObj.reset();
312
+ //
313
+ // Finally, hide the drop down.
314
+ //
315
+ $customSelect.removeClass( 'open' );
316
+ //
317
+ // Set the custom list width.
318
+ //
319
+ $customSelect.width( maxWidth + 18);
320
+ //
321
+ // Set the custom list element (<ul />) width.
322
+ //
323
+ $customList.width( maxWidth + 16 );
324
+
325
+ } // endif
326
+
327
+ }
328
+
329
+ $('form.custom input:radio[data-customforms!=disabled]').each(appendCustomMarkup);
330
+ $('form.custom input:checkbox[data-customforms!=disabled]').each(appendCustomMarkup);
331
+ $('form.custom select[data-customforms!=disabled]').each(appendCustomSelect);
332
+ };
333
+
334
+ var refreshCustomSelect = function($select) {
335
+ var maxWidth = 0,
336
+ $customSelect = $select.next();
337
+ $options = $select.find('option');
338
+ $customSelect.find('ul').html('');
339
+
340
+ $options.each(function () {
341
+ $li = $('<li>' + $(this).html() + '</li>');
342
+ $customSelect.find('ul').append($li);
343
+ });
344
+
345
+ // re-populate
346
+ $options.each(function (index) {
347
+ if (this.selected) {
348
+ $customSelect.find('li').eq(index).addClass('selected');
349
+ $customSelect.find('.current').html($(this).html());
350
+ }
351
+ if ($(this).is(':disabled')) {
352
+ $customSelect.find('li').eq(index).addClass('disabled');
353
+ }
354
+ });
355
+
356
+ // fix width
357
+ $customSelect.removeAttr('style')
358
+ .find('ul').removeAttr('style');
359
+ $customSelect.find('li').each(function () {
360
+ $customSelect.addClass('open');
361
+ if ($(this).outerWidth() > maxWidth) {
362
+ maxWidth = $(this).outerWidth();
363
+ }
364
+ $customSelect.removeClass('open');
365
+ });
366
+ $customSelect.css('width', maxWidth + 18 + 'px');
367
+ $customSelect.find('ul').css('width', maxWidth + 16 + 'px');
368
+
369
+ };
370
+
371
+ var toggleCheckbox = function($element) {
372
+ var $input = $element.prev(),
373
+ input = $input[0];
374
+
375
+ if (false === $input.is(':disabled')) {
376
+ input.checked = ((input.checked) ? false : true);
377
+ $element.toggleClass('checked');
378
+
379
+ $input.trigger('change');
380
+ }
381
+ };
382
+
383
+ var toggleRadio = function($element) {
384
+ var $input = $element.prev(),
385
+ $form = $input.closest('form.custom'),
386
+ input = $input[0];
387
+
388
+ if (false === $input.is(':disabled')) {
389
+ $form.find('input:radio[name="' + $input.attr('name') + '"]').next().not($element).removeClass('checked');
390
+ if ( !$element.hasClass('checked') ) {
391
+ $element.toggleClass('checked');
392
+ }
393
+ input.checked = $element.hasClass('checked');
394
+
395
+ $input.trigger('change');
396
+ }
397
+ };
398
+
399
+ $(document).on('click', 'form.custom span.custom.checkbox', function (event) {
400
+ event.preventDefault();
401
+ event.stopPropagation();
402
+
403
+ toggleCheckbox($(this));
404
+ });
405
+
406
+ $(document).on('click', 'form.custom span.custom.radio', function (event) {
407
+ event.preventDefault();
408
+ event.stopPropagation();
409
+
410
+ toggleRadio($(this));
411
+ });
412
+
413
+ $(document).on('change', 'form.custom select[data-customforms!=disabled]', function (event) {
414
+ refreshCustomSelect($(this));
415
+ });
416
+
417
+ $(document).on('click', 'form.custom label', function (event) {
418
+ var $associatedElement = $('#' + $(this).attr('for') + '[data-customforms!=disabled]'),
419
+ $customCheckbox,
420
+ $customRadio;
421
+ if ($associatedElement.length !== 0) {
422
+ if ($associatedElement.attr('type') === 'checkbox') {
423
+ event.preventDefault();
424
+ $customCheckbox = $(this).find('span.custom.checkbox');
425
+ toggleCheckbox($customCheckbox);
426
+ } else if ($associatedElement.attr('type') === 'radio') {
427
+ event.preventDefault();
428
+ $customRadio = $(this).find('span.custom.radio');
429
+ toggleRadio($customRadio);
430
+ }
431
+ }
432
+ });
433
+
434
+ $(document).on('click', 'form.custom div.custom.dropdown a.current, form.custom div.custom.dropdown a.selector', function (event) {
435
+ var $this = $(this),
436
+ $dropdown = $this.closest('div.custom.dropdown'),
437
+ $select = $dropdown.prev();
438
+
439
+ event.preventDefault();
440
+ $('div.dropdown').removeClass('open');
441
+
442
+ if (false === $select.is(':disabled')) {
443
+ $dropdown.toggleClass('open');
444
+
445
+ if ($dropdown.hasClass('open')) {
446
+ $(document).bind('click.customdropdown', function (event) {
447
+ $dropdown.removeClass('open');
448
+ $(document).unbind('.customdropdown');
449
+ });
450
+ } else {
451
+ $(document).unbind('.customdropdown');
452
+ }
453
+ return false;
454
+ }
455
+ });
456
+
457
+ $(document).on('click', 'form.custom div.custom.dropdown li', function (event) {
458
+ var $this = $(this),
459
+ $customDropdown = $this.closest('div.custom.dropdown'),
460
+ $select = $customDropdown.prev(),
461
+ selectedIndex = 0;
462
+
463
+ event.preventDefault();
464
+ event.stopPropagation();
465
+ if ( ! $(this).hasClass('disabled')) {
466
+ $('div.dropdown').removeClass('open');
467
+
468
+ $this
469
+ .closest('ul')
470
+ .find('li')
471
+ .removeClass('selected');
472
+ $this.addClass('selected');
473
+
474
+ $customDropdown
475
+ .removeClass('open')
476
+ .find('a.current')
477
+ .html($this.html());
478
+
479
+ $this.closest('ul').find('li').each(function (index) {
480
+ if ($this[0] == this) {
481
+ selectedIndex = index;
482
+ }
483
+
484
+ });
485
+ $select[0].selectedIndex = selectedIndex;
486
+
487
+ $select.trigger('change');
488
+ }
489
+ });
490
+
491
+
492
+ $.fn.foundationCustomForms = $.foundation.customForms.appendCustomMarkup;
493
+
494
+ })( jQuery );