├── .htaccess ├── LICENSE ├── README.textile ├── app ├── .htaccess ├── app_controller.php ├── app_model.php ├── config │ ├── acl.ini.php │ ├── bootstrap.php │ ├── constants.php │ ├── constants.php~ │ ├── core.php │ ├── core.php~ │ ├── database.php.default │ ├── inflections.php │ ├── languages.php │ ├── routes.php │ └── sql │ │ ├── db_acl.php │ │ ├── db_acl.sql │ │ ├── i18n.php │ │ ├── i18n.sql │ │ ├── sessions.php │ │ ├── sessions.sql │ │ └── structure │ │ ├── 20090513-1-samsinitialdb.sql │ │ ├── 20090513-2-add_title_to_images.sql │ │ ├── 20090513-3-modfied_and_new_tables.sql │ │ ├── 20090513-4-dk-basic-structure.sql │ │ ├── 20090514-1-sam_logintables.sql │ │ ├── 20090514-2-dk-collabs_links_update.sql │ │ ├── 20090514-3-zb-alter_profile.sql │ │ ├── 20090514-4-sam-changesforscientist.sql │ │ ├── 20090515-1-sam_expertisesscientitstable.sql │ │ ├── 20090515-2-dk_embeddedvids.sql │ │ ├── 20090515-3-zb-sams_hash_col_for_users.sql │ │ ├── 20090518-1-dk-outsidefunds-creation.sql │ │ ├── 20090518-1-zb-donations.sql │ │ ├── 20090519-1-dk-projectsteps.sql │ │ ├── 20090520-1-dk-userprivileges.sql │ │ ├── 20090520-2-dk-projectstatus.sql │ │ ├── 20090520-2-sc-education.sql │ │ ├── 20090521-1-sc-donationuser.sql │ │ ├── 20090521-1-zb-slug_for_projects.sql │ │ ├── 20090525-1-zb-allow_nulls_on_contact.sql │ │ ├── 20090525-2-zb-modify_enum_on_document.sql │ │ ├── 20090525-3-zb-modify_education_make_profile_link_instead_of_enum.sql │ │ ├── 20090526-1-sam-drop_user_id_from_scientists.sql │ │ ├── 20090615-1-sam-imagetablealter.sql │ │ ├── 20090616-1-dk-img_thumbs_and_order.sql │ │ ├── 20090731-1-marine_add_is_featured_on_users_and_projects.sql │ │ ├── 20090731-1-marine_create_table_oath_user_tokens.sql │ │ ├── 20090805-1-marine_create_table_contact_emai_addresses.sql │ │ ├── 20090813-1-zb-project_summary_fields.sql │ │ ├── 20090928-1-marine-update-line_item_categories.sql │ │ ├── 20091029-1-zb-projects_is_demo.sql │ │ ├── 20091029-2-zb-remove-commercialization-replace-with-plan.sql │ │ ├── 20091029-3-zb-line_item_categories_update.sql │ │ ├── 20091029-4-zb-more_line_item_categories_updates.sql │ │ ├── 20091101-1-zb-add-line_item_category.sql │ │ ├── 20100204-1-dk-project-details-text.sql │ │ ├── run_in_order.sh │ │ └── run_update_20091031.sh ├── controllers │ ├── collaborators_controller.php │ ├── components │ │ ├── authorize_net.php │ │ ├── empty │ │ ├── oauth_consumer.php │ │ ├── oauth_consumers │ │ │ ├── abstract_consumer.php │ │ │ └── google_consumer.php │ │ ├── php5tube.php │ │ ├── ssl.php │ │ └── upload.php │ ├── documents_controller.php │ ├── embedded_videos_controller.php │ ├── google_controller.php │ ├── images_controller.php │ ├── line_items_controller.php │ ├── links_controller.php │ ├── outside_funding_sources_controller.php │ ├── pages_controller.php │ ├── projects_controller.php │ ├── search_controller.php │ └── users_controller.php ├── index.php ├── locale │ └── eng │ │ └── LC_MESSAGES │ │ └── empty ├── models │ ├── behaviors │ │ ├── empty │ │ └── sluggable.php │ ├── collaborator.php │ ├── contact.php │ ├── contact_email_address.php │ ├── datasources │ │ └── empty │ ├── document.php │ ├── donation.php │ ├── education.php │ ├── embedded_video.php │ ├── expertise.php │ ├── image.php │ ├── interest.php │ ├── line_item.php │ ├── line_item_category.php │ ├── link.php │ ├── oauth_user_token.php │ ├── outside_funding_source.php │ ├── profile.php │ ├── project.php │ ├── project_category.php │ ├── scientist.php │ ├── scientist_expertise.php │ ├── user.php │ └── user_interest.php ├── plugins │ └── empty ├── tests │ ├── cases │ │ ├── behaviors │ │ │ └── empty │ │ ├── components │ │ │ └── empty │ │ ├── controllers │ │ │ └── empty │ │ ├── helpers │ │ │ └── empty │ │ └── models │ │ │ └── empty │ ├── fixtures │ │ └── empty │ └── groups │ │ └── empty ├── tmp.tmp ├── vendors │ ├── OAuth │ │ └── OAuth.php │ ├── facebook │ │ ├── facebook.php │ │ ├── facebook_mobile.php │ │ ├── facebookapi_php5_restlib.php │ │ └── jsonwrapper │ │ │ ├── JSON │ │ │ ├── JSON.php │ │ │ └── LICENSE │ │ │ ├── jsonwrapper.php │ │ │ └── jsonwrapper_inner.php │ └── shells │ │ ├── tasks │ │ └── empty │ │ └── templates │ │ └── empty ├── views │ ├── collaborators │ │ ├── add.ctp │ │ └── view.ctp │ ├── elements │ │ ├── admin-nav.ctp │ │ ├── blank.ctp │ │ ├── documents.ctp │ │ ├── email │ │ │ ├── html │ │ │ │ └── password_reset.ctp │ │ │ └── text │ │ │ │ ├── activation.ctp │ │ │ │ ├── password_reset.ctp │ │ │ │ └── project_contact.ctp │ │ ├── empty │ │ ├── footer.ctp │ │ ├── header-end.ctp │ │ ├── header-home.ctp │ │ ├── header-home.ctp~ │ │ ├── header-icons.ctp │ │ ├── header-main.ctp │ │ ├── header-simple.ctp │ │ ├── meta-tags.ctp │ │ ├── page-init.ctp │ │ ├── pages │ │ │ ├── about-header.ctp │ │ │ └── help-header.ctp │ │ ├── projects │ │ │ ├── collaborator-add.ctp │ │ │ ├── collaborators.ctp │ │ │ ├── document-add.ctp │ │ │ ├── donate.ctp │ │ │ ├── embeddedvideo-add.ctp │ │ │ ├── embeddedvideos.ctp │ │ │ ├── end-form.ctp │ │ │ ├── financial-details.ctp │ │ │ ├── firstpage.ctp │ │ │ ├── form-steps.ctp │ │ │ ├── image-add.ctp │ │ │ ├── images.ctp │ │ │ ├── lineitem-add.ctp │ │ │ ├── lineitems.ctp │ │ │ ├── lineitems.old │ │ │ ├── link-add.ctp │ │ │ ├── links.ctp │ │ │ ├── outsidefund-add.ctp │ │ │ ├── outsidefunds.ctp │ │ │ ├── paginator.ctp │ │ │ ├── project-header.ctp │ │ │ ├── project-header.ctp~ │ │ │ ├── search-item.ctp │ │ │ └── table-list.ctp │ │ ├── standard-error.ctp │ │ └── users │ │ │ ├── edit │ │ │ ├── basic-user-form-start.ctp │ │ │ ├── tab1.ctp │ │ │ ├── tab2.ctp │ │ │ ├── tab3.ctp │ │ │ ├── tab4.ctp │ │ │ └── tab5.ctp │ │ │ ├── profile.ctp │ │ │ ├── profile_photos.ctp │ │ │ ├── projects.ctp │ │ │ └── scientist.ctp │ ├── errors │ │ ├── empty │ │ ├── error404.ctp │ │ ├── missing_action.ctp │ │ ├── missing_controller.ctp │ │ ├── missing_model.ctp │ │ └── missing_view.ctp │ ├── google │ │ ├── recap.ctp │ │ └── show_contacts.ctp │ ├── helpers │ │ ├── commalist.php │ │ ├── empty │ │ ├── exygyforms.php │ │ └── geography.php │ ├── layouts │ │ ├── ajax.ctp │ │ ├── browse.ctp │ │ ├── default.ctp │ │ ├── email │ │ │ ├── html │ │ │ │ └── default.ctp │ │ │ └── text │ │ │ │ └── default.ctp │ │ ├── home.ctp │ │ ├── home.ctp~ │ │ ├── js │ │ │ └── empty │ │ ├── messages │ │ │ ├── error.ctp │ │ │ └── success.ctp │ │ ├── rss │ │ │ └── empty │ │ ├── stripped.ctp │ │ └── xml │ │ │ └── empty │ ├── pages │ │ ├── about-board.ctp │ │ ├── about-how.ctp │ │ ├── about-team.ctp │ │ ├── about-what.ctp │ │ ├── about.ctp │ │ ├── browse.ctp │ │ ├── donate.ctp │ │ ├── edit_scientist.ctp │ │ ├── edit_scientist.ctp~ │ │ ├── edit_user.ctp │ │ ├── edit_user.ctp~ │ │ ├── help-contact.ctp │ │ ├── help-faq.ctp │ │ ├── help-internships.ctp │ │ ├── help-media.ctp │ │ ├── help.ctp │ │ ├── home.ctp │ │ ├── login.ctp │ │ ├── privacy.ctp │ │ ├── profile.ctp │ │ ├── project-intro.ctp │ │ ├── project.ctp │ │ ├── register.ctp │ │ ├── submit.ctp │ │ ├── terms.ctp │ │ └── test.ctp │ ├── projects │ │ ├── add.ctp │ │ ├── admin_donations.ctp │ │ ├── admin_donations.ctp~ │ │ ├── admin_donors.ctp │ │ ├── admin_donors.ctp~ │ │ ├── admin_feature.ctp │ │ ├── admin_index.ctp │ │ ├── category.ctp │ │ ├── details.ctp │ │ ├── donate.ctp │ │ ├── donation_complete.ctp │ │ ├── edit.ctp │ │ ├── feature.ctp │ │ ├── financial_details.ctp │ │ ├── home.ctp │ │ ├── index.ctp │ │ ├── search.ctp │ │ └── view.ctp │ ├── scaffolds │ │ └── empty │ ├── search │ │ └── find.ctp │ └── users │ │ ├── activate.ctp │ │ ├── edit.ctp │ │ ├── edit_password.ctp │ │ ├── edit_science.ctp │ │ ├── login.ctp │ │ ├── profile.ctp │ │ ├── register.ctp │ │ └── reset_password.ctp └── webroot │ ├── .htaccess │ ├── css.php │ ├── css │ ├── cake.generic.css │ ├── fancy_closebox.png │ ├── fancy_left.png │ ├── fancy_progress.png │ ├── fancy_right.png │ ├── fancy_shadow_e.png │ ├── fancy_shadow_n.png │ ├── fancy_shadow_ne.png │ ├── fancy_shadow_nw.png │ ├── fancy_shadow_s.png │ ├── fancy_shadow_se.png │ ├── fancy_shadow_sw.png │ ├── fancy_shadow_w.png │ ├── fancy_title_left.png │ ├── fancy_title_main.png │ ├── fancy_title_right.png │ ├── img │ │ ├── ball-blue.png │ │ ├── ball-gray.png │ │ ├── ball-green.png │ │ ├── ball-orange.png │ │ ├── donate-button.jpg │ │ ├── drag-arrow.jpg │ │ ├── getstarted-arrow.jpg │ │ ├── hint_topborder.gif │ │ ├── home-donate-button.png │ │ ├── home-scientist-button.png │ │ ├── lightbox │ │ │ ├── blank.gif │ │ │ ├── close.gif │ │ │ ├── closelabel.gif │ │ │ ├── image-1.jpg │ │ │ ├── loading.gif │ │ │ ├── next.gif │ │ │ ├── nextlabel.gif │ │ │ ├── prev.gif │ │ │ ├── prevlabel.gif │ │ │ └── thumb-1.jpg │ │ ├── mid-bg.jpg │ │ ├── mid-gradient-bg.jpg │ │ ├── mid-piece-left.jpg │ │ ├── mid-piece-right.jpg │ │ ├── midlink-bg.jpg │ │ ├── search.jpg │ │ ├── tab-bg.jpg │ │ ├── tab-piece-left.jpg │ │ ├── tab-piece-right.jpg │ │ ├── thermometer.jpg │ │ ├── top-bar-top.jpg │ │ ├── top-link-left.jpg │ │ └── top-link-right.jpg │ ├── jquery.fancybox.css │ ├── lightbox.css │ ├── niceforms-default.css │ ├── style.css │ └── wforms.css │ ├── error_log │ ├── favicon.ico │ ├── favicon.jpg │ ├── fbconnect │ ├── test.html │ └── xd_receiver.htm │ ├── img │ ├── border-left.jpg │ ├── cake.icon.gif │ ├── cake.power.gif │ ├── facebook-f.gif │ ├── icon-1-lite.png │ ├── icon-1.png │ ├── icon-2-lite.png │ ├── icon-2.png │ ├── icon-3-lite.png │ ├── icon-3.png │ ├── icon-4-lite.png │ ├── icon-4.png │ ├── icon-5-lite.png │ ├── icon-5.png │ ├── istockphoto_8478786-another-expert.jpg │ ├── logo-big.gif │ ├── logo.jpg │ ├── logo_beta.jpg │ ├── logo_beta_new.jpg │ ├── monkey.jpg │ ├── oil-barrels.jpg │ └── twitter-t.gif │ ├── index.php │ ├── js │ ├── bitly.js │ ├── eureka.js │ ├── jquery-1.3.2.min.js │ ├── jquery.easing.1.3.js │ ├── jquery.fancybox-1.2.3.js │ ├── jquery.fancybox-1.2.3.pack.js │ ├── jquery.tools.min.js │ ├── lightbox.js │ ├── niceforms.js │ ├── prototype.js │ ├── scriptaculous │ │ ├── builder.js │ │ ├── controls.js │ │ ├── dragdrop.js │ │ ├── effects.js │ │ ├── scriptaculous.js │ │ ├── slider.js │ │ ├── sound.js │ │ └── unittest.js │ ├── vendors.php │ └── wforms.js │ ├── test.php │ └── xd_receiver.htm ├── cake ├── LICENSE.txt ├── VERSION.txt ├── basics.php ├── bootstrap.php ├── config │ ├── config.php │ ├── paths.php │ └── unicode │ │ └── casefolding │ │ ├── 0080_00ff.php │ │ ├── 0100_017f.php │ │ ├── 0180_024F.php │ │ ├── 0250_02af.php │ │ ├── 0370_03ff.php │ │ ├── 0400_04ff.php │ │ ├── 0500_052f.php │ │ ├── 0530_058f.php │ │ ├── 1e00_1eff.php │ │ ├── 1f00_1fff.php │ │ ├── 2100_214f.php │ │ ├── 2150_218f.php │ │ ├── 2460_24ff.php │ │ ├── 2c00_2c5f.php │ │ ├── 2c60_2c7f.php │ │ ├── 2c80_2cff.php │ │ └── ff00_ffef.php ├── console │ ├── cake │ ├── cake.bat │ ├── cake.php │ ├── error.php │ └── libs │ │ ├── acl.php │ │ ├── api.php │ │ ├── bake.php │ │ ├── console.php │ │ ├── i18n.php │ │ ├── schema.php │ │ ├── shell.php │ │ ├── tasks │ │ ├── controller.php │ │ ├── db_config.php │ │ ├── extract.php │ │ ├── model.php │ │ ├── plugin.php │ │ ├── project.php │ │ ├── test.php │ │ └── view.php │ │ ├── templates │ │ ├── skel │ │ │ ├── .htaccess │ │ │ ├── app_controller.php │ │ │ ├── app_helper.php │ │ │ ├── app_model.php │ │ │ ├── config │ │ │ │ ├── acl.ini.php │ │ │ │ ├── bootstrap.php │ │ │ │ ├── core.php │ │ │ │ ├── database.php.default │ │ │ │ ├── inflections.php │ │ │ │ ├── routes.php │ │ │ │ └── sql │ │ │ │ │ ├── db_acl.php │ │ │ │ │ ├── db_acl.sql │ │ │ │ │ ├── i18n.php │ │ │ │ │ ├── i18n.sql │ │ │ │ │ ├── sessions.php │ │ │ │ │ └── sessions.sql │ │ │ ├── controllers │ │ │ │ ├── components │ │ │ │ │ └── empty │ │ │ │ └── pages_controller.php │ │ │ ├── index.php │ │ │ ├── locale │ │ │ │ └── eng │ │ │ │ │ └── LC_MESSAGES │ │ │ │ │ └── empty │ │ │ ├── models │ │ │ │ ├── behaviors │ │ │ │ │ └── empty │ │ │ │ └── datasources │ │ │ │ │ └── empty │ │ │ ├── plugins │ │ │ │ └── empty │ │ │ ├── tests │ │ │ │ ├── cases │ │ │ │ │ ├── behaviors │ │ │ │ │ │ └── empty │ │ │ │ │ ├── components │ │ │ │ │ │ └── empty │ │ │ │ │ ├── controllers │ │ │ │ │ │ └── empty │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── empty │ │ │ │ │ └── models │ │ │ │ │ │ └── empty │ │ │ │ ├── fixtures │ │ │ │ │ └── empty │ │ │ │ └── groups │ │ │ │ │ └── empty │ │ │ ├── tmp │ │ │ │ ├── cache │ │ │ │ │ ├── models │ │ │ │ │ │ └── empty │ │ │ │ │ ├── persistent │ │ │ │ │ │ └── empty │ │ │ │ │ └── views │ │ │ │ │ │ └── empty │ │ │ │ ├── logs │ │ │ │ │ └── empty │ │ │ │ ├── sessions │ │ │ │ │ └── empty │ │ │ │ └── tests │ │ │ │ │ └── empty │ │ │ ├── vendors │ │ │ │ └── shells │ │ │ │ │ ├── tasks │ │ │ │ │ └── empty │ │ │ │ │ └── templates │ │ │ │ │ └── empty │ │ │ ├── views │ │ │ │ ├── elements │ │ │ │ │ ├── email │ │ │ │ │ │ ├── html │ │ │ │ │ │ │ └── default.ctp │ │ │ │ │ │ └── text │ │ │ │ │ │ │ └── default.ctp │ │ │ │ │ └── empty │ │ │ │ ├── errors │ │ │ │ │ └── empty │ │ │ │ ├── helpers │ │ │ │ │ └── empty │ │ │ │ ├── layouts │ │ │ │ │ ├── ajax.ctp │ │ │ │ │ ├── default.ctp │ │ │ │ │ ├── email │ │ │ │ │ │ ├── html │ │ │ │ │ │ │ └── default.ctp │ │ │ │ │ │ └── text │ │ │ │ │ │ │ └── default.ctp │ │ │ │ │ ├── flash.ctp │ │ │ │ │ ├── js │ │ │ │ │ │ └── default.ctp │ │ │ │ │ ├── rss │ │ │ │ │ │ └── default.ctp │ │ │ │ │ └── xml │ │ │ │ │ │ └── default.ctp │ │ │ │ ├── pages │ │ │ │ │ └── empty │ │ │ │ └── scaffolds │ │ │ │ │ └── empty │ │ │ └── webroot │ │ │ │ ├── .htaccess │ │ │ │ ├── css.php │ │ │ │ ├── css │ │ │ │ └── cake.generic.css │ │ │ │ ├── favicon.ico │ │ │ │ ├── img │ │ │ │ ├── cake.icon.gif │ │ │ │ └── cake.power.gif │ │ │ │ ├── index.php │ │ │ │ ├── js │ │ │ │ └── vendors.php │ │ │ │ └── test.php │ │ └── views │ │ │ ├── form.ctp │ │ │ ├── home.ctp │ │ │ ├── index.ctp │ │ │ └── view.ctp │ │ └── testsuite.php ├── dispatcher.php ├── libs │ ├── cache.php │ ├── cache │ │ ├── apc.php │ │ ├── file.php │ │ ├── memcache.php │ │ └── xcache.php │ ├── cake_log.php │ ├── class_registry.php │ ├── configure.php │ ├── controller │ │ ├── app_controller.php │ │ ├── component.php │ │ ├── components │ │ │ ├── acl.php │ │ │ ├── auth.php │ │ │ ├── cookie.php │ │ │ ├── email.php │ │ │ ├── request_handler.php │ │ │ ├── security.php │ │ │ └── session.php │ │ ├── controller.php │ │ ├── pages_controller.php │ │ └── scaffold.php │ ├── debugger.php │ ├── error.php │ ├── file.php │ ├── flay.php │ ├── folder.php │ ├── http_socket.php │ ├── i18n.php │ ├── inflector.php │ ├── l10n.php │ ├── magic_db.php │ ├── model │ │ ├── app_model.php │ │ ├── behavior.php │ │ ├── behaviors │ │ │ ├── acl.php │ │ │ ├── containable.php │ │ │ ├── translate.php │ │ │ └── tree.php │ │ ├── connection_manager.php │ │ ├── datasources │ │ │ ├── datasource.php │ │ │ ├── dbo │ │ │ │ ├── dbo_adodb.php │ │ │ │ ├── dbo_db2.php │ │ │ │ ├── dbo_firebird.php │ │ │ │ ├── dbo_mssql.php │ │ │ │ ├── dbo_mysql.php │ │ │ │ ├── dbo_mysqli.php │ │ │ │ ├── dbo_odbc.php │ │ │ │ ├── dbo_oracle.php │ │ │ │ ├── dbo_postgres.php │ │ │ │ ├── dbo_sqlite.php │ │ │ │ └── dbo_sybase.php │ │ │ └── dbo_source.php │ │ ├── db_acl.php │ │ ├── model.php │ │ └── schema.php │ ├── multibyte.php │ ├── object.php │ ├── overloadable.php │ ├── overloadable_php4.php │ ├── overloadable_php5.php │ ├── router.php │ ├── sanitize.php │ ├── security.php │ ├── session.php │ ├── set.php │ ├── socket.php │ ├── string.php │ ├── validation.php │ ├── view │ │ ├── elements │ │ │ ├── dump.ctp │ │ │ └── email │ │ │ │ ├── html │ │ │ │ └── default.ctp │ │ │ │ └── text │ │ │ │ └── default.ctp │ │ ├── errors │ │ │ ├── error404.ctp │ │ │ ├── missing_action.ctp │ │ │ ├── missing_component_class.ctp │ │ │ ├── missing_component_file.ctp │ │ │ ├── missing_connection.ctp │ │ │ ├── missing_controller.ctp │ │ │ ├── missing_helper_class.ctp │ │ │ ├── missing_helper_file.ctp │ │ │ ├── missing_layout.ctp │ │ │ ├── missing_model.ctp │ │ │ ├── missing_scaffolddb.ctp │ │ │ ├── missing_table.ctp │ │ │ ├── missing_view.ctp │ │ │ ├── private_action.ctp │ │ │ └── scaffold_error.ctp │ │ ├── helper.php │ │ ├── helpers │ │ │ ├── ajax.php │ │ │ ├── app_helper.php │ │ │ ├── cache.php │ │ │ ├── form.php │ │ │ ├── html.php │ │ │ ├── javascript.php │ │ │ ├── js.php │ │ │ ├── number.php │ │ │ ├── paginator.php │ │ │ ├── rss.php │ │ │ ├── session.php │ │ │ ├── text.php │ │ │ ├── time.php │ │ │ └── xml.php │ │ ├── layouts │ │ │ ├── ajax.ctp │ │ │ ├── default.ctp │ │ │ ├── email │ │ │ │ ├── html │ │ │ │ │ └── default.ctp │ │ │ │ └── text │ │ │ │ │ └── default.ctp │ │ │ ├── flash.ctp │ │ │ ├── js │ │ │ │ └── default.ctp │ │ │ ├── rss │ │ │ │ └── default.ctp │ │ │ └── xml │ │ │ │ └── default.ctp │ │ ├── media.php │ │ ├── pages │ │ │ └── home.ctp │ │ ├── scaffolds │ │ │ ├── edit.ctp │ │ │ ├── index.ctp │ │ │ └── view.ctp │ │ ├── theme.php │ │ └── view.php │ └── xml.php └── tests │ └── lib │ ├── cake_reporter.php │ ├── cake_test_case.php │ ├── cake_test_fixture.php │ ├── cake_test_model.php │ ├── cake_web_test_case.php │ ├── cli_reporter.php │ ├── code_coverage_manager.php │ ├── content.php │ ├── footer.php │ ├── header.php │ ├── simpletest.php │ ├── test_manager.php │ └── xdebug.php └── index.php /.htaccess: -------------------------------------------------------------------------------- 1 | #AuthUserFile /home/eurekafu/htpasswd/alpha/basic 2 | #AuthName "Eureka Fund Alpha" 3 | #AuthType Basic 4 | #Require valid-user 5 | 6 | #Action application/x-httpd-php5 /cgi-sys/php5 7 | #AddType application/x-httpd-php5 .php 8 | 9 | 10 | RewriteEngine on 11 | RewriteRule ^$ app/webroot/ [L] 12 | RewriteRule (.*) app/webroot/$1 [L] 13 | 14 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2011 Exygy, LLC 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the 'Software'), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.textile: -------------------------------------------------------------------------------- 1 | h1. CrowdFund 2 | 3 | By Exygy, LLC 4 | http://exygy.com 5 | 6 | CrowdFund is a simple, Open Source, Crowdsource funding platform. It is currently used to power EurekaFund.org. 7 | 8 | CrowdFund is built in CakePHP. 9 | 10 | It is built by Exygy in San Francisco. Please get in touch for any help customizing :) We are available for contract work. 11 | 12 | h2. Installation Instructions 13 | 14 | See the wiki page, here: https://github.com/Exygy/CrowdFund/wiki/Installation-Instructions 15 | 16 | h2. Known Issues 17 | 18 | See the wiki page, here: https://github.com/Exygy/CrowdFund/wiki/Known-Issues 19 | 20 | h2. License 21 | 22 | See LICENSE. 23 | 24 | -------------------------------------------------------------------------------- /app/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine on 3 | RewriteRule ^$ webroot/ [L] 4 | RewriteRule (.*) webroot/$1 [L] 5 | -------------------------------------------------------------------------------- /app/app_model.php: -------------------------------------------------------------------------------- 1 | alias.'.', '', $options['fields'][$i]); 20 | } 21 | 22 | return Set::combine($list, '{n}.'.$this->alias.'.'.$this->primaryKey, 23 | array('%s'.$options['separator'].'%s', 24 | '{n}.'.$this->alias.'.'.$field[1], 25 | '{n}.'.$this->alias.'.'.$field[2])); 26 | break; 27 | 28 | default: 29 | return parent::find($type, $options); 30 | break; 31 | } 32 | } 33 | } 34 | ?> 35 | -------------------------------------------------------------------------------- /app/config/constants.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/config/constants.php~: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/config/sql/db_acl.sql: -------------------------------------------------------------------------------- 1 | # $Id: db_acl.sql 7945 2008-12-19 02:16:01Z gwoo $ 2 | # 3 | # Copyright 2005-2008, Cake Software Foundation, Inc. 4 | # 5 | # Licensed under The MIT License 6 | # Redistributions of files must retain the above copyright notice. 7 | # http://www.opensource.org/licenses/mit-license.php The MIT License 8 | 9 | CREATE TABLE acos ( 10 | id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, 11 | parent_id INTEGER(10) DEFAULT NULL, 12 | model VARCHAR(255) DEFAULT '', 13 | foreign_key INTEGER(10) UNSIGNED DEFAULT NULL, 14 | alias VARCHAR(255) DEFAULT '', 15 | lft INTEGER(10) DEFAULT NULL, 16 | rght INTEGER(10) DEFAULT NULL, 17 | PRIMARY KEY (id) 18 | ); 19 | 20 | CREATE TABLE aros_acos ( 21 | id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, 22 | aro_id INTEGER(10) UNSIGNED NOT NULL, 23 | aco_id INTEGER(10) UNSIGNED NOT NULL, 24 | _create CHAR(2) NOT NULL DEFAULT 0, 25 | _read CHAR(2) NOT NULL DEFAULT 0, 26 | _update CHAR(2) NOT NULL DEFAULT 0, 27 | _delete CHAR(2) NOT NULL DEFAULT 0, 28 | PRIMARY KEY(id) 29 | ); 30 | 31 | CREATE TABLE aros ( 32 | id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, 33 | parent_id INTEGER(10) DEFAULT NULL, 34 | model VARCHAR(255) DEFAULT '', 35 | foreign_key INTEGER(10) UNSIGNED DEFAULT NULL, 36 | alias VARCHAR(255) DEFAULT '', 37 | lft INTEGER(10) DEFAULT NULL, 38 | rght INTEGER(10) DEFAULT NULL, 39 | PRIMARY KEY (id) 40 | ); 41 | -------------------------------------------------------------------------------- /app/config/sql/i18n.sql: -------------------------------------------------------------------------------- 1 | # $Id: i18n.sql 7945 2008-12-19 02:16:01Z gwoo $ 2 | # 3 | # Copyright 2005-2008, Cake Software Foundation, Inc. 4 | # 5 | # Licensed under The MIT License 6 | # Redistributions of files must retain the above copyright notice. 7 | # http://www.opensource.org/licenses/mit-license.php The MIT License 8 | 9 | CREATE TABLE i18n ( 10 | id int(10) NOT NULL auto_increment, 11 | locale varchar(6) NOT NULL, 12 | model varchar(255) NOT NULL, 13 | foreign_key int(10) NOT NULL, 14 | field varchar(255) NOT NULL, 15 | content mediumtext, 16 | PRIMARY KEY (id), 17 | # UNIQUE INDEX I18N_LOCALE_FIELD(locale, model, foreign_key, field), 18 | # INDEX I18N_LOCALE_ROW(locale, model, foreign_key), 19 | # INDEX I18N_LOCALE_MODEL(locale, model), 20 | # INDEX I18N_FIELD(model, foreign_key, field), 21 | # INDEX I18N_ROW(model, foreign_key), 22 | INDEX locale (locale), 23 | INDEX model (model), 24 | INDEX row_id (foreign_key), 25 | INDEX field (field) 26 | ); 27 | -------------------------------------------------------------------------------- /app/config/sql/sessions.sql: -------------------------------------------------------------------------------- 1 | # $Id: sessions.sql 7118 2008-06-04 20:49:29Z gwoo $ 2 | # 3 | # Copyright 2005-2008, Cake Software Foundation, Inc. 4 | # 1785 E. Sahara Avenue, Suite 490-204 5 | # Las Vegas, Nevada 89104 6 | # 7 | # Licensed under The MIT License 8 | # Redistributions of files must retain the above copyright notice. 9 | # http://www.opensource.org/licenses/mit-license.php The MIT License 10 | 11 | CREATE TABLE cake_sessions ( 12 | id varchar(255) NOT NULL default '', 13 | data text, 14 | expires int(11) default NULL, 15 | PRIMARY KEY (id) 16 | ); -------------------------------------------------------------------------------- /app/config/sql/structure/20090513-2-add_title_to_images.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `images` ADD `title` VARCHAR( 255 ) NULL ; 2 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090514-1-sam_logintables.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `users` ADD UNIQUE ( 2 | `email` 3 | ) 4 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090514-2-dk-collabs_links_update.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE `collaborators` ( 2 | `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , 3 | `fname` VARCHAR( 255 ) NOT NULL , 4 | `lname` VARCHAR( 255 ) NOT NULL , 5 | `description` TEXT NULL , 6 | `affiliation` VARCHAR( 255 ) NULL , 7 | `link` VARCHAR( 255 ) NULL 8 | ) ENGINE = MYISAM ; 9 | 10 | ALTER TABLE `collaborators` ADD `project_id` INT NOT NULL AFTER `id` ; 11 | 12 | ALTER TABLE `projects` ADD `homepage` VARCHAR( 255 ) NULL AFTER `background` ; 13 | 14 | CREATE TABLE `links` ( 15 | `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , 16 | `foreign_id` INT NOT NULL , 17 | `type` ENUM( 'profile', 'project' ) NOT NULL , 18 | `path` VARCHAR( 255 ) NOT NULL , 19 | `description` VARCHAR( 255 ) NULL , 20 | `title` VARCHAR( 255 ) NULL 21 | ) ENGINE = MYISAM ; 22 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090514-3-zb-alter_profile.sql: -------------------------------------------------------------------------------- 1 | -- changing profiles.dob from datetime to date 2 | ALTER TABLE `profiles` CHANGE `dob` `dob` DATE NOT NULL DEFAULT '0000-00-00'; 3 | 4 | -- changing profiles.profession from text to varchar 5 | ALTER TABLE `profiles` CHANGE `profession` `profession` VARCHAR( 255 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL ; 6 | 7 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090514-4-sam-changesforscientist.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `scientists` CHANGE `university` `university` VARCHAR( 128 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL; 2 | ALTER TABLE `scientists` CHANGE `city` `city` VARCHAR( 128 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL; 3 | 4 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090515-1-sam_expertisesscientitstable.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE IF NOT EXISTS `expertises_scientists` ( 2 | `scientist_id` int(11) NOT NULL default '0', 3 | `expertise_id` int(11) NOT NULL default '0', 4 | PRIMARY KEY (`scientist_id`,`expertise_id`) 5 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; 6 | 7 | CREATE TABLE IF NOT EXISTS `users` ( 8 | `id` int(11) NOT NULL auto_increment, 9 | `fname` varchar(128) NOT NULL default '', 10 | `lname` varchar(128) NOT NULL default '', 11 | `email` varchar(128) NOT NULL default '', 12 | `password` varchar(128) NOT NULL default '', 13 | `type` enum('donor','scientist') NOT NULL default 'donor', 14 | `active` int(11) NOT NULL default '0', 15 | `hash` varchar(32) NOT NULL default '', 16 | PRIMARY KEY (`id`), 17 | UNIQUE KEY `email` (`email`) 18 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ; 19 | 20 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090515-2-dk_embeddedvids.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE `embeddedvideos` ( 2 | `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , 3 | `foreign_id` INT NOT NULL , 4 | `type` ENUM( 'project' ) NOT NULL , 5 | `path` VARCHAR( 255 ) NOT NULL , 6 | `description` VARCHAR( 255 ) NULL , 7 | `title` VARCHAR( 255 ) NULL 8 | ) ENGINE = MYISAM ; 9 | 10 | RENAME TABLE `embeddedvideos` TO `embedded_videos` ; 11 | 12 | ALTER TABLE `embedded_videos` ADD `embed` TEXT NOT NULL ; -------------------------------------------------------------------------------- /app/config/sql/structure/20090515-3-zb-sams_hash_col_for_users.sql: -------------------------------------------------------------------------------- 1 | alter table users add hash varchar(32); 2 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090518-1-dk-outsidefunds-creation.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE `outside_funding_sources` ( 2 | `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , 3 | `project_id` INT NOT NULL , 4 | `title` VARCHAR( 255 ) NOT NULL , 5 | `amount` FLOAT NOT NULL 6 | ) ENGINE = MYISAM ; 7 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090518-1-zb-donations.sql: -------------------------------------------------------------------------------- 1 | 2 | 3 | CREATE TABLE `donations` ( 4 | `id` int(11) NOT NULL auto_increment, 5 | `project_id` int(11) NOT NULL, 6 | `user_id` int(11) NOT NULL, 7 | `project_donation_amt` float NOT NULL default '0', 8 | `eureka_donation_amt` float NOT NULL default '0', 9 | `flexible_donation` enum('0','1') NOT NULL default '1', 10 | `card_num` varchar(32) NOT NULL, 11 | `card_cvv` varchar(6) NOT NULL, 12 | `card_expiry` date NOT NULL, 13 | `card_zip` varchar(10) NOT NULL, 14 | PRIMARY KEY (`id`) 15 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; 16 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090519-1-dk-projectsteps.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `projects` ADD `completed_steps` INT NULL ; 2 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090520-1-dk-userprivileges.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `users` ADD `privileges` INT NOT NULL DEFAULT '0'; -------------------------------------------------------------------------------- /app/config/sql/structure/20090520-2-dk-projectstatus.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `projects` CHANGE `status` `status` ENUM( 'NEW', 'PENDING', 'APPROVED', 'INACTIVE' ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT 'NEW'; 2 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090520-2-sc-education.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `profiles` ADD `education` ENUM( 'High School', 'Associates', 'Bachelors', 'Masters', 'PhD' ) NOT NULL ; 2 | 3 | CREATE TABLE `educations` ( 4 | `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , 5 | `level` VARCHAR( 16 ) NOT NULL 6 | ) ENGINE = MYISAM ; 7 | 8 | INSERT INTO `educations` ( `id` , `level` ) 9 | VALUES ( 10 | NULL , 'High School' 11 | ), ( 12 | NULL , 'Associates' 13 | ), ( 14 | NULL , 'Bachelors' 15 | ), ( 16 | NULL , 'Masters' 17 | ), ( 18 | NULL , 'PhD' 19 | ); -------------------------------------------------------------------------------- /app/config/sql/structure/20090521-1-sc-donationuser.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `donations` ADD `fname` VARCHAR( 64 ) NOT NULL , 2 | ADD `lname` VARCHAR( 64 ) NOT NULL , 3 | ADD `email` VARCHAR( 128 ) NOT NULL ; 4 | 5 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090521-1-zb-slug_for_projects.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `projects` ADD `slug` VARCHAR( 255 ) NOT NULL ; 2 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090525-1-zb-allow_nulls_on_contact.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `contacts` CHANGE `id` `id` INT( 11 ) NOT NULL DEFAULT '0', 2 | CHANGE `address` `address` VARCHAR( 128 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL , 3 | CHANGE `city` `city` VARCHAR( 64 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL , 4 | CHANGE `state` `state` VARCHAR( 8 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL , 5 | CHANGE `zip` `zip` INT( 11 ) NULL DEFAULT '0', 6 | CHANGE `phone` `phone` VARCHAR( 32 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL 7 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090525-2-zb-modify_enum_on_document.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `documents` CHANGE `type` `type` ENUM( 'scientist_doc', 'project_doc' ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT 'scientist_doc' 2 | ; 3 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090525-3-zb-modify_education_make_profile_link_instead_of_enum.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `profiles` CHANGE `education` `education_id` INT( 11 ) NULL ; 2 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090526-1-sam-drop_user_id_from_scientists.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `scientists` DROP `user_id` ; 2 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090615-1-sam-imagetablealter.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `images` ADD `active` INT NOT NULL DEFAULT '1'; 2 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090616-1-dk-img_thumbs_and_order.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `images` ADD `thumb_path` VARCHAR( 255 ) NOT NULL ; 2 | ALTER TABLE `images` ADD `order` INT NOT NULL DEFAULT '0'; 3 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090731-1-marine_add_is_featured_on_users_and_projects.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Add column is_featured on users and projects table 3 | 4 | 5 | ALTER TABLE `users` ADD `is_featured` ENUM( '0', '1' ) NOT NULL DEFAULT '0'; 6 | 7 | ALTER TABLE `projects` ADD `is_featured` ENUM( '0', '1' ) NOT NULL DEFAULT '0'; -------------------------------------------------------------------------------- /app/config/sql/structure/20090731-1-marine_create_table_oath_user_tokens.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE `oauth_user_tokens` ( 2 | `id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , 3 | `user_id` INT( 11 ) NOT NULL , 4 | `key` VARCHAR( 255 ) NOT NULL , 5 | `secret` VARCHAR( 255 ) NOT NULL 6 | ) ENGINE = MYISAM DEFAULT CHARSET=latin1; -------------------------------------------------------------------------------- /app/config/sql/structure/20090805-1-marine_create_table_contact_emai_addresses.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE `contact_email_addresses` ( 2 | `id` INT( 11 ) NOT NULL , 3 | `sender_user_id` INT( 11 ) NOT NULL , 4 | `custom_text` VARCHAR( 255 ) NOT NULL , 5 | `email_type` ENUM( 'project', 'donation' ) NOT NULL , 6 | `email_address` VARCHAR( 255 ) NOT NULL , 7 | PRIMARY KEY ( `id` ) 8 | ) ENGINE = MYISAM -------------------------------------------------------------------------------- /app/config/sql/structure/20090813-1-zb-project_summary_fields.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `projects` ADD `problem` VARCHAR( 255 ) NOT NULL AFTER `background` , 2 | ADD `impact` VARCHAR( 255 ) NOT NULL AFTER `problem` , 3 | ADD `commercialization` VARCHAR( 255 ) NOT NULL AFTER `impact` ; 4 | -------------------------------------------------------------------------------- /app/config/sql/structure/20090928-1-marine-update-line_item_categories.sql: -------------------------------------------------------------------------------- 1 | UPDATE `line_item_categories` SET `title` = 'other' WHERE `line_item_categories`.`id` =5 LIMIT 1 ; -------------------------------------------------------------------------------- /app/config/sql/structure/20091029-1-zb-projects_is_demo.sql: -------------------------------------------------------------------------------- 1 | -- allow for projects to be labeled as "demo" for the initial launch 2 | ALTER TABLE `projects` ADD `is_demo` ENUM( '0', '1' ) NOT NULL DEFAULT '1'; 3 | -------------------------------------------------------------------------------- /app/config/sql/structure/20091029-2-zb-remove-commercialization-replace-with-plan.sql: -------------------------------------------------------------------------------- 1 | -- commercialization becomes plan 2 | ALTER TABLE `projects` CHANGE `commercialization` `plan` VARCHAR( 255 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL; 3 | -------------------------------------------------------------------------------- /app/config/sql/structure/20091029-3-zb-line_item_categories_update.sql: -------------------------------------------------------------------------------- 1 | -- updating line item categories and making sure that doesn't lead to broken line items 2 | UPDATE `line_item_categories` SET `title` = 'personnel and wages' WHERE `line_item_categories`.`id` =5 LIMIT 1 ; 3 | UPDATE `line_item_categories` SET `title` = 'materials and equipment' WHERE `line_item_categories`.`id` =3 LIMIT 1 ; 4 | DELETE FROM `line_item_categories` WHERE `line_item_categories`.`id` =7 LIMIT 1 ; 5 | DELETE FROM `line_item_categories` WHERE `line_item_categories`.`id` =9 LIMIT 1 ; 6 | UPDATE `line_items` SET line_item_category_id =5 WHERE line_item_category_id =9; 7 | UPDATE `line_items` SET line_item_category_id =3 WHERE line_item_category_id =7; 8 | -------------------------------------------------------------------------------- /app/config/sql/structure/20091029-4-zb-more_line_item_categories_updates.sql: -------------------------------------------------------------------------------- 1 | -- more line item updates for the initial project 2 | UPDATE `line_item_categories` SET `title` = 'travel and field study costs' WHERE `line_item_categories`.`id` =4 LIMIT 1 ; 3 | -------------------------------------------------------------------------------- /app/config/sql/structure/20091101-1-zb-add-line_item_category.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO `line_item_categories` ( 2 | `id` , 3 | `title` 4 | ) 5 | VALUES ( 6 | NULL , 'admin and overhead' 7 | ); 8 | -------------------------------------------------------------------------------- /app/config/sql/structure/20100204-1-dk-project-details-text.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `projects` CHANGE `problem` `problem` TEXT CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL , 2 | CHANGE `impact` `impact` TEXT CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL , 3 | CHANGE `plan` `plan` TEXT CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL; 4 | -------------------------------------------------------------------------------- /app/config/sql/structure/run_in_order.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | scriptname=$0 4 | username=$1 5 | password=$2 6 | database=$3 7 | 8 | if [ "$username" = "" ] | [ "$password" = '' ] | [ "$database" = '' ] 9 | then 10 | echo "usage: $0 " 11 | exit 1; 12 | fi 13 | 14 | for i in $(ls 200*.sql); 15 | do 16 | echo "running $i" 17 | mysql -u $username --password=$password $database < $i 18 | done 19 | -------------------------------------------------------------------------------- /app/config/sql/structure/run_update_20091031.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | scriptname=$0 4 | username=$1 5 | password=$2 6 | database=$3 7 | 8 | if [ "$username" = "" ] | [ "$password" = '' ] | [ "$database" = '' ] 9 | then 10 | echo "usage: $0 " 11 | exit 1; 12 | fi 13 | 14 | for i in $(find . -type f -mmin -120 | grep -v svn | grep -v "~" | grep sql | xargs ls ); 15 | do 16 | echo "running $i" 17 | mysql -u $username --password=$password $database < $i 18 | done 19 | -------------------------------------------------------------------------------- /app/controllers/collaborators_controller.php: -------------------------------------------------------------------------------- 1 | Auth->allow('*'); 7 | } 8 | 9 | function add() { 10 | 11 | if (!empty($this->data)) { 12 | $this->Collaborator->create(false); 13 | $collaborator = $this->Collaborator->save($this->data); 14 | $this->redirect($this->referer()); 15 | } 16 | } 17 | 18 | 19 | function find($id) { 20 | $collaborator = $this->Collaborator->find('first', array( 21 | 'conditions' => array('Collaborator.project_id' => $id) 22 | ) 23 | ); 24 | 25 | return $collaborator; 26 | } 27 | 28 | function delete($id) { 29 | //$this->layout = 'ajax'; 30 | 31 | $this->Collaborator->delete($id); 32 | 33 | $this->autoRender = false; 34 | } 35 | 36 | 37 | function view($id) { 38 | $this->layout = 'ajax'; 39 | 40 | 41 | $collaborator = $this->Collaborator->find('first', array( 42 | 'conditions' => array('Collaborator.id' => $id) 43 | ) 44 | ); 45 | 46 | $this->set('collaborator', $collaborator); 47 | //pr($collaborator); 48 | 49 | } 50 | 51 | 52 | } 53 | 54 | ?> -------------------------------------------------------------------------------- /app/controllers/components/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/controllers/components/empty -------------------------------------------------------------------------------- /app/controllers/components/oauth_consumers/abstract_consumer.php: -------------------------------------------------------------------------------- 1 | consumerKey = $consumerKey; 36 | $this->consumerSecret = $consumerSecret; 37 | } 38 | 39 | final public function getConsumer() { 40 | return new OAuthConsumer($this->consumerKey, $this->consumerSecret); 41 | } 42 | } -------------------------------------------------------------------------------- /app/controllers/components/oauth_consumers/google_consumer.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/controllers/components/ssl.php: -------------------------------------------------------------------------------- 1 | Controller = $Controller; 10 | } 11 | 12 | function force() { 13 | if(!$this->RequestHandler->isSSL()) { 14 | $this->Controller->redirect('https://'.$this->__url()); 15 | } 16 | } 17 | 18 | function unforce() { 19 | if($this->RequestHandler->isSSL()) { 20 | $this->Controller->redirect('http://'.$this->__urll()); 21 | } 22 | } 23 | 24 | function __url() { 25 | $port = env('SERVER_PORT') == 80 ? '' : ':'.env('SERVER_PORT'); 26 | 27 | return env('SERVER_NAME').$port.env('REQUEST_URI'); 28 | } 29 | 30 | function __urll() { 31 | $port = env('SERVER_PORT') == 443 ? '' : ':'.env('SERVER_PORT'); 32 | 33 | return env('SERVER_NAME').$port.env('REQUEST_URI'); 34 | } 35 | 36 | } 37 | ?> 38 | -------------------------------------------------------------------------------- /app/controllers/outside_funding_sources_controller.php: -------------------------------------------------------------------------------- 1 | Auth->allow('*'); 7 | } 8 | 9 | function add() { 10 | 11 | if (!empty($this->data)) { 12 | 13 | $this->OutsideFundingSource->create(false); 14 | $outsideFund = $this->OutsideFundingSource->save($this->data); 15 | 16 | if (!empty($outsideFund)) { 17 | $this->Session->setFlash('Outside funding information added', 'messages/success'); 18 | } else { 19 | $this->Session->setFlash('Invalid input for Outside Funding Source', 'messages/error'); 20 | } 21 | //pr($this->data); 22 | 23 | $this->redirect($this->referer()); 24 | } 25 | } 26 | 27 | 28 | function find($id) { 29 | $outsideFund = $this->OutsideFundingSource->find('first', array( 30 | 'conditions' => array('OutsideFundingSource.project_id' => $id) 31 | ) 32 | ); 33 | 34 | return $outsideFund; 35 | } 36 | 37 | function delete($id) { 38 | //$this->layout = 'ajax'; 39 | 40 | $this->OutsideFundingSource->delete($id); 41 | 42 | $this->autoRender = false; 43 | } 44 | 45 | 46 | function view($id) { 47 | $this->layout = 'ajax'; 48 | 49 | 50 | $outsideFund = $this->OutsideFundingSource->find('first', array( 51 | 'conditions' => array('OutsideFundingSource.id' => $id) 52 | ) 53 | ); 54 | 55 | $this->set('outsideFund', $outsideFund); 56 | //pr(outsideFund); 57 | 58 | } 59 | 60 | 61 | } 62 | 63 | ?> -------------------------------------------------------------------------------- /app/controllers/search_controller.php: -------------------------------------------------------------------------------- 1 | 6, 9 | 'order' => array( 10 | 'Project.timestamp' => 'desc' 11 | ) 12 | ); 13 | 14 | function beforeFilter() { 15 | parent::beforeFilter(); 16 | $this->Auth->allow('*'); 17 | } 18 | 19 | function index() { 20 | //$this->find(); 21 | 22 | } 23 | 24 | //for search input submitted by search box 25 | function input() { 26 | if (!empty($this->data)) { 27 | $searchstr = $this->data['searchstr']; 28 | } else { 29 | $searchstr=null; 30 | } 31 | 32 | $this->redirect(HTTP_BASE.'search/find/'.$searchstr); 33 | 34 | } 35 | 36 | function find($searchstr=null) { 37 | //pr($this->data); 38 | 39 | 40 | $this->layout = 'browse'; 41 | 42 | $this->set('projectCategories', $this->ProjectCategory->find('list')); 43 | $this->helpers[] = 'Time'; 44 | 45 | $conditions = array('searchstr'=> $searchstr); 46 | 47 | $projects = $this->paginate('Project', $conditions); 48 | 49 | 50 | $this->set('searchstr', $searchstr); 51 | $this->set('projects', $projects); 52 | 53 | 54 | } 55 | 56 | 57 | } 58 | 59 | ?> -------------------------------------------------------------------------------- /app/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/locale/eng/LC_MESSAGES/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/locale/eng/LC_MESSAGES/empty -------------------------------------------------------------------------------- /app/models/behaviors/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/models/behaviors/empty -------------------------------------------------------------------------------- /app/models/collaborator.php: -------------------------------------------------------------------------------- 1 | array( 7 | /* alphaNumeric rule doesn't allow hyphenated (-) or double last name (white space) 8 | /*'alphaNumeric' => array( 9 | 'rule' => 'alphaNumeric', 10 | 'required' => true, 11 | 'message' => EUREKA_ERROR_ALPHA_EN 12 | ),*/ 13 | 'between' => array( 14 | 'rule' => array('between', 2, 25), 15 | 'message' => EUREKA_ERROR_USER_FNAME_BETWEEN_EN 16 | ) 17 | ), 18 | 'lname' => array( 19 | /*'alphaNumeric' => array( 20 | 'rule' => 'alphaNumeric', 21 | 'required' => true, 22 | 'message' => EUREKA_ERROR_ALPHA_EN 23 | ), */ 24 | 'between' => array( 25 | 'rule' => array('between', 2, 25), 26 | 'message' => EUREKA_ERROR_USER_LNAME_BETWEEN_EN 27 | ) 28 | ), 29 | ); 30 | 31 | } 32 | ?> -------------------------------------------------------------------------------- /app/models/contact.php: -------------------------------------------------------------------------------- 1 | array( 5 | 'rule' => array('phone', null, 'us'), 6 | 'required' => false, 7 | 'allowEmpty' => true, 8 | 'message' => 'Valid phone numbers only'), 9 | 'zip' => array( 10 | 'rule' => array('postal', null), 11 | 'required' => false, 12 | 'allowEmpty' => true, 13 | 'message' => 'Numbers only')); 14 | 15 | } 16 | ?> -------------------------------------------------------------------------------- /app/models/contact_email_address.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/datasources/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/models/datasources/empty -------------------------------------------------------------------------------- /app/models/document.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/donation.php: -------------------------------------------------------------------------------- 1 | array( 6 | 'className' => 'User' 7 | ), 8 | 'Project' => array( 9 | 'className' => 'Project' 10 | ) 11 | 12 | ); 13 | 14 | var $validate = array( 'card_num' => array( 15 | 'cc' => array( 16 | 'rule' => array('cc', 'all', false, null), 17 | 'message' => EUREKA_ERROR_CC_RULE_EN 18 | ), 19 | 20 | ), 21 | 'card_zip' => array( 22 | 'postal' => array( 23 | 'rule' => 'postal', 24 | 'message' => EUREKA_ERROR_ZIP_RULE_EN 25 | ) 26 | ), 27 | 'fname' => array( 28 | 'rule'=>'notEmpty', 29 | 'message'=>'You must enter a first name'), 30 | 'lname'=> array( 31 | 'rule'=>'notEmpty', 32 | 'message'=> 'You must enter a last name'), 33 | 'email'=> array( 34 | 'rule'=> 'email', 35 | 'message'=>'You must enter a valid email address') 36 | 37 | ); 38 | 39 | } 40 | ?> -------------------------------------------------------------------------------- /app/models/education.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/embedded_video.php: -------------------------------------------------------------------------------- 1 | array( 7 | 'alphaNumeric' => array( 8 | 'rule' => array('custom', '/^[a-z0-9 ]*$/i'), 9 | 'allowEmpty' => true, 10 | 'message' => EUREKA_ERROR_ALPHA_EN 11 | ), 12 | 'between' => array( 13 | 'rule' => array('between', 2, 50), 14 | 'message' => EUREKA_ERROR_VIDEO_TITLE_BETWEEN_EN 15 | ) 16 | ), 17 | 'path' => array( 18 | 'URL' => array( 19 | 'rule' => 'URL', 20 | 'required' => true, 21 | 'message' => EUREKA_ERROR_URL_VALID_EN 22 | ) 23 | ) 24 | ); 25 | 26 | 27 | 28 | } 29 | ?> -------------------------------------------------------------------------------- /app/models/expertise.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/image.php: -------------------------------------------------------------------------------- 1 | array( 10 | 'alphaNumeric' => array( 11 | 'rule' => array('custom', '/^[a-z0-9 ]*$/i'), 12 | 'allowEmpty' => true, 13 | 'message' => EUREKA_ERROR_ALPHA_EN 14 | ), 15 | 'between' => array( 16 | 'rule' => array('between', 2, 50), 17 | 'message' => EUREKA_ERROR_LINK_TITLE_BETWEEN_EN 18 | ) 19 | ), 20 | 'path' => array( 21 | 'URL' => array( 22 | 'rule' => array('minLength', 1), 23 | 'required' => true, 24 | 'message' => EUREKA_ERROR_URL_VALID_EN 25 | ) 26 | ) 27 | ); 28 | function deactivate_pics($user_id){ 29 | $this->query("UPDATE images SET active=0 WHERE active >0 AND type='profile' AND foreign_id=".$user_id); 30 | } 31 | 32 | } 33 | ?> -------------------------------------------------------------------------------- /app/models/interest.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/line_item.php: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /app/models/line_item_category.php: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /app/models/link.php: -------------------------------------------------------------------------------- 1 | array( 7 | 'alphaNumeric' => array( 8 | 'rule' => array('custom', '/^[a-z0-9 ]*$/i'), 9 | 'allowEmpty' => true, 10 | 'message' => EUREKA_ERROR_ALPHA_EN 11 | ), 12 | 'between' => array( 13 | 'rule' => array('between', 2, 50), 14 | 'message' => EUREKA_ERROR_LINK_TITLE_BETWEEN_EN 15 | ) 16 | ), 17 | 'path' => array( 18 | 'URL' => array( 19 | 'rule' => 'URL', 20 | 'required' => true, 21 | 'message' => EUREKA_ERROR_URL_VALID_EN 22 | ) 23 | ) 24 | ); 25 | 26 | 27 | } 28 | ?> -------------------------------------------------------------------------------- /app/models/oauth_user_token.php: -------------------------------------------------------------------------------- 1 | array( 6 | 'className'=>'User', 7 | 'foreignKey'=>'id')); 8 | } 9 | ?> -------------------------------------------------------------------------------- /app/models/outside_funding_source.php: -------------------------------------------------------------------------------- 1 | array( 7 | 'alphaNumeric' => array( 8 | 'rule' => array('custom', '/^[a-z0-9\'\- ]*$/i'), 9 | 'required' => true, 10 | 'message' => EUREKA_ERROR_ALPHA_EN 11 | ), 12 | 'between' => array( 13 | 'rule' => array('between', 2, 50), 14 | 'message' => EUREKA_ERROR_FUNDING_TITLE_BETWEEN_EN 15 | ) 16 | ), 17 | 'amount' => array( 18 | 'money' => array( 19 | 'rule' => array('money', 'left'), 20 | 'required' => true, 21 | 'message' => EUREKA_ERROR_MONEY_EN 22 | ) 23 | ), 24 | ); 25 | 26 | } 27 | ?> -------------------------------------------------------------------------------- /app/models/profile.php: -------------------------------------------------------------------------------- 1 | array( 6 | 'className'=>'User', 7 | 'foreignKey'=>'id'), 8 | 'Education' 9 | ); 10 | var $hasOne=array( 11 | 'Image'=>array( 12 | 'className'=>'Image', 13 | 'foreignKey'=>'foreign_id', 14 | 'conditions'=>array( 15 | 'Image.type'=>'profile', 16 | 'Image.active'=>1) 17 | ), 18 | 'Contact'=>array( 19 | 'className'=>'Contact', 20 | 'foreignKey'=>'id'), 21 | 'Scientist'=>array( 22 | 'className'=>'Scientist', 23 | 'foreignKey'=>'id'), 24 | ); 25 | 26 | var $hasMany=array( 27 | 'Donation'=>array( 28 | 'className'=>'Donation', 29 | 'foreignKey'=>'user_id', 30 | 'fields'=> array('DISTINCT project_id') 31 | ), 32 | ); 33 | /*, 34 | 'Project'=>array( 35 | 'className'=>'Project', 36 | 'foreignKey' 37 | */ 38 | var $hasAndBelongsToMany=array( 39 | 'Interest'=>array( 40 | 'className'=>'Interest', 41 | 'foreignKey'=>'user_id', 42 | 'associationForeignKey'=>'interest_id'), 43 | 'Expertise'=>array( 44 | 'joinTable' => 'expertises_scientists', 45 | 'className'=>'Expertise', 46 | 'foreignKey'=>'scientist_id', 47 | 'associationForeignKey'=>'expertise_id') 48 | ); 49 | } 50 | ?> -------------------------------------------------------------------------------- /app/models/project_category.php: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /app/models/scientist.php: -------------------------------------------------------------------------------- 1 | array( 6 | 'className'=>'User', 7 | 'foreignKey'=>'id')); 8 | var $hasMany=array( 9 | 'Document'=>array( 10 | 'className'=>'Document', 11 | 'foreignKey'=>'foreign_id', 12 | 'conditions'=>array( 13 | 'type'=>'scientist_cv')), 14 | 'Link'=>array( 15 | 'className'=>'Link', 16 | 'foreignKey'=>'foreign_id', 17 | 'conditions'=>array( 18 | 'type'=>'profile')), 19 | 'Document'=>array( 20 | 'className'=>'Document', 21 | 'foreignKey'=>'foreign_id', 22 | 'conditions'=>array( 23 | 'type'=>'scientist_cv')), 24 | 'Project'=>array( 25 | 'className'=>'Project', 26 | 'foreignKey'=>'user_id', 27 | 'conditions'=>array())); 28 | var $hasAndBelongsToMany=array( 29 | 'Expertise'=>array( 30 | 'className'=>'Expertise', 31 | 'foreignKey'=>'scientist_id', 32 | 'associationForeignKey'=>'expertise_id')); 33 | 34 | 35 | } 36 | ?> -------------------------------------------------------------------------------- /app/models/scientist_expertise.php: -------------------------------------------------------------------------------- 1 | array( 6 | 'className'=>'Scientist')); 7 | } 8 | ?> -------------------------------------------------------------------------------- /app/models/user_interest.php: -------------------------------------------------------------------------------- 1 | array( 6 | 'className'=>'User')); 7 | } 8 | ?> -------------------------------------------------------------------------------- /app/plugins/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/plugins/empty -------------------------------------------------------------------------------- /app/tests/cases/behaviors/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/tests/cases/behaviors/empty -------------------------------------------------------------------------------- /app/tests/cases/components/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/tests/cases/components/empty -------------------------------------------------------------------------------- /app/tests/cases/controllers/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/tests/cases/controllers/empty -------------------------------------------------------------------------------- /app/tests/cases/helpers/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/tests/cases/helpers/empty -------------------------------------------------------------------------------- /app/tests/cases/models/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/tests/cases/models/empty -------------------------------------------------------------------------------- /app/tests/fixtures/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/tests/fixtures/empty -------------------------------------------------------------------------------- /app/tests/groups/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/tests/groups/empty -------------------------------------------------------------------------------- /app/tmp.tmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/tmp.tmp -------------------------------------------------------------------------------- /app/vendors/facebook/jsonwrapper/JSON/LICENSE: -------------------------------------------------------------------------------- 1 | Redistribution and use in source and binary forms, with or without 2 | modification, are permitted provided that the following conditions are 3 | met: 4 | 5 | Redistributions of source code must retain the above copyright notice, 6 | this list of conditions and the following disclaimer. 7 | 8 | Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | 12 | THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED 13 | WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 14 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 15 | NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 16 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 17 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 18 | USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 19 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 20 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 21 | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 | -------------------------------------------------------------------------------- /app/vendors/facebook/jsonwrapper/jsonwrapper.php: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /app/vendors/facebook/jsonwrapper/jsonwrapper_inner.php: -------------------------------------------------------------------------------- 1 | encode($arg); 12 | } 13 | 14 | function json_decode($arg) 15 | { 16 | global $services_json; 17 | if (!isset($services_json)) { 18 | $services_json = new Services_JSON(); 19 | } 20 | return $services_json->decode($arg); 21 | } 22 | 23 | ?> 24 | -------------------------------------------------------------------------------- /app/vendors/shells/tasks/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/vendors/shells/tasks/empty -------------------------------------------------------------------------------- /app/vendors/shells/templates/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/vendors/shells/templates/empty -------------------------------------------------------------------------------- /app/views/collaborators/add.ctp: -------------------------------------------------------------------------------- 1 | 2 | data['fname']; ?> 3 | -------------------------------------------------------------------------------- /app/views/collaborators/view.ctp: -------------------------------------------------------------------------------- 1 |
2 | 3 |
-------------------------------------------------------------------------------- /app/views/elements/admin-nav.ctp: -------------------------------------------------------------------------------- 1 |
2 | link( 'Project Admin', '/admin/projects' ) ?> | 3 | link( 'Donation Admin', '/admin/projects/donations' ) ?> | 4 | link( 'Feature Admin', '/admin/projects/feature' ) ?> -------------------------------------------------------------------------------- /app/views/elements/blank.ctp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/views/elements/blank.ctp -------------------------------------------------------------------------------- /app/views/elements/documents.ctp: -------------------------------------------------------------------------------- 1 |
2 | 3 | link( (!empty($link['title'])) ? $link['title'] : $link['path'], '/files/uploaded/' . $link['path'] )?> : 4 | 5 | link( 6 | 'Delete', 7 | array( 'controller' => 'documents', 'action' => 'delete', $link['id']), 8 | array( 'update' => 'doc-'.$link['id'] ) 9 | ); 10 | ?> 11 | 12 |
13 | -------------------------------------------------------------------------------- /app/views/elements/email/html/password_reset.ctp: -------------------------------------------------------------------------------- 1 | image( HTTP_BASE . '/img/logo.jpg' );?> 2 |

