wordpress-starter 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +13 -0
- data/README.md +47 -4
- data/lib/wordpress-starter.rb +3 -2
- data/stylesheets/wordpress/_defaults.scss +267 -20
- data/stylesheets/wordpress/_page.scss +0 -363
- data/stylesheets/wordpress/_responsive.scss +0 -115
- data/stylesheets/wordpress/_theme.scss +0 -82
- data/stylesheets/wordpress/_typography.scss +0 -134
- data/templates/foundation/404.php +24 -0
- data/templates/{starter → foundation}/admin/README.txt +0 -0
- data/templates/{starter → foundation}/admin/assets/css/admin-style.css +0 -0
- data/templates/{starter → foundation}/admin/assets/css/colorpicker.css +0 -0
- data/templates/{starter → foundation}/admin/assets/images/1col.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/2-col-portfolio.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/2cl.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/2cr.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/3-col-portfolio.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/3cm.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/3cr.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/4-col-portfolio.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/accept.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/button_check.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/colorpicker/blank.gif +0 -0
- data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_background.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_hex.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_hsb_b.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_hsb_h.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_hsb_s.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_indic.gif +0 -0
- data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_overlay.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_rgb_b.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_rgb_g.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_rgb_r.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_select.gif +0 -0
- data/templates/{starter → foundation}/admin/assets/images/colorpicker/colorpicker_submit.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/colorpicker/select.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/dropdown-arrow.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/favicon.ico +0 -0
- data/templates/{starter → foundation}/admin/assets/images/icon-add.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/icon-backup.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/icon-delete.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/icon-docs.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/icon-edit.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/icon-home.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/icon-info.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/icon-notice.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/icon-paint.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/icon-settings.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/icon-slider.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/icon-warn.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/icon_option.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/loading-bottom.gif +0 -0
- data/templates/{starter → foundation}/admin/assets/images/select.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/sign_warning.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/stop.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/toggle_tabs.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/warning.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/wrench.png +0 -0
- data/templates/{starter → foundation}/admin/assets/images/wrench16.png +0 -0
- data/templates/{starter → foundation}/admin/assets/js/ajaxupload.js +0 -0
- data/templates/{starter → foundation}/admin/assets/js/colorpicker.js +0 -0
- data/templates/{starter → foundation}/admin/assets/js/cookie.js +0 -0
- data/templates/{starter → foundation}/admin/assets/js/jquery.maskedinput-1.2.2.js +0 -0
- data/templates/{starter → foundation}/admin/assets/js/jquery.tipsy.js +0 -0
- data/templates/{starter → foundation}/admin/assets/js/of-medialibrary-uploader.js +0 -0
- data/templates/{starter → foundation}/admin/assets/js/smof.js +0 -0
- data/templates/foundation/admin/classes/class.options-machine.php +627 -0
- data/templates/{starter → foundation}/admin/front-end/options.php +0 -0
- data/templates/{starter → foundation}/admin/functions/functions.admin.php +0 -0
- data/templates/{starter → foundation}/admin/functions/functions.interface.php +0 -0
- data/templates/{starter → foundation}/admin/functions/functions.load.php +0 -0
- data/templates/foundation/admin/functions/functions.mediauploader.php +194 -0
- data/templates/foundation/admin/functions/functions.options.php +508 -0
- data/templates/{starter → foundation}/admin/functions/functions.php +0 -0
- data/templates/{starter → foundation}/admin/index.php +88 -86
- data/templates/{starter → foundation}/admin/layouts/default.css +0 -0
- data/templates/{starter → foundation}/admin/layouts/placebo.css +0 -0
- data/templates/foundation/archive.php +57 -0
- data/templates/foundation/category.php +40 -0
- data/templates/foundation/comments.php +65 -0
- data/templates/foundation/content-aside.php +26 -0
- data/templates/foundation/content-image.php +29 -0
- data/templates/foundation/content-link.php +27 -0
- data/templates/foundation/content-none.php +21 -0
- data/templates/foundation/content-page.php +24 -0
- data/templates/foundation/content-quote.php +26 -0
- data/templates/foundation/content-status.php +33 -0
- data/templates/foundation/content.php +67 -0
- data/templates/foundation/editor-style.scss +359 -0
- data/templates/foundation/footer.php +29 -0
- data/templates/foundation/functions.php +1425 -0
- data/templates/foundation/header.php +63 -0
- data/templates/foundation/ie.scss +1 -0
- data/templates/{starter → foundation}/images/bg/bg0.png +0 -0
- data/templates/{starter → foundation}/images/bg/bg1.png +0 -0
- data/templates/{starter → foundation}/images/bg/bg10.png +0 -0
- data/templates/{starter → foundation}/images/bg/bg11.png +0 -0
- data/templates/{starter → foundation}/images/bg/bg2.png +0 -0
- data/templates/{starter → foundation}/images/bg/bg3.png +0 -0
- data/templates/{starter → foundation}/images/bg/bg4.png +0 -0
- data/templates/{starter → foundation}/images/bg/bg5.png +0 -0
- data/templates/{starter → foundation}/images/bg/bg6.jpg +0 -0
- data/templates/{starter → foundation}/images/bg/bg7.jpg +0 -0
- data/templates/{starter → foundation}/images/bg/bg8.png +0 -0
- data/templates/{starter → foundation}/images/bg/bg9.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-behance-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-behance-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-behance.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-behance.svg +48 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-creativecloud-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-creativecloud-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-creativecloud.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-creativecloud.svg +48 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-dribbble-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-dribbble-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-dribbble.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-dribbble.svg +28 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-dropbox-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-dropbox-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-dropbox.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-dropbox.svg +73 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-evernote-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-evernote-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-evernote.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-evernote.svg +62 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-facebook-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-facebook-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-facebook.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-facebook.svg +15 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-flickr-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-flickr-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-flickr.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-flickr.svg +14 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-github-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-github-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-github.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-github.svg +38 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-googleplus-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-googleplus-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-googleplus.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-googleplus.svg +52 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-icloud-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-icloud-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-icloud.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-icloud.svg +26 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-linkedin-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-linkedin-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-linkedin.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-linkedin.svg +28 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-mail-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-mail-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-mail.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-mail.svg +27 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-msn-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-msn-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-msn.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-msn.svg +44 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-pinterest-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-pinterest-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-pinterest.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-pinterest.svg +42 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-rdio-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-rdio-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-rdio.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-rdio.svg +18 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-rss-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-rss-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-rss.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-rss.svg +18 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-skitch-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-skitch-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-skitch.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-skitch.svg +24 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-skype-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-skype-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-skype.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-skype.svg +25 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-spotify-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-spotify-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-spotify.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-spotify.svg +38 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-stumbleupon-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-stumbleupon-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-stumbleupon.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-stumbleupon.svg +22 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-tumblr-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-tumblr-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-tumblr.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-tumblr.svg +16 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-twitter-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-twitter-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-twitter.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-twitter.svg +24 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-vimeo-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-vimeo-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-vimeo.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-vimeo.svg +20 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-youtube-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-youtube-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-youtube.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-youtube.svg +106 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-youversion-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-youversion-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-youversion.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-youversion.svg +54 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-zerply-m.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-zerply-s.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-zerply.png +0 -0
- data/templates/foundation/images/fairhead-icons/fc-webicon-zerply.svg +20 -0
- data/templates/foundation/images/foundation/orbit/bullets.jpg +0 -0
- data/templates/foundation/images/foundation/orbit/left-arrow-small.png +0 -0
- data/templates/foundation/images/foundation/orbit/left-arrow.png +0 -0
- data/templates/foundation/images/foundation/orbit/loading.gif +0 -0
- data/templates/foundation/images/foundation/orbit/mask-black.png +0 -0
- data/templates/foundation/images/foundation/orbit/pause-black.png +0 -0
- data/templates/foundation/images/foundation/orbit/right-arrow-small.png +0 -0
- data/templates/foundation/images/foundation/orbit/right-arrow.png +0 -0
- data/templates/foundation/images/foundation/orbit/rotator-black.png +0 -0
- data/templates/foundation/images/foundation/orbit/timer-black.png +0 -0
- data/templates/foundation/index.php +19 -0
- data/templates/foundation/javascripts/app.js +38 -0
- data/templates/foundation/javascripts/foundation.min.js +77 -0
- data/templates/foundation/javascripts/jquery.foundation.accordion.js +39 -0
- data/templates/foundation/javascripts/jquery.foundation.alerts.js +20 -0
- data/templates/foundation/javascripts/jquery.foundation.buttons.js +79 -0
- data/templates/foundation/javascripts/jquery.foundation.clearing.js +480 -0
- data/templates/foundation/javascripts/jquery.foundation.forms.js +494 -0
- data/templates/foundation/javascripts/jquery.foundation.joyride.js +639 -0
- data/templates/foundation/javascripts/jquery.foundation.magellan.js +86 -0
- data/templates/foundation/javascripts/jquery.foundation.mediaQueryToggle.js +27 -0
- data/templates/foundation/javascripts/jquery.foundation.navigation.js +55 -0
- data/templates/foundation/javascripts/jquery.foundation.orbit.js +897 -0
- data/templates/foundation/javascripts/jquery.foundation.reveal.js +794 -0
- data/templates/foundation/javascripts/jquery.foundation.tabs.js +56 -0
- data/templates/foundation/javascripts/jquery.foundation.tooltips.js +193 -0
- data/templates/foundation/javascripts/jquery.foundation.topbar.js +156 -0
- data/templates/foundation/javascripts/modernizr.foundation.js +4 -0
- data/templates/foundation/languages/readme.txt +6 -0
- data/templates/foundation/license.txt +281 -0
- data/templates/foundation/loop.php +30 -0
- data/templates/foundation/manifest.rb +285 -0
- data/templates/foundation/options.php +43 -0
- data/templates/foundation/page.php +29 -0
- data/templates/foundation/print.css +1 -0
- data/templates/foundation/print.scss +1 -0
- data/templates/foundation/readme.txt +6 -0
- data/templates/foundation/sass/_app.scss +50 -0
- data/templates/foundation/sass/_settings.scss +243 -0
- data/templates/foundation/screen.scss +1 -0
- data/templates/foundation/screenshot.png +0 -0
- data/templates/foundation/search.php +31 -0
- data/templates/{starter → foundation}/search.png +0 -0
- data/templates/foundation/searchform.php +14 -0
- data/templates/foundation/sidebar.php +15 -0
- data/templates/foundation/single.php +31 -0
- data/templates/foundation/style.css +17 -0
- data/templates/foundation/stylesheets/fc-webicons.css +156 -0
- data/templates/foundation/tag.php +41 -0
- data/templates/project/404.php +24 -0
- data/templates/project/admin/README.txt +25 -0
- data/templates/project/admin/assets/css/admin-style.css +838 -0
- data/templates/project/admin/assets/css/colorpicker.css +177 -0
- data/templates/project/admin/assets/images/1col.png +0 -0
- data/templates/project/admin/assets/images/2-col-portfolio.png +0 -0
- data/templates/project/admin/assets/images/2cl.png +0 -0
- data/templates/project/admin/assets/images/2cr.png +0 -0
- data/templates/project/admin/assets/images/3-col-portfolio.png +0 -0
- data/templates/project/admin/assets/images/3cm.png +0 -0
- data/templates/project/admin/assets/images/3cr.png +0 -0
- data/templates/project/admin/assets/images/4-col-portfolio.png +0 -0
- data/templates/project/admin/assets/images/accept.png +0 -0
- data/templates/project/admin/assets/images/button_check.png +0 -0
- data/templates/project/admin/assets/images/colorpicker/blank.gif +0 -0
- data/templates/project/admin/assets/images/colorpicker/colorpicker_background.png +0 -0
- data/templates/project/admin/assets/images/colorpicker/colorpicker_hex.png +0 -0
- data/templates/project/admin/assets/images/colorpicker/colorpicker_hsb_b.png +0 -0
- data/templates/project/admin/assets/images/colorpicker/colorpicker_hsb_h.png +0 -0
- data/templates/project/admin/assets/images/colorpicker/colorpicker_hsb_s.png +0 -0
- data/templates/project/admin/assets/images/colorpicker/colorpicker_indic.gif +0 -0
- data/templates/project/admin/assets/images/colorpicker/colorpicker_overlay.png +0 -0
- data/templates/project/admin/assets/images/colorpicker/colorpicker_rgb_b.png +0 -0
- data/templates/project/admin/assets/images/colorpicker/colorpicker_rgb_g.png +0 -0
- data/templates/project/admin/assets/images/colorpicker/colorpicker_rgb_r.png +0 -0
- data/templates/project/admin/assets/images/colorpicker/colorpicker_select.gif +0 -0
- data/templates/project/admin/assets/images/colorpicker/colorpicker_submit.png +0 -0
- data/templates/project/admin/assets/images/colorpicker/select.png +0 -0
- data/templates/project/admin/assets/images/dropdown-arrow.png +0 -0
- data/templates/project/admin/assets/images/favicon.ico +0 -0
- data/templates/project/admin/assets/images/icon-add.png +0 -0
- data/templates/project/admin/assets/images/icon-backup.png +0 -0
- data/templates/project/admin/assets/images/icon-delete.png +0 -0
- data/templates/project/admin/assets/images/icon-docs.png +0 -0
- data/templates/project/admin/assets/images/icon-edit.png +0 -0
- data/templates/project/admin/assets/images/icon-home.png +0 -0
- data/templates/project/admin/assets/images/icon-info.png +0 -0
- data/templates/project/admin/assets/images/icon-notice.png +0 -0
- data/templates/project/admin/assets/images/icon-paint.png +0 -0
- data/templates/project/admin/assets/images/icon-settings.png +0 -0
- data/templates/project/admin/assets/images/icon-slider.png +0 -0
- data/templates/project/admin/assets/images/icon-warn.png +0 -0
- data/templates/project/admin/assets/images/icon_option.png +0 -0
- data/templates/project/admin/assets/images/loading-bottom.gif +0 -0
- data/templates/project/admin/assets/images/select.png +0 -0
- data/templates/project/admin/assets/images/sign_warning.png +0 -0
- data/templates/project/admin/assets/images/stop.png +0 -0
- data/templates/project/admin/assets/images/toggle_tabs.png +0 -0
- data/templates/project/admin/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/templates/project/admin/assets/images/warning.png +0 -0
- data/templates/project/admin/assets/images/wrench.png +0 -0
- data/templates/project/admin/assets/images/wrench16.png +0 -0
- data/templates/project/admin/assets/js/ajaxupload.js +606 -0
- data/templates/project/admin/assets/js/colorpicker.js +455 -0
- data/templates/project/admin/assets/js/cookie.js +1 -0
- data/templates/project/admin/assets/js/jquery.maskedinput-1.2.2.js +252 -0
- data/templates/project/admin/assets/js/jquery.tipsy.js +241 -0
- data/templates/project/admin/assets/js/of-medialibrary-uploader.js +168 -0
- data/templates/project/admin/assets/js/smof.js +623 -0
- data/templates/{starter → project}/admin/classes/class.options-machine.php +0 -0
- data/templates/project/admin/front-end/options.php +77 -0
- data/templates/project/admin/functions/functions.admin.php +76 -0
- data/templates/project/admin/functions/functions.interface.php +232 -0
- data/templates/project/admin/functions/functions.load.php +14 -0
- data/templates/{starter → project}/admin/functions/functions.mediauploader.php +0 -0
- data/templates/project/admin/functions/functions.options.php +508 -0
- data/templates/project/admin/functions/functions.php +0 -0
- data/templates/project/admin/index.php +87 -0
- data/templates/project/admin/layouts/default.css +0 -0
- data/templates/project/admin/layouts/placebo.css +0 -0
- data/templates/project/archive.php +57 -0
- data/templates/{starter → project}/category.php +0 -0
- data/templates/project/comments.php +65 -0
- data/templates/{starter → project}/content-aside.php +0 -0
- data/templates/{starter → project}/content-image.php +0 -0
- data/templates/{starter → project}/content-link.php +0 -0
- data/templates/{starter → project}/content-none.php +0 -0
- data/templates/project/content-page.php +24 -0
- data/templates/{starter → project}/content-quote.php +0 -0
- data/templates/{starter → project}/content-status.php +0 -0
- data/templates/project/content.php +67 -0
- data/templates/{starter → project}/editor-style.scss +0 -0
- data/templates/project/footer.php +29 -0
- data/templates/project/functions.php +1233 -0
- data/templates/project/header.php +63 -0
- data/templates/project/images/bg/bg0.png +0 -0
- data/templates/project/images/bg/bg1.png +0 -0
- data/templates/project/images/bg/bg10.png +0 -0
- data/templates/project/images/bg/bg11.png +0 -0
- data/templates/project/images/bg/bg2.png +0 -0
- data/templates/project/images/bg/bg3.png +0 -0
- data/templates/project/images/bg/bg4.png +0 -0
- data/templates/project/images/bg/bg5.png +0 -0
- data/templates/project/images/bg/bg6.jpg +0 -0
- data/templates/project/images/bg/bg7.jpg +0 -0
- data/templates/project/images/bg/bg8.png +0 -0
- data/templates/project/images/bg/bg9.png +0 -0
- data/templates/project/index.php +19 -0
- data/templates/project/javascripts/app.js +6 -0
- data/templates/{starter → project/javascripts}/moderninzr.min.js +0 -0
- data/templates/project/languages/readme.txt +6 -0
- data/templates/project/license.txt +281 -0
- data/templates/{starter → project}/loop.php +0 -0
- data/templates/project/manifest.rb +131 -4
- data/templates/project/options.php +42 -0
- data/templates/project/page.php +29 -0
- data/templates/project/readme.txt +6 -1
- data/templates/project/screenshot.png +0 -0
- data/templates/project/search.php +31 -0
- data/templates/project/searchform.php +14 -0
- data/templates/project/sidebar.php +15 -0
- data/templates/project/single.php +31 -0
- data/templates/project/style.css +5 -0
- data/templates/{starter → project}/tag.php +0 -0
- data/templates/starter/404.php +42 -19
- data/templates/starter/README.md +41 -0
- data/templates/starter/archive.php +89 -49
- data/templates/starter/comments.php +43 -32
- data/templates/starter/content-page.php +12 -16
- data/templates/starter/content-single.php +59 -0
- data/templates/starter/content.php +52 -58
- data/templates/starter/footer.php +20 -22
- data/templates/starter/functions.php +60 -1156
- data/templates/starter/header.php +31 -52
- data/templates/starter/image.php +111 -0
- data/templates/starter/inc/custom-header.php +184 -0
- data/templates/starter/inc/extras.php +79 -0
- data/templates/starter/inc/template-tags.php +175 -0
- data/templates/starter/inc/theme-options/theme-options.php +306 -0
- data/templates/starter/index.php +41 -11
- data/templates/starter/javascripts/html5.js +6 -0
- data/templates/starter/javascripts/keyboard-image-navigation.js +14 -0
- data/templates/starter/javascripts/small-menu.js +39 -0
- data/templates/starter/languages/readme.txt +6 -0
- data/templates/starter/layouts/content-sidebar-sidebar.css +27 -0
- data/templates/starter/layouts/content-sidebar.css +25 -0
- data/templates/starter/layouts/sidebar-content-sidebar.css +27 -0
- data/templates/starter/layouts/sidebar-content.css +25 -0
- data/templates/starter/layouts/sidebar-sidebar-content.css +22 -0
- data/templates/starter/license.txt +281 -0
- data/templates/starter/manifest.rb +22 -110
- data/templates/starter/no-results.php +34 -0
- data/templates/starter/page.php +16 -14
- data/templates/starter/print.scss +1 -104
- data/templates/starter/rtl.css +17 -0
- data/templates/starter/screen.scss +653 -1
- data/templates/starter/screenshot.png +0 -0
- data/templates/starter/search.php +31 -21
- data/templates/starter/searchform.php +8 -9
- data/templates/starter/sidebar.php +29 -10
- data/templates/starter/single.php +24 -21
- data/templates/starter/style.css +10 -6
- metadata +401 -100
- data/templates/project/print.css +0 -4
- data/templates/starter/admin/functions/functions.options.php +0 -507
- data/templates/starter/app.js +0 -97
- data/templates/starter/options.php +0 -407
- data/templates/starter/readme.txt +0 -1
@@ -0,0 +1,56 @@
|
|
1
|
+
;(function ($, window, document, undefined) {
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
var settings = {
|
5
|
+
callback: $.noop,
|
6
|
+
init: false
|
7
|
+
},
|
8
|
+
|
9
|
+
methods = {
|
10
|
+
init : function (options) {
|
11
|
+
settings = $.extend({}, options, settings);
|
12
|
+
|
13
|
+
return this.each(function () {
|
14
|
+
if (!settings.init) methods.events();
|
15
|
+
});
|
16
|
+
},
|
17
|
+
|
18
|
+
events : function () {
|
19
|
+
$(document).on('click.fndtn', '.tabs a', function (e) {
|
20
|
+
methods.set_tab($(this).parent('dd, li'), e);
|
21
|
+
});
|
22
|
+
|
23
|
+
settings.init = true;
|
24
|
+
},
|
25
|
+
|
26
|
+
set_tab : function ($tab, e) {
|
27
|
+
var $activeTab = $tab.closest('dl, ul').find('.active'),
|
28
|
+
target = $tab.children('a').attr("href"),
|
29
|
+
hasHash = /^#/.test(target),
|
30
|
+
$content = $(target + 'Tab');
|
31
|
+
|
32
|
+
if (hasHash && $content.length > 0) {
|
33
|
+
// Show tab content
|
34
|
+
e.preventDefault();
|
35
|
+
$content.closest('.tabs-content').children('li').removeClass('active').hide();
|
36
|
+
$content.css('display', 'block').addClass('active');
|
37
|
+
}
|
38
|
+
|
39
|
+
// Make active tab
|
40
|
+
$activeTab.removeClass('active');
|
41
|
+
$tab.addClass('active');
|
42
|
+
|
43
|
+
settings.callback();
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
$.fn.foundationTabs = function (method) {
|
48
|
+
if (methods[method]) {
|
49
|
+
return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
|
50
|
+
} else if (typeof method === 'object' || !method) {
|
51
|
+
return methods.init.apply(this, arguments);
|
52
|
+
} else {
|
53
|
+
$.error('Method ' + method + ' does not exist on jQuery.foundationTooltips');
|
54
|
+
}
|
55
|
+
};
|
56
|
+
}(jQuery, this, this.document));
|
@@ -0,0 +1,193 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery Foundation Tooltips 2.0.1
|
3
|
+
* http://foundation.zurb.com
|
4
|
+
* Copyright 2012, ZURB
|
5
|
+
* Free to use under the MIT license.
|
6
|
+
* http://www.opensource.org/licenses/mit-license.php
|
7
|
+
*/
|
8
|
+
|
9
|
+
/*jslint unparam: true, browser: true, indent: 2 */
|
10
|
+
|
11
|
+
;(function ($, window, undefined) {
|
12
|
+
'use strict';
|
13
|
+
|
14
|
+
var settings = {
|
15
|
+
bodyHeight : 0,
|
16
|
+
selector : '.has-tip',
|
17
|
+
tooltipClass : '.tooltip',
|
18
|
+
tipTemplate : function (selector, content) {
|
19
|
+
return '<span data-selector="' + selector + '" class="' + settings.tooltipClass.substring(1) + '">' + content + '<span class="nub"></span></span>';
|
20
|
+
}
|
21
|
+
},
|
22
|
+
methods = {
|
23
|
+
init : function (options) {
|
24
|
+
settings = $.extend(settings, options);
|
25
|
+
|
26
|
+
// alias the old targetClass option
|
27
|
+
settings.selector = settings.targetClass ? settings.targetClass : settings.selector;
|
28
|
+
|
29
|
+
return this.each(function () {
|
30
|
+
var $body = $('body');
|
31
|
+
|
32
|
+
if (Modernizr.touch) {
|
33
|
+
$body.on('click.tooltip touchstart.tooltip touchend.tooltip', settings.selector, function (e) {
|
34
|
+
e.preventDefault();
|
35
|
+
$(settings.tooltipClass).hide();
|
36
|
+
methods.showOrCreateTip($(this));
|
37
|
+
});
|
38
|
+
$body.on('click.tooltip touchstart.tooltip touchend.tooltip', settings.tooltipClass, function (e) {
|
39
|
+
e.preventDefault();
|
40
|
+
$(this).fadeOut(150);
|
41
|
+
});
|
42
|
+
} else {
|
43
|
+
$body.on('mouseenter.tooltip mouseleave.tooltip', settings.selector, function (e) {
|
44
|
+
var $this = $(this);
|
45
|
+
|
46
|
+
if (e.type === 'mouseenter') {
|
47
|
+
methods.showOrCreateTip($this);
|
48
|
+
} else if (e.type === 'mouseleave') {
|
49
|
+
methods.hide($this);
|
50
|
+
}
|
51
|
+
});
|
52
|
+
}
|
53
|
+
|
54
|
+
$(this).data('tooltips', true);
|
55
|
+
|
56
|
+
});
|
57
|
+
},
|
58
|
+
showOrCreateTip : function ($target) {
|
59
|
+
var $tip = methods.getTip($target);
|
60
|
+
|
61
|
+
if ($tip && $tip.length > 0) {
|
62
|
+
methods.show($target);
|
63
|
+
} else {
|
64
|
+
methods.create($target);
|
65
|
+
}
|
66
|
+
},
|
67
|
+
getTip : function ($target) {
|
68
|
+
var selector = methods.selector($target),
|
69
|
+
tip = null;
|
70
|
+
|
71
|
+
if (selector) {
|
72
|
+
tip = $('span[data-selector=' + selector + ']' + settings.tooltipClass);
|
73
|
+
}
|
74
|
+
return (tip.length > 0) ? tip : false;
|
75
|
+
},
|
76
|
+
selector : function ($target) {
|
77
|
+
var id = $target.attr('id'),
|
78
|
+
dataSelector = $target.data('selector');
|
79
|
+
|
80
|
+
if (id === undefined && dataSelector === undefined) {
|
81
|
+
dataSelector = 'tooltip' + Math.random().toString(36).substring(7);
|
82
|
+
$target.attr('data-selector', dataSelector);
|
83
|
+
}
|
84
|
+
return (id) ? id : dataSelector;
|
85
|
+
},
|
86
|
+
create : function ($target) {
|
87
|
+
var $tip = $(settings.tipTemplate(methods.selector($target), $('<div>').html($target.attr('title')).html())),
|
88
|
+
classes = methods.inheritable_classes($target);
|
89
|
+
|
90
|
+
$tip.addClass(classes).appendTo('body');
|
91
|
+
if (Modernizr.touch) {
|
92
|
+
$tip.append('<span class="tap-to-close">tap to close </span>');
|
93
|
+
}
|
94
|
+
$target.removeAttr('title');
|
95
|
+
methods.show($target);
|
96
|
+
},
|
97
|
+
reposition : function (target, tip, classes) {
|
98
|
+
var width, nub, nubHeight, nubWidth, column, objPos;
|
99
|
+
|
100
|
+
tip.css('visibility', 'hidden').show();
|
101
|
+
|
102
|
+
width = target.data('width');
|
103
|
+
nub = tip.children('.nub');
|
104
|
+
nubHeight = nub.outerHeight();
|
105
|
+
nubWidth = nub.outerWidth();
|
106
|
+
|
107
|
+
objPos = function (obj, top, right, bottom, left, width) {
|
108
|
+
return obj.css({
|
109
|
+
'top' : top,
|
110
|
+
'bottom' : bottom,
|
111
|
+
'left' : left,
|
112
|
+
'right' : right,
|
113
|
+
'width' : (width) ? width : 'auto'
|
114
|
+
}).end();
|
115
|
+
};
|
116
|
+
|
117
|
+
objPos(tip, (target.offset().top + target.outerHeight() + 10), 'auto', 'auto', target.offset().left, width);
|
118
|
+
objPos(nub, -nubHeight, 'auto', 'auto', 10);
|
119
|
+
|
120
|
+
if ($(window).width() < 767) {
|
121
|
+
column = target.closest('.columns');
|
122
|
+
|
123
|
+
if (column.length < 0) {
|
124
|
+
// if not using Foundation
|
125
|
+
column = $('body');
|
126
|
+
}
|
127
|
+
tip.width(column.outerWidth() - 25).css('left', 15).addClass('tip-override');
|
128
|
+
objPos(nub, -nubHeight, 'auto', 'auto', target.offset().left);
|
129
|
+
} else {
|
130
|
+
if (classes && classes.indexOf('tip-top') > -1) {
|
131
|
+
objPos(tip, (target.offset().top - tip.outerHeight() - nubHeight), 'auto', 'auto', target.offset().left, width)
|
132
|
+
.removeClass('tip-override');
|
133
|
+
objPos(nub, 'auto', 'auto', -nubHeight, 'auto');
|
134
|
+
} else if (classes && classes.indexOf('tip-left') > -1) {
|
135
|
+
objPos(tip, (target.offset().top + (target.outerHeight() / 2) - nubHeight), 'auto', 'auto', (target.offset().left - tip.outerWidth() - 10), width)
|
136
|
+
.removeClass('tip-override');
|
137
|
+
objPos(nub, (tip.outerHeight() / 2) - (nubHeight / 2), -nubHeight, 'auto', 'auto');
|
138
|
+
} else if (classes && classes.indexOf('tip-right') > -1) {
|
139
|
+
objPos(tip, (target.offset().top + (target.outerHeight() / 2) - nubHeight), 'auto', 'auto', (target.offset().left + target.outerWidth() + 10), width)
|
140
|
+
.removeClass('tip-override');
|
141
|
+
objPos(nub, (tip.outerHeight() / 2) - (nubHeight / 2), 'auto', 'auto', -nubHeight);
|
142
|
+
}
|
143
|
+
}
|
144
|
+
tip.css('visibility', 'visible').hide();
|
145
|
+
},
|
146
|
+
inheritable_classes : function (target) {
|
147
|
+
var inheritables = ['tip-top', 'tip-left', 'tip-bottom', 'tip-right', 'noradius'],
|
148
|
+
classes = target.attr('class'),
|
149
|
+
filtered = classes ? $.map(classes.split(' '), function (el, i) {
|
150
|
+
if ($.inArray(el, inheritables) !== -1) {
|
151
|
+
return el;
|
152
|
+
}
|
153
|
+
}).join(' ') : '';
|
154
|
+
|
155
|
+
return $.trim(filtered);
|
156
|
+
},
|
157
|
+
show : function ($target) {
|
158
|
+
var $tip = methods.getTip($target);
|
159
|
+
|
160
|
+
methods.reposition($target, $tip, $target.attr('class'));
|
161
|
+
$tip.fadeIn(150);
|
162
|
+
},
|
163
|
+
hide : function ($target) {
|
164
|
+
var $tip = methods.getTip($target);
|
165
|
+
|
166
|
+
$tip.fadeOut(150);
|
167
|
+
},
|
168
|
+
reload : function () {
|
169
|
+
var $self = $(this);
|
170
|
+
|
171
|
+
return ($self.data('tooltips')) ? $self.foundationTooltips('destroy').foundationTooltips('init') : $self.foundationTooltips('init');
|
172
|
+
},
|
173
|
+
destroy : function () {
|
174
|
+
return this.each(function () {
|
175
|
+
$(window).off('.tooltip');
|
176
|
+
$(settings.selector).off('.tooltip');
|
177
|
+
$(settings.tooltipClass).each(function (i) {
|
178
|
+
$($(settings.selector).get(i)).attr('title', $(this).text());
|
179
|
+
}).remove();
|
180
|
+
});
|
181
|
+
}
|
182
|
+
};
|
183
|
+
|
184
|
+
$.fn.foundationTooltips = function (method) {
|
185
|
+
if (methods[method]) {
|
186
|
+
return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
|
187
|
+
} else if (typeof method === 'object' || !method) {
|
188
|
+
return methods.init.apply(this, arguments);
|
189
|
+
} else {
|
190
|
+
$.error('Method ' + method + ' does not exist on jQuery.foundationTooltips');
|
191
|
+
}
|
192
|
+
};
|
193
|
+
}(jQuery, this));
|
@@ -0,0 +1,156 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery Foundation Top Bar 2.0.2
|
3
|
+
* http://foundation.zurb.com
|
4
|
+
* Copyright 2012, ZURB
|
5
|
+
* Free to use under the MIT license.
|
6
|
+
* http://www.opensource.org/licenses/mit-license.php
|
7
|
+
*/
|
8
|
+
|
9
|
+
/*jslint unparam: true, browser: true, indent: 2 */
|
10
|
+
|
11
|
+
;(function ($, window, undefined) {
|
12
|
+
'use strict';
|
13
|
+
|
14
|
+
var settings = {
|
15
|
+
index : 0,
|
16
|
+
initialized : false
|
17
|
+
},
|
18
|
+
methods = {
|
19
|
+
init : function (options) {
|
20
|
+
return this.each(function () {
|
21
|
+
settings = $.extend(settings, options);
|
22
|
+
settings.$w = $(window),
|
23
|
+
settings.$topbar = $('nav.top-bar'),
|
24
|
+
settings.$section = settings.$topbar.find('section'),
|
25
|
+
settings.$titlebar = settings.$topbar.children('ul:first');
|
26
|
+
var breakpoint = $("<div class='top-bar-js-breakpoint'/>").appendTo("body");
|
27
|
+
settings.breakPoint = breakpoint.width();
|
28
|
+
breakpoint.remove();
|
29
|
+
|
30
|
+
if (!settings.initialized) {
|
31
|
+
methods.assemble();
|
32
|
+
settings.initialized = true;
|
33
|
+
}
|
34
|
+
|
35
|
+
if (!settings.height) {
|
36
|
+
methods.largestUL();
|
37
|
+
}
|
38
|
+
|
39
|
+
if (settings.$topbar.parent().hasClass('fixed')) {
|
40
|
+
$('body').css('padding-top',settings.$topbar.outerHeight())
|
41
|
+
}
|
42
|
+
|
43
|
+
$('.top-bar .toggle-topbar').die('click.fndtn').live('click.fndtn', function (e) {
|
44
|
+
e.preventDefault();
|
45
|
+
|
46
|
+
if (methods.breakpoint()) {
|
47
|
+
settings.$topbar.toggleClass('expanded');
|
48
|
+
settings.$topbar.css('min-height', '');
|
49
|
+
}
|
50
|
+
|
51
|
+
if (!settings.$topbar.hasClass('expanded')) {
|
52
|
+
settings.$section.css({left: '0%'});
|
53
|
+
settings.$section.find('>.name').css({left: '100%'});
|
54
|
+
settings.$section.find('li.moved').removeClass('moved');
|
55
|
+
settings.index = 0;
|
56
|
+
}
|
57
|
+
});
|
58
|
+
|
59
|
+
// Show the Dropdown Levels on Click
|
60
|
+
$('.top-bar .has-dropdown>a').die('click.fndtn').live('click.fndtn', function (e) {
|
61
|
+
if (Modernizr.touch || methods.breakpoint())
|
62
|
+
e.preventDefault();
|
63
|
+
|
64
|
+
if (methods.breakpoint()) {
|
65
|
+
var $this = $(this),
|
66
|
+
$selectedLi = $this.closest('li'),
|
67
|
+
$nextLevelUl = $selectedLi.children('ul'),
|
68
|
+
$nextLevelUlHeight = 0,
|
69
|
+
$largestUl;
|
70
|
+
|
71
|
+
settings.index += 1;
|
72
|
+
$selectedLi.addClass('moved');
|
73
|
+
settings.$section.css({left: -(100 * settings.index) + '%'});
|
74
|
+
settings.$section.find('>.name').css({left: 100 * settings.index + '%'});
|
75
|
+
|
76
|
+
$this.siblings('ul').height(settings.height + settings.$titlebar.outerHeight(true));
|
77
|
+
settings.$topbar.css('min-height', settings.height + settings.$titlebar.outerHeight(true) * 2)
|
78
|
+
}
|
79
|
+
});
|
80
|
+
|
81
|
+
$(window).on('resize.fndtn.topbar',function() {
|
82
|
+
if (!methods.breakpoint()) {
|
83
|
+
settings.$topbar.css('min-height', '');
|
84
|
+
}
|
85
|
+
});
|
86
|
+
|
87
|
+
// Go up a level on Click
|
88
|
+
$('.top-bar .has-dropdown .back').die('click.fndtn').live('click.fndtn', function (e) {
|
89
|
+
e.preventDefault();
|
90
|
+
|
91
|
+
var $this = $(this),
|
92
|
+
$movedLi = $this.closest('li.moved'),
|
93
|
+
$previousLevelUl = $movedLi.parent();
|
94
|
+
|
95
|
+
settings.index -= 1;
|
96
|
+
settings.$section.css({left: -(100 * settings.index) + '%'});
|
97
|
+
settings.$section.find('>.name').css({'left': 100 * settings.index + '%'});
|
98
|
+
|
99
|
+
if (settings.index === 0) {
|
100
|
+
settings.$topbar.css('min-height', 0);
|
101
|
+
}
|
102
|
+
|
103
|
+
setTimeout(function () {
|
104
|
+
$movedLi.removeClass('moved');
|
105
|
+
}, 300);
|
106
|
+
});
|
107
|
+
});
|
108
|
+
},
|
109
|
+
breakpoint : function () {
|
110
|
+
return settings.$w.width() < settings.breakPoint;
|
111
|
+
},
|
112
|
+
assemble : function () {
|
113
|
+
// Pull element out of the DOM for manipulation
|
114
|
+
settings.$section.detach();
|
115
|
+
|
116
|
+
settings.$section.find('.has-dropdown>a').each(function () {
|
117
|
+
var $link = $(this),
|
118
|
+
$dropdown = $link.siblings('.dropdown'),
|
119
|
+
$titleLi = $('<li class="title back js-generated"><h5><a href="#"></a></h5></li>');
|
120
|
+
|
121
|
+
// Copy link to subnav
|
122
|
+
$titleLi.find('h5>a').html($link.html());
|
123
|
+
$dropdown.prepend($titleLi);
|
124
|
+
});
|
125
|
+
|
126
|
+
// Put element back in the DOM
|
127
|
+
settings.$section.appendTo(settings.$topbar);
|
128
|
+
},
|
129
|
+
largestUL : function () {
|
130
|
+
var uls = settings.$topbar.find('section ul ul'),
|
131
|
+
largest = uls.first(),
|
132
|
+
total = 0;
|
133
|
+
|
134
|
+
uls.each(function () {
|
135
|
+
if ($(this).children('li').length > largest.children('li').length) {
|
136
|
+
largest = $(this);
|
137
|
+
}
|
138
|
+
});
|
139
|
+
|
140
|
+
largest.children('li').each(function () { total += $(this).outerHeight(true); });
|
141
|
+
|
142
|
+
settings.height = total;
|
143
|
+
}
|
144
|
+
};
|
145
|
+
|
146
|
+
$.fn.foundationTopBar = function (method) {
|
147
|
+
if (methods[method]) {
|
148
|
+
return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
|
149
|
+
} else if (typeof method === 'object' || !method) {
|
150
|
+
return methods.init.apply(this, arguments);
|
151
|
+
} else {
|
152
|
+
$.error('Method ' + method + ' does not exist on jQuery.foundationTopBar');
|
153
|
+
}
|
154
|
+
};
|
155
|
+
|
156
|
+
}(jQuery, this));
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/* Modernizr 2.6.2 (Custom Build) | MIT & BSD
|
2
|
+
* Build: http://modernizr.com/download/#-inlinesvg-svg-svgclippaths-touch-shiv-mq-cssclasses-teststyles-prefixes-ie8compat-load
|
3
|
+
*/
|
4
|
+
;window.Modernizr=function(a,b,c){function y(a){j.cssText=a}function z(a,b){return y(m.join(a+";")+(b||""))}function A(a,b){return typeof a===b}function B(a,b){return!!~(""+a).indexOf(b)}function C(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:A(f,"function")?f.bind(d||b):f}return!1}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n={svg:"http://www.w3.org/2000/svg"},o={},p={},q={},r=[],s=r.slice,t,u=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["­",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},v=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return u("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},w={}.hasOwnProperty,x;!A(w,"undefined")&&!A(w.call,"undefined")?x=function(a,b){return w.call(a,b)}:x=function(a,b){return b in a&&A(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=s.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(s.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(s.call(arguments)))};return e}),o.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:u(["@media (",m.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},o.svg=function(){return!!b.createElementNS&&!!b.createElementNS(n.svg,"svg").createSVGRect},o.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==n.svg},o.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(l.call(b.createElementNS(n.svg,"clipPath")))};for(var D in o)x(o,D)&&(t=D.toLowerCase(),e[t]=o[D](),r.push((e[t]?"":"no-")+t));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)x(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},y(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=m,e.mq=v,e.testStyles=u,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+r.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},Modernizr.addTest("ie8compat",function(){return!window.addEventListener&&document.documentMode&&document.documentMode===7});
|
@@ -0,0 +1,281 @@
|
|
1
|
+
GNU GENERAL PUBLIC LICENSE
|
2
|
+
Version 2, June 1991
|
3
|
+
|
4
|
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
5
|
+
51 Franklin St, Fifth Floor, Boston, MA 02110, USA
|
6
|
+
|
7
|
+
Everyone is permitted to copy and distribute verbatim copies
|
8
|
+
of this license document, but changing it is not allowed.
|
9
|
+
|
10
|
+
Preamble
|
11
|
+
|
12
|
+
The licenses for most software are designed to take away your
|
13
|
+
freedom to share and change it. By contrast, the GNU General Public
|
14
|
+
License is intended to guarantee your freedom to share and change free
|
15
|
+
software--to make sure the software is free for all its users. This
|
16
|
+
General Public License applies to most of the Free Software
|
17
|
+
Foundation's software and to any other program whose authors commit to
|
18
|
+
using it. (Some other Free Software Foundation software is covered by
|
19
|
+
the GNU Library General Public License instead.) You can apply it to
|
20
|
+
your programs, too.
|
21
|
+
|
22
|
+
When we speak of free software, we are referring to freedom, not
|
23
|
+
price. Our General Public Licenses are designed to make sure that you
|
24
|
+
have the freedom to distribute copies of free software (and charge for
|
25
|
+
this service if you wish), that you receive source code or can get it
|
26
|
+
if you want it, that you can change the software or use pieces of it
|
27
|
+
in new free programs; and that you know you can do these things.
|
28
|
+
|
29
|
+
To protect your rights, we need to make restrictions that forbid
|
30
|
+
anyone to deny you these rights or to ask you to surrender the rights.
|
31
|
+
These restrictions translate to certain responsibilities for you if you
|
32
|
+
distribute copies of the software, or if you modify it.
|
33
|
+
|
34
|
+
For example, if you distribute copies of such a program, whether
|
35
|
+
gratis or for a fee, you must give the recipients all the rights that
|
36
|
+
you have. You must make sure that they, too, receive or can get the
|
37
|
+
source code. And you must show them these terms so they know their
|
38
|
+
rights.
|
39
|
+
|
40
|
+
We protect your rights with two steps: (1) copyright the software, and
|
41
|
+
(2) offer you this license which gives you legal permission to copy,
|
42
|
+
distribute and/or modify the software.
|
43
|
+
|
44
|
+
Also, for each author's protection and ours, we want to make certain
|
45
|
+
that everyone understands that there is no warranty for this free
|
46
|
+
software. If the software is modified by someone else and passed on, we
|
47
|
+
want its recipients to know that what they have is not the original, so
|
48
|
+
that any problems introduced by others will not reflect on the original
|
49
|
+
authors' reputations.
|
50
|
+
|
51
|
+
Finally, any free program is threatened constantly by software
|
52
|
+
patents. We wish to avoid the danger that redistributors of a free
|
53
|
+
program will individually obtain patent licenses, in effect making the
|
54
|
+
program proprietary. To prevent this, we have made it clear that any
|
55
|
+
patent must be licensed for everyone's free use or not licensed at all.
|
56
|
+
|
57
|
+
The precise terms and conditions for copying, distribution and
|
58
|
+
modification follow.
|
59
|
+
|
60
|
+
GNU GENERAL PUBLIC LICENSE
|
61
|
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
62
|
+
|
63
|
+
0. This License applies to any program or other work which contains
|
64
|
+
a notice placed by the copyright holder saying it may be distributed
|
65
|
+
under the terms of this General Public License. The "Program", below,
|
66
|
+
refers to any such program or work, and a "work based on the Program"
|
67
|
+
means either the Program or any derivative work under copyright law:
|
68
|
+
that is to say, a work containing the Program or a portion of it,
|
69
|
+
either verbatim or with modifications and/or translated into another
|
70
|
+
language. (Hereinafter, translation is included without limitation in
|
71
|
+
the term "modification".) Each licensee is addressed as "you".
|
72
|
+
|
73
|
+
Activities other than copying, distribution and modification are not
|
74
|
+
covered by this License; they are outside its scope. The act of
|
75
|
+
running the Program is not restricted, and the output from the Program
|
76
|
+
is covered only if its contents constitute a work based on the
|
77
|
+
Program (independent of having been made by running the Program).
|
78
|
+
Whether that is true depends on what the Program does.
|
79
|
+
|
80
|
+
1. You may copy and distribute verbatim copies of the Program's
|
81
|
+
source code as you receive it, in any medium, provided that you
|
82
|
+
conspicuously and appropriately publish on each copy an appropriate
|
83
|
+
copyright notice and disclaimer of warranty; keep intact all the
|
84
|
+
notices that refer to this License and to the absence of any warranty;
|
85
|
+
and give any other recipients of the Program a copy of this License
|
86
|
+
along with the Program.
|
87
|
+
|
88
|
+
You may charge a fee for the physical act of transferring a copy, and
|
89
|
+
you may at your option offer warranty protection in exchange for a fee.
|
90
|
+
|
91
|
+
2. You may modify your copy or copies of the Program or any portion
|
92
|
+
of it, thus forming a work based on the Program, and copy and
|
93
|
+
distribute such modifications or work under the terms of Section 1
|
94
|
+
above, provided that you also meet all of these conditions:
|
95
|
+
|
96
|
+
a) You must cause the modified files to carry prominent notices
|
97
|
+
stating that you changed the files and the date of any change.
|
98
|
+
|
99
|
+
b) You must cause any work that you distribute or publish, that in
|
100
|
+
whole or in part contains or is derived from the Program or any
|
101
|
+
part thereof, to be licensed as a whole at no charge to all third
|
102
|
+
parties under the terms of this License.
|
103
|
+
|
104
|
+
c) If the modified program normally reads commands interactively
|
105
|
+
when run, you must cause it, when started running for such
|
106
|
+
interactive use in the most ordinary way, to print or display an
|
107
|
+
announcement including an appropriate copyright notice and a
|
108
|
+
notice that there is no warranty (or else, saying that you provide
|
109
|
+
a warranty) and that users may redistribute the program under
|
110
|
+
these conditions, and telling the user how to view a copy of this
|
111
|
+
License. (Exception: if the Program itself is interactive but
|
112
|
+
does not normally print such an announcement, your work based on
|
113
|
+
the Program is not required to print an announcement.)
|
114
|
+
|
115
|
+
These requirements apply to the modified work as a whole. If
|
116
|
+
identifiable sections of that work are not derived from the Program,
|
117
|
+
and can be reasonably considered independent and separate works in
|
118
|
+
themselves, then this License, and its terms, do not apply to those
|
119
|
+
sections when you distribute them as separate works. But when you
|
120
|
+
distribute the same sections as part of a whole which is a work based
|
121
|
+
on the Program, the distribution of the whole must be on the terms of
|
122
|
+
this License, whose permissions for other licensees extend to the
|
123
|
+
entire whole, and thus to each and every part regardless of who wrote it.
|
124
|
+
Thus, it is not the intent of this section to claim rights or contest
|
125
|
+
your rights to work written entirely by you; rather, the intent is to
|
126
|
+
exercise the right to control the distribution of derivative or
|
127
|
+
collective works based on the Program.
|
128
|
+
|
129
|
+
In addition, mere aggregation of another work not based on the Program
|
130
|
+
with the Program (or with a work based on the Program) on a volume of
|
131
|
+
a storage or distribution medium does not bring the other work under
|
132
|
+
the scope of this License.
|
133
|
+
|
134
|
+
3. You may copy and distribute the Program (or a work based on it,
|
135
|
+
under Section 2) in object code or executable form under the terms of
|
136
|
+
Sections 1 and 2 above provided that you also do one of the following:
|
137
|
+
|
138
|
+
a) Accompany it with the complete corresponding machine-readable
|
139
|
+
source code, which must be distributed under the terms of Sections
|
140
|
+
1 and 2 above on a medium customarily used for software interchange; or,
|
141
|
+
|
142
|
+
b) Accompany it with a written offer, valid for at least three
|
143
|
+
years, to give any third party, for a charge no more than your
|
144
|
+
cost of physically performing source distribution, a complete
|
145
|
+
machine-readable copy of the corresponding source code, to be
|
146
|
+
distributed under the terms of Sections 1 and 2 above on a medium
|
147
|
+
customarily used for software interchange; or,
|
148
|
+
|
149
|
+
c) Accompany it with the information you received as to the offer
|
150
|
+
to distribute corresponding source code. (This alternative is
|
151
|
+
allowed only for noncommercial distribution and only if you
|
152
|
+
received the program in object code or executable form with such
|
153
|
+
an offer, in accord with Subsection b above.)
|
154
|
+
|
155
|
+
The source code for a work means the preferred form of the work for
|
156
|
+
making modifications to it. For an executable work, complete source
|
157
|
+
code means all the source code for all modules it contains, plus any
|
158
|
+
associated interface definition files, plus the scripts used to
|
159
|
+
control compilation and installation of the executable. However, as a
|
160
|
+
special exception, the source code distributed need not include
|
161
|
+
anything that is normally distributed (in either source or binary
|
162
|
+
form) with the major components (compiler, kernel, and so on) of the
|
163
|
+
operating system on which the executable runs, unless that component
|
164
|
+
itself accompanies the executable.
|
165
|
+
|
166
|
+
If distribution of executable or object code is made by offering
|
167
|
+
access to copy from a designated place, then offering equivalent
|
168
|
+
access to copy the source code from the same place counts as
|
169
|
+
distribution of the source code, even though third parties are not
|
170
|
+
compelled to copy the source along with the object code.
|
171
|
+
|
172
|
+
4. You may not copy, modify, sublicense, or distribute the Program
|
173
|
+
except as expressly provided under this License. Any attempt
|
174
|
+
otherwise to copy, modify, sublicense or distribute the Program is
|
175
|
+
void, and will automatically terminate your rights under this License.
|
176
|
+
However, parties who have received copies, or rights, from you under
|
177
|
+
this License will not have their licenses terminated so long as such
|
178
|
+
parties remain in full compliance.
|
179
|
+
|
180
|
+
5. You are not required to accept this License, since you have not
|
181
|
+
signed it. However, nothing else grants you permission to modify or
|
182
|
+
distribute the Program or its derivative works. These actions are
|
183
|
+
prohibited by law if you do not accept this License. Therefore, by
|
184
|
+
modifying or distributing the Program (or any work based on the
|
185
|
+
Program), you indicate your acceptance of this License to do so, and
|
186
|
+
all its terms and conditions for copying, distributing or modifying
|
187
|
+
the Program or works based on it.
|
188
|
+
|
189
|
+
6. Each time you redistribute the Program (or any work based on the
|
190
|
+
Program), the recipient automatically receives a license from the
|
191
|
+
original licensor to copy, distribute or modify the Program subject to
|
192
|
+
these terms and conditions. You may not impose any further
|
193
|
+
restrictions on the recipients' exercise of the rights granted herein.
|
194
|
+
You are not responsible for enforcing compliance by third parties to
|
195
|
+
this License.
|
196
|
+
|
197
|
+
7. If, as a consequence of a court judgment or allegation of patent
|
198
|
+
infringement or for any other reason (not limited to patent issues),
|
199
|
+
conditions are imposed on you (whether by court order, agreement or
|
200
|
+
otherwise) that contradict the conditions of this License, they do not
|
201
|
+
excuse you from the conditions of this License. If you cannot
|
202
|
+
distribute so as to satisfy simultaneously your obligations under this
|
203
|
+
License and any other pertinent obligations, then as a consequence you
|
204
|
+
may not distribute the Program at all. For example, if a patent
|
205
|
+
license would not permit royalty-free redistribution of the Program by
|
206
|
+
all those who receive copies directly or indirectly through you, then
|
207
|
+
the only way you could satisfy both it and this License would be to
|
208
|
+
refrain entirely from distribution of the Program.
|
209
|
+
|
210
|
+
If any portion of this section is held invalid or unenforceable under
|
211
|
+
any particular circumstance, the balance of the section is intended to
|
212
|
+
apply and the section as a whole is intended to apply in other
|
213
|
+
circumstances.
|
214
|
+
|
215
|
+
It is not the purpose of this section to induce you to infringe any
|
216
|
+
patents or other property right claims or to contest validity of any
|
217
|
+
such claims; this section has the sole purpose of protecting the
|
218
|
+
integrity of the free software distribution system, which is
|
219
|
+
implemented by public license practices. Many people have made
|
220
|
+
generous contributions to the wide range of software distributed
|
221
|
+
through that system in reliance on consistent application of that
|
222
|
+
system; it is up to the author/donor to decide if he or she is willing
|
223
|
+
to distribute software through any other system and a licensee cannot
|
224
|
+
impose that choice.
|
225
|
+
|
226
|
+
This section is intended to make thoroughly clear what is believed to
|
227
|
+
be a consequence of the rest of this License.
|
228
|
+
|
229
|
+
8. If the distribution and/or use of the Program is restricted in
|
230
|
+
certain countries either by patents or by copyrighted interfaces, the
|
231
|
+
original copyright holder who places the Program under this License
|
232
|
+
may add an explicit geographical distribution limitation excluding
|
233
|
+
those countries, so that distribution is permitted only in or among
|
234
|
+
countries not thus excluded. In such case, this License incorporates
|
235
|
+
the limitation as if written in the body of this License.
|
236
|
+
|
237
|
+
9. The Free Software Foundation may publish revised and/or new versions
|
238
|
+
of the General Public License from time to time. Such new versions will
|
239
|
+
be similar in spirit to the present version, but may differ in detail to
|
240
|
+
address new problems or concerns.
|
241
|
+
|
242
|
+
Each version is given a distinguishing version number. If the Program
|
243
|
+
specifies a version number of this License which applies to it and "any
|
244
|
+
later version", you have the option of following the terms and conditions
|
245
|
+
either of that version or of any later version published by the Free
|
246
|
+
Software Foundation. If the Program does not specify a version number of
|
247
|
+
this License, you may choose any version ever published by the Free Software
|
248
|
+
Foundation.
|
249
|
+
|
250
|
+
10. If you wish to incorporate parts of the Program into other free
|
251
|
+
programs whose distribution conditions are different, write to the author
|
252
|
+
to ask for permission. For software which is copyrighted by the Free
|
253
|
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
254
|
+
make exceptions for this. Our decision will be guided by the two goals
|
255
|
+
of preserving the free status of all derivatives of our free software and
|
256
|
+
of promoting the sharing and reuse of software generally.
|
257
|
+
|
258
|
+
NO WARRANTY
|
259
|
+
|
260
|
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
261
|
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
262
|
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
263
|
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
264
|
+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
265
|
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
266
|
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
267
|
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
268
|
+
REPAIR OR CORRECTION.
|
269
|
+
|
270
|
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
271
|
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
272
|
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
273
|
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
274
|
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
275
|
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
276
|
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
277
|
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
278
|
+
POSSIBILITY OF SUCH DAMAGES.
|
279
|
+
|
280
|
+
END OF TERMS AND CONDITIONS
|
281
|
+
|