Hi ,

3 |

A password reset has been requested for your Eurekafund.org account.

4 |

If you requested a password reset please follow the link below to reset your password:

5 |

link( $reset_link, $reset_link )?>

6 |

If you did not request a password reset, please ignore this email!

7 |

Thanks,

8 |

-Team EurekaFund

9 | 10 | -------------------------------------------------------------------------------- /app/views/elements/email/text/activation.ctp: -------------------------------------------------------------------------------- 1 | Hi , 2 | 3 | Welcome to Eureka Fund! 4 | 5 | To get started click the following link to activate your account: 6 | 7 | 8 | 9 | 10 | Thanks! 11 | -The Eureka Fund Team 12 | -------------------------------------------------------------------------------- /app/views/elements/email/text/password_reset.ctp: -------------------------------------------------------------------------------- 1 | Hi , 2 | 3 | A password reset has been requested for your Eurekafund.org account. 4 | 5 | If you requested a password reset please follow the link below to reset your password: 6 | 7 | 8 | 9 | If you did not request a password reset, please ignore this email! 10 | 11 | Thanks, 12 | -Team EurekaFund 13 | 14 | -------------------------------------------------------------------------------- /app/views/elements/email/text/project_contact.ctp: -------------------------------------------------------------------------------- 1 | Hey there, 2 | 3 | 4 | thought you might be interested in this : 5 | 6 | "" 7 | 8 | 9 | Click here to visit the project on Eurekafund : 10 | 11 | -------------------------------------------------------------------------------- /app/views/elements/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/views/elements/empty -------------------------------------------------------------------------------- /app/views/elements/header-end.ctp: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | 5 | 6 | -------------------------------------------------------------------------------- /app/views/elements/header-home.ctp: -------------------------------------------------------------------------------- 1 |
2 | 3 |
4 |
5 |
6 |

Eureka Fund lets you directly support the technologies
that will lead us to a cleaner safer future.

7 |
    8 | 9 | 10 | 11 | 12 |
  • link('', '/pages/project-intro', array('class'=>'scientist-link')); ?>
  • 13 |
  • link('', '/projects/donate/eurekafund', array('class'=>'donate-link')); ?>
  • 14 | 15 |
16 |
17 |
18 | 19 |
20 |
21 |
-------------------------------------------------------------------------------- /app/views/elements/header-home.ctp~: -------------------------------------------------------------------------------- 1 | 5 |
6 | 7 |
8 |
9 |
10 |

Eureka Fund lets you directly support the technologies
that will lead us to a cleaner safer future.

11 |
    12 | 13 | 14 | 15 | 16 |
  • link('', '/pages/project-intro', array('class'=>'scientist-link')); ?>
  • 17 |
  • link('', '/projects/donate/eurekafund', array('class'=>'donate-link')); ?>
  • 18 | 19 |
20 |
21 |
22 | 23 |
24 |
25 |
-------------------------------------------------------------------------------- /app/views/elements/header-icons.ctp: -------------------------------------------------------------------------------- 1 |
2 |
3 | 10 |
11 | -------------------------------------------------------------------------------- /app/views/elements/header-simple.ctp: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /app/views/elements/meta-tags.ctp: -------------------------------------------------------------------------------- 1 | EurekaFund <?php echo ($title_for_layout) ? '| '. $title_for_layout : ''; ?> 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/views/elements/pages/about-header.ctp: -------------------------------------------------------------------------------- 1 |

About Us

2 |

3 | What We Do · 4 | How it Works · 5 | Team · 6 | Scientific Advisory Board 7 |

8 | -------------------------------------------------------------------------------- /app/views/elements/pages/help-header.ctp: -------------------------------------------------------------------------------- 1 |

Help

2 |

3 | FAQ · 4 | Internships · 5 | Media Contact · 6 | Contact Us 7 |

-------------------------------------------------------------------------------- /app/views/elements/projects/collaborator-add.ctp: -------------------------------------------------------------------------------- 1 | create('Collaborator', array('action' => 'add/')); ?> 2 | 3 | input('fname', array('label'=>'First Name')); ?> 4 | input('lname', array('label'=>'Last Name')); ?> 5 | input('affiliation', array('label'=>'University')); ?> 6 | input('description'); ?> 7 | hidden('project_id', array('value' => $projectId)); ?> 8 | 9 |
10 | end('Add'); ?> 11 |
-------------------------------------------------------------------------------- /app/views/elements/projects/collaborators.ctp: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | link( 5 | 'Delete', 6 | array( 'controller' => 'collaborators', 'action' => 'delete', $collaborator['id']), 7 | array( 'update' => 'collaborator-'.$collaborator['id'] ) 8 | ); 9 | ?> 10 | 11 |

12 | 13 | 14 |
-------------------------------------------------------------------------------- /app/views/elements/projects/document-add.ctp: -------------------------------------------------------------------------------- 1 | create('Document', array('action' => $action, 'enctype' => 'multipart/form-data')); ?> 2 |
3 | input('title'); ?> 4 | label('filedata', 'Your File'); ?> 5 | file('filedata'); ?> 6 |
7 | input('description', array('value'=>'', 'cols'=>65, 'rows'=>10)); ?> 8 | hidden('foreign_id', array('value' => $foreign_id)); ?> 9 | hidden('type', array('value' => $type)); ?> 10 | 11 |
12 | end('Add'); ?> 13 |
14 | -------------------------------------------------------------------------------- /app/views/elements/projects/donate.ctp: -------------------------------------------------------------------------------- 1 | 24 | 33 | -------------------------------------------------------------------------------- /app/views/elements/projects/embeddedvideo-add.ctp: -------------------------------------------------------------------------------- 1 | create('EmbeddedVideo', array('action' => 'add/')); ?> 2 | 3 | input('title'); ?> 4 | input('path'); ?> 5 | input('description', array('rows' => 10, 'cols' => 65) ); ?> 6 | hidden('foreign_id', array('value' => $foreign_id)); ?> 7 | hidden('type', array('value' => $type)); ?> 8 | 9 |
10 | end('Add'); ?> 11 |
-------------------------------------------------------------------------------- /app/views/elements/projects/embeddedvideos.ctp: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | 5 | link( 6 | 'Delete', 7 | array( 'controller' => 'embedded_videos', 'action' => 'delete', $embeddedvideo['id']), 8 | array( 'update' => 'embeddedvideo-'.$embeddedvideo['id'] ), 9 | 'Are you sure you want to delete this video?' 10 | 11 | ); 12 | ?> 13 | 14 |
-------------------------------------------------------------------------------- /app/views/elements/projects/end-form.ctp: -------------------------------------------------------------------------------- 1 |
2 | submit('Save', array('name'=>'data[form_action][save]')); ?> 3 |
4 | 5 |
6 | end('Continue'); ?> 7 |
8 | 9 |
10 | submit('Preview', array('name'=>'data[form_action][preview]')); ?> 11 |
12 | -------------------------------------------------------------------------------- /app/views/elements/projects/firstpage.ctp: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | input('project_category_id', $projectCategories); ?> 6 |
7 | 8 | 9 |
10 |
11 | 12 | input('title', array('after'=>'*', 'size'=>45)); ?> 13 |
14 | 15 |
16 | input('abstract', array('after'=>'*', 'cols'=>64, 'rows'=>10)); ?> 17 |
18 |
19 | input('background', array('after'=>'*', 'cols'=>64, 'rows'=>10)); ?> 20 |
21 |
22 | input('homepage'); ?> 23 |
24 |
25 | input('problem', array('after'=>'*', 'cols'=>64, 'rows'=>5, 'label' => 'What is the problem your research will address?')); ?> 26 |
27 |
28 | input('plan', array('after'=>'*', 'cols'=>64, 'rows'=>10, 'label' => 'What is your plan (very briefly)?')); ?> 29 |
30 |
31 | input('impact', array('after'=>'*', 'cols'=>64, 'rows'=>5, 'label' => 'If your research is successful, what is the potential impact on society')); ?> 32 |
33 |
34 |

*Indicates this field is required.

35 |
36 | -------------------------------------------------------------------------------- /app/views/elements/projects/form-steps.ctp: -------------------------------------------------------------------------------- 1 | = 4) && ($i==5) && ($i!=$tab)) { 22 | $step_status = 'green'; 23 | } 24 | 25 | ?> 26 | 27 |
28 | '; ?> 29 | '; ?> 30 |
31 |
32 | '; ?> 33 |
34 | 35 | 36 | 37 | 38 |
-------------------------------------------------------------------------------- /app/views/elements/projects/image-add.ctp: -------------------------------------------------------------------------------- 1 | create('Image', array('action' => 'upload/', 'enctype' => 'multipart/form-data')); ?> 2 | 3 | input('title'); ?> 4 | label('filedata', 'Image File'); ?> 5 | file('filedata'); ?> 6 | input('description', array('rows' => 10, 'cols' => 65) ); ?> 7 | hidden('foreign_id', array('value' => $foreign_id)); ?> 8 | hidden('type', array('value' => $type)); ?> 9 | 10 |
11 | end('Add'); ?> 12 |
-------------------------------------------------------------------------------- /app/views/elements/projects/images.ctp: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | 5 | 6 |
7 | 8 |

9 | 10 | link( 11 | 'Delete', 12 | array( 'controller' => 'images', 'action' => 'delete', $image['id']), 13 | array( 'update' => 'image-'.$image['id'] ), 14 | 'Are you sure you want to delete this image?' 15 | ); 16 | ?> 17 | 18 |
-------------------------------------------------------------------------------- /app/views/elements/projects/lineitem-add.ctp: -------------------------------------------------------------------------------- 1 | create('LineItem', array('action' => 'add/')); ?> 2 | 3 | label('line_item_category_id', 'Category'); ?> 4 | select('line_item_category_id', array($categories), null, null, false); ?> 5 |
6 | 7 | input('title'); ?> 8 |
9 | 10 | input('amount', array('label'=>'Amount ($)')); ?> 11 | hidden('project_id', array('value' => $projectId)); ?> 12 | 13 |
14 | end('Add'); ?> 15 |
-------------------------------------------------------------------------------- /app/views/elements/projects/lineitems.ctp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $ 5 | 6 | 7 | 8 | link( 9 | 'Delete', 10 | array('controller'=>'line_items', 'action'=>'delete', $lineItem['id']), 11 | array(), 12 | "Are you sure you want to delete this line item?" 13 | );?> 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /app/views/elements/projects/lineitems.old: -------------------------------------------------------------------------------- 1 | 2 | 3 | $ 4 | link( 5 | 'Delete', 6 | array( 'controller' => 'lineItems', 'action' => 'delete', $lineItem['id']), 7 | array( 'update' => 'lineItem-'.$lineItem['id'] ) 8 | ); 9 | ?> 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/views/elements/projects/link-add.ctp: -------------------------------------------------------------------------------- 1 | create('Link', array('action' => $action)); ?> 2 |
3 | input('path', array('label' => "URL", 'value'=>'')); ?> 4 |
5 | input('title', array('value'=>'')); ?> 6 |
7 | input('description', array('value'=>'', 'rows' => 10, 'cols' => 65)); ?> 8 | hidden('foreign_id', array('value' => $foreign_id)); ?> 9 | hidden('type', array('value' => $type)); ?> 10 | 11 |
12 | end('Add'); ?> 13 |
14 | -------------------------------------------------------------------------------- /app/views/elements/projects/links.ctp: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /app/views/elements/projects/outsidefund-add.ctp: -------------------------------------------------------------------------------- 1 | create('OutsideFundingSource', array('action' => 'add/')); ?> 2 | 3 | input('title', array('label'=>'Funding Source')); ?>
4 | input('amount', array('label'=>'Amount ($)')); ?> 5 | hidden('project_id', array('value' => $projectId)); ?> 6 | 7 |
8 | end('Add'); ?> 9 |
-------------------------------------------------------------------------------- /app/views/elements/projects/outsidefunds.ctp: -------------------------------------------------------------------------------- 1 |
2 | 3 | : $ 4 | link( 5 | 'Delete', 6 | array( 'controller' => 'outside_funding_sources', 'action' => 'delete', $outsideFund['id']), 7 | array( 'update' => 'outsideFund-'.$outsideFund['id'] ) 8 | ); 9 | ?> 10 | 11 | 12 |
-------------------------------------------------------------------------------- /app/views/elements/projects/paginator.ctp: -------------------------------------------------------------------------------- 1 | 16 | -------------------------------------------------------------------------------- /app/views/elements/projects/project-header.ctp: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
PREVIEW
5 |

This is a preview of how your proposal will look to potential donors. Feel free to continue editing until you are ready to submit your proposal for approval by EurekaFund.

6 | 7 | link('Edit', '/projects/edit/1/'.$project['id'], array( 'class' => 'button' ) ); ?> 8 | link('Submit for Approval', '/projects/submit/'.$project['id'], array( 'class' => 'button', 9 | 'onclick'=>'return checkSubmit();')); ?> 10 | 11 |
12 | 13 | 14 | 15 |
16 |
PENDING
17 |

Your proposal is pending approval by EurekaFund.

18 |
19 | 20 | 21 | 22 |
23 |
DEMO PROJECT
24 |

This project is not yet being supported by Eureka Fund. During our beta period, we've added a few projects like this to the site to illustrate to you what the site will look like when we leave Beta. Don't fear! You can still link( 'donate to this project', '/projects/donate/' . $project['id'] )?>: your funds will directed to Eureka Fund's growth! Or, you can take a look at the live (non-demo) projects we have on the site currently.

25 |
26 | 27 | 28 | -------------------------------------------------------------------------------- /app/views/elements/projects/project-header.ctp~: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
PREVIEW
5 |

This is a preview of how your proposal will look to potential donors. Feel free to continue editing until you are ready to submit your proposal for approval by EurekaFund.

6 | 7 | link('Edit', '/projects/edit/1/'.$project['id'], array( 'class' => 'button' ) ); ?> 8 | link('Submit for Approval', '/projects/submit/'.$project['id'], array( 'class' => 'button', 9 | 'onclick'=>'return checkSubmit();')); ?> 10 | 11 |
12 | 13 | 14 | 15 |
16 |
PENDING
17 |

Your proposal is pending approval by EurekaFund.

18 |
19 | 20 | 21 | 22 |
23 |
DEMO PROJECT
24 |

This project is not yet being supported by Eureka Fund. During our beta period, we've added a few projects like this to the site to illustrate to you what the site will look like when we leave Beta. Don't fear! You can still link( 'donate to this project', '/projects/donate/' . $project['id'] )?>: your funds will directed to Eureka Fund's growth! Or, you can take a look at the live (non-demo) projects we have on the site currently.

25 |
26 | 27 | 28 | -------------------------------------------------------------------------------- /app/views/elements/projects/table-list.ctp: -------------------------------------------------------------------------------- 1 |

2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 21 | 25 | 26 | 27 |
TitleCategoryScientistCompleted StepStatusAction
18 | input( 'Project.'.$project['Project']['id'].'.id', array( 'type' => 'hidden', 'value' => $project['Project']['id'] ) ) ?> 19 | select( 'Project.'.$project['Project']['id'].'.status', $project_status_list, $project['Project']['status']) ?> 20 | 22 | link( 'View', '/projects/view/' . $project['Project']['slug'])?> · 23 | link( 'Edit', '/projects/edit/1/' . $project['Project']['id'])?> 24 |
-------------------------------------------------------------------------------- /app/views/elements/standard-error.ctp: -------------------------------------------------------------------------------- 1 |
2 |
3 | Eggads! You've encountered a problem! 4 |
5 |
6 | image('/img/oil-barrels.jpg')?> 7 |
8 |
9 | Please go back and try again! 10 |
11 |
12 |
13 | 14 |
-------------------------------------------------------------------------------- /app/views/elements/users/edit/basic-user-form-start.ctp: -------------------------------------------------------------------------------- 1 | create('Profile', array( 'url' => '/users/edit', 'enctype' => 'multipart/form-data')); ?> 2 | input( 'User.id', array( 'type' => 'hidden', 3 | 'value' => $user_id ) ); ?> 4 | -------------------------------------------------------------------------------- /app/views/elements/users/edit/tab2.ctp: -------------------------------------------------------------------------------- 1 | element( 'users/edit/basic-user-form-start' )?> 2 |
3 | Your Details 4 | 5 |
6 | element('users/profile_photos', $photo) ?> 7 |
8 | 9 |
10 | label('Image.path', 'Profile Photo'); ?> 11 | file('Image.path'); ?> 12 |
13 | 14 |
15 |
16 | input('Profile.description', array('label' => 'What is your interest in EurekaFund?', 'cols'=>65, 'rows'=>10 ) ); ?> 17 |
18 | 19 |
20 |
21 | input('Profile.profession') ?> 22 |
23 | 24 |
input( 'Profile.education_id', array ( 'type' => 'select', 25 | 'options' => $education, 26 | 'empty' => false ) 27 | ); 28 | ?>
29 | 30 |
31 |
32 | input('Interest', array( 'type'=>'select', 33 | 'multiple'=>'checkbox', 34 | 'options'=>$interests, 35 | 'label'=>'Interests'));?> 36 |
37 |
38 | 39 |
40 | -------------------------------------------------------------------------------- /app/views/elements/users/edit/tab3.ctp: -------------------------------------------------------------------------------- 1 | element( 'users/edit/basic-user-form-start' )?> 2 |
3 |
4 | Academic Info 5 |
6 |
7 | input('Scientist.university') ?> 8 |
9 | 10 |
11 |
12 | input('Scientist.city') ?> 13 |
14 |
15 | label('Scientist.state', 'State').$form->select('Scientist.state', $geography->stateList(), (isset($this->data['User']['Scientist']['state'])?$this->data['User']['Scientist']['state']:null), array()) ?> 16 |
17 |
18 |
19 |
20 | 21 |
22 | Research Interests 23 |
24 |
25 | input('Expertise', array( 'type'=>'select', 26 | 'multiple'=>'checkbox', 27 | 'options'=>$expertise, 28 | 'label'=>'Expertise')); ?> 29 |
30 |
31 |
32 |
33 | input('Scientist.details', array('cols'=>35, 'rows'=>10)) ?> 34 |
35 |
36 | 37 | 38 |
39 | 40 |
41 | -------------------------------------------------------------------------------- /app/views/elements/users/edit/tab4.ctp: -------------------------------------------------------------------------------- 1 |
2 | Links 3 | 4 | Please provide us with any links to websites that will help explain your work. For example, links to your lab website, your blog, some of your published articles, or your department site might be appropriate. 5 | 6 |
7 | element('projects/links', array('projectId' => $link['Link']['id'], 'id'=>'','link'=>$link['Link'])); ?> 8 |
9 | 10 | 11 |
12 | element('projects/link-add', array('action' => 'add/', 'foreign_id'=>$logged_in_user['User']['id'], 'type'=>'profile')); ?> 13 |
14 | -------------------------------------------------------------------------------- /app/views/elements/users/edit/tab5.ctp: -------------------------------------------------------------------------------- 1 |
2 | Research Documentation 3 | 4 | 5 |
6 | element('documents', array('projectId' => $link['Document']['id'], 'id'=>'','link'=>$link['Document'])); ?> 7 |
8 | 9 | 10 |
11 | element('projects/document-add', array('action' => 'upload/', 'foreign_id'=>$logged_in_user['User']['id'], 'type'=>'scientist_doc')); ?> 12 |
13 | 14 | -------------------------------------------------------------------------------- /app/views/elements/users/profile.ctp: -------------------------------------------------------------------------------- 1 |
2 | Profile edit 3 |
    4 |
  • 5 |
  • 6 | 7 | 8 | ".$user['Contact']['phone']."" : '') ?> 9 | ".(empty($user['Contact']['city']) ? '': $user['Contact']['city'].', ').$user['Contact']['state']."" : '') ?> 10 | 11 | 12 | 13 |
  • 14 | 15 | 16 |
  • 17 | 18 | 19 | 20 | ".$user['Profile']['profession']."" : '') ?> 21 | ".$user['Profile']['education']."" : '') ?> 22 |
    ".$user['Profile']['description']."" : '') ?> 23 | 24 |
25 |
26 | -------------------------------------------------------------------------------- /app/views/elements/users/profile_photos.ctp: -------------------------------------------------------------------------------- 1 | 2 | Current Photos 3 | 4 | 5 | link( 6 | 'Delete', 7 | array( 'controller' => 'images', 'action' => 'remove_profile_pic', $img['Image']['id']), 8 | array( 'update' => 'current_photo' ) 9 | ); 10 | ?> 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/views/elements/users/projects.ctp: -------------------------------------------------------------------------------- 1 |
2 |
3 | Projects 4 | 5 | Projects I am working on : 6 | "; 9 | foreach ($scientist['Project'] as $project){ 10 | $img=HTTP_BASE.'img/'.(empty($project['Image']) ? "monkey.jpg" : 'uploads/'.$project['Image'][0]['path']); 11 | echo "

  • ".$project['title']."
    ".$html->link('Send this project to your friends', HTTP_BASE.'google/index/'.$project['id'])."
  • "; 12 | } 13 | echo ""; 14 | } 15 | else 16 | echo "
    " . $html->link("Create a project!", "/projects/add"); 17 | ?> 18 | 19 |
    20 |
    21 | Projects I have donated to : 22 | "; 25 | foreach ($user['Donation'] as $project){ 26 | $img=HTTP_BASE.'img/'.(empty($project['Project']['Image']) ? "monkey.jpg" : 'uploads/'.$project['Project']['Image'][0]['path']); 27 | echo "

  • ".$project['Project']['title']."
  • "; 28 | } 29 | echo ""; 30 | } 31 | else 32 | echo '
    Start donating now!'; 33 | 34 | ?> 35 |
    36 | 37 |
    38 | -------------------------------------------------------------------------------- /app/views/elements/users/scientist.ctp: -------------------------------------------------------------------------------- 1 |
    2 | Scientist Profile 3 | 0){ ?> 4 | edit 5 | 6 | 7 | 8 |
      9 | 10 | 11 |
    • University
    • 12 |
    • 13 | 14 | 15 | 16 |
    • Expertise
    • 17 |
    • 18 | 19 |
    • 20 | 21 | 22 | 23 |
    • Research Details
    • 24 |
    • 25 | 26 | 27 | 28 |
    • Links
    • 29 | 30 | 31 | 32 | 33 |
    • Files
    • 34 | 35 | 36 | 37 |
    38 | 39 | Tell us about yourself 40 | 41 |
    42 | 43 | -------------------------------------------------------------------------------- /app/views/errors/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/views/errors/empty -------------------------------------------------------------------------------- /app/views/errors/error404.ctp: -------------------------------------------------------------------------------- 1 | element('standard-error', array('error_details'=> '404: Page not found.'))?> 2 | -------------------------------------------------------------------------------- /app/views/errors/missing_action.ctp: -------------------------------------------------------------------------------- 1 | element('standard-error', array('error_details'=> 'Missing Action'))?> -------------------------------------------------------------------------------- /app/views/errors/missing_controller.ctp: -------------------------------------------------------------------------------- 1 | element('standard-error', array('error_details'=> 'Missing Controller.'))?> -------------------------------------------------------------------------------- /app/views/errors/missing_model.ctp: -------------------------------------------------------------------------------- 1 | element('standard-error', array('error_details'=> 'Missing Model.'))?> -------------------------------------------------------------------------------- /app/views/errors/missing_view.ctp: -------------------------------------------------------------------------------- 1 | element('standard-error', array('error_details'=> 'Missing View.'))?> 2 |

    3 | : 4 | ". $controller."Controller::", "". $action ."()");?> 5 |

    6 |

    7 | : 8 | 9 |

    10 | -------------------------------------------------------------------------------- /app/views/google/recap.ctp: -------------------------------------------------------------------------------- 1 |
    2 |

    Your contacts :

    3 | 4 | 5 | create('Google', array( 'url' => '/google/message' )); ?> 6 |

    You're going to send an email to :

    7 |
      8 | 9 | 13 | 14 |
    • 15 | 16 | 21 | 22 |
    23 |
    24 | 25 |
    26 | input('contacts_encoded', array( 'value' => $contacts_encoded , 'type' => 'hidden')); ?> 27 | input('project_id', array( 'value' => $project_id , 'type' => 'hidden')); ?> 28 | input('Message', array('cols'=>64, 'rows'=>10, 'label' => 'Personalize your message: ', 'value' => 'EurekaFund is a new way to fund science -- directly by the public. You can learn about and support the technologies that will lead us to a cleaner safer future. Check out this project I found on here that I thought you might like.')); ?> 29 | 30 | 31 | 32 | end('Submit'); ?> 33 | -------------------------------------------------------------------------------- /app/views/google/show_contacts.ctp: -------------------------------------------------------------------------------- 1 |
    2 |

    Your contacts :

    3 | 4 | 5 | 6 | create('Google', array( 'url' => '/google/recap' )); ?> 7 | 8 |
    9 |
    10 | input('contact', array( 'options' => $contacts, 'type' => 'select', 'multiple' => 'checkbox', 'label' => 'Select yout contacts' )); ?> 11 |
    12 |
    13 | 14 | input('project_id', array( 'value' => $project_id , 'type' => 'hidden')); ?> 15 | 16 |
    17 | end('Next'); ?> 18 | 19 | 20 |
    -------------------------------------------------------------------------------- /app/views/helpers/commalist.php: -------------------------------------------------------------------------------- 1 | Html->link( $a[$title], $a[$link] ); 19 | } else { 20 | $ans .= $a[$title]; 21 | } 22 | if ( $i < $n ) { $ans .= ', '; } 23 | } 24 | return $ans; 25 | } 26 | } 27 | ?> -------------------------------------------------------------------------------- /app/views/helpers/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/views/helpers/empty -------------------------------------------------------------------------------- /app/views/layouts/ajax.ctp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/views/layouts/browse.ctp: -------------------------------------------------------------------------------- 1 | element('page-init', array('title_for_layout'=>$title_for_layout,'HTTP_BASE'=>HTTP_BASE)); ?> 2 | 3 | 4 | 5 |
    6 | element('header-main'); ?> 7 | element('header-icons'); ?> 8 | element('header-end'); ?> 9 | 10 | flash(); ?> 11 | 12 | 13 | 14 | 15 | 16 | 17 | element('footer'); ?> 18 | -------------------------------------------------------------------------------- /app/views/layouts/default.ctp: -------------------------------------------------------------------------------- 1 | element('page-init', array('title_for_layout'=>$title_for_layout,'HTTP_BASE'=>HTTP_BASE)); ?> 2 |
    3 | element('header-main'); ?> 4 | element('header-simple'); ?> 5 | element('header-end'); ?> 6 | 7 | flash(); ?> 8 | 9 | 10 | element('footer'); ?> 11 | 12 | -------------------------------------------------------------------------------- /app/views/layouts/email/html/default.ctp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/views/layouts/email/text/default.ctp: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/views/layouts/home.ctp: -------------------------------------------------------------------------------- 1 | element('page-init', array('title_for_layout'=>$title_for_layout,'HTTP_BASE'=>HTTP_BASE)); ?> 2 |
    3 | element('header-main'); ?> 4 | element('header-icons'); ?> 5 | element('header-home'); ?> 6 | element('header-end'); ?> 7 |
    8 | flash(); ?> 9 | 10 | 11 |
    12 | 13 | 14 | element('footer'); ?> 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/views/layouts/home.ctp~: -------------------------------------------------------------------------------- 1 | element('page-init', array('title_for_layout'=>$title_for_layout,'HTTP_BASE'=>HTTP_BASE)); ?> 2 |
    3 | element('header-main'); ?> 4 | element('header-icons'); ?> 5 | element('header-home'); ?> 6 | element('header-end'); ?> 7 |
    8 | flash(); ?> 9 | 10 | 11 |
    12 | 13 | 14 | element('footer'); ?> 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/views/layouts/js/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/views/layouts/js/empty -------------------------------------------------------------------------------- /app/views/layouts/messages/error.ctp: -------------------------------------------------------------------------------- 1 |
    2 | 3 |
    -------------------------------------------------------------------------------- /app/views/layouts/messages/success.ctp: -------------------------------------------------------------------------------- 1 |
    2 | 3 |
    -------------------------------------------------------------------------------- /app/views/layouts/rss/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/views/layouts/rss/empty -------------------------------------------------------------------------------- /app/views/layouts/stripped.ctp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/views/layouts/xml/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/views/layouts/xml/empty -------------------------------------------------------------------------------- /app/views/pages/about-how.ctp: -------------------------------------------------------------------------------- 1 |
    2 | element('pages/about-header')?> 3 | 4 |

    How it Works

    5 | 6 |

    Eureka Fund lets you directly support groundbreaking research. A few steps make this possible:

    7 | 8 |

    1. Scientists submit grant proposals to EurekaFund.org.

    9 |

    2. All proposals go through a peer-review merit evaluation by other scientists.

    10 |

    3. Eureka Fund posts select proposals online, where the public can make tax-deductible donations directly to the projects they're most interested in.

    11 |

    4. Donations are aggregated until the funding goal is met.

    12 |

    5. Grants are made from Eureka Fund to the institution where the project is being conducted.

    13 |

    6. Scientists undertake the project, providing updates back to the Eureka Fund community.

    14 |

    7. New projects are posted on EurekaFund.org for people to learn details of the groundbreaking work that needs their support.

    15 |
    -------------------------------------------------------------------------------- /app/views/pages/about-what.ctp: -------------------------------------------------------------------------------- 1 |
    2 | element('pages/about-header')?> 3 | 4 |

    What We Do

    5 | 6 |

    Eureka Fund was founded around a simple yet troubling question: what happens when the next generation of scientific discoveries never happen?

    7 | 8 |

    This possibility is becoming reality as loads of high-quality, groundbreaking projects struggle to find funding from federal dollars. When these projects die, the promise of their innovation dies with them.

    9 | 10 |

    Eureka Fund allows the public to do something about this, by involving you directly in one of the critical challenges of our time. We are the world's first platform for people to learn about, and directly fund, the energy and environment research they are most interested in. Browse a range of real-time projects submitted from independent research institutions, and explore details about how the science works, what it will accomplish, and how your tax-deductible donations will be used.

    11 | 12 |

    When you find a project that inspires, get directly involved. With each donation you'll be taken behind-the-scenes to become part of the research team: blog posts, photos and videos, live lectures and announcements make each donation a real-time research and educational collaboration.

    13 | 14 |

    The projects presented on EurekaFund.org are real projects run by real scientists with real promise, and they need your support. Check out our current projects, and get involved!

    15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
    23 | -------------------------------------------------------------------------------- /app/views/pages/about.ctp: -------------------------------------------------------------------------------- 1 | about-what.ctp -------------------------------------------------------------------------------- /app/views/pages/help-contact.ctp: -------------------------------------------------------------------------------- 1 |
    2 | element('pages/help-header')?> 3 |

    Contact Us

    4 | 5 |

    To contact us by snail mail, you may write or send a donation to:

    6 | 7 |
    8 | Eureka Fund, Inc.
    9 | 335 Chestnut St.
    10 | San Francisco, CA, 94133 11 |
    12 | 13 |

    14 | To send an email to Eureka Fund, please write to: contact@eurekafund.org 15 |

    16 | 17 |
    -------------------------------------------------------------------------------- /app/views/pages/help-internships.ctp: -------------------------------------------------------------------------------- 1 |
    2 | element('pages/help-header')?> 3 |

    Internships

    4 |

    5 | Eureka Fund has tons of exciting opportunities available for people interested in getting involved in our operations. Interested? Drop us a line with a quick blurb about what you're good at and what you'd like to do: internships@eurekafund.org 6 |

    7 |
    8 | 9 | -------------------------------------------------------------------------------- /app/views/pages/help-media.ctp: -------------------------------------------------------------------------------- 1 |
    2 | element('pages/help-header')?> 3 |

    Media Contact

    4 |

    Please email your press related query to: media@eurekafund.org

    5 |

    If you would like to invite a Eureka Fund spokesperson to speak at your event, please contact us.

    6 |
    7 | 8 | -------------------------------------------------------------------------------- /app/views/pages/help.ctp: -------------------------------------------------------------------------------- 1 | ./help-faq.ctp -------------------------------------------------------------------------------- /app/views/pages/home.ctp: -------------------------------------------------------------------------------- 1 |
    2 |
    3 | -------------------------------------------------------------------------------- /app/views/pages/login.ctp: -------------------------------------------------------------------------------- 1 | renderElement('header-simple'); ?> 2 | renderElement('header-end'); ?> 3 | 4 |
    5 |
    6 | 7 |

    Login

    8 | 9 |
    10 | 11 |
    12 |
    13 |
    14 |
    15 |
    16 |
    17 |
    18 |
    19 |
    20 | 21 | 22 |
    23 |
    24 | -------------------------------------------------------------------------------- /app/views/pages/register.ctp: -------------------------------------------------------------------------------- 1 |
    2 | 3 | 4 |
    5 | Register 6 |
    7 | What type of user are you? 8 | 9 |
    10 |
    11 |
    12 |
    13 |
    14 |
    15 |
    16 |
    17 |
    18 |
    19 |
    20 |
    21 |
    22 |
    23 |
    24 |
    25 |
    26 |
    27 |
    28 |
    29 |
    30 |
    31 |
    32 |
    33 |
    34 | 35 |
    36 | 37 |
    38 | -------------------------------------------------------------------------------- /app/views/pages/test.ctp: -------------------------------------------------------------------------------- 1 | testing! 2 | -------------------------------------------------------------------------------- /app/views/projects/add.ctp: -------------------------------------------------------------------------------- 1 | 2 |
    3 | 4 |
    5 |

    Submit Your Proposal

    6 | 7 | element('projects/form-steps', array('tab'=>1, 'projectId'=>'none', 'completed_steps'=>1)); ?> 8 | 9 |
    10 | Project Basics 11 | 12 |
    13 | 14 | create('Project'); ?> 15 | 16 | element('projects/firstpage', array('projectCategories'=>$projectCategories)); ?> 17 | 18 |
    19 | end('Continue'); ?> 20 |
    21 | 22 |
    23 | 24 | 25 |
    26 | -------------------------------------------------------------------------------- /app/views/projects/admin_donations.ctp: -------------------------------------------------------------------------------- 1 |
    2 | element( 'admin-nav' )?> 3 |

    Donation Admin

    4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 20 | 21 | 22 | 23 | 24 | 33 | 34 | 37 | 38 | 41 | 42 | 45 | 46 | 47 | 48 | 49 |
    ProjectsDonorsProgressEurekaFund DonationsTotals
    25 | 31 | $donor_count" : $donor_count) ?> 32 | 35 | 36 | 39 | 40 | 43 | 44 |
    50 |
    51 | -------------------------------------------------------------------------------- /app/views/projects/admin_donations.ctp~: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/views/projects/admin_donors.ctp: -------------------------------------------------------------------------------- 1 |
    2 | element( 'admin-nav' )?> 3 |

    Donations Admin

    4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 |
    NameEmailProject DonationEurekaFund DonationFlexible
    20 | " : '') ?> 21 | 22 | " : '') ?> 23 |
    33 |
    34 | -------------------------------------------------------------------------------- /app/views/projects/admin_donors.ctp~: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 15 | 16 | 17 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
    NameEmailProject DonationEurekaFund DonationFlexible
    18 | " : '') ?> 19 | 20 | " : '') ?> 21 |
    31 | 32 | -------------------------------------------------------------------------------- /app/views/projects/admin_feature.ctp: -------------------------------------------------------------------------------- 1 |
    2 | element( 'admin-nav' )?> 3 | 4 | 5 |

    Feature Admin

    6 | 7 | create('Project', array( 'action' => 'admin_feature' )); ?> 8 | 9 | 10 | select( 'Project.id', $projects, $project_featured) ?> 11 | 12 |

    13 | 14 | 15 | select( 'User.id', $scientists, $scientist_featured); ?> 16 | 17 |

    18 | end( 'Submit' ) ?> 19 |

    20 |
    -------------------------------------------------------------------------------- /app/views/projects/admin_index.ctp: -------------------------------------------------------------------------------- 1 |
    2 | element( 'admin-nav' )?> 3 |

    Project Admin

    4 | create( 'Project', array( 'action' => 'bulk_update' ) ); ?> 5 | element( '/projects/table-list', 6 | array( 'projects' => $new_projects, 7 | 'projects_type' => "Incomplete Projects" ) ); ?> 8 | 9 | element( '/projects/table-list', 10 | array( 'projects' => $pending_projects, 11 | 'projects_type' => "Pending Projects" ) ); ?> 12 | 13 | element( '/projects/table-list', 14 | array( 'projects' => $approved_projects, 15 | 'projects_type' => "Approved Projects" ) ); ?> 16 | 17 | element( '/projects/table-list', 18 | array( 'projects' => $inactive_projects, 19 | 'projects_type' => "Inactive Projects" ) ); ?> 20 |
    21 | 22 | end( 'Update All Project Statuses' ) ?> 23 |

    24 |
    -------------------------------------------------------------------------------- /app/views/projects/category.ctp: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    Current Proposals

    4 |
    5 |
      6 |
    • filter proposals by:
    • 7 | 8 | 9 | 10 | $category): ?> 11 | 12 |
    • |
    • 13 | 14 |
    • 15 | 16 | 17 | 18 |
    19 |
    20 |
    21 |
    22 |
      23 | 24 | 25 | element('projects/search-item', array('project'=>$project)); ?> 26 | 27 | 28 |
    29 |
    30 | 31 | element('projects/paginator'); ?> 32 | 33 |
    34 | -------------------------------------------------------------------------------- /app/views/projects/donation_complete.ctp: -------------------------------------------------------------------------------- 1 |
    2 | 3 |
    4 | 5 |
    6 | Tweet This Project! » 7 | 11 |
    12 | 13 | 26 | 27 |
    28 | 29 |

    Return to Project

    30 | 31 |
    32 | 33 | 34 |
    35 | -------------------------------------------------------------------------------- /app/views/projects/financial_details.ctp: -------------------------------------------------------------------------------- 1 | element('projects/financial-details');?> 2 | -------------------------------------------------------------------------------- /app/views/projects/home.ctp: -------------------------------------------------------------------------------- 1 |
    2 |

    Featured Project

    3 |
    4 |
    5 |
      6 | element('projects/search-item', array('project'=>$project)); ?> 7 |
    8 |
    9 |
    -------------------------------------------------------------------------------- /app/views/projects/search.ctp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/views/projects/search.ctp -------------------------------------------------------------------------------- /app/views/scaffolds/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/views/scaffolds/empty -------------------------------------------------------------------------------- /app/views/search/find.ctp: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    Search Results

    4 | 5 |
    6 |
    7 |
      8 | 9 | 10 | element('projects/search-item', array('project'=>$project)); ?> 11 | 12 | 13 |
    14 |
    15 | 16 | element('projects/paginator'); ?> 17 | 18 | 19 | 20 |
    21 | -------------------------------------------------------------------------------- /app/views/users/activate.ctp: -------------------------------------------------------------------------------- 1 |
    2 | 3 |

    Your account has been activated!

    4 | 5 |

    Here are some of the exciting things you can do now:

    6 |
      7 |
    • Complete your User Profile so that others can learn more about you and the research you are interested in.
    • 8 |
    • Browse submitted project proposals that are currently looking for funding
    • 9 |
    10 | 11 | 12 |

    As a scientist, you can now use EurekaFund to reach out and let others know about your research and secure funding from our users.

    13 | 17 | 18 | 19 |

    Oops! It looks like the link you followed was malformed. Please chack it and try again

    20 | 21 |
    22 | -------------------------------------------------------------------------------- /app/views/users/edit.ctp: -------------------------------------------------------------------------------- 1 |
    2 | 3 |
    4 |

    My Profile

    5 | About Me: 6 | link( "Basic Info", '/users/edit/1/'.$user_id )?> 7 | · 8 | link( "Details", '/users/edit/2/'.$user_id )?> 9 |
    10 | 11 | About My Research: 12 | link( "Basic Info about my work", '/users/edit/3/'.$user_id )?> 13 | · 14 | link( "Links to my work", '/users/edit/4/'.$user_id )?> 15 | · 16 | link( "Uploaded work materials", '/users/edit/5/'.$user_id )?> 17 | 18 | 19 | element( 'users/edit/tab'.$tab )?> 20 | 21 | end( 'Update Profile' );?> 22 | 23 |
    24 | 25 |
    26 | -------------------------------------------------------------------------------- /app/views/users/edit_password.ctp: -------------------------------------------------------------------------------- 1 |
    2 | create('Profile', array( 'url' => '/users/edit_password')); ?> 3 |
    4 | Change your password: 5 | 6 |
    7 | input('User.password', array('label'=>'Old Password', 'value'=>'')); ?> 8 |
    9 | 10 |
    11 | input('User.new_password', array('type'=>'password', 'value'=>'') );?> 12 |
    13 | 14 |
    15 | end('Change Password') ?> 16 |
    17 | -------------------------------------------------------------------------------- /app/views/users/login.ctp: -------------------------------------------------------------------------------- 1 |
    2 | 3 | 4 |
    5 |

    Existing Users: Log in

    6 | flash('auth'); 8 | echo $form->create('User', array('action' => 'login')); 9 | ?> 10 | 11 |
    12 |
    13 | input('email') ?> 14 |
    15 | 16 |
    17 |
    18 | input('password') ?> 19 | Forgot your password? 20 |
    21 | 22 | end('Login') ?> 23 |
    24 | 25 |
    26 |

    New users: Join us!

    27 |
    28 | It's easy and it's free! link('Sign up here', '/users/register')?> 29 |
    30 |
    31 |
    32 | -------------------------------------------------------------------------------- /app/views/users/reset_password.ctp: -------------------------------------------------------------------------------- 1 | create('Profile', array( 'url' => '/users/reset_password')); ?> 2 |
    3 |
    4 | Forgot your password? Enter your registered email address below and we'll reset it for you. 5 |
    6 | 7 |
    8 | input('User.email', array('label'=>'Email', 'value'=>'')); ?> 9 |
    10 |
    end('Reset Password') ?>
    11 |
    12 | 13 | -------------------------------------------------------------------------------- /app/webroot/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine On 3 | RewriteCond %{REQUEST_FILENAME} !-d 4 | RewriteCond %{REQUEST_FILENAME} !-f 5 | RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] 6 | -------------------------------------------------------------------------------- /app/webroot/css/fancy_closebox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_closebox.png -------------------------------------------------------------------------------- /app/webroot/css/fancy_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_left.png -------------------------------------------------------------------------------- /app/webroot/css/fancy_progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_progress.png -------------------------------------------------------------------------------- /app/webroot/css/fancy_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_right.png -------------------------------------------------------------------------------- /app/webroot/css/fancy_shadow_e.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_shadow_e.png -------------------------------------------------------------------------------- /app/webroot/css/fancy_shadow_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_shadow_n.png -------------------------------------------------------------------------------- /app/webroot/css/fancy_shadow_ne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_shadow_ne.png -------------------------------------------------------------------------------- /app/webroot/css/fancy_shadow_nw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_shadow_nw.png -------------------------------------------------------------------------------- /app/webroot/css/fancy_shadow_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_shadow_s.png -------------------------------------------------------------------------------- /app/webroot/css/fancy_shadow_se.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_shadow_se.png -------------------------------------------------------------------------------- /app/webroot/css/fancy_shadow_sw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_shadow_sw.png -------------------------------------------------------------------------------- /app/webroot/css/fancy_shadow_w.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_shadow_w.png -------------------------------------------------------------------------------- /app/webroot/css/fancy_title_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_title_left.png -------------------------------------------------------------------------------- /app/webroot/css/fancy_title_main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_title_main.png -------------------------------------------------------------------------------- /app/webroot/css/fancy_title_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/fancy_title_right.png -------------------------------------------------------------------------------- /app/webroot/css/img/ball-blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/ball-blue.png -------------------------------------------------------------------------------- /app/webroot/css/img/ball-gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/ball-gray.png -------------------------------------------------------------------------------- /app/webroot/css/img/ball-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/ball-green.png -------------------------------------------------------------------------------- /app/webroot/css/img/ball-orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/ball-orange.png -------------------------------------------------------------------------------- /app/webroot/css/img/donate-button.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/donate-button.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/drag-arrow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/drag-arrow.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/getstarted-arrow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/getstarted-arrow.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/hint_topborder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/hint_topborder.gif -------------------------------------------------------------------------------- /app/webroot/css/img/home-donate-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/home-donate-button.png -------------------------------------------------------------------------------- /app/webroot/css/img/home-scientist-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/home-scientist-button.png -------------------------------------------------------------------------------- /app/webroot/css/img/lightbox/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/lightbox/blank.gif -------------------------------------------------------------------------------- /app/webroot/css/img/lightbox/close.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/lightbox/close.gif -------------------------------------------------------------------------------- /app/webroot/css/img/lightbox/closelabel.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/lightbox/closelabel.gif -------------------------------------------------------------------------------- /app/webroot/css/img/lightbox/image-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/lightbox/image-1.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/lightbox/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/lightbox/loading.gif -------------------------------------------------------------------------------- /app/webroot/css/img/lightbox/next.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/lightbox/next.gif -------------------------------------------------------------------------------- /app/webroot/css/img/lightbox/nextlabel.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/lightbox/nextlabel.gif -------------------------------------------------------------------------------- /app/webroot/css/img/lightbox/prev.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/lightbox/prev.gif -------------------------------------------------------------------------------- /app/webroot/css/img/lightbox/prevlabel.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/lightbox/prevlabel.gif -------------------------------------------------------------------------------- /app/webroot/css/img/lightbox/thumb-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/lightbox/thumb-1.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/mid-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/mid-bg.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/mid-gradient-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/mid-gradient-bg.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/mid-piece-left.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/mid-piece-left.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/mid-piece-right.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/mid-piece-right.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/midlink-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/midlink-bg.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/search.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/search.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/tab-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/tab-bg.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/tab-piece-left.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/tab-piece-left.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/tab-piece-right.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/tab-piece-right.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/thermometer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/thermometer.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/top-bar-top.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/top-bar-top.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/top-link-left.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/top-link-left.jpg -------------------------------------------------------------------------------- /app/webroot/css/img/top-link-right.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/css/img/top-link-right.jpg -------------------------------------------------------------------------------- /app/webroot/error_log: -------------------------------------------------------------------------------- 1 | [19-Feb-2010 22:35:58] PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/dkexygy/public_html/eureka/app/views/users/profile.ctp on line 82 2 | [19-Feb-2010 22:36:31] PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/dkexygy/public_html/eureka/app/views/users/profile.ctp on line 82 3 | [19-Feb-2010 22:37:09] PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/dkexygy/public_html/eureka/app/views/users/profile.ctp on line 82 4 | [19-Feb-2010 22:37:34] PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/dkexygy/public_html/eureka/app/views/users/profile.ctp on line 82 5 | -------------------------------------------------------------------------------- /app/webroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/favicon.ico -------------------------------------------------------------------------------- /app/webroot/favicon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/favicon.jpg -------------------------------------------------------------------------------- /app/webroot/fbconnect/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/webroot/fbconnect/xd_receiver.htm: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/webroot/img/border-left.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/border-left.jpg -------------------------------------------------------------------------------- /app/webroot/img/cake.icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/cake.icon.gif -------------------------------------------------------------------------------- /app/webroot/img/cake.power.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/cake.power.gif -------------------------------------------------------------------------------- /app/webroot/img/facebook-f.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/facebook-f.gif -------------------------------------------------------------------------------- /app/webroot/img/icon-1-lite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/icon-1-lite.png -------------------------------------------------------------------------------- /app/webroot/img/icon-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/icon-1.png -------------------------------------------------------------------------------- /app/webroot/img/icon-2-lite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/icon-2-lite.png -------------------------------------------------------------------------------- /app/webroot/img/icon-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/icon-2.png -------------------------------------------------------------------------------- /app/webroot/img/icon-3-lite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/icon-3-lite.png -------------------------------------------------------------------------------- /app/webroot/img/icon-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/icon-3.png -------------------------------------------------------------------------------- /app/webroot/img/icon-4-lite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/icon-4-lite.png -------------------------------------------------------------------------------- /app/webroot/img/icon-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/icon-4.png -------------------------------------------------------------------------------- /app/webroot/img/icon-5-lite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/icon-5-lite.png -------------------------------------------------------------------------------- /app/webroot/img/icon-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/icon-5.png -------------------------------------------------------------------------------- /app/webroot/img/istockphoto_8478786-another-expert.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/istockphoto_8478786-another-expert.jpg -------------------------------------------------------------------------------- /app/webroot/img/logo-big.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/logo-big.gif -------------------------------------------------------------------------------- /app/webroot/img/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/logo.jpg -------------------------------------------------------------------------------- /app/webroot/img/logo_beta.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/logo_beta.jpg -------------------------------------------------------------------------------- /app/webroot/img/logo_beta_new.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/logo_beta_new.jpg -------------------------------------------------------------------------------- /app/webroot/img/monkey.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/monkey.jpg -------------------------------------------------------------------------------- /app/webroot/img/oil-barrels.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/oil-barrels.jpg -------------------------------------------------------------------------------- /app/webroot/img/twitter-t.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/app/webroot/img/twitter-t.gif -------------------------------------------------------------------------------- /app/webroot/js/bitly.js: -------------------------------------------------------------------------------- 1 | 2 | // wait until page is loaded to call API 3 | BitlyClient.addPageLoadEvent(function(){ 4 | BitlyCB.myShortenCallback = function(data) { 5 | var result; 6 | for (var r in data.results) { 7 | result = data.results[r]; 8 | result['longUrl'] = r; 9 | break; 10 | } 11 | 12 | // alert("The bit.ly URL for this page is " + result['shortUrl']); 13 | tweetthis = document.getElementById( 'tweetthis' ); 14 | if ( tweetthis ) { 15 | tweetthis.href = 'http://twitter.com/home/?status=' + escape( twitterdesc + ' ' + result['shortUrl'] + ' ' + '#eurekafund' ); 16 | tweetthis.innerHTML = 'Tweet This Project! »' 17 | } 18 | } 19 | 20 | //on the donation page we want to bitly the project link, rather than self.location 21 | if (typeof(projectLocation) != 'undefined') { 22 | BitlyClient.shorten(projectLocation, 'BitlyCB.myShortenCallback'); 23 | } else { 24 | BitlyClient.shorten(self.location, 'BitlyCB.myShortenCallback'); 25 | 26 | } 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /app/webroot/js/vendors.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/webroot/xd_receiver.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Cross-Domain Receiver Page 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /cake/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | CakePHP(tm) : The Rapid Development PHP Framework (http://www.cakephp.org) 4 | Copyright 2005-2007, Cake Software Foundation, Inc. 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a 7 | copy of this software and associated documentation files (the "Software"), 8 | to deal in the Software without restriction, including without limitation 9 | the rights to use, copy, modify, merge, publish, distribute, sublicense, 10 | and/or sell copies of the Software, and to permit persons to whom the 11 | Software is furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22 | DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /cake/VERSION.txt: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////////////////////////////////////////////////////// 2 | // +---------------------------------------------------------------------------------------------------+ // 3 | // + $Id: VERSION.txt 8284 2009-08-03 20:53:50Z gwoo $ 4 | // + Last Modified: $Date: 2009-08-03 13:53:50 -0700 (Mon, 03 Aug 2009) $ 5 | // + Modified By: $LastChangedBy: gwoo $ 6 | // +---------------------------------------------------------------------------------------------------+ // 7 | /////////////////////////////////////////////////////////////////////////////////////////////////////////// 8 | 9 | 1.2.4.8284 -------------------------------------------------------------------------------- /cake/bootstrap.php: -------------------------------------------------------------------------------- 1 | = 5)); 29 | } 30 | /** 31 | * Configuration, directory layout and standard libraries 32 | */ 33 | if (!isset($bootstrap)) { 34 | require CORE_PATH . 'cake' . DS . 'basics.php'; 35 | $TIME_START = getMicrotime(); 36 | require CORE_PATH . 'cake' . DS . 'config' . DS . 'paths.php'; 37 | require LIBS . 'object.php'; 38 | require LIBS . 'inflector.php'; 39 | require LIBS . 'configure.php'; 40 | } 41 | require LIBS . 'cache.php'; 42 | 43 | Configure::getInstance(); 44 | 45 | $url = null; 46 | 47 | App::import('Core', array('Dispatcher')); 48 | ?> -------------------------------------------------------------------------------- /cake/config/config.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cake/console/cake: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ################################################################################ 3 | # 4 | # Bake is a shell script for running CakePHP bake script 5 | # PHP versions 4 and 5 6 | # 7 | # CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) 8 | # Copyright 2005-2007, Cake Software Foundation, Inc. 9 | # 10 | # Licensed under The MIT License 11 | # Redistributions of files must retain the above copyright notice. 12 | # 13 | # @filesource 14 | # @copyright Copyright 2005-2007, Cake Software Foundation, Inc. 15 | # @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 16 | # @package cake 17 | # @subpackage cake.cake.console 18 | # @since CakePHP(tm) v 1.2.0.5012 19 | # @version $Revision: 7945 $ 20 | # @modifiedby $LastChangedBy: gwoo $ 21 | # @lastmodified $Date: 2008-12-18 18:16:01 -0800 (Thu, 18 Dec 2008) $ 22 | # @license http://www.opensource.org/licenses/mit-license.php The MIT License 23 | # 24 | ################################################################################ 25 | clear 26 | 27 | LIB=${0/%cake/} 28 | APP=`pwd` 29 | 30 | exec php -q ${LIB}cake.php -working "${APP}" "$@" 31 | 32 | exit; -------------------------------------------------------------------------------- /cake/console/cake.bat: -------------------------------------------------------------------------------- 1 | :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 2 | :: 3 | :: Bake is a shell script for running CakePHP bake script 4 | :: PHP versions 4 and 5 5 | :: 6 | :: CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) 7 | :: Copyright 2005-2007, Cake Software Foundation, Inc. 8 | :: 9 | :: Licensed under The MIT License 10 | :: Redistributions of files must retain the above copyright notice. 11 | :: 12 | :: @filesource 13 | :: @copyright Copyright 2005-2007, Cake Software Foundation, Inc. 14 | :: @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project 15 | :: @package cake 16 | :: @subpackage cake.cake.console 17 | :: @since CakePHP(tm) v 1.2.0.5012 18 | :: @version $Revision: 7945 $ 19 | :: @modifiedby $LastChangedBy: gwoo $ 20 | :: @lastmodified $Date: 2008-12-18 18:16:01 -0800 (Thu, 18 Dec 2008) $ 21 | :: @license http://www.opensource.org/licenses/mit-license.php The MIT License 22 | :: 23 | :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 24 | 25 | :: In order for this script to work as intended, the cake\console\ folder must be in your PATH 26 | 27 | @echo. 28 | @echo off 29 | 30 | SET app=%0 31 | SET lib=%~dp0 32 | 33 | php -q "%lib%cake.php" -working "%CD%" %* 34 | 35 | echo. -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine on 3 | RewriteRule ^$ webroot/ [L] 4 | RewriteRule (.*) webroot/$1 [L] 5 | -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/app_controller.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/app_helper.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/app_model.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/config/sql/db_acl.sql: -------------------------------------------------------------------------------- 1 | # $Id: db_acl.sql 7945 2008-12-19 02:16:01Z gwoo $ 2 | # 3 | # Copyright 2005-2008, Cake Software Foundation, Inc. 4 | # 5 | # Licensed under The MIT License 6 | # Redistributions of files must retain the above copyright notice. 7 | # http://www.opensource.org/licenses/mit-license.php The MIT License 8 | 9 | CREATE TABLE acos ( 10 | id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, 11 | parent_id INTEGER(10) DEFAULT NULL, 12 | model VARCHAR(255) DEFAULT '', 13 | foreign_key INTEGER(10) UNSIGNED DEFAULT NULL, 14 | alias VARCHAR(255) DEFAULT '', 15 | lft INTEGER(10) DEFAULT NULL, 16 | rght INTEGER(10) DEFAULT NULL, 17 | PRIMARY KEY (id) 18 | ); 19 | 20 | CREATE TABLE aros_acos ( 21 | id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, 22 | aro_id INTEGER(10) UNSIGNED NOT NULL, 23 | aco_id INTEGER(10) UNSIGNED NOT NULL, 24 | _create CHAR(2) NOT NULL DEFAULT 0, 25 | _read CHAR(2) NOT NULL DEFAULT 0, 26 | _update CHAR(2) NOT NULL DEFAULT 0, 27 | _delete CHAR(2) NOT NULL DEFAULT 0, 28 | PRIMARY KEY(id) 29 | ); 30 | 31 | CREATE TABLE aros ( 32 | id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, 33 | parent_id INTEGER(10) DEFAULT NULL, 34 | model VARCHAR(255) DEFAULT '', 35 | foreign_key INTEGER(10) UNSIGNED DEFAULT NULL, 36 | alias VARCHAR(255) DEFAULT '', 37 | lft INTEGER(10) DEFAULT NULL, 38 | rght INTEGER(10) DEFAULT NULL, 39 | PRIMARY KEY (id) 40 | ); -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/config/sql/i18n.sql: -------------------------------------------------------------------------------- 1 | # $Id: i18n.sql 7945 2008-12-19 02:16:01Z gwoo $ 2 | # 3 | # Copyright 2005-2008, Cake Software Foundation, Inc. 4 | # 5 | # Licensed under The MIT License 6 | # Redistributions of files must retain the above copyright notice. 7 | # http://www.opensource.org/licenses/mit-license.php The MIT License 8 | 9 | CREATE TABLE i18n ( 10 | id int(10) NOT NULL auto_increment, 11 | locale varchar(6) NOT NULL, 12 | model varchar(255) NOT NULL, 13 | foreign_key int(10) NOT NULL, 14 | field varchar(255) NOT NULL, 15 | content mediumtext, 16 | PRIMARY KEY (id), 17 | # UNIQUE INDEX I18N_LOCALE_FIELD(locale, model, foreign_key, field), 18 | # INDEX I18N_LOCALE_ROW(locale, model, foreign_key), 19 | # INDEX I18N_LOCALE_MODEL(locale, model), 20 | # INDEX I18N_FIELD(model, foreign_key, field), 21 | # INDEX I18N_ROW(model, foreign_key), 22 | INDEX locale (locale), 23 | INDEX model (model), 24 | INDEX row_id (foreign_key), 25 | INDEX field (field) 26 | ); -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/config/sql/sessions.sql: -------------------------------------------------------------------------------- 1 | # $Id: sessions.sql 7118 2008-06-04 20:49:29Z gwoo $ 2 | # 3 | # Copyright 2005-2008, Cake Software Foundation, Inc. 4 | # 1785 E. Sahara Avenue, Suite 490-204 5 | # Las Vegas, Nevada 89104 6 | # 7 | # Licensed under The MIT License 8 | # Redistributions of files must retain the above copyright notice. 9 | # http://www.opensource.org/licenses/mit-license.php The MIT License 10 | 11 | CREATE TABLE cake_sessions ( 12 | id varchar(255) NOT NULL default '', 13 | data text, 14 | expires int(11) default NULL, 15 | PRIMARY KEY (id) 16 | ); -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/controllers/components/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/controllers/components/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/locale/eng/LC_MESSAGES/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/locale/eng/LC_MESSAGES/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/models/behaviors/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/models/behaviors/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/models/datasources/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/models/datasources/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/plugins/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/plugins/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/tests/cases/behaviors/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/tests/cases/behaviors/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/tests/cases/components/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/tests/cases/components/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/tests/cases/controllers/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/tests/cases/controllers/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/tests/cases/helpers/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/tests/cases/helpers/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/tests/cases/models/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/tests/cases/models/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/tests/fixtures/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/tests/fixtures/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/tests/groups/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/tests/groups/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/tmp/cache/models/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/tmp/cache/models/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/tmp/cache/persistent/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/tmp/cache/persistent/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/tmp/cache/views/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/tmp/cache/views/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/tmp/logs/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/tmp/logs/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/tmp/sessions/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/tmp/sessions/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/tmp/tests/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/tmp/tests/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/vendors/shells/tasks/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/vendors/shells/tasks/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/vendors/shells/templates/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/vendors/shells/templates/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/views/elements/email/html/default.ctp: -------------------------------------------------------------------------------- 1 | 25 | ' . $line . '

    '; 30 | endforeach; 31 | ?> -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/views/elements/email/text/default.ctp: -------------------------------------------------------------------------------- 1 | 25 | -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/views/elements/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/views/elements/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/views/errors/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/views/errors/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/views/helpers/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/views/helpers/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/views/layouts/ajax.ctp: -------------------------------------------------------------------------------- 1 | 25 | -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/views/layouts/email/html/default.ctp: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | 29 | <?php echo $title_for_layout;?> 30 | 31 | 32 | 33 | 34 | 35 |

    This email was sent using the CakePHP Framework

    36 | 37 | 38 | -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/views/layouts/email/text/default.ctp: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | This email was sent using the CakePHP Framework, http://cakephp.org. 29 | 30 | -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/views/layouts/js/default.ctp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/views/layouts/rss/default.ctp: -------------------------------------------------------------------------------- 1 | header(); 3 | 4 | if (!isset($channel)) { 5 | $channel = array(); 6 | } 7 | if (!isset($channel['title'])) { 8 | $channel['title'] = $title_for_layout; 9 | } 10 | 11 | echo $rss->document( 12 | $rss->channel( 13 | array(), $channel, $content_for_layout 14 | ) 15 | ); 16 | 17 | ?> -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/views/layouts/xml/default.ctp: -------------------------------------------------------------------------------- 1 | header()); ?> 2 | -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/views/pages/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/views/pages/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/views/scaffolds/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/views/scaffolds/empty -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/webroot/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine On 3 | RewriteCond %{REQUEST_FILENAME} !-d 4 | RewriteCond %{REQUEST_FILENAME} !-f 5 | RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] 6 | -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/webroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/webroot/favicon.ico -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/webroot/img/cake.icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/webroot/img/cake.icon.gif -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/webroot/img/cake.power.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Exygy/CrowdFund/78a0126dc871c20d0e889b94ab66db0e3e771438/cake/console/libs/templates/skel/webroot/img/cake.power.gif -------------------------------------------------------------------------------- /cake/console/libs/templates/skel/webroot/js/vendors.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cake/libs/controller/app_controller.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cake/libs/model/app_model.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cake/libs/overloadable.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cake/libs/view/elements/dump.ctp: -------------------------------------------------------------------------------- 1 | 25 |
    26 |

    27 |
    28 | 		
    29 | 	
    30 |
    -------------------------------------------------------------------------------- /cake/libs/view/elements/email/html/default.ctp: -------------------------------------------------------------------------------- 1 | 25 | ' . $line . '

    '; 30 | endforeach; 31 | ?> -------------------------------------------------------------------------------- /cake/libs/view/elements/email/text/default.ctp: -------------------------------------------------------------------------------- 1 | 25 | -------------------------------------------------------------------------------- /cake/libs/view/errors/error404.ctp: -------------------------------------------------------------------------------- 1 | 25 |

    26 |

    27 | : 28 | '{$message}'")?> 29 |

    -------------------------------------------------------------------------------- /cake/libs/view/errors/missing_connection.ctp: -------------------------------------------------------------------------------- 1 | 25 |

    26 |

    27 | : 28 | 29 |

    30 |

    31 | : 32 | 33 |

    34 |

    35 | : 36 | 37 |

    -------------------------------------------------------------------------------- /cake/libs/view/errors/missing_layout.ctp: -------------------------------------------------------------------------------- 1 | 25 |

    26 |

    27 | : 28 | " . $file . "");?> 29 |

    30 |

    31 | : 32 | " . $file . "");?> 33 |

    34 |

    35 | : 36 | 37 |

    -------------------------------------------------------------------------------- /cake/libs/view/errors/missing_scaffolddb.ctp: -------------------------------------------------------------------------------- 1 | 25 |

    26 |

    27 | : 28 | 29 |

    30 |

    31 | : 32 | 33 |

    34 |

    35 | : 36 | 37 |

    -------------------------------------------------------------------------------- /cake/libs/view/errors/missing_table.ctp: -------------------------------------------------------------------------------- 1 | 25 |

    26 |

    27 | : 28 | " . $table . "", "" . $model . "");?> 29 |

    30 |

    31 | : 32 | 33 |

    -------------------------------------------------------------------------------- /cake/libs/view/errors/missing_view.ctp: -------------------------------------------------------------------------------- 1 | 25 |

    26 |

    27 | : 28 | " . $controller . "Controller::", "". $action . "()");?> 29 |

    30 |

    31 | : 32 | 33 |

    34 |

    35 | : 36 | 37 |

    -------------------------------------------------------------------------------- /cake/libs/view/errors/private_action.ctp: -------------------------------------------------------------------------------- 1 | 25 |

    26 |

    27 | : 28 | " . $controller . "::", "" . $action . "()");?> 29 |

    30 |

    31 | : 32 | 33 |

    -------------------------------------------------------------------------------- /cake/libs/view/errors/scaffold_error.ctp: -------------------------------------------------------------------------------- 1 | 25 |

    26 |

    27 | : 28 | 29 |

    30 |

    31 | : 32 | 33 |

    34 |
    35 | <?php
    36 | function _scaffoldError() {
    37 | 38 | } 39 | ?> 40 |
    -------------------------------------------------------------------------------- /cake/libs/view/helpers/app_helper.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cake/libs/view/layouts/ajax.ctp: -------------------------------------------------------------------------------- 1 | 25 | -------------------------------------------------------------------------------- /cake/libs/view/layouts/email/html/default.ctp: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | 28 | <?php echo $title_for_layout;?> 29 | 30 | 31 | 32 | 33 |

    This email was sent using the CakePHP Framework

    34 | 35 | -------------------------------------------------------------------------------- /cake/libs/view/layouts/email/text/default.ctp: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 | This email was sent using the CakePHP Framework, http://cakephp.org. 28 | 29 | -------------------------------------------------------------------------------- /cake/libs/view/layouts/js/default.ctp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /cake/libs/view/layouts/rss/default.ctp: -------------------------------------------------------------------------------- 1 | header(); 3 | 4 | if (!isset($channel)) { 5 | $channel = array(); 6 | } 7 | if (!isset($channel['title'])) { 8 | $channel['title'] = $title_for_layout; 9 | } 10 | 11 | echo $rss->document( 12 | $rss->channel( 13 | array(), $channel, $content_for_layout 14 | ) 15 | ); 16 | ?> -------------------------------------------------------------------------------- /cake/libs/view/layouts/xml/default.ctp: -------------------------------------------------------------------------------- 1 | header(); ?> 2 | -------------------------------------------------------------------------------- /cake/tests/lib/cake_test_model.php: -------------------------------------------------------------------------------- 1 | 11 | * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 12 | * 13 | * Licensed under The Open Group Test Suite License 14 | * Redistributions of files must retain the above copyright notice. 15 | * 16 | * @filesource 17 | * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 18 | * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 19 | * @package cake 20 | * @subpackage cake.cake.tests.libs 21 | * @since CakePHP(tm) v 1.2.0.4667 22 | * @version $Revision: 7945 $ 23 | * @modifiedby $LastChangedBy: gwoo $ 24 | * @lastmodified $Date: 2008-12-18 18:16:01 -0800 (Thu, 18 Dec 2008) $ 25 | * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 26 | */ 27 | require_once LIBS.'model'.DS.'model.php'; 28 | /** 29 | * Short description for class. 30 | * 31 | * @package cake 32 | * @subpackage cake.cake.tests.lib 33 | */ 34 | class CakeTestModel extends Model { 35 | var $useDbConfig = 'test_suite'; 36 | var $cacheSources = false; 37 | } 38 | ?> -------------------------------------------------------------------------------- /cake/tests/lib/cake_web_test_case.php: -------------------------------------------------------------------------------- 1 | 9 | * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 10 | * 11 | * Licensed under The Open Group Test Suite License 12 | * Redistributions of files must retain the above copyright notice. 13 | * 14 | * @filesource 15 | * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 16 | * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 17 | * @package cake 18 | * @subpackage cake.cake.tests.lib 19 | * @since CakePHP(tm) v 1.2.0.4433 20 | * @version $Revision: 8283 $ 21 | * @modifiedby $LastChangedBy: gwoo $ 22 | * @lastmodified $Date: 2009-08-03 13:49:17 -0700 (Mon, 03 Aug 2009) $ 23 | * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 24 | */ 25 | /** 26 | * Ignore base class. 27 | */ 28 | SimpleTest::ignore('CakeWebTestCase'); 29 | /** 30 | * Simple wrapper for the WebTestCase provided by SimpleTest 31 | * 32 | * @package cake 33 | * @subpackage cake.cake.tests.lib 34 | */ 35 | class CakeWebTestCase extends WebTestCase { 36 | } 37 | ?> -------------------------------------------------------------------------------- /cake/tests/lib/footer.php: -------------------------------------------------------------------------------- 1 | 11 | * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 12 | * 13 | * Licensed under The Open Group Test Suite License 14 | * Redistributions of files must retain the above copyright notice. 15 | * 16 | * @filesource 17 | * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 18 | * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 19 | * @package cake 20 | * @subpackage cake.cake.tests.lib 21 | * @since CakePHP(tm) v 1.2.0.4433 22 | * @version $Revision: 7945 $ 23 | * @modifiedby $LastChangedBy: gwoo $ 24 | * @lastmodified $Date: 2008-12-18 18:16:01 -0800 (Thu, 18 Dec 2008) $ 25 | * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 26 | */ 27 | ?>
    28 |
    29 | 34 |
    35 | 36 | -------------------------------------------------------------------------------- /cake/tests/lib/simpletest.php: -------------------------------------------------------------------------------- 1 | 11 | * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 12 | * 13 | * Licensed under The Open Group Test Suite License 14 | * Redistributions of files must retain the above copyright notice. 15 | * 16 | * @filesource 17 | * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 18 | * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 19 | * @package cake 20 | * @subpackage cake.cake.tests.libs 21 | * @since CakePHP(tm) v 1.2.0.4433 22 | * @version $Revision: 7945 $ 23 | * @modifiedby $LastChangedBy: gwoo $ 24 | * @lastmodified $Date: 2008-12-18 18:16:01 -0800 (Thu, 18 Dec 2008) $ 25 | * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 26 | */ 27 | ?> 28 |
    29 |

    SimpleTest is not installed

    30 |

    You must install SimpleTest to use the CakePHP(tm) Test Suite.

    31 |

    SimpleTest can be placed in one of the following directories.

    32 |
      33 |
    • vendors
    • 34 |
    • vendors
    • 35 |
    36 |

    Download SimpleTest

    37 |
    -------------------------------------------------------------------------------- /cake/tests/lib/xdebug.php: -------------------------------------------------------------------------------- 1 | 11 | * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 12 | * 13 | * Licensed under The Open Group Test Suite License 14 | * Redistributions of files must retain the above copyright notice. 15 | * 16 | * @filesource 17 | * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) 18 | * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests 19 | * @package cake 20 | * @subpackage cake.cake.tests.libs 21 | * @since CakePHP(tm) v 1.2.0.4433 22 | * @version $Revision: 7945 $ 23 | * @modifiedby $LastChangedBy: gwoo $ 24 | * @lastmodified $Date: 2008-12-18 18:16:01 -0800 (Thu, 18 Dec 2008) $ 25 | * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 26 | */ 27 | ?> 28 |
    29 |

    Xdebug is not installed

    30 |

    You must install Xdebug to use the CakePHP(tm) Code Coverage Analyzation.

    31 |

    Learn How To Install Xdebug

    --------------------------------------------------------------------------------