From 40a489f4298a08b8f777e9d1dd8a88a82c1c0e82 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Tue, 13 Jan 2009 16:16:25 +1100 Subject: [PATCH] Removed damn SVN directories --- config/.svn/entries | 143 - config/.svn/format | 1 - config/.svn/prop-base/acl.ini.php.svn-base | 5 - config/.svn/prop-base/bootstrap.php.svn-base | 5 - config/.svn/prop-base/core.php.svn-base | 5 - .../prop-base/database.php.default.svn-base | 5 - config/.svn/prop-base/database.php.svn-base | 5 - .../.svn/prop-base/inflections.php.svn-base | 5 - config/.svn/prop-base/routes.php.svn-base | 5 - config/.svn/text-base/acl.ini.php.svn-base | 76 - config/.svn/text-base/bootstrap.php.svn-base | 46 - config/.svn/text-base/core.php.svn-base | 229 - .../text-base/database.php.default.svn-base | 103 - config/.svn/text-base/database.php.svn-base | 103 - .../.svn/text-base/inflections.php.svn-base | 72 - config/.svn/text-base/routes.php.svn-base | 47 - config/sql/.svn/entries | 106 - config/sql/.svn/format | 1 - config/sql/.svn/prop-base/db_acl.php.svn-base | 5 - config/sql/.svn/prop-base/db_acl.sql.svn-base | 5 - config/sql/.svn/prop-base/i18n.php.svn-base | 5 - config/sql/.svn/prop-base/i18n.sql.svn-base | 5 - .../sql/.svn/prop-base/sessions.php.svn-base | 5 - .../sql/.svn/prop-base/sessions.sql.svn-base | 5 - config/sql/.svn/text-base/db_acl.php.svn-base | 81 - config/sql/.svn/text-base/db_acl.sql.svn-base | 42 - config/sql/.svn/text-base/i18n.php.svn-base | 58 - config/sql/.svn/text-base/i18n.sql.svn-base | 28 - .../sql/.svn/text-base/sessions.php.svn-base | 55 - .../sql/.svn/text-base/sessions.sql.svn-base | 16 - controllers/.svn/entries | 444 -- controllers/.svn/format | 1 - .../addresses_controller.php.svn-base | 5 - .../contacts_controller.php.svn-base | 5 - .../countries_controller.php.svn-base | 5 - .../currencies_controller.php.svn-base | 5 - .../customers_controller.php.svn-base | 5 - .../enquiries_controller.php.svn-base | 5 - .../principles_controller.php.svn-base | 5 - .../products_controller.php.svn-base | 5 - .../prop-base/quotes_controller.php.svn-base | 5 - .../prop-base/states_controller.php.svn-base | 5 - .../statuses_controller.php.svn-base | 5 - .../prop-base/users_controller.php.svn-base | 5 - .../addresses_controller.php.svn-base | 78 - .../contacts_controller.php.svn-base | 88 - .../countries_controller.php.svn-base | 65 - .../currencies_controller.php.svn-base | 62 - .../customers_controller.php.svn-base | 68 - .../enquiries_controller.php.svn-base | 255 - .../principles_controller.php.svn-base | 74 - .../product_options_controller.php.svn-base | 66 - .../products_controller.php.svn-base | 67 - .../quote_products_controller.php.svn-base | 72 - .../text-base/quotes_controller.php.svn-base | 92 - .../text-base/states_controller.php.svn-base | 69 - .../statuses_controller.php.svn-base | 68 - .../text-base/users_controller.php.svn-base | 119 - controllers/components/.svn/entries | 41 - controllers/components/.svn/format | 1 - .../components/.svn/prop-base/empty.svn-base | 5 - .../components/.svn/text-base/empty.svn-base | 0 locale/.svn/entries | 31 - locale/.svn/format | 1 - locale/eng/.svn/entries | 31 - locale/eng/.svn/format | 1 - locale/eng/LC_MESSAGES/.svn/entries | 41 - locale/eng/LC_MESSAGES/.svn/format | 1 - .../LC_MESSAGES/.svn/prop-base/empty.svn-base | 5 - .../LC_MESSAGES/.svn/text-base/empty.svn-base | 0 models/.svn/entries | 494 -- models/.svn/format | 1 - models/.svn/prop-base/address.php.svn-base | 5 - models/.svn/prop-base/contact.php.svn-base | 5 - models/.svn/prop-base/country.php.svn-base | 5 - models/.svn/prop-base/currency.php.svn-base | 5 - models/.svn/prop-base/customer.php.svn-base | 5 - models/.svn/prop-base/enquiry.php.svn-base | 5 - models/.svn/prop-base/principle.php.svn-base | 5 - models/.svn/prop-base/product.php.svn-base | 5 - models/.svn/prop-base/quote.php.svn-base | 5 - .../.svn/prop-base/quote_product.php.svn-base | 5 - .../prop-base/quoted_product.php.svn-base | 5 - models/.svn/prop-base/state.php.svn-base | 5 - models/.svn/prop-base/status.php.svn-base | 5 - models/.svn/prop-base/user.php.svn-base | 5 - models/.svn/text-base/address.php.svn-base | 35 - models/.svn/text-base/contact.php.svn-base | 58 - models/.svn/text-base/country.php.svn-base | 56 - models/.svn/text-base/currency.php.svn-base | 47 - models/.svn/text-base/customer.php.svn-base | 70 - models/.svn/text-base/enquiry.php.svn-base | 145 - models/.svn/text-base/group.php.svn-base | 31 - models/.svn/text-base/principle.php.svn-base | 50 - models/.svn/text-base/product.php.svn-base | 20 - .../text-base/product_option.php.svn-base | 9 - models/.svn/text-base/quote.php.svn-base | 40 - .../.svn/text-base/quote_product.php.svn-base | 33 - .../text-base/quoted_product.php.svn-base | 35 - models/.svn/text-base/state.php.svn-base | 35 - models/.svn/text-base/status.php.svn-base | 23 - models/.svn/text-base/user.php.svn-base | 59 - models/behaviors/.svn/entries | 41 - models/behaviors/.svn/format | 1 - .../behaviors/.svn/prop-base/empty.svn-base | 5 - .../behaviors/.svn/text-base/empty.svn-base | 0 models/datasources/.svn/entries | 41 - models/datasources/.svn/format | 1 - .../datasources/.svn/prop-base/empty.svn-base | 5 - .../datasources/.svn/text-base/empty.svn-base | 0 plugins/.svn/entries | 41 - plugins/.svn/format | 1 - plugins/.svn/prop-base/empty.svn-base | 5 - plugins/.svn/text-base/empty.svn-base | 0 tests/.svn/entries | 37 - tests/.svn/format | 1 - tests/cases/.svn/entries | 43 - tests/cases/.svn/format | 1 - tests/cases/behaviors/.svn/entries | 41 - tests/cases/behaviors/.svn/format | 1 - .../behaviors/.svn/prop-base/empty.svn-base | 5 - .../behaviors/.svn/text-base/empty.svn-base | 0 tests/cases/components/.svn/entries | 41 - tests/cases/components/.svn/format | 1 - .../components/.svn/prop-base/empty.svn-base | 5 - .../components/.svn/text-base/empty.svn-base | 0 tests/cases/controllers/.svn/entries | 41 - tests/cases/controllers/.svn/format | 1 - .../controllers/.svn/prop-base/empty.svn-base | 5 - .../controllers/.svn/text-base/empty.svn-base | 0 tests/cases/helpers/.svn/entries | 41 - tests/cases/helpers/.svn/format | 1 - .../helpers/.svn/prop-base/empty.svn-base | 5 - .../helpers/.svn/text-base/empty.svn-base | 0 tests/cases/models/.svn/entries | 54 - tests/cases/models/.svn/format | 1 - .../.svn/prop-base/currency.test.php.svn-base | 5 - .../models/.svn/prop-base/empty.svn-base | 5 - .../.svn/text-base/currency.test.php.svn-base | 38 - .../models/.svn/text-base/empty.svn-base | 0 tests/fixtures/.svn/entries | 54 - tests/fixtures/.svn/format | 1 - .../prop-base/currency_fixture.php.svn-base | 5 - tests/fixtures/.svn/prop-base/empty.svn-base | 5 - .../text-base/currency_fixture.php.svn-base | 22 - tests/fixtures/.svn/text-base/empty.svn-base | 0 tests/groups/.svn/entries | 41 - tests/groups/.svn/format | 1 - tests/groups/.svn/prop-base/empty.svn-base | 5 - tests/groups/.svn/text-base/empty.svn-base | 0 tmp/.svn/entries | 40 - tmp/.svn/format | 1 - tmp/cache/.svn/entries | 37 - tmp/cache/.svn/format | 1 - tmp/cache/models/.svn/entries | 674 --- tmp/cache/models/.svn/format | 1 - .../cake_model_default_acos.svn-base | 2 - .../cake_model_default_addresses.svn-base | 2 - .../cake_model_default_aros.svn-base | 2 - .../cake_model_default_aros_acos.svn-base | 2 - .../cake_model_default_cake_sessions.svn-base | 2 - .../cake_model_default_contacts.svn-base | 2 - ..._model_default_contacts_addresses.svn-base | 2 - .../cake_model_default_countries.svn-base | 2 - .../cake_model_default_currencies.svn-base | 2 - .../cake_model_default_customers.svn-base | 2 - .../cake_model_default_enquiries.svn-base | 2 - .../cake_model_default_principles.svn-base | 2 - .../cake_model_default_products.svn-base | 2 - ...ake_model_default_quoted_products.svn-base | 2 - .../cake_model_default_quotenik_list.svn-base | 2 - .../cake_model_default_quotes.svn-base | 2 - .../cake_model_default_states.svn-base | 2 - .../cake_model_default_statuses.svn-base | 2 - .../cake_model_default_users.svn-base | 2 - tmp/cache/persistent/.svn/entries | 198 - tmp/cache/persistent/.svn/format | 1 - .../text-base/cake_core_core_paths.svn-base | 2 - .../cake_core_default_en_us.svn-base | 2 - .../.svn/text-base/cake_core_dir_map.svn-base | 2 - .../text-base/cake_core_file_map.svn-base | 2 - .../text-base/cake_core_object_map.svn-base | 2 - tmp/cache/views/.svn/entries | 41 - tmp/cache/views/.svn/format | 1 - tmp/cache/views/.svn/prop-base/empty.svn-base | 5 - tmp/cache/views/.svn/text-base/empty.svn-base | 0 tmp/logs/.svn/entries | 109 - tmp/logs/.svn/format | 1 - tmp/logs/.svn/prop-base/debug.log.svn-base | 5 - tmp/logs/.svn/prop-base/empty.svn-base | 5 - tmp/logs/.svn/prop-base/error.log.svn-base | 5 - tmp/logs/.svn/text-base/debug.log.svn-base | 498 -- tmp/logs/.svn/text-base/empty.svn-base | 0 tmp/logs/.svn/text-base/error.log.svn-base | 448 -- tmp/sessions/.svn/entries | 41 - tmp/sessions/.svn/format | 1 - tmp/sessions/.svn/prop-base/empty.svn-base | 5 - tmp/sessions/.svn/text-base/empty.svn-base | 0 tmp/tests/.svn/entries | 41 - tmp/tests/.svn/format | 1 - tmp/tests/.svn/prop-base/empty.svn-base | 5 - tmp/tests/.svn/text-base/empty.svn-base | 0 vendors/.svn/entries | 31 - vendors/.svn/format | 1 - vendors/shells/.svn/entries | 34 - vendors/shells/.svn/format | 1 - vendors/shells/tasks/.svn/entries | 41 - vendors/shells/tasks/.svn/format | 1 - .../tasks/.svn/prop-base/empty.svn-base | 5 - .../tasks/.svn/text-base/empty.svn-base | 0 vendors/shells/templates/.svn/entries | 41 - vendors/shells/templates/.svn/format | 1 - .../templates/.svn/prop-base/empty.svn-base | 5 - .../templates/.svn/text-base/empty.svn-base | 0 views/.svn/entries | 91 - views/.svn/format | 1 - views/addresses/.svn/entries | 164 - views/addresses/.svn/format | 1 - .../addresses/.svn/prop-base/add.ctp.svn-base | 5 - .../.svn/prop-base/edit.ctp.svn-base | 5 - .../.svn/prop-base/index.ctp.svn-base | 5 - .../.svn/prop-base/view.ctp.svn-base | 5 - .../addresses/.svn/text-base/add.ctp.svn-base | 28 - .../.svn/text-base/edit.ctp.svn-base | 29 - .../.svn/text-base/index.ctp.svn-base | 78 - .../.svn/text-base/view.ctp.svn-base | 59 - views/contacts/.svn/entries | 198 - views/contacts/.svn/format | 1 - .../contacts/.svn/prop-base/add.ctp.svn-base | 5 - .../prop-base/add_to_customer.ctp.svn-base | 5 - .../contacts/.svn/prop-base/edit.ctp.svn-base | 5 - .../.svn/prop-base/index.ctp.svn-base | 5 - .../contacts/.svn/prop-base/view.ctp.svn-base | 5 - .../contacts/.svn/text-base/add.ctp.svn-base | 26 - .../text-base/add_to_customer.ctp.svn-base | 25 - .../contacts/.svn/text-base/edit.ctp.svn-base | 27 - .../.svn/text-base/index.ctp.svn-base | 80 - .../contacts/.svn/text-base/view.ctp.svn-base | 73 - views/countries/.svn/entries | 80 - views/countries/.svn/format | 1 - .../countries/.svn/prop-base/add.ctp.svn-base | 5 - .../.svn/prop-base/edit.ctp.svn-base | 5 - .../.svn/prop-base/index.ctp.svn-base | 5 - .../.svn/prop-base/view.ctp.svn-base | 5 - .../countries/.svn/text-base/add.ctp.svn-base | 25 - .../.svn/text-base/edit.ctp.svn-base | 26 - .../.svn/text-base/index.ctp.svn-base | 60 - .../.svn/text-base/view.ctp.svn-base | 182 - views/currencies/.svn/entries | 80 - views/currencies/.svn/format | 1 - .../.svn/prop-base/add.ctp.svn-base | 5 - .../.svn/prop-base/edit.ctp.svn-base | 5 - .../.svn/prop-base/index.ctp.svn-base | 5 - .../.svn/prop-base/view.ctp.svn-base | 5 - .../.svn/text-base/add.ctp.svn-base | 23 - .../.svn/text-base/edit.ctp.svn-base | 25 - .../.svn/text-base/index.ctp.svn-base | 62 - .../.svn/text-base/view.ctp.svn-base | 221 - views/customers/.svn/entries | 143 - views/customers/.svn/format | 1 - .../customers/.svn/prop-base/add.ctp.svn-base | 5 - .../.svn/prop-base/edit.ctp.svn-base | 5 - .../.svn/prop-base/index.ctp.svn-base | 5 - .../.svn/prop-base/view.ctp.svn-base | 5 - .../customers/.svn/text-base/add.ctp.svn-base | 34 - .../.svn/text-base/edit.ctp.svn-base | 22 - .../.svn/text-base/index.ctp.svn-base | 58 - .../.svn/text-base/view.ctp.svn-base | 101 - views/elements/.svn/entries | 143 - views/elements/.svn/format | 1 - views/elements/.svn/prop-base/empty.svn-base | 5 - .../.svn/text-base/address_table.ctp.svn-base | 47 - views/elements/.svn/text-base/empty.svn-base | 0 .../.svn/text-base/enquiry_table.ctp.svn-base | 106 - .../.svn/text-base/quote_table.ctp.svn-base | 36 - views/enquiries/.svn/entries | 232 - views/enquiries/.svn/format | 1 - .../.svn/prop-base/add-original.ctp.svn-base | 5 - .../enquiries/.svn/prop-base/add.ctp.svn-base | 5 - .../.svn/prop-base/edit.ctp.svn-base | 5 - .../.svn/prop-base/index.ctp.svn-base | 5 - .../.svn/prop-base/view.ctp.svn-base | 5 - .../.svn/text-base/add-original.ctp.svn-base | 38 - .../enquiries/.svn/text-base/add.ctp.svn-base | 46 - .../text-base/complete_customer.ctp.svn-base | 6 - .../.svn/text-base/edit.ctp.svn-base | 22 - .../.svn/text-base/index.ctp.svn-base | 4 - .../.svn/text-base/view.ctp.svn-base | 74 - views/errors/.svn/entries | 41 - views/errors/.svn/format | 1 - views/errors/.svn/prop-base/empty.svn-base | 5 - views/errors/.svn/text-base/empty.svn-base | 0 views/groups/.svn/entries | 171 - views/groups/.svn/format | 1 - views/groups/.svn/text-base/add.ctp.svn-base | 17 - views/groups/.svn/text-base/edit.ctp.svn-base | 19 - .../groups/.svn/text-base/index.ctp.svn-base | 50 - views/groups/.svn/text-base/view.ctp.svn-base | 73 - views/helpers/.svn/entries | 41 - views/helpers/.svn/format | 1 - views/helpers/.svn/prop-base/empty.svn-base | 5 - views/helpers/.svn/text-base/empty.svn-base | 0 views/layouts/.svn/entries | 71 - views/layouts/.svn/format | 1 - .../.svn/prop-base/default.ctp.svn-base | 5 - .../.svn/text-base/default.ctp.svn-base | 157 - views/layouts/js/.svn/entries | 41 - views/layouts/js/.svn/format | 1 - .../layouts/js/.svn/prop-base/empty.svn-base | 5 - .../layouts/js/.svn/text-base/empty.svn-base | 0 views/layouts/rss/.svn/entries | 41 - views/layouts/rss/.svn/format | 1 - .../layouts/rss/.svn/prop-base/empty.svn-base | 5 - .../layouts/rss/.svn/text-base/empty.svn-base | 0 views/layouts/xml/.svn/entries | 41 - views/layouts/xml/.svn/format | 1 - .../layouts/xml/.svn/prop-base/empty.svn-base | 5 - .../layouts/xml/.svn/text-base/empty.svn-base | 0 views/pages/.svn/entries | 62 - views/pages/.svn/format | 1 - views/pages/.svn/text-base/about.ctp.svn-base | 0 views/principles/.svn/entries | 164 - views/principles/.svn/format | 1 - .../.svn/prop-base/add.ctp.svn-base | 5 - .../.svn/prop-base/edit.ctp.svn-base | 5 - .../.svn/prop-base/index.ctp.svn-base | 5 - .../.svn/prop-base/view.ctp.svn-base | 5 - .../.svn/text-base/add.ctp.svn-base | 29 - .../.svn/text-base/edit.ctp.svn-base | 31 - .../.svn/text-base/index.ctp.svn-base | 80 - .../.svn/text-base/view.ctp.svn-base | 185 - views/product_options/.svn/entries | 171 - views/product_options/.svn/format | 1 - .../.svn/text-base/add.ctp.svn-base | 20 - .../.svn/text-base/edit.ctp.svn-base | 22 - .../.svn/text-base/index.ctp.svn-base | 62 - .../.svn/text-base/view.ctp.svn-base | 40 - views/products/.svn/entries | 164 - views/products/.svn/format | 1 - .../products/.svn/prop-base/add.ctp.svn-base | 5 - .../products/.svn/prop-base/edit.ctp.svn-base | 5 - .../.svn/prop-base/index.ctp.svn-base | 5 - .../products/.svn/prop-base/view.ctp.svn-base | 5 - .../products/.svn/text-base/add.ctp.svn-base | 31 - .../products/.svn/text-base/edit.ctp.svn-base | 33 - .../.svn/text-base/index.ctp.svn-base | 100 - .../products/.svn/text-base/view.ctp.svn-base | 129 - views/quote_products/.svn/entries | 171 - views/quote_products/.svn/format | 1 - .../.svn/text-base/add.ctp.svn-base | 52 - .../.svn/text-base/edit.ctp.svn-base | 54 - .../.svn/text-base/index.ctp.svn-base | 172 - .../.svn/text-base/view.ctp.svn-base | 176 - views/quotes/.svn/entries | 164 - views/quotes/.svn/format | 1 - views/quotes/.svn/prop-base/add.ctp.svn-base | 5 - views/quotes/.svn/prop-base/edit.ctp.svn-base | 5 - .../quotes/.svn/prop-base/index.ctp.svn-base | 5 - views/quotes/.svn/prop-base/view.ctp.svn-base | 5 - views/quotes/.svn/text-base/add.ctp.svn-base | 25 - views/quotes/.svn/text-base/edit.ctp.svn-base | 27 - .../quotes/.svn/text-base/index.ctp.svn-base | 84 - views/quotes/.svn/text-base/view.ctp.svn-base | 171 - views/scaffolds/.svn/entries | 41 - views/scaffolds/.svn/format | 1 - views/scaffolds/.svn/prop-base/empty.svn-base | 5 - views/scaffolds/.svn/text-base/empty.svn-base | 0 views/states/.svn/entries | 101 - views/states/.svn/format | 1 - views/states/.svn/prop-base/add.ctp.svn-base | 5 - views/states/.svn/prop-base/edit.ctp.svn-base | 5 - .../states/.svn/prop-base/index.ctp.svn-base | 5 - views/states/.svn/prop-base/view.ctp.svn-base | 5 - views/states/.svn/text-base/add.ctp.svn-base | 21 - views/states/.svn/text-base/edit.ctp.svn-base | 23 - .../states/.svn/text-base/index.ctp.svn-base | 60 - views/states/.svn/text-base/view.ctp.svn-base | 98 - views/statuses/.svn/entries | 101 - views/statuses/.svn/format | 1 - .../statuses/.svn/prop-base/add.ctp.svn-base | 5 - .../statuses/.svn/prop-base/edit.ctp.svn-base | 5 - .../.svn/prop-base/index.ctp.svn-base | 5 - .../statuses/.svn/prop-base/view.ctp.svn-base | 5 - .../statuses/.svn/text-base/add.ctp.svn-base | 17 - .../statuses/.svn/text-base/edit.ctp.svn-base | 19 - .../.svn/text-base/index.ctp.svn-base | 50 - .../statuses/.svn/text-base/view.ctp.svn-base | 19 - views/users/.svn/entries | 177 - views/users/.svn/format | 1 - views/users/.svn/prop-base/add.ctp.svn-base | 5 - views/users/.svn/prop-base/edit.ctp.svn-base | 5 - views/users/.svn/prop-base/index.ctp.svn-base | 5 - views/users/.svn/prop-base/login.ctp.svn-base | 5 - views/users/.svn/prop-base/view.ctp.svn-base | 5 - views/users/.svn/text-base/add.ctp.svn-base | 23 - views/users/.svn/text-base/edit.ctp.svn-base | 25 - views/users/.svn/text-base/index.ctp.svn-base | 67 - views/users/.svn/text-base/login.ctp.svn-base | 7 - views/users/.svn/text-base/view.ctp.svn-base | 53 - webroot/.svn/entries | 160 - webroot/.svn/format | 1 - webroot/.svn/prop-base/.htaccess.svn-base | 5 - webroot/.svn/prop-base/css.php.svn-base | 5 - webroot/.svn/prop-base/favicon.ico.svn-base | 9 - webroot/.svn/prop-base/index.php.svn-base | 5 - webroot/.svn/prop-base/q.ico.svn-base | 9 - webroot/.svn/prop-base/test.php.svn-base | 5 - webroot/.svn/text-base/.htaccess.svn-base | 6 - webroot/.svn/text-base/css.php.svn-base | 104 - webroot/.svn/text-base/favicon.ico.svn-base | Bin 682 -> 0 bytes webroot/.svn/text-base/index.php.svn-base | 95 - webroot/.svn/text-base/q.ico.svn-base | Bin 92 -> 0 bytes webroot/.svn/text-base/test.php.svn-base | 183 - webroot/css/.svn/entries | 75 - webroot/css/.svn/format | 1 - .../.svn/prop-base/cake.generic.css.svn-base | 5 - .../css/.svn/prop-base/quotenik.css.svn-base | 5 - .../.svn/text-base/cake.generic.css.svn-base | 475 -- .../css/.svn/text-base/quotenik.css.svn-base | 669 --- webroot/files/.svn/entries | 28 - webroot/files/.svn/format | 1 - webroot/img/.svn/entries | 101 - webroot/img/.svn/format | 1 - .../img/.svn/prop-base/cake.icon.gif.svn-base | 9 - .../.svn/prop-base/cake.power.gif.svn-base | 9 - .../img/.svn/prop-base/cmclogo.png.svn-base | 9 - .../img/.svn/prop-base/favicon.ico.svn-base | 5 - .../img/.svn/text-base/cake.icon.gif.svn-base | Bin 233 -> 0 bytes .../.svn/text-base/cake.power.gif.svn-base | Bin 201 -> 0 bytes .../img/.svn/text-base/cmclogo.png.svn-base | Bin 10312 -> 0 bytes .../img/.svn/text-base/favicon.ico.svn-base | Bin 92 -> 0 bytes webroot/js/.svn/entries | 226 - webroot/js/.svn/format | 1 - webroot/js/.svn/prop-base/builder.js.svn-base | 5 - .../js/.svn/prop-base/controls.js.svn-base | 5 - .../js/.svn/prop-base/dragdrop.js.svn-base | 5 - webroot/js/.svn/prop-base/effects.js.svn-base | 5 - .../prop-base/prototype-1.6.0.3.js.svn-base | 9 - .../.svn/prop-base/scriptaculous.js.svn-base | 5 - webroot/js/.svn/prop-base/slider.js.svn-base | 5 - webroot/js/.svn/prop-base/sound.js.svn-base | 5 - .../js/.svn/prop-base/unittest.js.svn-base | 5 - .../js/.svn/prop-base/vendors.php.svn-base | 5 - webroot/js/.svn/text-base/builder.js.svn-base | 136 - .../js/.svn/text-base/controls.js.svn-base | 965 ---- .../js/.svn/text-base/dragdrop.js.svn-base | 974 ---- webroot/js/.svn/text-base/effects.js.svn-base | 1122 ----- .../text-base/prototype-1.6.0.3.js.svn-base | Bin 29998 -> 0 bytes .../js/.svn/text-base/prototype.js.svn-base | 4170 ----------------- webroot/js/.svn/text-base/qtip.js.svn-base | 101 - .../.svn/text-base/scriptaculous.js.svn-base | 58 - webroot/js/.svn/text-base/slider.js.svn-base | 275 -- webroot/js/.svn/text-base/sound.js.svn-base | 55 - .../js/.svn/text-base/unittest.js.svn-base | 568 --- .../js/.svn/text-base/vendors.php.svn-base | 43 - 455 files changed, 25417 deletions(-) delete mode 100644 config/.svn/entries delete mode 100644 config/.svn/format delete mode 100644 config/.svn/prop-base/acl.ini.php.svn-base delete mode 100644 config/.svn/prop-base/bootstrap.php.svn-base delete mode 100644 config/.svn/prop-base/core.php.svn-base delete mode 100644 config/.svn/prop-base/database.php.default.svn-base delete mode 100644 config/.svn/prop-base/database.php.svn-base delete mode 100644 config/.svn/prop-base/inflections.php.svn-base delete mode 100644 config/.svn/prop-base/routes.php.svn-base delete mode 100644 config/.svn/text-base/acl.ini.php.svn-base delete mode 100644 config/.svn/text-base/bootstrap.php.svn-base delete mode 100644 config/.svn/text-base/core.php.svn-base delete mode 100644 config/.svn/text-base/database.php.default.svn-base delete mode 100644 config/.svn/text-base/database.php.svn-base delete mode 100644 config/.svn/text-base/inflections.php.svn-base delete mode 100644 config/.svn/text-base/routes.php.svn-base delete mode 100644 config/sql/.svn/entries delete mode 100644 config/sql/.svn/format delete mode 100644 config/sql/.svn/prop-base/db_acl.php.svn-base delete mode 100644 config/sql/.svn/prop-base/db_acl.sql.svn-base delete mode 100644 config/sql/.svn/prop-base/i18n.php.svn-base delete mode 100644 config/sql/.svn/prop-base/i18n.sql.svn-base delete mode 100644 config/sql/.svn/prop-base/sessions.php.svn-base delete mode 100644 config/sql/.svn/prop-base/sessions.sql.svn-base delete mode 100644 config/sql/.svn/text-base/db_acl.php.svn-base delete mode 100644 config/sql/.svn/text-base/db_acl.sql.svn-base delete mode 100644 config/sql/.svn/text-base/i18n.php.svn-base delete mode 100644 config/sql/.svn/text-base/i18n.sql.svn-base delete mode 100644 config/sql/.svn/text-base/sessions.php.svn-base delete mode 100644 config/sql/.svn/text-base/sessions.sql.svn-base delete mode 100644 controllers/.svn/entries delete mode 100644 controllers/.svn/format delete mode 100644 controllers/.svn/prop-base/addresses_controller.php.svn-base delete mode 100644 controllers/.svn/prop-base/contacts_controller.php.svn-base delete mode 100644 controllers/.svn/prop-base/countries_controller.php.svn-base delete mode 100644 controllers/.svn/prop-base/currencies_controller.php.svn-base delete mode 100644 controllers/.svn/prop-base/customers_controller.php.svn-base delete mode 100644 controllers/.svn/prop-base/enquiries_controller.php.svn-base delete mode 100644 controllers/.svn/prop-base/principles_controller.php.svn-base delete mode 100644 controllers/.svn/prop-base/products_controller.php.svn-base delete mode 100644 controllers/.svn/prop-base/quotes_controller.php.svn-base delete mode 100644 controllers/.svn/prop-base/states_controller.php.svn-base delete mode 100644 controllers/.svn/prop-base/statuses_controller.php.svn-base delete mode 100644 controllers/.svn/prop-base/users_controller.php.svn-base delete mode 100644 controllers/.svn/text-base/addresses_controller.php.svn-base delete mode 100644 controllers/.svn/text-base/contacts_controller.php.svn-base delete mode 100644 controllers/.svn/text-base/countries_controller.php.svn-base delete mode 100644 controllers/.svn/text-base/currencies_controller.php.svn-base delete mode 100644 controllers/.svn/text-base/customers_controller.php.svn-base delete mode 100644 controllers/.svn/text-base/enquiries_controller.php.svn-base delete mode 100644 controllers/.svn/text-base/principles_controller.php.svn-base delete mode 100644 controllers/.svn/text-base/product_options_controller.php.svn-base delete mode 100644 controllers/.svn/text-base/products_controller.php.svn-base delete mode 100644 controllers/.svn/text-base/quote_products_controller.php.svn-base delete mode 100644 controllers/.svn/text-base/quotes_controller.php.svn-base delete mode 100644 controllers/.svn/text-base/states_controller.php.svn-base delete mode 100644 controllers/.svn/text-base/statuses_controller.php.svn-base delete mode 100644 controllers/.svn/text-base/users_controller.php.svn-base delete mode 100644 controllers/components/.svn/entries delete mode 100644 controllers/components/.svn/format delete mode 100644 controllers/components/.svn/prop-base/empty.svn-base delete mode 100644 controllers/components/.svn/text-base/empty.svn-base delete mode 100644 locale/.svn/entries delete mode 100644 locale/.svn/format delete mode 100644 locale/eng/.svn/entries delete mode 100644 locale/eng/.svn/format delete mode 100644 locale/eng/LC_MESSAGES/.svn/entries delete mode 100644 locale/eng/LC_MESSAGES/.svn/format delete mode 100644 locale/eng/LC_MESSAGES/.svn/prop-base/empty.svn-base delete mode 100644 locale/eng/LC_MESSAGES/.svn/text-base/empty.svn-base delete mode 100644 models/.svn/entries delete mode 100644 models/.svn/format delete mode 100644 models/.svn/prop-base/address.php.svn-base delete mode 100644 models/.svn/prop-base/contact.php.svn-base delete mode 100644 models/.svn/prop-base/country.php.svn-base delete mode 100644 models/.svn/prop-base/currency.php.svn-base delete mode 100644 models/.svn/prop-base/customer.php.svn-base delete mode 100644 models/.svn/prop-base/enquiry.php.svn-base delete mode 100644 models/.svn/prop-base/principle.php.svn-base delete mode 100644 models/.svn/prop-base/product.php.svn-base delete mode 100644 models/.svn/prop-base/quote.php.svn-base delete mode 100644 models/.svn/prop-base/quote_product.php.svn-base delete mode 100644 models/.svn/prop-base/quoted_product.php.svn-base delete mode 100644 models/.svn/prop-base/state.php.svn-base delete mode 100644 models/.svn/prop-base/status.php.svn-base delete mode 100644 models/.svn/prop-base/user.php.svn-base delete mode 100644 models/.svn/text-base/address.php.svn-base delete mode 100644 models/.svn/text-base/contact.php.svn-base delete mode 100644 models/.svn/text-base/country.php.svn-base delete mode 100644 models/.svn/text-base/currency.php.svn-base delete mode 100644 models/.svn/text-base/customer.php.svn-base delete mode 100644 models/.svn/text-base/enquiry.php.svn-base delete mode 100644 models/.svn/text-base/group.php.svn-base delete mode 100644 models/.svn/text-base/principle.php.svn-base delete mode 100644 models/.svn/text-base/product.php.svn-base delete mode 100644 models/.svn/text-base/product_option.php.svn-base delete mode 100644 models/.svn/text-base/quote.php.svn-base delete mode 100644 models/.svn/text-base/quote_product.php.svn-base delete mode 100644 models/.svn/text-base/quoted_product.php.svn-base delete mode 100644 models/.svn/text-base/state.php.svn-base delete mode 100644 models/.svn/text-base/status.php.svn-base delete mode 100644 models/.svn/text-base/user.php.svn-base delete mode 100644 models/behaviors/.svn/entries delete mode 100644 models/behaviors/.svn/format delete mode 100644 models/behaviors/.svn/prop-base/empty.svn-base delete mode 100644 models/behaviors/.svn/text-base/empty.svn-base delete mode 100644 models/datasources/.svn/entries delete mode 100644 models/datasources/.svn/format delete mode 100644 models/datasources/.svn/prop-base/empty.svn-base delete mode 100644 models/datasources/.svn/text-base/empty.svn-base delete mode 100644 plugins/.svn/entries delete mode 100644 plugins/.svn/format delete mode 100644 plugins/.svn/prop-base/empty.svn-base delete mode 100644 plugins/.svn/text-base/empty.svn-base delete mode 100644 tests/.svn/entries delete mode 100644 tests/.svn/format delete mode 100644 tests/cases/.svn/entries delete mode 100644 tests/cases/.svn/format delete mode 100644 tests/cases/behaviors/.svn/entries delete mode 100644 tests/cases/behaviors/.svn/format delete mode 100644 tests/cases/behaviors/.svn/prop-base/empty.svn-base delete mode 100644 tests/cases/behaviors/.svn/text-base/empty.svn-base delete mode 100644 tests/cases/components/.svn/entries delete mode 100644 tests/cases/components/.svn/format delete mode 100644 tests/cases/components/.svn/prop-base/empty.svn-base delete mode 100644 tests/cases/components/.svn/text-base/empty.svn-base delete mode 100644 tests/cases/controllers/.svn/entries delete mode 100644 tests/cases/controllers/.svn/format delete mode 100644 tests/cases/controllers/.svn/prop-base/empty.svn-base delete mode 100644 tests/cases/controllers/.svn/text-base/empty.svn-base delete mode 100644 tests/cases/helpers/.svn/entries delete mode 100644 tests/cases/helpers/.svn/format delete mode 100644 tests/cases/helpers/.svn/prop-base/empty.svn-base delete mode 100644 tests/cases/helpers/.svn/text-base/empty.svn-base delete mode 100644 tests/cases/models/.svn/entries delete mode 100644 tests/cases/models/.svn/format delete mode 100644 tests/cases/models/.svn/prop-base/currency.test.php.svn-base delete mode 100644 tests/cases/models/.svn/prop-base/empty.svn-base delete mode 100644 tests/cases/models/.svn/text-base/currency.test.php.svn-base delete mode 100644 tests/cases/models/.svn/text-base/empty.svn-base delete mode 100644 tests/fixtures/.svn/entries delete mode 100644 tests/fixtures/.svn/format delete mode 100644 tests/fixtures/.svn/prop-base/currency_fixture.php.svn-base delete mode 100644 tests/fixtures/.svn/prop-base/empty.svn-base delete mode 100644 tests/fixtures/.svn/text-base/currency_fixture.php.svn-base delete mode 100644 tests/fixtures/.svn/text-base/empty.svn-base delete mode 100644 tests/groups/.svn/entries delete mode 100644 tests/groups/.svn/format delete mode 100644 tests/groups/.svn/prop-base/empty.svn-base delete mode 100644 tests/groups/.svn/text-base/empty.svn-base delete mode 100644 tmp/.svn/entries delete mode 100644 tmp/.svn/format delete mode 100644 tmp/cache/.svn/entries delete mode 100644 tmp/cache/.svn/format delete mode 100644 tmp/cache/models/.svn/entries delete mode 100644 tmp/cache/models/.svn/format delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_acos.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_addresses.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_aros.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_aros_acos.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_cake_sessions.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_contacts.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_contacts_addresses.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_countries.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_currencies.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_customers.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_enquiries.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_principles.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_products.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_quoted_products.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_quotenik_list.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_quotes.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_states.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_statuses.svn-base delete mode 100644 tmp/cache/models/.svn/text-base/cake_model_default_users.svn-base delete mode 100644 tmp/cache/persistent/.svn/entries delete mode 100644 tmp/cache/persistent/.svn/format delete mode 100644 tmp/cache/persistent/.svn/text-base/cake_core_core_paths.svn-base delete mode 100644 tmp/cache/persistent/.svn/text-base/cake_core_default_en_us.svn-base delete mode 100644 tmp/cache/persistent/.svn/text-base/cake_core_dir_map.svn-base delete mode 100644 tmp/cache/persistent/.svn/text-base/cake_core_file_map.svn-base delete mode 100644 tmp/cache/persistent/.svn/text-base/cake_core_object_map.svn-base delete mode 100644 tmp/cache/views/.svn/entries delete mode 100644 tmp/cache/views/.svn/format delete mode 100755 tmp/cache/views/.svn/prop-base/empty.svn-base delete mode 100755 tmp/cache/views/.svn/text-base/empty.svn-base delete mode 100644 tmp/logs/.svn/entries delete mode 100644 tmp/logs/.svn/format delete mode 100755 tmp/logs/.svn/prop-base/debug.log.svn-base delete mode 100755 tmp/logs/.svn/prop-base/empty.svn-base delete mode 100755 tmp/logs/.svn/prop-base/error.log.svn-base delete mode 100644 tmp/logs/.svn/text-base/debug.log.svn-base delete mode 100755 tmp/logs/.svn/text-base/empty.svn-base delete mode 100644 tmp/logs/.svn/text-base/error.log.svn-base delete mode 100644 tmp/sessions/.svn/entries delete mode 100644 tmp/sessions/.svn/format delete mode 100755 tmp/sessions/.svn/prop-base/empty.svn-base delete mode 100755 tmp/sessions/.svn/text-base/empty.svn-base delete mode 100644 tmp/tests/.svn/entries delete mode 100644 tmp/tests/.svn/format delete mode 100755 tmp/tests/.svn/prop-base/empty.svn-base delete mode 100755 tmp/tests/.svn/text-base/empty.svn-base delete mode 100644 vendors/.svn/entries delete mode 100644 vendors/.svn/format delete mode 100644 vendors/shells/.svn/entries delete mode 100644 vendors/shells/.svn/format delete mode 100644 vendors/shells/tasks/.svn/entries delete mode 100644 vendors/shells/tasks/.svn/format delete mode 100644 vendors/shells/tasks/.svn/prop-base/empty.svn-base delete mode 100644 vendors/shells/tasks/.svn/text-base/empty.svn-base delete mode 100644 vendors/shells/templates/.svn/entries delete mode 100644 vendors/shells/templates/.svn/format delete mode 100644 vendors/shells/templates/.svn/prop-base/empty.svn-base delete mode 100644 vendors/shells/templates/.svn/text-base/empty.svn-base delete mode 100644 views/.svn/entries delete mode 100644 views/.svn/format delete mode 100644 views/addresses/.svn/entries delete mode 100644 views/addresses/.svn/format delete mode 100644 views/addresses/.svn/prop-base/add.ctp.svn-base delete mode 100644 views/addresses/.svn/prop-base/edit.ctp.svn-base delete mode 100644 views/addresses/.svn/prop-base/index.ctp.svn-base delete mode 100644 views/addresses/.svn/prop-base/view.ctp.svn-base delete mode 100644 views/addresses/.svn/text-base/add.ctp.svn-base delete mode 100644 views/addresses/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/addresses/.svn/text-base/index.ctp.svn-base delete mode 100644 views/addresses/.svn/text-base/view.ctp.svn-base delete mode 100644 views/contacts/.svn/entries delete mode 100644 views/contacts/.svn/format delete mode 100644 views/contacts/.svn/prop-base/add.ctp.svn-base delete mode 100644 views/contacts/.svn/prop-base/add_to_customer.ctp.svn-base delete mode 100644 views/contacts/.svn/prop-base/edit.ctp.svn-base delete mode 100644 views/contacts/.svn/prop-base/index.ctp.svn-base delete mode 100644 views/contacts/.svn/prop-base/view.ctp.svn-base delete mode 100644 views/contacts/.svn/text-base/add.ctp.svn-base delete mode 100644 views/contacts/.svn/text-base/add_to_customer.ctp.svn-base delete mode 100644 views/contacts/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/contacts/.svn/text-base/index.ctp.svn-base delete mode 100644 views/contacts/.svn/text-base/view.ctp.svn-base delete mode 100644 views/countries/.svn/entries delete mode 100644 views/countries/.svn/format delete mode 100644 views/countries/.svn/prop-base/add.ctp.svn-base delete mode 100644 views/countries/.svn/prop-base/edit.ctp.svn-base delete mode 100644 views/countries/.svn/prop-base/index.ctp.svn-base delete mode 100644 views/countries/.svn/prop-base/view.ctp.svn-base delete mode 100644 views/countries/.svn/text-base/add.ctp.svn-base delete mode 100644 views/countries/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/countries/.svn/text-base/index.ctp.svn-base delete mode 100644 views/countries/.svn/text-base/view.ctp.svn-base delete mode 100644 views/currencies/.svn/entries delete mode 100644 views/currencies/.svn/format delete mode 100644 views/currencies/.svn/prop-base/add.ctp.svn-base delete mode 100644 views/currencies/.svn/prop-base/edit.ctp.svn-base delete mode 100644 views/currencies/.svn/prop-base/index.ctp.svn-base delete mode 100644 views/currencies/.svn/prop-base/view.ctp.svn-base delete mode 100644 views/currencies/.svn/text-base/add.ctp.svn-base delete mode 100644 views/currencies/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/currencies/.svn/text-base/index.ctp.svn-base delete mode 100644 views/currencies/.svn/text-base/view.ctp.svn-base delete mode 100644 views/customers/.svn/entries delete mode 100644 views/customers/.svn/format delete mode 100644 views/customers/.svn/prop-base/add.ctp.svn-base delete mode 100644 views/customers/.svn/prop-base/edit.ctp.svn-base delete mode 100644 views/customers/.svn/prop-base/index.ctp.svn-base delete mode 100644 views/customers/.svn/prop-base/view.ctp.svn-base delete mode 100644 views/customers/.svn/text-base/add.ctp.svn-base delete mode 100644 views/customers/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/customers/.svn/text-base/index.ctp.svn-base delete mode 100644 views/customers/.svn/text-base/view.ctp.svn-base delete mode 100644 views/elements/.svn/entries delete mode 100644 views/elements/.svn/format delete mode 100644 views/elements/.svn/prop-base/empty.svn-base delete mode 100644 views/elements/.svn/text-base/address_table.ctp.svn-base delete mode 100644 views/elements/.svn/text-base/empty.svn-base delete mode 100644 views/elements/.svn/text-base/enquiry_table.ctp.svn-base delete mode 100644 views/elements/.svn/text-base/quote_table.ctp.svn-base delete mode 100644 views/enquiries/.svn/entries delete mode 100644 views/enquiries/.svn/format delete mode 100644 views/enquiries/.svn/prop-base/add-original.ctp.svn-base delete mode 100644 views/enquiries/.svn/prop-base/add.ctp.svn-base delete mode 100644 views/enquiries/.svn/prop-base/edit.ctp.svn-base delete mode 100644 views/enquiries/.svn/prop-base/index.ctp.svn-base delete mode 100644 views/enquiries/.svn/prop-base/view.ctp.svn-base delete mode 100644 views/enquiries/.svn/text-base/add-original.ctp.svn-base delete mode 100644 views/enquiries/.svn/text-base/add.ctp.svn-base delete mode 100644 views/enquiries/.svn/text-base/complete_customer.ctp.svn-base delete mode 100644 views/enquiries/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/enquiries/.svn/text-base/index.ctp.svn-base delete mode 100644 views/enquiries/.svn/text-base/view.ctp.svn-base delete mode 100644 views/errors/.svn/entries delete mode 100644 views/errors/.svn/format delete mode 100644 views/errors/.svn/prop-base/empty.svn-base delete mode 100644 views/errors/.svn/text-base/empty.svn-base delete mode 100644 views/groups/.svn/entries delete mode 100644 views/groups/.svn/format delete mode 100644 views/groups/.svn/text-base/add.ctp.svn-base delete mode 100644 views/groups/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/groups/.svn/text-base/index.ctp.svn-base delete mode 100644 views/groups/.svn/text-base/view.ctp.svn-base delete mode 100644 views/helpers/.svn/entries delete mode 100644 views/helpers/.svn/format delete mode 100644 views/helpers/.svn/prop-base/empty.svn-base delete mode 100644 views/helpers/.svn/text-base/empty.svn-base delete mode 100644 views/layouts/.svn/entries delete mode 100644 views/layouts/.svn/format delete mode 100644 views/layouts/.svn/prop-base/default.ctp.svn-base delete mode 100644 views/layouts/.svn/text-base/default.ctp.svn-base delete mode 100644 views/layouts/js/.svn/entries delete mode 100644 views/layouts/js/.svn/format delete mode 100644 views/layouts/js/.svn/prop-base/empty.svn-base delete mode 100644 views/layouts/js/.svn/text-base/empty.svn-base delete mode 100644 views/layouts/rss/.svn/entries delete mode 100644 views/layouts/rss/.svn/format delete mode 100644 views/layouts/rss/.svn/prop-base/empty.svn-base delete mode 100644 views/layouts/rss/.svn/text-base/empty.svn-base delete mode 100644 views/layouts/xml/.svn/entries delete mode 100644 views/layouts/xml/.svn/format delete mode 100644 views/layouts/xml/.svn/prop-base/empty.svn-base delete mode 100644 views/layouts/xml/.svn/text-base/empty.svn-base delete mode 100644 views/pages/.svn/entries delete mode 100644 views/pages/.svn/format delete mode 100644 views/pages/.svn/text-base/about.ctp.svn-base delete mode 100644 views/principles/.svn/entries delete mode 100644 views/principles/.svn/format delete mode 100644 views/principles/.svn/prop-base/add.ctp.svn-base delete mode 100644 views/principles/.svn/prop-base/edit.ctp.svn-base delete mode 100644 views/principles/.svn/prop-base/index.ctp.svn-base delete mode 100644 views/principles/.svn/prop-base/view.ctp.svn-base delete mode 100644 views/principles/.svn/text-base/add.ctp.svn-base delete mode 100644 views/principles/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/principles/.svn/text-base/index.ctp.svn-base delete mode 100644 views/principles/.svn/text-base/view.ctp.svn-base delete mode 100644 views/product_options/.svn/entries delete mode 100644 views/product_options/.svn/format delete mode 100644 views/product_options/.svn/text-base/add.ctp.svn-base delete mode 100644 views/product_options/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/product_options/.svn/text-base/index.ctp.svn-base delete mode 100644 views/product_options/.svn/text-base/view.ctp.svn-base delete mode 100644 views/products/.svn/entries delete mode 100644 views/products/.svn/format delete mode 100644 views/products/.svn/prop-base/add.ctp.svn-base delete mode 100644 views/products/.svn/prop-base/edit.ctp.svn-base delete mode 100644 views/products/.svn/prop-base/index.ctp.svn-base delete mode 100644 views/products/.svn/prop-base/view.ctp.svn-base delete mode 100644 views/products/.svn/text-base/add.ctp.svn-base delete mode 100644 views/products/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/products/.svn/text-base/index.ctp.svn-base delete mode 100644 views/products/.svn/text-base/view.ctp.svn-base delete mode 100644 views/quote_products/.svn/entries delete mode 100644 views/quote_products/.svn/format delete mode 100644 views/quote_products/.svn/text-base/add.ctp.svn-base delete mode 100644 views/quote_products/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/quote_products/.svn/text-base/index.ctp.svn-base delete mode 100644 views/quote_products/.svn/text-base/view.ctp.svn-base delete mode 100644 views/quotes/.svn/entries delete mode 100644 views/quotes/.svn/format delete mode 100644 views/quotes/.svn/prop-base/add.ctp.svn-base delete mode 100644 views/quotes/.svn/prop-base/edit.ctp.svn-base delete mode 100644 views/quotes/.svn/prop-base/index.ctp.svn-base delete mode 100644 views/quotes/.svn/prop-base/view.ctp.svn-base delete mode 100644 views/quotes/.svn/text-base/add.ctp.svn-base delete mode 100644 views/quotes/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/quotes/.svn/text-base/index.ctp.svn-base delete mode 100644 views/quotes/.svn/text-base/view.ctp.svn-base delete mode 100644 views/scaffolds/.svn/entries delete mode 100644 views/scaffolds/.svn/format delete mode 100644 views/scaffolds/.svn/prop-base/empty.svn-base delete mode 100644 views/scaffolds/.svn/text-base/empty.svn-base delete mode 100644 views/states/.svn/entries delete mode 100644 views/states/.svn/format delete mode 100644 views/states/.svn/prop-base/add.ctp.svn-base delete mode 100644 views/states/.svn/prop-base/edit.ctp.svn-base delete mode 100644 views/states/.svn/prop-base/index.ctp.svn-base delete mode 100644 views/states/.svn/prop-base/view.ctp.svn-base delete mode 100644 views/states/.svn/text-base/add.ctp.svn-base delete mode 100644 views/states/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/states/.svn/text-base/index.ctp.svn-base delete mode 100644 views/states/.svn/text-base/view.ctp.svn-base delete mode 100644 views/statuses/.svn/entries delete mode 100644 views/statuses/.svn/format delete mode 100644 views/statuses/.svn/prop-base/add.ctp.svn-base delete mode 100644 views/statuses/.svn/prop-base/edit.ctp.svn-base delete mode 100644 views/statuses/.svn/prop-base/index.ctp.svn-base delete mode 100644 views/statuses/.svn/prop-base/view.ctp.svn-base delete mode 100644 views/statuses/.svn/text-base/add.ctp.svn-base delete mode 100644 views/statuses/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/statuses/.svn/text-base/index.ctp.svn-base delete mode 100644 views/statuses/.svn/text-base/view.ctp.svn-base delete mode 100644 views/users/.svn/entries delete mode 100644 views/users/.svn/format delete mode 100644 views/users/.svn/prop-base/add.ctp.svn-base delete mode 100644 views/users/.svn/prop-base/edit.ctp.svn-base delete mode 100644 views/users/.svn/prop-base/index.ctp.svn-base delete mode 100644 views/users/.svn/prop-base/login.ctp.svn-base delete mode 100644 views/users/.svn/prop-base/view.ctp.svn-base delete mode 100644 views/users/.svn/text-base/add.ctp.svn-base delete mode 100644 views/users/.svn/text-base/edit.ctp.svn-base delete mode 100644 views/users/.svn/text-base/index.ctp.svn-base delete mode 100644 views/users/.svn/text-base/login.ctp.svn-base delete mode 100644 views/users/.svn/text-base/view.ctp.svn-base delete mode 100644 webroot/.svn/entries delete mode 100644 webroot/.svn/format delete mode 100644 webroot/.svn/prop-base/.htaccess.svn-base delete mode 100644 webroot/.svn/prop-base/css.php.svn-base delete mode 100644 webroot/.svn/prop-base/favicon.ico.svn-base delete mode 100644 webroot/.svn/prop-base/index.php.svn-base delete mode 100644 webroot/.svn/prop-base/q.ico.svn-base delete mode 100644 webroot/.svn/prop-base/test.php.svn-base delete mode 100644 webroot/.svn/text-base/.htaccess.svn-base delete mode 100644 webroot/.svn/text-base/css.php.svn-base delete mode 100644 webroot/.svn/text-base/favicon.ico.svn-base delete mode 100644 webroot/.svn/text-base/index.php.svn-base delete mode 100644 webroot/.svn/text-base/q.ico.svn-base delete mode 100644 webroot/.svn/text-base/test.php.svn-base delete mode 100644 webroot/css/.svn/entries delete mode 100644 webroot/css/.svn/format delete mode 100644 webroot/css/.svn/prop-base/cake.generic.css.svn-base delete mode 100644 webroot/css/.svn/prop-base/quotenik.css.svn-base delete mode 100644 webroot/css/.svn/text-base/cake.generic.css.svn-base delete mode 100644 webroot/css/.svn/text-base/quotenik.css.svn-base delete mode 100644 webroot/files/.svn/entries delete mode 100644 webroot/files/.svn/format delete mode 100644 webroot/img/.svn/entries delete mode 100644 webroot/img/.svn/format delete mode 100644 webroot/img/.svn/prop-base/cake.icon.gif.svn-base delete mode 100644 webroot/img/.svn/prop-base/cake.power.gif.svn-base delete mode 100644 webroot/img/.svn/prop-base/cmclogo.png.svn-base delete mode 100644 webroot/img/.svn/prop-base/favicon.ico.svn-base delete mode 100644 webroot/img/.svn/text-base/cake.icon.gif.svn-base delete mode 100644 webroot/img/.svn/text-base/cake.power.gif.svn-base delete mode 100644 webroot/img/.svn/text-base/cmclogo.png.svn-base delete mode 100644 webroot/img/.svn/text-base/favicon.ico.svn-base delete mode 100644 webroot/js/.svn/entries delete mode 100644 webroot/js/.svn/format delete mode 100644 webroot/js/.svn/prop-base/builder.js.svn-base delete mode 100644 webroot/js/.svn/prop-base/controls.js.svn-base delete mode 100644 webroot/js/.svn/prop-base/dragdrop.js.svn-base delete mode 100644 webroot/js/.svn/prop-base/effects.js.svn-base delete mode 100644 webroot/js/.svn/prop-base/prototype-1.6.0.3.js.svn-base delete mode 100644 webroot/js/.svn/prop-base/scriptaculous.js.svn-base delete mode 100644 webroot/js/.svn/prop-base/slider.js.svn-base delete mode 100644 webroot/js/.svn/prop-base/sound.js.svn-base delete mode 100644 webroot/js/.svn/prop-base/unittest.js.svn-base delete mode 100644 webroot/js/.svn/prop-base/vendors.php.svn-base delete mode 100644 webroot/js/.svn/text-base/builder.js.svn-base delete mode 100644 webroot/js/.svn/text-base/controls.js.svn-base delete mode 100644 webroot/js/.svn/text-base/dragdrop.js.svn-base delete mode 100644 webroot/js/.svn/text-base/effects.js.svn-base delete mode 100644 webroot/js/.svn/text-base/prototype-1.6.0.3.js.svn-base delete mode 100644 webroot/js/.svn/text-base/prototype.js.svn-base delete mode 100644 webroot/js/.svn/text-base/qtip.js.svn-base delete mode 100644 webroot/js/.svn/text-base/scriptaculous.js.svn-base delete mode 100644 webroot/js/.svn/text-base/slider.js.svn-base delete mode 100644 webroot/js/.svn/text-base/sound.js.svn-base delete mode 100644 webroot/js/.svn/text-base/unittest.js.svn-base delete mode 100644 webroot/js/.svn/text-base/vendors.php.svn-base diff --git a/config/.svn/entries b/config/.svn/entries deleted file mode 100644 index d130c9eb..00000000 --- a/config/.svn/entries +++ /dev/null @@ -1,143 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/config -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -sql -dir - -acl.ini.php -file - - - - -2008-11-13T00:42:45.000000Z -985e3a01685c8cef2c470a2aa7ee92e1 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -bootstrap.php -file - - - - -2008-11-13T00:42:45.000000Z -4196fa2a89340a4041ed083215015ed3 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -inflections.php -file - - - - -2008-11-13T00:42:45.000000Z -4257dd92e3504b9e1d63ea502c072a74 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -routes.php -file - - - - -2008-11-13T00:42:45.000000Z -53c001d646954a05f380b68028d384bb -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -database.php -file - - - - -2008-11-13T00:42:45.000000Z -704cb764549dffba59a346b40b31bec1 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -database.php.default -file - - - - -2008-11-13T00:42:45.000000Z -69e77d1c201d7f7fa1e6e968a934852f -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -core.php -file - - - - -2008-12-23T08:10:26.000000Z -4bed714e7cf7455ce6b2082a6db3a694 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - - - - - - - - - - - - - - - - - - - - -7749 - diff --git a/config/.svn/format b/config/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/config/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/config/.svn/prop-base/acl.ini.php.svn-base b/config/.svn/prop-base/acl.ini.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/config/.svn/prop-base/acl.ini.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/config/.svn/prop-base/bootstrap.php.svn-base b/config/.svn/prop-base/bootstrap.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/config/.svn/prop-base/bootstrap.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/config/.svn/prop-base/core.php.svn-base b/config/.svn/prop-base/core.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/config/.svn/prop-base/core.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/config/.svn/prop-base/database.php.default.svn-base b/config/.svn/prop-base/database.php.default.svn-base deleted file mode 100644 index a6697057..00000000 --- a/config/.svn/prop-base/database.php.default.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/config/.svn/prop-base/database.php.svn-base b/config/.svn/prop-base/database.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/config/.svn/prop-base/database.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/config/.svn/prop-base/inflections.php.svn-base b/config/.svn/prop-base/inflections.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/config/.svn/prop-base/inflections.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/config/.svn/prop-base/routes.php.svn-base b/config/.svn/prop-base/routes.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/config/.svn/prop-base/routes.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/config/.svn/text-base/acl.ini.php.svn-base b/config/.svn/text-base/acl.ini.php.svn-base deleted file mode 100644 index 6f21fc0a..00000000 --- a/config/.svn/text-base/acl.ini.php.svn-base +++ /dev/null @@ -1,76 +0,0 @@ -; -; SVN FILE: $Id: acl.ini.php 6311 2008-01-02 06:33:52Z phpnut $ -;/** -; * Short description for file. -; * -; * -; * PHP versions 4 and 5 -; * -; * CakePHP(tm) : Rapid Development Framework -; * Copyright 2005-2008, Cake Software Foundation, Inc. -; * 1785 E. Sahara Avenue, Suite 490-204 -; * Las Vegas, Nevada 89104 -; * -; * Licensed under The MIT License -; * Redistributions of files must retain the above copyright notice. -; * -; * @filesource -; * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. -; * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project -; * @package cake -; * @subpackage cake.app.config -; * @since CakePHP(tm) v 0.10.0.1076 -; * @version $Revision: 6311 $ -; * @modifiedby $LastChangedBy: phpnut $ -; * @lastmodified $Date: 2008-01-01 22:33:52 -0800 (Tue, 01 Jan 2008) $ -; * @license http://www.opensource.org/licenses/mit-license.php The MIT License -; */ - -; acl.ini.php - Cake ACL Configuration -; --------------------------------------------------------------------- -; Use this file to specify user permissions. -; aco = access control object (something in your application) -; aro = access request object (something requesting access) -; -; User records are added as follows: -; -; [uid] -; groups = group1, group2, group3 -; allow = aco1, aco2, aco3 -; deny = aco4, aco5, aco6 -; -; Group records are added in a similar manner: -; -; [gid] -; allow = aco1, aco2, aco3 -; deny = aco4, aco5, aco6 -; -; The allow, deny, and groups sections are all optional. -; NOTE: groups names *cannot* ever be the same as usernames! -; -; ACL permissions are checked in the following order: -; 1. Check for user denies (and DENY if specified) -; 2. Check for user allows (and ALLOW if specified) -; 3. Gather user's groups -; 4. Check group denies (and DENY if specified) -; 5. Check group allows (and ALLOW if specified) -; 6. If no aro, aco, or group information is found, DENY -; -; --------------------------------------------------------------------- - -;------------------------------------- -;Users -;------------------------------------- - -[username-goes-here] -groups = group1, group2 -deny = aco1, aco2 -allow = aco3, aco4 - -;------------------------------------- -;Groups -;------------------------------------- - -[groupname-goes-here] -deny = aco5, aco6 -allow = aco7, aco8 \ No newline at end of file diff --git a/config/.svn/text-base/bootstrap.php.svn-base b/config/.svn/text-base/bootstrap.php.svn-base deleted file mode 100644 index 6b9502fc..00000000 --- a/config/.svn/text-base/bootstrap.php.svn-base +++ /dev/null @@ -1,46 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config - * @since CakePHP(tm) v 0.10.8.2117 - * @version $Revision: 6311 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2008-01-01 22:33:52 -0800 (Tue, 01 Jan 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/** - * - * This file is loaded automatically by the app/webroot/index.php file after the core bootstrap.php is loaded - * This is an application wide file to load any function that is not used within a class define. - * You can also use this to include or require any files in your application. - * - */ -/** - * The settings below can be used to set additional paths to models, views and controllers. - * This is related to Ticket #470 (https://trac.cakephp.org/ticket/470) - * - * $modelPaths = array('full path to models', 'second full path to models', 'etc...'); - * $viewPaths = array('this path to views', 'second full path to views', 'etc...'); - * $controllerPaths = array('this path to controllers', 'second full path to controllers', 'etc...'); - * - */ -//EOF -?> \ No newline at end of file diff --git a/config/.svn/text-base/core.php.svn-base b/config/.svn/text-base/core.php.svn-base deleted file mode 100644 index eda01742..00000000 --- a/config/.svn/text-base/core.php.svn-base +++ /dev/null @@ -1,229 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 7296 $ - * @modifiedby $LastChangedBy: gwoo $ - * @lastmodified $Date: 2008-06-27 02:09:03 -0700 (Fri, 27 Jun 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/** - * CakePHP Debug Level: - * - * Production Mode: - * 0: No error messages, errors, or warnings shown. Flash messages redirect. - * - * Development Mode: - * 1: Errors and warnings shown, model caches refreshed, flash messages halted. - * 2: As in 1, but also with full debug messages and SQL output. - * 3: As in 2, but also with full controller dump. - * - * In production mode, flash messages redirect after a time interval. - * In development mode, you need to click the flash message to continue. - */ - Configure::write('debug', 1); -/** - * Application wide charset encoding - */ - Configure::write('App.encoding', 'UTF-8'); -/** - * To configure CakePHP *not* to use mod_rewrite and to - * use CakePHP pretty URLs, remove these .htaccess - * files: - * - * /.htaccess - * /app/.htaccess - * /app/webroot/.htaccess - * - * And uncomment the App.baseUrl below: - */ - //Configure::write('App.baseUrl', env('SCRIPT_NAME')); -/** - * Uncomment the define below to use CakePHP admin routes. - * - * The value of the define determines the name of the route - * and its associated controller actions: - * - * 'admin' -> admin_index() and /admin/controller/index - * 'superuser' -> superuser_index() and /superuser/controller/index - */ - //Configure::write('Routing.admin', 'admin'); - -/** - * Turn off all caching application-wide. - * - */ - //Configure::write('Cache.disable', true); -/** - * Enable cache checking. - * - * If set to true, for view caching you must still use the controller - * var $cacheAction inside your controllers to define caching settings. - * You can either set it controller-wide by setting var $cacheAction = true, - * or in each action using $this->cacheAction = true. - * - */ - //Configure::write('Cache.check', true); -/** - * Defines the default error type when using the log() function. Used for - * differentiating error logging and debugging. Currently PHP supports LOG_DEBUG. - */ - define('LOG_ERROR', 2); -/** - * The preferred session handling method. Valid values: - * - * 'php' Uses settings defined in your php.ini. - * 'cake' Saves session files in CakePHP's /tmp directory. - * 'database' Uses CakePHP's database sessions. - * - * To define a custom session handler, save it at /app/config/.php. - * Set the value of 'Session.save' to to utilize it in CakePHP. - * - * To use database sessions, execute the SQL file found at /app/config/sql/sessions.sql. - * - */ - Configure::write('Session.save', 'database'); -/** - * The name of the table used to store CakePHP database sessions. - * - * 'Session.save' must be set to 'database' in order to utilize this constant. - * - * The table name set here should *not* include any table prefix defined elsewhere. - */ - Configure::write('Session.table', 'cake_sessions'); -/** - * The DATABASE_CONFIG::$var to use for database session handling. - * - * 'Session.save' must be set to 'database' in order to utilize this constant. - */ - Configure::write('Session.database', 'default'); -/** - * The name of CakePHP's session cookie. - */ - Configure::write('Session.cookie', 'QUOTENIK'); -/** - * Session time out time (in seconds). - * Actual value depends on 'Security.level' setting. - */ - Configure::write('Session.timeout', '324'); -/** - * If set to false, sessions are not automatically started. - */ - Configure::write('Session.start', true); -/** - * When set to false, HTTP_USER_AGENT will not be checked - * in the session - */ - Configure::write('Session.checkAgent', true); -/** - * The level of CakePHP security. The session timeout time defined - * in 'Session.timeout' is multiplied according to the settings here. - * Valid values: - * - * 'high' Session timeout in 'Session.timeout' x 10 - * 'medium' Session timeout in 'Session.timeout' x 100 - * 'low' Session timeout in 'Session.timeout' x 300 - * - * CakePHP session IDs are also regenerated between requests if - * 'Security.level' is set to 'high'. - */ - Configure::write('Security.level', 'medium'); -/** - * A random string used in security hashing methods. - */ - Configure::write('Security.salt', 'uiPxR3MzVXAID5zucbxLdxP4TX33buPoCWZr4JfroGoaE57UQC'); -/** - * Compress CSS output by removing comments, whitespace, repeating tags, etc. - * This requires a/var/cache directory to be writable by the web server for caching. - * and /vendors/csspp/csspp.php - * - * To use, prefix the CSS link URL with '/ccss/' instead of '/css/' or use HtmlHelper::css(). - */ - //Configure::write('Asset.filter.css', 'css.php'); -/** - * Plug in your own custom JavaScript compressor by dropping a script in your webroot to handle the - * output, and setting the config below to the name of the script. - * - * To use, prefix your JavaScript link URLs with '/cjs/' instead of '/js/' or use JavaScriptHelper::link(). - */ - //Configure::write('Asset.filter.js', 'custom_javascript_output_filter.php'); -/** - * The classname and database used in CakePHP's - * access control lists. - */ - Configure::write('Acl.classname', 'DbAcl'); - Configure::write('Acl.database', 'default'); -/** - * - * Cache Engine Configuration - * Default settings provided below - * - * File storage engine. - * - * Cache::config('default', array( - * 'engine' => 'File', //[required] - * 'duration'=> 3600, //[optional] - * 'probability'=> 100, //[optional] - * 'path' => CACHE, //[optional] use system tmp directory - remember to use absolute path - * 'prefix' => 'cake_', //[optional] prefix every cache file with this string - * 'lock' => false, //[optional] use file locking - * 'serialize' => true, [optional] - * )); - * - * - * APC (http://pecl.php.net/package/APC) - * - * Cache::config('default', array( - * 'engine' => 'Apc', //[required] - * 'duration'=> 3600, //[optional] - * 'probability'=> 100, //[optional] - * 'prefix' => Inflector::slug(APP_DIR) . '_', //[optional] prefix every cache file with this string - * )); - * - * Xcache (http://xcache.lighttpd.net/) - * - * Cache::config('default', array( - * 'engine' => 'Xcache', //[required] - * 'duration'=> 3600, //[optional] - * 'probability'=> 100, //[optional] - * 'prefix' => Inflector::slug(APP_DIR) . '_', //[optional] prefix every cache file with this string - * 'user' => 'user', //user from xcache.admin.user settings - * 'password' => 'password', //plaintext password (xcache.admin.pass) - * )); - * - * - * Memcache (http://www.danga.com/memcached/) - * - * Cache::config('default', array( - * 'engine' => 'Memcache', //[required] - * 'duration'=> 3600, //[optional] - * 'probability'=> 100, //[optional] - * 'prefix' => Inflector::slug(APP_DIR) . '_', //[optional] prefix every cache file with this string - * 'servers' => array( - * '127.0.0.1:11211' // localhost, default port 11211 - * ), //[optional] - * 'compress' => false, // [optional] compress data in Memcache (slower, but uses less memory) - * )); - * - */ - Cache::config('default', array('engine' => 'File')); -?> diff --git a/config/.svn/text-base/database.php.default.svn-base b/config/.svn/text-base/database.php.default.svn-base deleted file mode 100644 index 40af9763..00000000 --- a/config/.svn/text-base/database.php.default.svn-base +++ /dev/null @@ -1,103 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 7118 $ - * @modifiedby $LastChangedBy: gwoo $ - * @lastmodified $Date: 2008-06-04 13:49:29 -0700 (Wed, 04 Jun 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/** - * In this file you set up your database connection details. - * - * @package cake - * @subpackage cake.config - */ -/** - * Database configuration class. - * You can specify multiple configurations for production, development and testing. - * - * driver => The name of a supported driver; valid options are as follows: - * mysql - MySQL 4 & 5, - * mysqli - MySQL 4 & 5 Improved Interface (PHP5 only), - * sqlite - SQLite (PHP5 only), - * postgres - PostgreSQL 7 and higher, - * mssql - Microsoft SQL Server 2000 and higher, - * db2 - IBM DB2, Cloudscape, and Apache Derby (http://php.net/ibm-db2) - * oracle - Oracle 8 and higher - * firebird - Firebird/Interbase - * sybase - Sybase ASE - * adodb-[drivername] - ADOdb interface wrapper (see below), - * pear-[drivername] - PEAR::DB wrapper - * - * You can add custom database drivers (or override existing drivers) by adding the - * appropriate file to app/models/datasources/dbo. Drivers should be named 'dbo_x.php', - * where 'x' is the name of the database. - * - * persistent => true / false - * Determines whether or not the database should use a persistent connection - * - * connect => - * ADOdb set the connect to one of these - * (http://phplens.com/adodb/supported.databases.html) and - * append it '|p' for persistent connection. (mssql|p for example, or just mssql for not persistent) - * For all other databases, this setting is deprecated. - * - * host => - * the host you connect to the database. To add a socket or port number, use 'port' => # - * - * prefix => - * Uses the given prefix for all the tables in this database. This setting can be overridden - * on a per-table basis with the Model::$tablePrefix property. - * - * schema => - * For Postgres and DB2, specifies which schema you would like to use the tables in. Postgres defaults to - * 'public', DB2 defaults to empty. - * - * encoding => - * For MySQL, MySQLi, Postgres and DB2, specifies the character encoding to use when connecting to the - * database. Defaults to 'UTF-8' for DB2. Uses database default for all others. - * - */ -class DATABASE_CONFIG { - - var $default = array( - 'driver' => 'mysql', - 'persistent' => false, - 'host' => 'localhost', - 'login' => 'user', - 'password' => 'password', - 'database' => 'database_name', - 'prefix' => '', - ); - - var $test = array( - 'driver' => 'mysql', - 'persistent' => false, - 'host' => 'localhost', - 'login' => 'user', - 'password' => 'password', - 'database' => 'test_database_name', - 'prefix' => '', - ); -} -?> \ No newline at end of file diff --git a/config/.svn/text-base/database.php.svn-base b/config/.svn/text-base/database.php.svn-base deleted file mode 100644 index 7d855734..00000000 --- a/config/.svn/text-base/database.php.svn-base +++ /dev/null @@ -1,103 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 7118 $ - * @modifiedby $LastChangedBy: gwoo $ - * @lastmodified $Date: 2008-06-04 13:49:29 -0700 (Wed, 04 Jun 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/** - * In this file you set up your database connection details. - * - * @package cake - * @subpackage cake.config - */ -/** - * Database configuration class. - * You can specify multiple configurations for production, development and testing. - * - * driver => The name of a supported driver; valid options are as follows: - * mysql - MySQL 4 & 5, - * mysqli - MySQL 4 & 5 Improved Interface (PHP5 only), - * sqlite - SQLite (PHP5 only), - * postgres - PostgreSQL 7 and higher, - * mssql - Microsoft SQL Server 2000 and higher, - * db2 - IBM DB2, Cloudscape, and Apache Derby (http://php.net/ibm-db2) - * oracle - Oracle 8 and higher - * firebird - Firebird/Interbase - * sybase - Sybase ASE - * adodb-[drivername] - ADOdb interface wrapper (see below), - * pear-[drivername] - PEAR::DB wrapper - * - * You can add custom database drivers (or override existing drivers) by adding the - * appropriate file to app/models/datasources/dbo. Drivers should be named 'dbo_x.php', - * where 'x' is the name of the database. - * - * persistent => true / false - * Determines whether or not the database should use a persistent connection - * - * connect => - * ADOdb set the connect to one of these - * (http://phplens.com/adodb/supported.databases.html) and - * append it '|p' for persistent connection. (mssql|p for example, or just mssql for not persistent) - * For all other databases, this setting is deprecated. - * - * host => - * the host you connect to the database. To add a socket or port number, use 'port' => # - * - * prefix => - * Uses the given prefix for all the tables in this database. This setting can be overridden - * on a per-table basis with the Model::$tablePrefix property. - * - * schema => - * For Postgres and DB2, specifies which schema you would like to use the tables in. Postgres defaults to - * 'public', DB2 defaults to empty. - * - * encoding => - * For MySQL, MySQLi, Postgres and DB2, specifies the character encoding to use when connecting to the - * database. Defaults to 'UTF-8' for DB2. Uses database default for all others. - * - */ -class DATABASE_CONFIG { - - var $default = array( - 'driver' => 'mysql', - 'persistent' => false, - 'host' => 'localhost', - 'login' => 'quotenik', - 'password' => 'quotenik', - 'database' => 'quotenik', - 'prefix' => '', - ); - - var $test = array( - 'driver' => 'mysql', - 'persistent' => false, - 'host' => 'localhost', - 'login' => 'user', - 'password' => 'password', - 'database' => 'test_database_name', - 'prefix' => '', - ); -} -?> diff --git a/config/.svn/text-base/inflections.php.svn-base b/config/.svn/text-base/inflections.php.svn-base deleted file mode 100644 index 8dca879b..00000000 --- a/config/.svn/text-base/inflections.php.svn-base +++ /dev/null @@ -1,72 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config - * @since CakePHP(tm) v 1.0.0.2312 - * @version $Revision: 6311 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2008-01-01 22:33:52 -0800 (Tue, 01 Jan 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/** - * This is a key => value array of regex used to match words. - * If key matches then the value is returned. - * - * $pluralRules = array('/(s)tatus$/i' => '\1\2tatuses', '/^(ox)$/i' => '\1\2en', '/([m|l])ouse$/i' => '\1ice'); - */ - $pluralRules = array(); -/** - * This is a key only array of plural words that should not be inflected. - * Notice the last comma - * - * $uninflectedPlural = array('.*[nrlm]ese', '.*deer', '.*fish', '.*measles', '.*ois', '.*pox'); - */ - $uninflectedPlural = array(); -/** - * This is a key => value array of plural irregular words. - * If key matches then the value is returned. - * - * $irregularPlural = array('atlas' => 'atlases', 'beef' => 'beefs', 'brother' => 'brothers') - */ - $irregularPlural = array(); -/** - * This is a key => value array of regex used to match words. - * If key matches then the value is returned. - * - * $singularRules = array('/(s)tatuses$/i' => '\1\2tatus', '/(matr)ices$/i' =>'\1ix','/(vert|ind)ices$/i') - */ - $singularRules = array(); -/** - * This is a key only array of singular words that should not be inflected. - * You should not have to change this value below if you do change it use same format - * as the $uninflectedPlural above. - */ - $uninflectedSingular = $uninflectedPlural; -/** - * This is a key => value array of singular irregular words. - * Most of the time this will be a reverse of the above $irregularPlural array - * You should not have to change this value below if you do change it use same format - * - * $irregularSingular = array('atlases' => 'atlas', 'beefs' => 'beef', 'brothers' => 'brother') - */ - $irregularSingular = array_flip($irregularPlural); -?> \ No newline at end of file diff --git a/config/.svn/text-base/routes.php.svn-base b/config/.svn/text-base/routes.php.svn-base deleted file mode 100644 index 766503b7..00000000 --- a/config/.svn/text-base/routes.php.svn-base +++ /dev/null @@ -1,47 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 7296 $ - * @modifiedby $LastChangedBy: gwoo $ - * @lastmodified $Date: 2008-06-27 02:09:03 -0700 (Fri, 27 Jun 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/** - * Here, we are connecting '/' (base path) to controller called 'Pages', - * its action called 'display', and we pass a param to select the view file - * to use (in this case, /app/views/pages/home.thtml)... - */ - //Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home')); -Router::connect('/', array('controller' => 'enquiries', 'action' => 'index')); -/** - * ...and connect the rest of 'Pages' controller's urls. - */ - Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display')); -/** - * Then we connect url '/test' to our test controller. This is helpful in - * developement. - */ - Router::connect('/tests', array('controller' => 'tests', 'action' => 'index')); -?> diff --git a/config/sql/.svn/entries b/config/sql/.svn/entries deleted file mode 100644 index 0b8189ce..00000000 --- a/config/sql/.svn/entries +++ /dev/null @@ -1,106 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/config/sql -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -db_acl.sql -file - - - - -2008-11-13T00:42:45.000000Z -a79945e062def1cc48de57cbfc7d232c -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -sessions.sql -file - - - - -2008-11-13T00:42:45.000000Z -bd22cb83c7bd43731601d8e91677b604 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -i18n.php -file - - - - -2008-11-13T00:42:45.000000Z -b311c2a5ca71046a2dc7a1692065b93f -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -db_acl.php -file - - - - -2008-11-13T00:42:45.000000Z -3a063596c133ecb58d5a063570a71bb1 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -sessions.php -file - - - - -2008-11-13T00:42:45.000000Z -f08506dc167cc95a53f83df9f729bbeb -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -i18n.sql -file - - - - -2008-11-13T00:42:45.000000Z -3a815ac9bc998800a19bf12015beaac1 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/config/sql/.svn/format b/config/sql/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/config/sql/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/config/sql/.svn/prop-base/db_acl.php.svn-base b/config/sql/.svn/prop-base/db_acl.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/config/sql/.svn/prop-base/db_acl.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/config/sql/.svn/prop-base/db_acl.sql.svn-base b/config/sql/.svn/prop-base/db_acl.sql.svn-base deleted file mode 100644 index a6697057..00000000 --- a/config/sql/.svn/prop-base/db_acl.sql.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/config/sql/.svn/prop-base/i18n.php.svn-base b/config/sql/.svn/prop-base/i18n.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/config/sql/.svn/prop-base/i18n.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/config/sql/.svn/prop-base/i18n.sql.svn-base b/config/sql/.svn/prop-base/i18n.sql.svn-base deleted file mode 100644 index a6697057..00000000 --- a/config/sql/.svn/prop-base/i18n.sql.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/config/sql/.svn/prop-base/sessions.php.svn-base b/config/sql/.svn/prop-base/sessions.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/config/sql/.svn/prop-base/sessions.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/config/sql/.svn/prop-base/sessions.sql.svn-base b/config/sql/.svn/prop-base/sessions.sql.svn-base deleted file mode 100644 index a6697057..00000000 --- a/config/sql/.svn/prop-base/sessions.sql.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/config/sql/.svn/text-base/db_acl.php.svn-base b/config/sql/.svn/text-base/db_acl.php.svn-base deleted file mode 100644 index 7146a70d..00000000 --- a/config/sql/.svn/text-base/db_acl.php.svn-base +++ /dev/null @@ -1,81 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config.sql - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 7118 $ - * @modifiedby $LastChangedBy: gwoo $ - * @lastmodified $Date: 2008-06-04 13:49:29 -0700 (Wed, 04 Jun 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/* - * - * Using the Schema command line utility - * cake schema run create DbAcl - * - */ -class DbAclSchema extends CakeSchema { - - var $name = 'DbAcl'; - - function before($event = array()) { - return true; - } - - function after($event = array()) { - } - - var $acos = array( - 'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'), - 'parent_id' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10), - 'model' => array('type'=>'string', 'null' => true), - 'foreign_key' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10), - 'alias' => array('type'=>'string', 'null' => true), - 'lft' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10), - 'rght' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10), - 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) - ); - - var $aros = array( - 'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'), - 'parent_id' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10), - 'model' => array('type'=>'string', 'null' => true), - 'foreign_key' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10), - 'alias' => array('type'=>'string', 'null' => true), - 'lft' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10), - 'rght' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10), - 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) - ); - - var $aros_acos = array( - 'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'), - 'aro_id' => array('type'=>'integer', 'null' => false, 'length' => 10, 'key' => 'index'), - 'aco_id' => array('type'=>'integer', 'null' => false, 'length' => 10), - '_create' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2), - '_read' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2), - '_update' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2), - '_delete' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2), - 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'ARO_ACO_KEY' => array('column' => array('aro_id', 'aco_id'), 'unique' => 1)) - ); - -} -?> \ No newline at end of file diff --git a/config/sql/.svn/text-base/db_acl.sql.svn-base b/config/sql/.svn/text-base/db_acl.sql.svn-base deleted file mode 100644 index 36f70fa5..00000000 --- a/config/sql/.svn/text-base/db_acl.sql.svn-base +++ /dev/null @@ -1,42 +0,0 @@ -# $Id: db_acl.sql 7118 2008-06-04 20:49:29Z gwoo $ -# -# Copyright 2005-2008, Cake Software Foundation, Inc. -# 1785 E. Sahara Avenue, Suite 490-204 -# Las Vegas, Nevada 89104 -# -# Licensed under The MIT License -# Redistributions of files must retain the above copyright notice. -# http://www.opensource.org/licenses/mit-license.php The MIT License - -CREATE TABLE acos ( - id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, - parent_id INTEGER(10) DEFAULT NULL, - model VARCHAR(255) DEFAULT '', - foreign_key INTEGER(10) UNSIGNED DEFAULT NULL, - alias VARCHAR(255) DEFAULT '', - lft INTEGER(10) DEFAULT NULL, - rght INTEGER(10) DEFAULT NULL, - PRIMARY KEY (id) -); - -CREATE TABLE aros_acos ( - id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, - aro_id INTEGER(10) UNSIGNED NOT NULL, - aco_id INTEGER(10) UNSIGNED NOT NULL, - _create CHAR(2) NOT NULL DEFAULT 0, - _read CHAR(2) NOT NULL DEFAULT 0, - _update CHAR(2) NOT NULL DEFAULT 0, - _delete CHAR(2) NOT NULL DEFAULT 0, - PRIMARY KEY(id) -); - -CREATE TABLE aros ( - id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT, - parent_id INTEGER(10) DEFAULT NULL, - model VARCHAR(255) DEFAULT '', - foreign_key INTEGER(10) UNSIGNED DEFAULT NULL, - alias VARCHAR(255) DEFAULT '', - lft INTEGER(10) DEFAULT NULL, - rght INTEGER(10) DEFAULT NULL, - PRIMARY KEY (id) -); diff --git a/config/sql/.svn/text-base/i18n.php.svn-base b/config/sql/.svn/text-base/i18n.php.svn-base deleted file mode 100644 index f8a2bbb5..00000000 --- a/config/sql/.svn/text-base/i18n.php.svn-base +++ /dev/null @@ -1,58 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config.sql - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 7118 $ - * @modifiedby $LastChangedBy: gwoo $ - * @lastmodified $Date: 2008-06-04 13:49:29 -0700 (Wed, 04 Jun 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/* - * - * Using the Schema command line utility - * cake schema run create i18n - * - */ -class i18nSchema extends CakeSchema { - - var $name = 'i18n'; - - function before($event = array()) { - return true; - } - - function after($event = array()) { - } - - var $i18n = array( - 'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'), - 'locale' => array('type'=>'string', 'null' => false, 'length' => 6, 'key' => 'index'), - 'model' => array('type'=>'string', 'null' => false, 'key' => 'index'), - 'foreign_key' => array('type'=>'integer', 'null' => false, 'length' => 10, 'key' => 'index'), - 'field' => array('type'=>'string', 'null' => false, 'key' => 'index'), - 'content' => array('type'=>'text', 'null' => true, 'default' => NULL), - 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'locale' => array('column' => 'locale', 'unique' => 0), 'model' => array('column' => 'model', 'unique' => 0), 'row_id' => array('column' => 'foreign_key', 'unique' => 0), 'field' => array('column' => 'field', 'unique' => 0)) - ); - -} -?> \ No newline at end of file diff --git a/config/sql/.svn/text-base/i18n.sql.svn-base b/config/sql/.svn/text-base/i18n.sql.svn-base deleted file mode 100644 index d3567f78..00000000 --- a/config/sql/.svn/text-base/i18n.sql.svn-base +++ /dev/null @@ -1,28 +0,0 @@ -# $Id: i18n.sql 7118 2008-06-04 20:49:29Z gwoo $ -# -# Copyright 2005-2008, Cake Software Foundation, Inc. -# 1785 E. Sahara Avenue, Suite 490-204 -# Las Vegas, Nevada 89104 -# -# Licensed under The MIT License -# Redistributions of files must retain the above copyright notice. -# http://www.opensource.org/licenses/mit-license.php The MIT License - -CREATE TABLE i18n ( - id int(10) NOT NULL auto_increment, - locale varchar(6) NOT NULL, - model varchar(255) NOT NULL, - foreign_key int(10) NOT NULL, - field varchar(255) NOT NULL, - content mediumtext, - PRIMARY KEY (id), -# UNIQUE INDEX I18N_LOCALE_FIELD(locale, model, foreign_key, field), -# INDEX I18N_LOCALE_ROW(locale, model, foreign_key), -# INDEX I18N_LOCALE_MODEL(locale, model), -# INDEX I18N_FIELD(model, foreign_key, field), -# INDEX I18N_ROW(model, foreign_key), - INDEX locale (locale), - INDEX model (model), - INDEX row_id (foreign_key), - INDEX field (field) -); diff --git a/config/sql/.svn/text-base/sessions.php.svn-base b/config/sql/.svn/text-base/sessions.php.svn-base deleted file mode 100644 index a9381c74..00000000 --- a/config/sql/.svn/text-base/sessions.php.svn-base +++ /dev/null @@ -1,55 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config.sql - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 6311 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2008-01-01 22:33:52 -0800 (Tue, 01 Jan 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/* - * - * Using the Schema command line utility - * cake schema run create Sessions - * - */ -class SessionsSchema extends CakeSchema { - - var $name = 'Sessions'; - - function before($event = array()) { - return true; - } - - function after($event = array()) { - } - - var $cake_sessions = array( - 'id' => array('type'=>'string', 'null' => false, 'key' => 'primary'), - 'data' => array('type'=>'text', 'null' => true, 'default' => NULL), - 'expires' => array('type'=>'integer', 'null' => true, 'default' => NULL), - 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) - ); - -} -?> \ No newline at end of file diff --git a/config/sql/.svn/text-base/sessions.sql.svn-base b/config/sql/.svn/text-base/sessions.sql.svn-base deleted file mode 100644 index 23a19257..00000000 --- a/config/sql/.svn/text-base/sessions.sql.svn-base +++ /dev/null @@ -1,16 +0,0 @@ -# $Id: sessions.sql 7118 2008-06-04 20:49:29Z gwoo $ -# -# Copyright 2005-2008, Cake Software Foundation, Inc. -# 1785 E. Sahara Avenue, Suite 490-204 -# Las Vegas, Nevada 89104 -# -# Licensed under The MIT License -# Redistributions of files must retain the above copyright notice. -# http://www.opensource.org/licenses/mit-license.php The MIT License - -CREATE TABLE cake_sessions ( - id varchar(255) NOT NULL default '', - data text, - expires int(11) default NULL, - PRIMARY KEY (id) -); \ No newline at end of file diff --git a/controllers/.svn/entries b/controllers/.svn/entries deleted file mode 100644 index 6b669e84..00000000 --- a/controllers/.svn/entries +++ /dev/null @@ -1,444 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/controllers -file:///home/karl/svn/quotenik - - - -2009-01-12T00:37:38.932516Z -17 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -product_options_controller.php -file -18 - - - -2008-12-23T00:44:36.000000Z -29af9e1a278599d9fe274a21c409a150 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -1969 - -components -dir - -users_controller.php -file - - - - -2009-01-09T03:53:07.000000Z -b9a19980858be73815c5dc8cded353dd -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -3096 - -currencies_controller.php -file - - - - -2008-11-13T00:42:45.000000Z -f3f3538a1bc068290fdb9bb75c8e0232 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -products_controller.php -file - - - - -2008-11-13T00:42:45.000000Z -b9044103343a375a90ef102ee8738f69 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -states_controller.php -file - - - - -2008-12-25T12:56:19.000000Z -46e53b86dff36c5cf4866578336f5d6d -2009-01-05T03:21:30.261073Z -12 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1875 - -enquiries_controller.php -file - - - - -2009-01-12T00:34:46.000000Z -dc3b455abe516a50d81d7aa4f4f9e655 -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -11340 - -principles_controller.php -file - - - - -2008-12-26T02:36:33.000000Z -bde5fc17e11786441edc93251bfc1b46 -2009-01-05T03:21:30.261073Z -12 -karl -has-props - - - - - - - - - - - - - - - - - - - - -2290 - -countries_controller.php -file - - - - -2008-11-13T00:42:45.000000Z -9730b40befef90e812783cbac0f119f4 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -statuses_controller.php -file - - - - -2008-12-26T00:23:09.000000Z -fab29c2d0bf65a6f756fad5dc85399f5 -2009-01-05T03:21:30.261073Z -12 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1915 - -addresses_controller.php -file - - - - -2009-01-06T05:02:07.000000Z -2bcac89c5c6f598334a3062c0efa4a77 -2009-01-07T01:19:11.314653Z -14 -karl -has-props - - - - - - - - - - - - - - - - - - - - -2444 - -contacts_controller.php -file - - - - -2009-01-04T06:19:22.000000Z -521f5dc5e2702f76e33b7c565112b58e -2009-01-05T03:21:30.261073Z -12 -karl -has-props - - - - - - - - - - - - - - - - - - - - -2874 - -quotes_controller.php -file - - - - -2008-12-31T04:11:36.000000Z -e8faf5817e4bd195ae31553b4ec66a20 -2009-01-05T03:21:30.261073Z -12 -karl -has-props - - - - - - - - - - - - - - - - - - - - -2698 - -quote_products_controller.php -file -18 - - - -2009-01-01T03:41:27.000000Z -a234a2dd8ef111dbfcca8d44ba86220b -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -2375 - -customers_controller.php -file - - - - -2009-01-12T00:05:13.000000Z -18ca70cbb2d42c8fa0e9b5497dfe0bea -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -2121 - diff --git a/controllers/.svn/format b/controllers/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/controllers/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/controllers/.svn/prop-base/addresses_controller.php.svn-base b/controllers/.svn/prop-base/addresses_controller.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/controllers/.svn/prop-base/addresses_controller.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/controllers/.svn/prop-base/contacts_controller.php.svn-base b/controllers/.svn/prop-base/contacts_controller.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/controllers/.svn/prop-base/contacts_controller.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/controllers/.svn/prop-base/countries_controller.php.svn-base b/controllers/.svn/prop-base/countries_controller.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/controllers/.svn/prop-base/countries_controller.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/controllers/.svn/prop-base/currencies_controller.php.svn-base b/controllers/.svn/prop-base/currencies_controller.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/controllers/.svn/prop-base/currencies_controller.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/controllers/.svn/prop-base/customers_controller.php.svn-base b/controllers/.svn/prop-base/customers_controller.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/controllers/.svn/prop-base/customers_controller.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/controllers/.svn/prop-base/enquiries_controller.php.svn-base b/controllers/.svn/prop-base/enquiries_controller.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/controllers/.svn/prop-base/enquiries_controller.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/controllers/.svn/prop-base/principles_controller.php.svn-base b/controllers/.svn/prop-base/principles_controller.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/controllers/.svn/prop-base/principles_controller.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/controllers/.svn/prop-base/products_controller.php.svn-base b/controllers/.svn/prop-base/products_controller.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/controllers/.svn/prop-base/products_controller.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/controllers/.svn/prop-base/quotes_controller.php.svn-base b/controllers/.svn/prop-base/quotes_controller.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/controllers/.svn/prop-base/quotes_controller.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/controllers/.svn/prop-base/states_controller.php.svn-base b/controllers/.svn/prop-base/states_controller.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/controllers/.svn/prop-base/states_controller.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/controllers/.svn/prop-base/statuses_controller.php.svn-base b/controllers/.svn/prop-base/statuses_controller.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/controllers/.svn/prop-base/statuses_controller.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/controllers/.svn/prop-base/users_controller.php.svn-base b/controllers/.svn/prop-base/users_controller.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/controllers/.svn/prop-base/users_controller.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/controllers/.svn/text-base/addresses_controller.php.svn-base b/controllers/.svn/text-base/addresses_controller.php.svn-base deleted file mode 100644 index 191cc839..00000000 --- a/controllers/.svn/text-base/addresses_controller.php.svn-base +++ /dev/null @@ -1,78 +0,0 @@ -Address->recursive = 0; - $this->set('addresses', $this->paginate()); - } - - function view($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid Address.', true)); - $this->redirect(array('action'=>'index')); - } - $this->set('address', $this->Address->read(null, $id)); - } - - function add($customerid = null ) { - if(isset($this->params['named']['customerid'])) { - $customerid = $this->params['named']['customerid']; - } - if(!$customerid) { - $this->Session->setFlash(__('Invalid Customer ID', true)); - $this->redirect(array('controller'=>'Enquiries', 'action'=>'index')); - } - - if (!empty($this->data)) { - $this->Address->create(); - if ($this->Address->save($this->data)) { - $this->Session->setFlash(__('The Address has been saved', true)); - $this->redirect(array('controller' => 'customers', 'action'=>'view/'.$customerid)); - } else { - $this->Session->setFlash(__('The Address could not be saved. Please, try again.', true)); - } - } - $customer = $this->Address->Customer->findById($customerid); - $states = $this->Address->State->find('list'); - $countries = $this->Address->Country->find('list'); - $this->set(compact('customer', 'states', 'countries')); - } - - function edit($id = null) { - if (!$id && empty($this->data)) { - $this->Session->setFlash(__('Invalid Address', true)); - $this->redirect(array('action'=>'index')); - } - if (!empty($this->data)) { - if ($this->Address->save($this->data)) { - $this->Session->setFlash(__('The Address has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Address could not be saved. Please, try again.', true)); - } - } - if (empty($this->data)) { - $this->data = $this->Address->read(null, $id); - } - $customers = $this->Address->Customer->find('list'); - $states = $this->Address->State->find('list'); - $countries = $this->Address->Country->find('list'); - $this->set(compact('customers','states','countries')); - } - - function delete($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid id for Address', true)); - $this->redirect(array('action'=>'index')); - } - if ($this->Address->del($id)) { - $this->Session->setFlash(__('Address deleted', true)); - $this->redirect(array('action'=>'index')); - } - } - -} -?> diff --git a/controllers/.svn/text-base/contacts_controller.php.svn-base b/controllers/.svn/text-base/contacts_controller.php.svn-base deleted file mode 100644 index f6f77e16..00000000 --- a/controllers/.svn/text-base/contacts_controller.php.svn-base +++ /dev/null @@ -1,88 +0,0 @@ - array('order' => array('Contact.customer_id' => 'asc')), - 'Enquiry' => array('order' => array('Enquiry.id' => 'asc')) - ); - - function index() { - $this->Contact->recursive = 0; - $this->set('contacts', $this->paginate()); - } - - function view($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid Contact.', true)); - $this->redirect(array('action'=>'index')); - } - $this->set('contact', $this->Contact->read(null, $id)); - //$enquiries = $this->Contact->Enquiry->findAllByContactId($id); - $this->set('enquiries', $this->paginate('Enquiry', array('Enquiry.contact_id' => $id))); - //$this->set('enquiries', $this->paginate($enquiries)); - } - - - - function add_to_customer($customerid = null) { - - if(isset($this->params['named']['customerid'])) { - $customerid = $this->params['named']['customerid']; - } - if (!$customerid && empty($this->data)) { - $this->Session->setFlash(__('Invalid Customer ID', true)); - $this->redirect(array('controller'=>'Enquiries', 'action'=>'index')); - } - if (!empty($this->data)) { - $this->data['Contact']['name'] = $this->data['Contact']['first_name'].' '.$this->data['Contact']['last_name']; - $this->Contact->create(); - if ($this->Contact->save($this->data)) { - $this->Session->setFlash(__('The Contact has been saved', true)); - $this->redirect(array('controller' => 'Customers', 'action'=>'view/'.$this->data['Contact']['customer_id'])); - } else { - $this->Session->setFlash(__('The Contact could not be saved. Please try again.', true)); - } - } - - $customer = $this->Contact->Customer->findById($customerid); - $this->set(compact('customer')); - } - - - function edit($id = null) { - if (!$id && empty($this->data)) { - $this->Session->setFlash(__('Invalid Contact', true)); - $this->redirect(array('action'=>'index')); - } - if (!empty($this->data)) { - $this->data['Contact']['name'] = $this->data['Contact']['first_name'].' '.$this->data['Contact']['last_name']; - if ($this->Contact->save($this->data)) { - $this->Session->setFlash(__('The Contact has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Contact could not be saved. Please, try again.', true)); - } - } - if (empty($this->data)) { - $this->data = $this->Contact->read(null, $id); - } - $customers = $this->Contact->Customer->find('list'); - $this->set(compact('customers')); - } - - function delete($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid id for Contact', true)); - $this->redirect(array('action'=>'index')); - } - if ($this->Contact->del($id)) { - $this->Session->setFlash(__('Contact deleted', true)); - $this->redirect(array('action'=>'index')); - } - } - -} -?> diff --git a/controllers/.svn/text-base/countries_controller.php.svn-base b/controllers/.svn/text-base/countries_controller.php.svn-base deleted file mode 100644 index 1a87ca56..00000000 --- a/controllers/.svn/text-base/countries_controller.php.svn-base +++ /dev/null @@ -1,65 +0,0 @@ -Country->recursive = 0; - $this->set('countries', $this->paginate()); - } - - function view($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid Country.', true)); - $this->redirect(array('action'=>'index')); - } - $this->set('country', $this->Country->read(null, $id)); - } - - function add() { - $this->set('currencies', $this->Country->Currency->find('list', array('fields'=>array('Currency.id', 'Currency.name')))); - if (!empty($this->data)) { - - $this->Country->create(); - - if ($this->Country->save($this->data)) { - $this->Session->setFlash(__('The Country has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Country could not be saved. Please, try again.', true)); - } - } - } - - function edit($id = null) { - if (!$id && empty($this->data)) { - $this->Session->setFlash(__('Invalid Country', true)); - $this->redirect(array('action'=>'index')); - } - if (!empty($this->data)) { - if ($this->Country->save($this->data)) { - $this->Session->setFlash(__('The Country has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Country could not be saved. Please, try again.', true)); - } - } - if (empty($this->data)) { - $this->data = $this->Country->read(null, $id); - } - } - - function delete($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid id for Country', true)); - $this->redirect(array('action'=>'index')); - } - if ($this->Country->del($id)) { - $this->Session->setFlash(__('Country deleted', true)); - $this->redirect(array('action'=>'index')); - } - } - -} -?> diff --git a/controllers/.svn/text-base/currencies_controller.php.svn-base b/controllers/.svn/text-base/currencies_controller.php.svn-base deleted file mode 100644 index 4ee38ccb..00000000 --- a/controllers/.svn/text-base/currencies_controller.php.svn-base +++ /dev/null @@ -1,62 +0,0 @@ -Currency->recursive = 0; - $this->set('currencies', $this->paginate()); - } - - function view($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid Currency.', true)); - $this->redirect(array('action'=>'index')); - } - $this->set('currency', $this->Currency->read(null, $id)); - } - - function add() { - if (!empty($this->data)) { - $this->Currency->create(); - if ($this->Currency->save($this->data)) { - $this->Session->setFlash(__('The Currency has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Currency could not be saved. Please, try again.', true)); - } - } - } - - function edit($id = null) { - if (!$id && empty($this->data)) { - $this->Session->setFlash(__('Invalid Currency', true)); - $this->redirect(array('action'=>'index')); - } - if (!empty($this->data)) { - if ($this->Currency->save($this->data)) { - $this->Session->setFlash(__('The Currency has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Currency could not be saved. Please, try again.', true)); - } - } - if (empty($this->data)) { - $this->data = $this->Currency->read(null, $id); - } - } - - function delete($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid id for Currency', true)); - $this->redirect(array('action'=>'index')); - } - if ($this->Currency->del($id)) { - $this->Session->setFlash(__('Currency deleted', true)); - $this->redirect(array('action'=>'index')); - } - } - -} -?> \ No newline at end of file diff --git a/controllers/.svn/text-base/customers_controller.php.svn-base b/controllers/.svn/text-base/customers_controller.php.svn-base deleted file mode 100644 index 1fdf0367..00000000 --- a/controllers/.svn/text-base/customers_controller.php.svn-base +++ /dev/null @@ -1,68 +0,0 @@ - array('order' => array('Customer.name' => 'asc'), - 'limit' => 200 - ), - 'Enquiry' => array('order' => array('Enquiry.id' => 'asc')) - ); - - function index() { - $this->Customer->recursive = 0; - $this->set('customers', $this->paginate()); - } - - function view($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid Customer.', true)); - $this->redirect(array('action'=>'index')); - } - $this->set('customer', $this->Customer->read(null, $id)); - $this->set('addresses', $this->Customer->Address->findAllByCustomerId($id)); - $this->set('enquiries', $this->paginate('Enquiry', array('Enquiry.customer_id' => $id))); - } - - function add() { - if (!empty($this->data)) { - $this->data['Contact'][0]['name'] = $this->data['Contact'][0]['first_name'].' '.$this->data['Contact'][0]['last_name']; - - if($this->Customer->saveAll($this->data, array('validate'=>'first')) ) { - $newcustomerid = $this->Customer->id; - $this->Session->setFlash(__('The Customer and Contact have been saved', true)); - $this->redirect(array('action'=>'view', 'id'=>$newcustomerid)); - } - else { - $this->Session->setFlash(__('The Customer could not be saved. Please try again.', true)); - } - } - $this->set('states', $this->Customer->Address->State->find('list')); - $this->set('countries', $this->Customer->Address->Country->find('list')); - - } - - - function edit($id = null) { - if (!$id && empty($this->data)) { - $this->Session->setFlash(__('Invalid Customer', true)); - $this->redirect(array('action'=>'index')); - } - if (!empty($this->data)) { - if ($this->Customer->save($this->data)) { - $this->Session->setFlash(__('The Customer has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Customer could not be saved. Please, try again.', true)); - } - } - if (empty($this->data)) { - $this->data = $this->Customer->read(null, $id); - } - } - - -} -?> diff --git a/controllers/.svn/text-base/enquiries_controller.php.svn-base b/controllers/.svn/text-base/enquiries_controller.php.svn-base deleted file mode 100644 index 00e8a7ea..00000000 --- a/controllers/.svn/text-base/enquiries_controller.php.svn-base +++ /dev/null @@ -1,255 +0,0 @@ - 250, - 'order'=>array('Enquiry.id' => 'desc')); - - - function index() { - $this->Enquiry->recursive = 0; - $this->set('enquiries', $this->paginate()); - } - - function view($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid Enquiry.', true)); - $this->redirect(array('action'=>'index')); - } - $this->set('enquiry', $this->Enquiry->read(null, $id)); - $this->set('quotes', $this->Enquiry->Quote->find('all', array('conditions'=>array('Quote.enquiry_id'=>$id), 'order'=>'Quote.revision DESC'))); - } - - - - function add() { - - - $states = $this->Enquiry->State->find('list'); - $countries = $this->Enquiry->Country->find('list'); - $principles = $this->Enquiry->Principle->find('list'); - $statuses = $this->Enquiry->Status->find('list'); - $user_id = $this->Auth->user('id'); - $this->set(compact('user_id','users', 'customers', 'states', 'countries', 'principles', 'statuses')); - - - if(empty($this->data)) { - $this->set('step', 1); - $users = $this->Enquiry->User->find('list', array('fields' => array('User.id', 'User.username'))); - $this->set('users', $users); - } - - elseif( (!empty($this->data)) && ($this->data['Enquiry']['step'] == 1) ) { - $customer = $this->Enquiry->Customer->findByName($this->data['Customer']['name']); - $this->set('customer', $customer); - $contacts = $this->Enquiry->Contact->find('list', array('conditions' => array('Contact.customer_id' => $customer['Customer']['id']))); - /* Check if the customer exists in the database - otherwise send the user back to step 1*/ - if(!$customer) { - $this->Session->setFlash(__('The customer must already exist in the database. Please try again', true)); - $this->redirect(array('action'=>'add')); - } - $this->set('step',2); - $user_id = $this->Auth->user('id'); - $this->set('user_id', $user_id); - $this->set('contacts', $contacts); - - $customerAddresses = $this->Enquiry->BillingAddress->find('all', array('conditions'=>array('BillingAddress.customer_id' => $customer['Customer']['id']))); - $this->set('billing_addresses', $customerAddresses); - $this->set('shipping_addresses', $customerAddresses); - - /* Feels like an ugly hack. But it gets the desired effect and it will do for now */ - - if(isset($customerAddresses[0]['BillingAddress'])) { - foreach ($customerAddresses as $address) { - $i = $address['BillingAddress']['id']; - $billing_address_list[$i] = ''.$address['BillingAddress']['name'].'
'.$address['BillingAddress']['address'].'
'.$address['BillingAddress']['city'].' '.$address['State']['name'].'
'.up($address['Country']['name']).'

'; - } - $this->set('billing_addresses_list', $billing_address_list); - $this->set('shipping_addresses_list', $billing_address_list); - } - else { - $this->set('billing_addresses_list', 'No Addresses exist for this Customer. Please add one'); - $this->set('shipping_addresses_list', 'No Addresses exist for this Customer. Please add one'); - } - $this->render(); - - } - - if ( (!empty($this->data)) && ($this->data['Enquiry']['finished'] == 'true') ) { - $this->Enquiry->set($this->data); - if( !($this->Enquiry->validates()) ) { - $customer = $this->Enquiry->Customer->findByName($this->data['Customer']['name']); - $this->set('customer', $customer); - $contacts = $this->Enquiry->Contact->find('list', array('conditions' => array('Contact.customer_id' => $customer['Customer']['id']))); - $this->set('contacts', $contacts); - $this->set('billing_addresses', $this->Enquiry->BillingAddress->find('list', array('conditions'=>array('BillingAddress.customer_id' => $customer['Customer']['id'])))); - $this->set('shipping_addresses', $this->Enquiry->ShippingAddress->find('list', array('conditions'=>array('ShippingAddress.customer_id' => $customer['Customer']['id'])))); - $this->set('errors', $this->Enquiry->invalidFields()); - $this->set('step',2); - $this->render(); - - - } - else { - $this->Enquiry->create(); - $state = $this->Enquiry->State->findById($this->data['Enquiry']['state_id']); - $principle = $this->Enquiry->Principle->findById($this->data['Enquiry']['principle_id']); - /* Generate the enquiry number for this enquiry */ - /* CMC Enquiry number format is: - * CMCE- - * eg. CMC1245NE351234-456 */ - - $enquiryid = $this->Enquiry->findCount(); /* Find what number we are - CMCXXXX */ - $enquiryoffset = 7203; //What Number Enquiry we were at before using this package. - $enquiryid += $enquiryoffset; - $enquiryid++; - /* Find how many enquiries have been for this principle code */ - $principleenquiries = $this->Enquiry->findCount('principle_code ='. $principle['Principle']['code']); - - /* Principle Code Offsets - Existing Number of Enquiries for each Principle Code */ - $principlecode_offset = array( 15 => 204, //ELMAC, AMAL - 20 => 49, //T and B Electronic - 25 => 2021, //ATEX,Brilex,Marston - 35 => 2030, //Mid-West Instrument, DP - 36 => 46, //Reading Technologies - 37 => 2020, //Eldridge, Smart Measurement, Alia - 65 => 2189, //Papenmeier, Herberts Industrieglas - 85 => 585, //Analytical Systems, Misc - 95 => 171); //Comet, T and D. - $principleenquiries += $principlecode_offset[$principle['Principle']['code']]; //Add the offset. - $principleenquiries++; - - - - /* Find how many enquiries have been for this principle code in this state */ - /* This aspect of the enquiry number is not useful anymore. Made redundant thanks to mySQL queries. - * But this has been done for backwards-compatablity with existing enquiry numbers */ - $principleconditions = array - ( - "Enquiry.principle_code" => $principle['Principle']['code'], - "Enquiry.state_id" => $this->data['Enquiry']['state_id'] - ); - - $stateprincipleenquiries = $this->Enquiry->findCount($principleconditions); - - /*Add the offsets for the State Principle Enquiries for each Code */ - $stateprinciple_offset = array( - //Elmac, Amal - 15 => array("NSW" => 39, "VIC" => 36, "TAS" => 58, - "ACT" => 0, "QLD" => 30, "NT" => 0, - "WA" => 18, "SA" => 0, "Overseas" => 0), - //T and B Electronic - 20 => array("NSW" => 13, "VIC" => 6, "TAS" => 0, - "ACT" => 0, "QLD" => 8, "NT" => 0, - "WA" => 12, "SA" => 0, "Overseas" => 4), - //ATEX,Brilex,Marston - 25 => array("NSW" => 569, "VIC" => 589, "TAS" => 186, - "ACT" => 0, "QLD" => 250, "NT" => 3, - "WA" => 540, "SA" => 71, "Overseas" => 612), - //Mid-West Instrument, DP - 35 => array("NSW" => 530, "VIC" => 844, "TAS" => 9, - "ACT" => 0, "QLD" => 250, "NT" => 14, - "WA" => 464, "SA" => 507, "Overseas" => 149), - //Reading Technologies ****TO DO**** - 36 => array("NSW" => 0, "VIC" => 0, "TAS" => 0, - "ACT" => 0, "QLD" => 0, "NT" => 0, - "WA" => 0, "SA" => 0, "Overseas" => 0), - //Eldridge, Smart Measurement, Alia *** TO DO*** - 37 => array("NSW" => 0, "VIC" => 0, "TAS" => 0, - "ACT" => 0, "QLD" => 0, "NT" => 0, - "WA" => 0, "SA" => 0, "Overseas" => 0), - //Papenmeier, Herberts Industrieglas *** TO DO*** - 65 => array("NSW" => 0, "VIC" => 0, "TAS" => 0, - "ACT" => 0, "QLD" => 0, "NT" => 0, - "WA" => 0, "SA" => 0, "Overseas" => 0), - //Analytical Systems, Misc *** TO DO*** - 85 => array("NSW" => 0, "VIC" => 0, "TAS" => 0, - "ACT" => 0, "QLD" => 0, "NT" => 0, - "WA" => 0, "SA" => 0, "Overseas" => 0), - //Comet, T and D. *** TO DO*** - 95 => array("NSW" => 0, "VIC" => 0, "TAS" => 0, - "ACT" => 0, "QLD" => 0, "NT" => 0, - "WA" => 0, "SA" => 0, "Overseas" => 0), - ); - $stateprincipleenquiries += $stateprinciple_offset[$principle['Principle']['code']][$state['State']['shortform']]; - $stateprincipleenquiries++; - /* Generate/set the enquiry number */ - $enquiryno = 'CMC'.$enquiryid.$state['State']['enqform'].'E'.$principle['Principle']['code'].$principleenquiries. - '-'.$stateprincipleenquiries; - - - $this->data['Enquiry']['title'] = $enquiryno; - $this->data['Enquiry']['principle_code'] = $principle['Principle']['code']; //Store which principle code this enquiry belongs to. - Sanitize::clean($this->data); - } - - if ($this->Enquiry->save($this->data)) { - $this->Session->setFlash(__('The Enquiry has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Enquiry could not be saved. Please, try again.', true)); - } - } - - } - - /* Autocomplete the customer name - Used in: add.ctp */ - function completeCustomer() { - - $this->set('customers', $this->Enquiry->Customer->find('all', array( - 'conditions' => array( - 'Customer.name LIKE' => $this->data['Customer']['name'].'%' - ),'fields' => array('Customer.name') - ))); - $this->layout = 'ajax'; - - } - - - function edit($id = null) { - if (!$id && empty($this->data)) { - $this->Session->setFlash(__('Invalid Enquiry', true)); - $this->redirect(array('action'=>'index')); - } - if (!empty($this->data)) { - if ($this->Enquiry->save($this->data)) { - $this->Session->setFlash(__('The Enquiry has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Enquiry could not be saved. Please, try again.', true)); - $this->set('dump', $this->data); - } - } - if (empty($this->data)) { - $this->data = $this->Enquiry->read(null, $id); - } - $enquiry = $this->Enquiry->read(null, $id); - $users = $this->Enquiry->User->find('list', array('fields' => array('User.id', 'User.username'))); - $customer = $this->Enquiry->Customer->findById($enquiry['Enquiry']['customer_id']); - $contacts = $this->Enquiry->Contact->find('list', array('conditions' => array('Contact.customer_id' => $enquiry['Enquiry']['customer_id'] ))); - $state = $this->Enquiry->State->findById($enquiry['Enquiry']['state_id']); - $country = $this->Enquiry->Country->findById($enquiry['Enquiry']['country_id']); - $principle = $this->Enquiry->Principle->findById($enquiry['Enquiry']['principle_id']); - $statuses = $this->Enquiry->Status->find('list'); - - $this->set(compact('enquiry', 'users','customer','contacts','state','country','principle','statuses', 'addresses')); - } - - function delete($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid id for Enquiry', true)); - $this->redirect(array('action'=>'index')); - } - if ($this->Enquiry->del($id)) { - $this->Session->setFlash(__('Enquiry deleted', true)); - $this->redirect(array('action'=>'index')); - } - } - -} -?> diff --git a/controllers/.svn/text-base/principles_controller.php.svn-base b/controllers/.svn/text-base/principles_controller.php.svn-base deleted file mode 100644 index 1237c314..00000000 --- a/controllers/.svn/text-base/principles_controller.php.svn-base +++ /dev/null @@ -1,74 +0,0 @@ - array('order' => array('Principle.id' => 'asc')), - 'Enquiry' => array('order' => array('Enquiry.id' => 'desc')) - ); - - function index() { - $this->Principle->recursive = 0; - $this->set('principles', $this->paginate()); - } - - function view($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid Principle.', true)); - $this->redirect(array('action'=>'index')); - } - $this->set('principle', $this->Principle->read(null, $id)); - $this->set('enquiries', $this->paginate('Enquiry', array('Enquiry.principle_id' => $id))); - } - - function add() { - if (!empty($this->data)) { - $this->Principle->create(); - if ($this->Principle->save($this->data)) { - $this->Session->setFlash(__('The Principle has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Principle could not be saved. Please, try again.', true)); - } - } - $countries = $this->Principle->Country->find('list'); - $currencies = $this->Principle->Currency->find('list'); - $this->set(compact('countries', 'currencies')); - } - - function edit($id = null) { - if (!$id && empty($this->data)) { - $this->Session->setFlash(__('Invalid Principle', true)); - $this->redirect(array('action'=>'index')); - } - if (!empty($this->data)) { - if ($this->Principle->save($this->data)) { - $this->Session->setFlash(__('The Principle has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Principle could not be saved. Please, try again.', true)); - } - } - if (empty($this->data)) { - $this->data = $this->Principle->read(null, $id); - } - $countries = $this->Principle->Country->find('list'); - $currencies = $this->Principle->Currency->find('list'); - $this->set(compact('countries','currencies')); - } - - function delete($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid id for Principle', true)); - $this->redirect(array('action'=>'index')); - } - if ($this->Principle->del($id)) { - $this->Session->setFlash(__('Principle deleted', true)); - $this->redirect(array('action'=>'index')); - } - } - -} -?> diff --git a/controllers/.svn/text-base/product_options_controller.php.svn-base b/controllers/.svn/text-base/product_options_controller.php.svn-base deleted file mode 100644 index 7afba88b..00000000 --- a/controllers/.svn/text-base/product_options_controller.php.svn-base +++ /dev/null @@ -1,66 +0,0 @@ -ProductOption->recursive = 0; - $this->set('productOptions', $this->paginate()); - } - - function view($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid ProductOption.', true)); - $this->redirect(array('action'=>'index')); - } - $this->set('productOption', $this->ProductOption->read(null, $id)); - } - - function add() { - if (!empty($this->data)) { - $this->ProductOption->create(); - if ($this->ProductOption->save($this->data)) { - $this->Session->setFlash(__('The ProductOption has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The ProductOption could not be saved. Please, try again.', true)); - } - } - $products = $this->ProductOption->Product->find('list'); - $this->set(compact('products')); - } - - function edit($id = null) { - if (!$id && empty($this->data)) { - $this->Session->setFlash(__('Invalid ProductOption', true)); - $this->redirect(array('action'=>'index')); - } - if (!empty($this->data)) { - if ($this->ProductOption->save($this->data)) { - $this->Session->setFlash(__('The ProductOption has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The ProductOption could not be saved. Please, try again.', true)); - } - } - if (empty($this->data)) { - $this->data = $this->ProductOption->read(null, $id); - } - $products = $this->ProductOption->Product->find('list'); - $this->set(compact('products')); - } - - function delete($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid id for ProductOption', true)); - $this->redirect(array('action'=>'index')); - } - if ($this->ProductOption->del($id)) { - $this->Session->setFlash(__('ProductOption deleted', true)); - $this->redirect(array('action'=>'index')); - } - } - -} -?> \ No newline at end of file diff --git a/controllers/.svn/text-base/products_controller.php.svn-base b/controllers/.svn/text-base/products_controller.php.svn-base deleted file mode 100644 index 8c459bda..00000000 --- a/controllers/.svn/text-base/products_controller.php.svn-base +++ /dev/null @@ -1,67 +0,0 @@ -Product->recursive = 0; - $this->set('products', $this->paginate()); - } - - function view($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid Product.', true)); - $this->redirect(array('action'=>'index')); - } - $this->set('product', $this->Product->read(null, $id)); - } - - function add() { - if (!empty($this->data)) { - $this->Product->create(); - - if ($this->Product->save($this->data)) { - $this->Session->setFlash(__('The Product has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Product could not be saved. Please, try again.', true)); - } - } - $principles = $this->Product->Principle->find('list'); - $this->set(compact('principles')); - } - - function edit($id = null) { - if (!$id && empty($this->data)) { - $this->Session->setFlash(__('Invalid Product', true)); - $this->redirect(array('action'=>'index')); - } - if (!empty($this->data)) { - if ($this->Product->save($this->data)) { - $this->Session->setFlash(__('The Product has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Product could not be saved. Please, try again.', true)); - } - } - if (empty($this->data)) { - $this->data = $this->Product->read(null, $id); - } - $principles = $this->Product->Principle->find('list'); - $this->set(compact('principles')); - } - - function delete($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid id for Product', true)); - $this->redirect(array('action'=>'index')); - } - if ($this->Product->del($id)) { - $this->Session->setFlash(__('Product deleted', true)); - $this->redirect(array('action'=>'index')); - } - } - -} -?> diff --git a/controllers/.svn/text-base/quote_products_controller.php.svn-base b/controllers/.svn/text-base/quote_products_controller.php.svn-base deleted file mode 100644 index b62e9758..00000000 --- a/controllers/.svn/text-base/quote_products_controller.php.svn-base +++ /dev/null @@ -1,72 +0,0 @@ -QuoteProduct->recursive = 0; - $this->set('quoteProducts', $this->paginate()); - } - - function view($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid QuoteProduct.', true)); - $this->redirect(array('action'=>'index')); - } - $this->set('quoteProduct', $this->QuoteProduct->read(null, $id)); - } - - function add() { - if (!empty($this->data)) { - $this->QuoteProduct->create(); - if ($this->QuoteProduct->save($this->data)) { - $this->Session->setFlash(__('The QuoteProduct has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The QuoteProduct could not be saved. Please, try again.', true)); - } - } - $principles = $this->QuoteProduct->Principle->find('list'); - $currencies = $this->QuoteProduct->Currency->find('list'); - $quotes = $this->QuoteProduct->Quote->find('list'); - $products = $this->QuoteProduct->Product->find('list'); - $this->set(compact('principles', 'currencies', 'quotes', 'products')); - } - - function edit($id = null) { - if (!$id && empty($this->data)) { - $this->Session->setFlash(__('Invalid QuoteProduct', true)); - $this->redirect(array('action'=>'index')); - } - if (!empty($this->data)) { - if ($this->QuoteProduct->save($this->data)) { - $this->Session->setFlash(__('The QuoteProduct has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The QuoteProduct could not be saved. Please, try again.', true)); - } - } - if (empty($this->data)) { - $this->data = $this->QuoteProduct->read(null, $id); - } - $principles = $this->QuoteProduct->Principle->find('list'); - $currencies = $this->QuoteProduct->Currency->find('list'); - $quotes = $this->QuoteProduct->Quote->find('list'); - $products = $this->QuoteProduct->Product->find('list'); - $this->set(compact('principles','currencies','quotes','products')); - } - - function delete($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid id for QuoteProduct', true)); - $this->redirect(array('action'=>'index')); - } - if ($this->QuoteProduct->del($id)) { - $this->Session->setFlash(__('QuoteProduct deleted', true)); - $this->redirect(array('action'=>'index')); - } - } - -} -?> \ No newline at end of file diff --git a/controllers/.svn/text-base/quotes_controller.php.svn-base b/controllers/.svn/text-base/quotes_controller.php.svn-base deleted file mode 100644 index b39bf02a..00000000 --- a/controllers/.svn/text-base/quotes_controller.php.svn-base +++ /dev/null @@ -1,92 +0,0 @@ -Quote->recursive = 0; - $this->set('quotes', $this->paginate()); - } - - function view($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid Quote.', true)); - $this->redirect(array('action'=>'index')); - } - $this->set('quote', $this->Quote->read(null, $id)); - } - - function add() { - - if(isset($this->params['named']['enquiryid'])) { - $enquiryid = $this->params['named']['enquiryid']; - $this->Quote->create(); - $number_of_revisions = $this->Quote->findCount('Quote.enquiry_id ='. $enquiryid); - $this->data['Quote']['revision'] = $number_of_revisions; - $this->data['Quote']['enquiry_id'] = $enquiryid; - - if ($this->Quote->save($this->data)) { - $quoteid = $this->Quote->id; - $this->Session->setFlash(__('The Quote has been saved', true)); - $this->redirect(array('action'=>'view/'.$quoteid)); - } - else { - $this->Session->setFlash(__('The Quote was not saved. Something has gone wrong.', true)); - $this->redirect(array('action'=>'index')); - } - } - else { - $this->Session->setFlash(__('Invalid Enquiry ID', true)); - $this->redirect(array('controller'=>'enquiries','action'=>'index')); - } - - } - - - function addold($id = null) { - - if(isset($this->params['named']['enquiryid'])) { - $enquiryid = $this->params['named']['enquiryid']; - } - if (!empty($this->data)) { - $this->Quote->create(); - - $number_of_revisions = $this->Quote->findCount('enquiry_id ='. $this->data['Quote']['enquiry_id']); - $number_of_revisions++; - $this->data['Quote']['revision'] = $number_of_revisions; - if ($this->Quote->save($this->data)) { - $this->Session->setFlash(__('The Quote has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Quote could not be saved. Please, try again.', true)); - } - } - $enquiries = $this->Quote->Enquiry->find('list'); - $this->set(compact('enquiries')); - } - - - function edit($id = null) { - if (!$id && empty($this->data)) { - $this->Session->setFlash(__('Invalid Quote', true)); - $this->redirect(array('action'=>'index')); - } - if (!empty($this->data)) { - if ($this->Quote->save($this->data)) { - $this->Session->setFlash(__('The Quote has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Quote could not be saved. Please, try again.', true)); - } - } - if (empty($this->data)) { - $this->data = $this->Quote->read(null, $id); - } - $enquiries = $this->Quote->Enquiry->find('list'); - $this->set(compact('enquiries')); - } - - -} -?> diff --git a/controllers/.svn/text-base/states_controller.php.svn-base b/controllers/.svn/text-base/states_controller.php.svn-base deleted file mode 100644 index 5255a44e..00000000 --- a/controllers/.svn/text-base/states_controller.php.svn-base +++ /dev/null @@ -1,69 +0,0 @@ - array('order' => array('State.id' => 'asc')), - 'Enquiry' => array('order' => array('Enquiry.id' => 'asc')) - ); - - - function index() { - $this->State->recursive = 0; - $this->set('states', $this->paginate()); - } - - function view($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid State.', true)); - $this->redirect(array('action'=>'index')); - } - $this->set('state', $this->State->read(null, $id)); - $this->set('enquiries', $this->paginate('Enquiry', array('Enquiry.state_id' => $id))); - } - - function add() { - if (!empty($this->data)) { - $this->State->create(); - if ($this->State->save($this->data)) { - $this->Session->setFlash(__('The State has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The State could not be saved. Please, try again.', true)); - } - } - } - - function edit($id = null) { - if (!$id && empty($this->data)) { - $this->Session->setFlash(__('Invalid State', true)); - $this->redirect(array('action'=>'index')); - } - if (!empty($this->data)) { - if ($this->State->save($this->data)) { - $this->Session->setFlash(__('The State has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The State could not be saved. Please, try again.', true)); - } - } - if (empty($this->data)) { - $this->data = $this->State->read(null, $id); - } - } - - function delete($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid id for State', true)); - $this->redirect(array('action'=>'index')); - } - if ($this->State->del($id)) { - $this->Session->setFlash(__('State deleted', true)); - $this->redirect(array('action'=>'index')); - } - } - -} -?> diff --git a/controllers/.svn/text-base/statuses_controller.php.svn-base b/controllers/.svn/text-base/statuses_controller.php.svn-base deleted file mode 100644 index 2c981a22..00000000 --- a/controllers/.svn/text-base/statuses_controller.php.svn-base +++ /dev/null @@ -1,68 +0,0 @@ - array('order' => array('Status.id' => 'asc')), - 'Enquiry' => array('order' => array('Enquiry.id' => 'desc'), 'limit' => 100) - ); - - function index() { - $this->Status->recursive = 0; - $this->set('statuses', $this->paginate()); - } - - function view($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid Status.', true)); - $this->redirect(array('action'=>'index')); - } - $this->set('status', $this->Status->read(null, $id)); - $this->set('enquiries', $this->paginate('Enquiry', array('Enquiry.status_id' => $id))); - } - - function add() { - if (!empty($this->data)) { - $this->Status->create(); - if ($this->Status->save($this->data)) { - $this->Session->setFlash(__('The Status has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Status could not be saved. Please, try again.', true)); - } - } - } - - function edit($id = null) { - if (!$id && empty($this->data)) { - $this->Session->setFlash(__('Invalid Status', true)); - $this->redirect(array('action'=>'index')); - } - if (!empty($this->data)) { - if ($this->Status->save($this->data)) { - $this->Session->setFlash(__('The Status has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The Status could not be saved. Please, try again.', true)); - } - } - if (empty($this->data)) { - $this->data = $this->Status->read(null, $id); - } - } - - function delete($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid id for Status', true)); - $this->redirect(array('action'=>'index')); - } - if ($this->Status->del($id)) { - $this->Session->setFlash(__('Status deleted', true)); - $this->redirect(array('action'=>'index')); - } - } - -} -?> diff --git a/controllers/.svn/text-base/users_controller.php.svn-base b/controllers/.svn/text-base/users_controller.php.svn-base deleted file mode 100644 index 85fe9b79..00000000 --- a/controllers/.svn/text-base/users_controller.php.svn-base +++ /dev/null @@ -1,119 +0,0 @@ - 250); - - function beforeFilter() { - $this->Auth->allow('add'); - $this->set('currentuser', $this->Auth->user()); - } - - function login() { //Provided by the authComponent - $this->pageTitle = ': Login'; - $this->Session->setFlash(__('Please enter your Username and Password to continue', true)); - } - - - function logout() { - $this->redirect($this->Auth->logout()); - } - - function index() { - $this->User->recursive = 0; - $this->set('users', $this->paginate()); - } - - function view($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid User.', true)); - $this->redirect(array('action'=>'index')); - } - $this->set('user', $this->User->read(null, $id)); - $this->set('enquiries', $this->paginate('Enquiry', array('Enquiry.user_id' => $id))); - - } - - function add() { - - $this->set('groups', $this->User->Group->find('list')); - if (!empty($this->data)) { - $this->User->create(); - if ($this->User->save($this->data)) { - $this->Session->setFlash(__('The User has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The User could not be saved. Please, try again.', true)); - } - } - } - - function edit($id = null) { - if (!$id && empty($this->data)) { - $this->Session->setFlash(__('Invalid User', true)); - $this->redirect(array('action'=>'index')); - } - if (!empty($this->data)) { - if ($this->User->save($this->data)) { - $this->Session->setFlash(__('The User has been saved', true)); - $this->redirect(array('action'=>'index')); - } else { - $this->Session->setFlash(__('The User could not be saved. Please, try again.', true)); - } - } - if (empty($this->data)) { - $this->data = $this->User->read(null, $id); - $this->set('groups', $this->User->Group->find('list')); - } - } - - function delete($id = null) { - if (!$id) { - $this->Session->setFlash(__('Invalid id for User', true)); - $this->redirect(array('action'=>'index')); - } - if ($this->User->del($id)) { - $this->Session->setFlash(__('User deleted', true)); - $this->redirect(array('action'=>'index')); - } - } - - function initpermissions() { - -$group = $this->User->Group; -//Allow admins to everything -$group->id = 6; -$this->Acl->allow($group, 'controllers'); - -//Manager Permission -$group->id = 5; -$this->Acl->allow($group, 'controllers'); - -//User Permission -$group->id = 4; -$this->Acl->deny($group, 'controllers'); -$this->Acl->allow($group, 'controllers/Enquires/add'); -$this->Acl->allow($group, 'controllers/Enquires/edit'); -$this->Acl->allow($group, 'controllers/Enquires/view'); -$this->Acl->allow($group, 'controllers/Quotes/add'); -$this->Acl->allow($group, 'controllers/Quotes/edit'); -$this->Acl->allow($group, 'controllers/Quotes/view'); -$this->Acl->allow($group, 'controllers/QuoteProducts/add'); - -$this->Acl->allow($group, 'controllers/QuoteProducts/edit'); -$this->Acl->allow($group, 'controllers/QuoteProducts/view'); - -} - - - - - - - - -} -?> diff --git a/controllers/components/.svn/entries b/controllers/components/.svn/entries deleted file mode 100644 index 85e75224..00000000 --- a/controllers/components/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/controllers/components -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/controllers/components/.svn/format b/controllers/components/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/controllers/components/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/controllers/components/.svn/prop-base/empty.svn-base b/controllers/components/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/controllers/components/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/controllers/components/.svn/text-base/empty.svn-base b/controllers/components/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/locale/.svn/entries b/locale/.svn/entries deleted file mode 100644 index 9f5edb2b..00000000 --- a/locale/.svn/entries +++ /dev/null @@ -1,31 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/locale -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -eng -dir - diff --git a/locale/.svn/format b/locale/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/locale/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/locale/eng/.svn/entries b/locale/eng/.svn/entries deleted file mode 100644 index ebbbff41..00000000 --- a/locale/eng/.svn/entries +++ /dev/null @@ -1,31 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/locale/eng -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -LC_MESSAGES -dir - diff --git a/locale/eng/.svn/format b/locale/eng/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/locale/eng/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/locale/eng/LC_MESSAGES/.svn/entries b/locale/eng/LC_MESSAGES/.svn/entries deleted file mode 100644 index fe0242f9..00000000 --- a/locale/eng/LC_MESSAGES/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/locale/eng/LC_MESSAGES -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:44.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/locale/eng/LC_MESSAGES/.svn/format b/locale/eng/LC_MESSAGES/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/locale/eng/LC_MESSAGES/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/locale/eng/LC_MESSAGES/.svn/prop-base/empty.svn-base b/locale/eng/LC_MESSAGES/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/locale/eng/LC_MESSAGES/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/locale/eng/LC_MESSAGES/.svn/text-base/empty.svn-base b/locale/eng/LC_MESSAGES/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/models/.svn/entries b/models/.svn/entries deleted file mode 100644 index 37a85f65..00000000 --- a/models/.svn/entries +++ /dev/null @@ -1,494 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/models -file:///home/karl/svn/quotenik - - - -2009-01-12T00:37:38.932516Z -17 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -currency.php -file - - - - -2008-12-22T23:26:41.000000Z -33941827aac5b0d3f50b4c9339de3f65 -2008-12-24T01:25:35.332966Z -11 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1212 - -contact.php -file - - - - -2008-12-05T05:44:25.000000Z -76918f12a488594a7dfea0a7020dc976 -2008-12-24T01:25:35.332966Z -11 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1286 - -behaviors -dir - -enquiry.php -file - - - - -2009-01-05T03:47:43.000000Z -c0023a9ade03d98276ec08c9a14b4838 -2009-01-05T06:00:33.065066Z -13 -karl -has-props - - - - - - - - - - - - - - - - - - - - -3521 - -group.php -file -18 - - - -2009-01-09T01:31:51.000000Z -5525edc53a513a515d0582c396ba94cf -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -680 - -quote_product.php -file -18 - - - -2009-01-10T03:49:03.000000Z -67fafcc281b2c5d8768b721d5ef149ec -2009-01-12T05:57:25.596672Z -18 -karl -has-props - - - - - - - - - - - - - - - - - - - - -723 - -quote.php -file - - - - -2008-12-22T23:22:15.000000Z -f45afb7be96b6a195d7ca98d779c2c81 -2008-12-24T01:25:35.332966Z -11 -karl -has-props - - - - - - - - - - - - - - - - - - - - -960 - -customer.php -file - - - - -2008-12-11T04:06:13.000000Z -75bddc6140883f6004674791bba0d284 -2008-12-24T01:25:35.332966Z -11 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1736 - -quoted_product.php -file - - - - -2009-01-12T00:43:15.000000Z -3660bcd1b26772a213a515aef8fc61dc -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -country.php -file - - - - -2008-11-13T00:42:45.000000Z -2cfe79556bf7f6c14cc2ccaa9c64cb28 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -product_option.php -file -19 - - - -2008-12-23T00:43:28.000000Z -ef3b7d814f050c613c1e7359f055a417 -2009-01-12T05:57:54.260676Z -19 -karl - - - - - - - - - - - - - - - - - - - - - -120 - -user.php -file - - - - -2009-01-09T01:28:13.000000Z -62c75bef36493d41bb1eb9071dfeb5e8 -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1218 - -product.php -file - - - - -2009-01-10T03:45:03.000000Z -dafb637505d09d0fe7378dd798dca9f6 -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -422 - -state.php -file - - - - -2008-11-13T00:42:45.000000Z -512bedcab3d50d52902b36d985844944 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -status.php -file - - - - -2008-11-13T00:42:45.000000Z -ffcf36468ad366a6eceacd63144cf99c -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -principle.php -file - - - - -2009-01-10T03:51:02.000000Z -ad19b13d3223fb76f31d5139b1685483 -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1236 - -address.php -file - - - - -2009-01-05T03:47:52.000000Z -d2a9d8ec22c4dec9c41b6f32140224a6 -2009-01-05T06:00:33.065066Z -13 -karl -has-props - - - - - - - - - - - - - - - - - - - - -740 - -datasources -dir - diff --git a/models/.svn/format b/models/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/models/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/models/.svn/prop-base/address.php.svn-base b/models/.svn/prop-base/address.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/.svn/prop-base/address.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/.svn/prop-base/contact.php.svn-base b/models/.svn/prop-base/contact.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/.svn/prop-base/contact.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/.svn/prop-base/country.php.svn-base b/models/.svn/prop-base/country.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/.svn/prop-base/country.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/.svn/prop-base/currency.php.svn-base b/models/.svn/prop-base/currency.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/.svn/prop-base/currency.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/.svn/prop-base/customer.php.svn-base b/models/.svn/prop-base/customer.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/.svn/prop-base/customer.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/.svn/prop-base/enquiry.php.svn-base b/models/.svn/prop-base/enquiry.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/.svn/prop-base/enquiry.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/.svn/prop-base/principle.php.svn-base b/models/.svn/prop-base/principle.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/.svn/prop-base/principle.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/.svn/prop-base/product.php.svn-base b/models/.svn/prop-base/product.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/.svn/prop-base/product.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/.svn/prop-base/quote.php.svn-base b/models/.svn/prop-base/quote.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/.svn/prop-base/quote.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/.svn/prop-base/quote_product.php.svn-base b/models/.svn/prop-base/quote_product.php.svn-base deleted file mode 100644 index 869ac71c..00000000 --- a/models/.svn/prop-base/quote_product.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff --git a/models/.svn/prop-base/quoted_product.php.svn-base b/models/.svn/prop-base/quoted_product.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/.svn/prop-base/quoted_product.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/.svn/prop-base/state.php.svn-base b/models/.svn/prop-base/state.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/.svn/prop-base/state.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/.svn/prop-base/status.php.svn-base b/models/.svn/prop-base/status.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/.svn/prop-base/status.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/.svn/prop-base/user.php.svn-base b/models/.svn/prop-base/user.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/.svn/prop-base/user.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/.svn/text-base/address.php.svn-base b/models/.svn/text-base/address.php.svn-base deleted file mode 100644 index 63d91e1c..00000000 --- a/models/.svn/text-base/address.php.svn-base +++ /dev/null @@ -1,35 +0,0 @@ - array('className' => 'Customer', - 'foreignKey' => 'customer_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - - 'State' => array('className' => 'State', - 'foreignKey' => 'state_id', - 'conditions' => '', - 'fields' => '', - 'order' => ''), - - 'Country' => array('className' => 'Country', - 'foreignKey' => 'country_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - - - )); - -} -?> diff --git a/models/.svn/text-base/contact.php.svn-base b/models/.svn/text-base/contact.php.svn-base deleted file mode 100644 index 054ec2d9..00000000 --- a/models/.svn/text-base/contact.php.svn-base +++ /dev/null @@ -1,58 +0,0 @@ - array( - 'rule' => array('notEmpty'), - 'message' => 'Please Enter the First Name of the Contact', - 'required' => true, - 'allowEmpty' => false - ), - - 'last_name' => array( - 'rule' => array('notEmpty'), - 'message' => 'Please Enter the Last Name of the Contact', - 'required' => true, - 'allowEmpty' => false - ), - 'email' => array( - 'rule' => array('email'), - 'message' => 'Please a valid Email Address for the Contact', - 'required' => false, - 'allowEmpty' => true - ) - ); - - - - - //The Associations below have been created with all possible keys, those that are not needed can be removed - var $belongsTo = array( - 'Customer' => array('className' => 'Customer', - 'foreignKey' => 'customer_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ) - ); - - var $hasMany = array( - 'Enquiry' => array('className' => 'Enquiry', - 'foreignKey' => 'contact_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ) - ); - - -} -?> diff --git a/models/.svn/text-base/country.php.svn-base b/models/.svn/text-base/country.php.svn-base deleted file mode 100644 index a82d126d..00000000 --- a/models/.svn/text-base/country.php.svn-base +++ /dev/null @@ -1,56 +0,0 @@ - array('className' => 'Currency', - 'foreignKey' => 'currency_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ) - ); - - var $hasMany = array( - 'Address' => array('className' => 'Address', - 'foreignKey' => 'country_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ), - 'Enquiry' => array('className' => 'Enquiry', - 'foreignKey' => 'country_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ), - 'Principle' => array('className' => 'Principle', - 'foreignKey' => 'country_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ) - ); - -} -?> \ No newline at end of file diff --git a/models/.svn/text-base/currency.php.svn-base b/models/.svn/text-base/currency.php.svn-base deleted file mode 100644 index e18f1b78..00000000 --- a/models/.svn/text-base/currency.php.svn-base +++ /dev/null @@ -1,47 +0,0 @@ - array('className' => 'Country', - 'foreignKey' => 'currency_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ), - 'Principle' => array('className' => 'Principle', - 'foreignKey' => 'currency_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ), - 'QuoteProduct' => array('className' => 'QuoteProduct', - 'foreignKey' => 'currency_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ) - ); - -} -?> diff --git a/models/.svn/text-base/customer.php.svn-base b/models/.svn/text-base/customer.php.svn-base deleted file mode 100644 index e7e86bf5..00000000 --- a/models/.svn/text-base/customer.php.svn-base +++ /dev/null @@ -1,70 +0,0 @@ - array( - 'rule' => 'isUnique', - 'message' => 'This Customer name is already taken or has been left blank', - 'required' => true, - 'allowEmpty' => false), - 'abn' => array( - - 'numbers' => array( - 'rule' => 'numeric', - 'message' => 'ABN must only contain numbers - no letters or punctuation', - 'required' => true, - 'allowEmpty' => true), - 'minlength' => array( - 'rule' => array('minLength', '11'), - 'message' => 'ABN must be exactly 11 numbers long') - ) - ); - - - //The Associations below have been created with all possible keys, those that are not needed can be removed - var $hasMany = array( - 'Address' => array('className' => 'Address', - 'foreignKey' => 'customer_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ), - 'Contact' => array('className' => 'Contact', - 'foreignKey' => 'customer_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ), - 'Enquiry' => array('className' => 'Enquiry', - 'foreignKey' => 'customer_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ) - ); - -} -?> diff --git a/models/.svn/text-base/enquiry.php.svn-base b/models/.svn/text-base/enquiry.php.svn-base deleted file mode 100644 index 2dcba5d3..00000000 --- a/models/.svn/text-base/enquiry.php.svn-base +++ /dev/null @@ -1,145 +0,0 @@ - array( - 'rule' => 'numeric', - 'required' => true, - 'message' => 'User ID must be selected', - 'on' => 'create' - ), - - 'customer_id' => array( - 'rule' => 'numeric', - 'required' => true, - 'message' => 'Must choose a Customer for this Enquiry', - 'on' => 'create' - ), - - 'contact_id' => array( - 'rule' => 'numeric', - 'required' => true, - 'message' => 'Must choose a Contact for this Enquiry', - 'on' => 'create' - ), - 'customer_id' => array( - 'rule' => 'numeric', - 'required' => true, - 'message' => 'Must choose a Customer for this Enquiry', - 'on' => 'create' - ), - - 'state_id' => array( - 'rule' => 'numeric', - 'required' => true, - 'message' => 'Must choose a State for this Enquiry', - 'on' => 'create' - ), - - 'country_id' => array( - 'rule' => 'numeric', - 'required' => true, - 'message' => 'Must choose a Country for this Enquiry', - 'on' => 'create' - ), - - 'principle_id' => array( - 'rule' => 'numeric', - 'required' => true, - 'message' => 'Must choose a Principle for this Enquiry', - 'on' => 'create' - ), - - 'status_id' => array( - 'rule' => 'numeric', - 'required' => true, - 'message' => 'Must choose a Status for this Enquiry' - ), - 'gst' => array( - 'rule' => 'numeric', - 'required' => true, - 'message' => 'Must slect whether GST is applicable for this Enquiry', - 'on' => 'create' - ) - ); - - - //The Associations below have been created with all possible keys, those that are not needed can be removed - var $belongsTo = array( - 'User' => array('className' => 'User', - 'foreignKey' => 'user_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - 'Customer' => array('className' => 'Customer', - 'foreignKey' => 'customer_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - 'Contact' => array('className' => 'Contact', - 'foreignKey' => 'contact_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - 'State' => array('className' => 'State', - 'foreignKey' => 'state_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - 'Country' => array('className' => 'Country', - 'foreignKey' => 'country_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - 'Principle' => array('className' => 'Principle', - 'foreignKey' => 'principle_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - 'Status' => array('className' => 'Status', - 'foreignKey' => 'status_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - 'BillingAddress' => array('className' => 'Address', - 'foreignKey' => 'billing_address_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - 'ShippingAddress' => array('className' => 'Address', - 'foreignKey' => 'shipping_address_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - - - ); - - var $hasMany = array( - 'Quote' => array('className' => 'Quote', - 'foreignKey' => 'enquiry_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ) - ); - -} -?> diff --git a/models/.svn/text-base/group.php.svn-base b/models/.svn/text-base/group.php.svn-base deleted file mode 100644 index f277aa5b..00000000 --- a/models/.svn/text-base/group.php.svn-base +++ /dev/null @@ -1,31 +0,0 @@ - array('alphanumeric') - ); - - //The Associations below have been created with all possible keys, those that are not needed can be removed - var $hasMany = array( - 'User' => array('className' => 'User', - 'foreignKey' => 'group_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ) - ); - - var $actsAs = array('Acl' => array('requester')); - - function parentNode() { - return null; - } -} -?> diff --git a/models/.svn/text-base/principle.php.svn-base b/models/.svn/text-base/principle.php.svn-base deleted file mode 100644 index fb01b0ea..00000000 --- a/models/.svn/text-base/principle.php.svn-base +++ /dev/null @@ -1,50 +0,0 @@ - array('className' => 'Country', - 'foreignKey' => 'country_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - 'Currency' => array('className' => 'Currency', - 'foreignKey' => 'currency_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ) - ); - - var $hasMany = array( - 'Enquiry' => array('className' => 'Enquiry', - 'foreignKey' => 'principle_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ), - 'Product' => array('className' => 'Product', - 'foreignKey' => 'principle_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ) - ); - -} -?> diff --git a/models/.svn/text-base/product.php.svn-base b/models/.svn/text-base/product.php.svn-base deleted file mode 100644 index 2ea42d28..00000000 --- a/models/.svn/text-base/product.php.svn-base +++ /dev/null @@ -1,20 +0,0 @@ - array('className' => 'Principle', - 'foreignKey' => 'principle_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ) - ); - -} -?> diff --git a/models/.svn/text-base/product_option.php.svn-base b/models/.svn/text-base/product_option.php.svn-base deleted file mode 100644 index ddea7795..00000000 --- a/models/.svn/text-base/product_option.php.svn-base +++ /dev/null @@ -1,9 +0,0 @@ - array('numeric'), - 'revision' => array('alphanumeric'), - 'deliverytime' => array('alphanumeric'), - 'paymentterms' => array('alphanumeric'), - 'daysvalid' => array('numeric') - - ); - - //The Associations below have been created with all possible keys, those that are not needed can be removed - var $belongsTo = array( - 'Enquiry' => array('className' => 'Enquiry', - 'foreignKey' => 'enquiry_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ) - ); - - var $hasMany = array( - 'QuoteProduct' => array('className' => 'QuoteProduct', - 'foreignKey' => 'quote_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ) - ); - -} -?> diff --git a/models/.svn/text-base/quote_product.php.svn-base b/models/.svn/text-base/quote_product.php.svn-base deleted file mode 100644 index b989209a..00000000 --- a/models/.svn/text-base/quote_product.php.svn-base +++ /dev/null @@ -1,33 +0,0 @@ - array('className' => 'Currency', - 'foreignKey' => 'currency_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - 'Quote' => array('className' => 'Quote', - 'foreignKey' => 'quote_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - 'Product' => array('className' => 'Product', - 'foreignKey' => 'product_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ) - ); - -} -?> diff --git a/models/.svn/text-base/quoted_product.php.svn-base b/models/.svn/text-base/quoted_product.php.svn-base deleted file mode 100644 index 1391785e..00000000 --- a/models/.svn/text-base/quoted_product.php.svn-base +++ /dev/null @@ -1,35 +0,0 @@ - array('className' => 'Principle', - 'foreignKey' => 'principle_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - 'Currency' => array('className' => 'Currency', - 'foreignKey' => 'currency_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - 'Quote' => array('className' => 'Quote', - 'foreignKey' => 'quote_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ), - 'Product' => array('className' => 'Product', - 'foreignKey' => 'product_id', - 'conditions' => '', - 'fields' => '', - 'order' => '' - ) - ); - -} -?> \ No newline at end of file diff --git a/models/.svn/text-base/state.php.svn-base b/models/.svn/text-base/state.php.svn-base deleted file mode 100644 index 42342667..00000000 --- a/models/.svn/text-base/state.php.svn-base +++ /dev/null @@ -1,35 +0,0 @@ - array('className' => 'Address', - 'foreignKey' => 'state_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ), - 'Enquiry' => array('className' => 'Enquiry', - 'foreignKey' => 'state_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ) - ); - -} -?> \ No newline at end of file diff --git a/models/.svn/text-base/status.php.svn-base b/models/.svn/text-base/status.php.svn-base deleted file mode 100644 index 8375431b..00000000 --- a/models/.svn/text-base/status.php.svn-base +++ /dev/null @@ -1,23 +0,0 @@ - array('className' => 'Enquiry', - 'foreignKey' => 'status_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ) - ); - -} -?> \ No newline at end of file diff --git a/models/.svn/text-base/user.php.svn-base b/models/.svn/text-base/user.php.svn-base deleted file mode 100644 index 12ec7221..00000000 --- a/models/.svn/text-base/user.php.svn-base +++ /dev/null @@ -1,59 +0,0 @@ - array( - 'rule' => 'unique', - 'required' => true, - 'message' => 'Username must be unique' - ), - - // 'password' => array('maxlength'), - 'email' => array('email'), - // 'job_title' => array('custom') - ); - */ - //The Associations below have been created with all possible keys, those that are not needed can be removed - var $hasMany = array( - 'Enquiry' => array('className' => 'Enquiry', - 'foreignKey' => 'user_id', - 'dependent' => false, - 'conditions' => '', - 'fields' => '', - 'order' => '', - 'limit' => '', - 'offset' => '', - 'exclusive' => '', - 'finderQuery' => '', - 'counterQuery' => '' - ) - ); - - - var $actsAs = array('Acl' => array('requester')); - - function parentNode() { - if (!$this->id && empty($this->data)) { - return null; - } - $data = $this->data; - if (empty($this->data)) { - $data = $this->read(); - } - if (!$data['User']['group_id']) { - return null; - } - else { - return array('Group' => array('id' => $data['User']['group_id'])); - } - } - - - -} -?> diff --git a/models/behaviors/.svn/entries b/models/behaviors/.svn/entries deleted file mode 100644 index 5e99e7ae..00000000 --- a/models/behaviors/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/models/behaviors -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/models/behaviors/.svn/format b/models/behaviors/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/models/behaviors/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/models/behaviors/.svn/prop-base/empty.svn-base b/models/behaviors/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/behaviors/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/behaviors/.svn/text-base/empty.svn-base b/models/behaviors/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/models/datasources/.svn/entries b/models/datasources/.svn/entries deleted file mode 100644 index 30e8e162..00000000 --- a/models/datasources/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/models/datasources -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/models/datasources/.svn/format b/models/datasources/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/models/datasources/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/models/datasources/.svn/prop-base/empty.svn-base b/models/datasources/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/models/datasources/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/models/datasources/.svn/text-base/empty.svn-base b/models/datasources/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/plugins/.svn/entries b/plugins/.svn/entries deleted file mode 100644 index 6203d3f8..00000000 --- a/plugins/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/plugins -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/plugins/.svn/format b/plugins/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/plugins/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/plugins/.svn/prop-base/empty.svn-base b/plugins/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/plugins/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/plugins/.svn/text-base/empty.svn-base b/plugins/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/.svn/entries b/tests/.svn/entries deleted file mode 100644 index 46071b6e..00000000 --- a/tests/.svn/entries +++ /dev/null @@ -1,37 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tests -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -groups -dir - -fixtures -dir - -cases -dir - diff --git a/tests/.svn/format b/tests/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tests/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tests/cases/.svn/entries b/tests/cases/.svn/entries deleted file mode 100644 index e5f4b3a3..00000000 --- a/tests/cases/.svn/entries +++ /dev/null @@ -1,43 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tests/cases -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -behaviors -dir - -helpers -dir - -models -dir - -components -dir - -controllers -dir - diff --git a/tests/cases/.svn/format b/tests/cases/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tests/cases/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tests/cases/behaviors/.svn/entries b/tests/cases/behaviors/.svn/entries deleted file mode 100644 index cab2c778..00000000 --- a/tests/cases/behaviors/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tests/cases/behaviors -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/tests/cases/behaviors/.svn/format b/tests/cases/behaviors/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tests/cases/behaviors/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tests/cases/behaviors/.svn/prop-base/empty.svn-base b/tests/cases/behaviors/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/tests/cases/behaviors/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tests/cases/behaviors/.svn/text-base/empty.svn-base b/tests/cases/behaviors/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/cases/components/.svn/entries b/tests/cases/components/.svn/entries deleted file mode 100644 index 1fbec546..00000000 --- a/tests/cases/components/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tests/cases/components -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/tests/cases/components/.svn/format b/tests/cases/components/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tests/cases/components/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tests/cases/components/.svn/prop-base/empty.svn-base b/tests/cases/components/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/tests/cases/components/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tests/cases/components/.svn/text-base/empty.svn-base b/tests/cases/components/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/cases/controllers/.svn/entries b/tests/cases/controllers/.svn/entries deleted file mode 100644 index 796d280b..00000000 --- a/tests/cases/controllers/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tests/cases/controllers -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/tests/cases/controllers/.svn/format b/tests/cases/controllers/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tests/cases/controllers/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tests/cases/controllers/.svn/prop-base/empty.svn-base b/tests/cases/controllers/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/tests/cases/controllers/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tests/cases/controllers/.svn/text-base/empty.svn-base b/tests/cases/controllers/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/cases/helpers/.svn/entries b/tests/cases/helpers/.svn/entries deleted file mode 100644 index 14884634..00000000 --- a/tests/cases/helpers/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tests/cases/helpers -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/tests/cases/helpers/.svn/format b/tests/cases/helpers/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tests/cases/helpers/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tests/cases/helpers/.svn/prop-base/empty.svn-base b/tests/cases/helpers/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/tests/cases/helpers/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tests/cases/helpers/.svn/text-base/empty.svn-base b/tests/cases/helpers/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/cases/models/.svn/entries b/tests/cases/models/.svn/entries deleted file mode 100644 index ba631fa9..00000000 --- a/tests/cases/models/.svn/entries +++ /dev/null @@ -1,54 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tests/cases/models -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -currency.test.php -file - - - - -2008-11-13T00:42:45.000000Z -34d7bc6c61d41086cd9bf4b39536f016 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/tests/cases/models/.svn/format b/tests/cases/models/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tests/cases/models/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tests/cases/models/.svn/prop-base/currency.test.php.svn-base b/tests/cases/models/.svn/prop-base/currency.test.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/tests/cases/models/.svn/prop-base/currency.test.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tests/cases/models/.svn/prop-base/empty.svn-base b/tests/cases/models/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/tests/cases/models/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tests/cases/models/.svn/text-base/currency.test.php.svn-base b/tests/cases/models/.svn/text-base/currency.test.php.svn-base deleted file mode 100644 index 297b41a0..00000000 --- a/tests/cases/models/.svn/text-base/currency.test.php.svn-base +++ /dev/null @@ -1,38 +0,0 @@ -Currency = new TestCurrency(); - } - - function testCurrencyInstance() { - $this->assertTrue(is_a($this->Currency, 'Currency')); - } - - function testCurrencyFind() { - $results = $this->Currency->recursive = -1; - $results = $this->Currency->find('first'); - $this->assertTrue(!empty($results)); - - $expected = array('Currency' => array( - 'id' => 1, - 'name' => 'Lorem ipsum dolor sit amet', - 'symbol' => 'Lorem ipsum dolor sit ame', - 'iso4217' => 'L' - )); - $this->assertEqual($results, $expected); - } -} -?> \ No newline at end of file diff --git a/tests/cases/models/.svn/text-base/empty.svn-base b/tests/cases/models/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/fixtures/.svn/entries b/tests/fixtures/.svn/entries deleted file mode 100644 index a20fc239..00000000 --- a/tests/fixtures/.svn/entries +++ /dev/null @@ -1,54 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tests/fixtures -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -currency_fixture.php -file - - - - -2008-11-13T00:42:45.000000Z -b1fbcb9fc3ab9a88905c47e62c353c5d -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/tests/fixtures/.svn/format b/tests/fixtures/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tests/fixtures/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tests/fixtures/.svn/prop-base/currency_fixture.php.svn-base b/tests/fixtures/.svn/prop-base/currency_fixture.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/tests/fixtures/.svn/prop-base/currency_fixture.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tests/fixtures/.svn/prop-base/empty.svn-base b/tests/fixtures/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/tests/fixtures/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tests/fixtures/.svn/text-base/currency_fixture.php.svn-base b/tests/fixtures/.svn/text-base/currency_fixture.php.svn-base deleted file mode 100644 index e98300a2..00000000 --- a/tests/fixtures/.svn/text-base/currency_fixture.php.svn-base +++ /dev/null @@ -1,22 +0,0 @@ - array('type'=>'integer', 'null' => false, 'default' => NULL, 'key' => 'primary'), - 'name' => array('type'=>'string', 'null' => false, 'default' => NULL), - 'symbol' => array('type'=>'string', 'null' => false, 'default' => NULL, 'length' => 1), - 'iso4217' => array('type'=>'string', 'null' => false, 'default' => NULL, 'length' => 3), - 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) - ); - var $records = array(array( - 'id' => 1, - 'name' => 'Lorem ipsum dolor sit amet', - 'symbol' => 'Lorem ipsum dolor sit ame', - 'iso4217' => 'L' - )); -} -?> \ No newline at end of file diff --git a/tests/fixtures/.svn/text-base/empty.svn-base b/tests/fixtures/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/groups/.svn/entries b/tests/groups/.svn/entries deleted file mode 100644 index 64d0ae84..00000000 --- a/tests/groups/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tests/groups -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/tests/groups/.svn/format b/tests/groups/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tests/groups/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tests/groups/.svn/prop-base/empty.svn-base b/tests/groups/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/tests/groups/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tests/groups/.svn/text-base/empty.svn-base b/tests/groups/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/tmp/.svn/entries b/tmp/.svn/entries deleted file mode 100644 index 4b8ab65e..00000000 --- a/tmp/.svn/entries +++ /dev/null @@ -1,40 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tmp -file:///home/karl/svn/quotenik - - - -2009-01-12T00:37:38.932516Z -17 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -tests -dir - -cache -dir - -logs -dir - -sessions -dir - diff --git a/tmp/.svn/format b/tmp/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tmp/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tmp/cache/.svn/entries b/tmp/cache/.svn/entries deleted file mode 100644 index c0177d3e..00000000 --- a/tmp/cache/.svn/entries +++ /dev/null @@ -1,37 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tmp/cache -file:///home/karl/svn/quotenik - - - -2009-01-12T00:37:38.932516Z -17 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -persistent -dir - -models -dir - -views -dir - diff --git a/tmp/cache/.svn/format b/tmp/cache/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tmp/cache/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tmp/cache/models/.svn/entries b/tmp/cache/models/.svn/entries deleted file mode 100644 index 2afe3023..00000000 --- a/tmp/cache/models/.svn/entries +++ /dev/null @@ -1,674 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tmp/cache/models -file:///home/karl/svn/quotenik - - - -2009-01-12T00:37:38.932516Z -17 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -cake_model_default_principles -file -18 - - - -2009-01-12T05:08:43.000000Z -326b055558f5d100fd5c835464e739f5 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -781 - -cake_model_default_aros_acos -file -18 - - - -2009-01-12T05:08:43.000000Z -26697b5f76bb459c64d867990c47205c -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -729 - -cake_model_default_countries -file -18 - - - -2009-01-12T05:08:43.000000Z -7a182aecd8c884c9791915a670b30c0b -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -321 - -cake_model_default_contacts_addresses -file - - - - -2009-01-12T00:43:15.000000Z -95e4e691c957bd6ab8d4f6f9d9f144d6 -2008-12-05T02:37:37.731048Z -9 -karl - - - - - - - - - - - - - - - - - - - - - -262 - -cake_model_default_statuses -file -18 - - - -2009-01-12T05:08:43.000000Z -a0e9d8c3dfe98dd0ec61d33fa1b8a0ac -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -222 - -cake_model_default_addresses -file -18 - - - -2009-01-12T05:08:43.000000Z -aaac9f53704399ac23fa8d72b83703fd -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -878 - -cake_model_default_contacts -file -18 - - - -2009-01-12T05:08:43.000000Z -fa393a7e3e89d4fff98d14bc08bdd907 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -875 - -cake_model_default_quotes -file -18 - - - -2009-01-12T05:08:43.000000Z -82d2a8db7c3036ae7da95d76fccc618a -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -994 - -cake_model_default_quoted_products -file - - - - -2008-12-22T23:23:38.000000Z -1a5e273b36284ac39c74b76a2f212c0f -2008-12-24T01:25:35.332966Z -11 -karl - - - - - - - - - - - - - - - - - - - - - -3078 - -cake_model_default_customers -file -18 - - - -2009-01-12T05:08:43.000000Z -8436482deb0322032556b711a3e550ab -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -404 - -cake_model_default_acos -file -18 - - - -2009-01-12T05:08:43.000000Z -41714173f8a73103b7c9e7632b75eb3e -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -691 - -cake_model_default_cake_sessions -file - - - - -2009-01-09T01:01:28.000000Z -823d1425e4901d6a5213ed9da4720374 -2009-01-12T00:37:38.932516Z -17 -karl - - - - - - - - - - - - - - - - - - - - - -315 - -cake_model_default_quotenik_list -file -18 - - - -2009-01-12T05:08:43.000000Z -9e99124898461a9f587f55a4ec737b8e -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -497 - -cake_model_default_users -file -18 - - - -2009-01-12T05:08:43.000000Z -d0c6a2e069d84d75d48eb00bcaa9f1d5 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -796 - -cake_model_default_currencies -file -18 - - - -2009-01-12T05:08:43.000000Z -d62ebb602ce32027b947678a505cf675 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -405 - -cake_model_default_products -file -18 - - - -2009-01-12T05:08:43.000000Z -372f37fd56ca2fa05caa2f8f6f39595d -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -1394 - -cake_model_default_states -file -18 - - - -2009-01-12T05:08:43.000000Z -1226a217a823165f00b3a69add4a9196 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -410 - -cake_model_default_enquiries -file -18 - - - -2009-01-12T05:08:43.000000Z -edf29d70fcd343baea0d6ebe7ef722b8 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -1580 - -cake_model_default_aros -file -18 - - - -2009-01-12T05:08:43.000000Z -41714173f8a73103b7c9e7632b75eb3e -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -691 - diff --git a/tmp/cache/models/.svn/format b/tmp/cache/models/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tmp/cache/models/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_acos.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_acos.svn-base deleted file mode 100644 index f47d6fe4..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_acos.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:7:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:10;s:3:"key";s:7:"primary";}s:9:"parent_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}s:5:"model";a:4:{s:4:"type";s:6:"string";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:255;}s:11:"foreign_key";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}s:5:"alias";a:4:{s:4:"type";s:6:"string";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:255;}s:3:"lft";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}s:4:"rght";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_addresses.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_addresses.svn-base deleted file mode 100644 index 461270c6..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_addresses.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:9:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:7:"address";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:4:"city";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:8:"state_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:10:"country_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:11:"customer_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:4:"type";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:8:"postcode";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:50;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_aros.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_aros.svn-base deleted file mode 100644 index f47d6fe4..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_aros.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:7:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:10;s:3:"key";s:7:"primary";}s:9:"parent_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}s:5:"model";a:4:{s:4:"type";s:6:"string";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:255;}s:11:"foreign_key";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}s:5:"alias";a:4:{s:4:"type";s:6:"string";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:255;}s:3:"lft";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}s:4:"rght";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:10;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_aros_acos.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_aros_acos.svn-base deleted file mode 100644 index a752c14b..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_aros_acos.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:7:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:10;s:3:"key";s:7:"primary";}s:6:"aro_id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:10;s:3:"key";s:5:"index";}s:6:"aco_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:10;}s:7:"_create";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";s:1:"0";s:6:"length";i:2;}s:5:"_read";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";s:1:"0";s:6:"length";i:2;}s:7:"_update";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";s:1:"0";s:6:"length";i:2;}s:7:"_delete";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";s:1:"0";s:6:"length";i:2;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_cake_sessions.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_cake_sessions.svn-base deleted file mode 100644 index af6abfa2..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_cake_sessions.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231462898 -a:3:{s:2:"id";a:5:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";s:0:"";s:6:"length";i:255;s:3:"key";s:7:"primary";}s:4:"data";a:4:{s:4:"type";s:4:"text";s:4:"null";b:1;s:7:"default";N;s:6:"length";N;}s:7:"expires";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:11;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_contacts.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_contacts.svn-base deleted file mode 100644 index 4d460ae0..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_contacts.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:9:{s:11:"customer_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:10:"first_name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:9:"last_name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:5:"email";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:5:"phone";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:3:"fax";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:5:"notes";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_contacts_addresses.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_contacts_addresses.svn-base deleted file mode 100644 index 5d0f8426..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_contacts_addresses.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1228444559 -a:2:{s:10:"contact_id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:10:"address_id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_countries.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_countries.svn-base deleted file mode 100644 index 23f9b526..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_countries.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:3:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:11:"currency_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_currencies.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_currencies.svn-base deleted file mode 100644 index a7a7d781..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_currencies.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:4:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:6:"symbol";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:5;}s:7:"iso4217";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:3;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_customers.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_customers.svn-base deleted file mode 100644 index 35499cca..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_customers.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:4:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:3:"abn";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:11;}s:7:"created";a:4:{s:4:"type";s:8:"datetime";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_enquiries.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_enquiries.svn-base deleted file mode 100644 index dc4d0f1f..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_enquiries.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:16:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:7:"created";a:4:{s:4:"type";s:8:"datetime";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:5:"title";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:7:"user_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:11:"customer_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:10:"contact_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:8:"state_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:10:"country_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:12:"principle_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:9:"status_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:8:"comments";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:14:"principle_code";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:3;}s:3:"gst";a:4:{s:4:"type";s:7:"boolean";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:1;}s:18:"billing_address_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:11;}s:19:"shipping_address_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:1;s:7:"default";N;s:6:"length";i:11;}s:6:"posted";a:4:{s:4:"type";s:7:"boolean";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:1;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_principles.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_principles.svn-base deleted file mode 100644 index b5fa0c06..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_principles.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:8:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:4:"code";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:7:"address";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:4:"city";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:5:"state";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:10:"country_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:11:"currency_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_products.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_products.svn-base deleted file mode 100644 index 627b0672..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_products.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:14:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:12:"principle_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:5:"title";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:11:"description";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:21:"principle_part_number";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:15:"cmc_part_number";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:14:"costprice_each";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:12:"our_discount";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:12:"packing_each";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:20:"shipping_weight_each";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:18:"shipping_cost_each";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:4:"duty";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:9:"target_gp";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:14:"sellprice_each";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_quoted_products.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_quoted_products.svn-base deleted file mode 100644 index ef03b872..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_quoted_products.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1229988228 -a:32:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:10:"itemnumber";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:3;}s:6:"option";a:4:{s:4:"type";s:7:"boolean";s:4:"null";b:0;s:7:"default";s:1:"0";s:6:"length";i:1;}s:12:"principle_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:8:"quantity";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:9:"costprice";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:11:"currency_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:3;}s:11:"ourdiscount";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:7:"packing";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:14:"shippingweight";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:12:"shippingcost";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:12:"exchangerate";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:4:"duty";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:7:"finance";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:4:"misc";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:14:"grosssellprice";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:14:"grossgpdollars";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:17:"grossgppercentage";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:12:"netgpdollars";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:12:"netgppercent";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:8:"targetgp";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:5:"title";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:500;}s:11:"description";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:17:"total_landed_cost";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:20:"fob_countryof_export";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:8:"quote_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:10:"product_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:8:"discount";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:14:"discountamount";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:18:"grosssellpriceeach";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:16:"netsellpriceeach";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:12:"netsellprice";a:4:{s:4:"type";s:5:"float";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_quotenik_list.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_quotenik_list.svn-base deleted file mode 100644 index 019cb1c2..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_quotenik_list.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:23:{i:0;s:4:"acos";i:1;s:9:"addresses";i:2;s:4:"aros";i:3;s:9:"aros_acos";i:4;s:13:"cake_sessions";i:5;s:8:"contacts";i:6;s:9:"countries";i:7;s:10:"currencies";i:8;s:9:"customers";i:9;s:9:"enquiries";i:10;s:6:"groups";i:11;s:12:"job_products";i:12;s:4:"jobs";i:13;s:9:"jobstatus";i:14;s:18:"principle_contacts";i:15;s:10:"principles";i:16;s:15:"product_options";i:17;s:8:"products";i:18;s:14:"quote_products";i:19;s:6:"quotes";i:20;s:6:"states";i:21;s:8:"statuses";i:22;s:5:"users";} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_quotes.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_quotes.svn-base deleted file mode 100644 index 63889993..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_quotes.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:10:{s:7:"created";a:4:{s:4:"type";s:8:"datetime";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:8:"modified";a:4:{s:4:"type";s:8:"datetime";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:10:"enquiry_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:50;}s:8:"revision";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}s:10:"first_page";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:11:"attachments";a:4:{s:4:"type";s:4:"text";s:4:"null";b:0;s:7:"default";N;s:6:"length";N;}s:13:"delivery_time";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:400;}s:13:"payment_terms";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:400;}s:10:"days_valid";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:5;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_states.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_states.svn-base deleted file mode 100644 index f1cab711..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_states.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:4:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:9:"shortform";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:7:"enqform";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:3;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_statuses.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_statuses.svn-base deleted file mode 100644 index 40fd38ea..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_statuses.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:2:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:4:"name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}} diff --git a/tmp/cache/models/.svn/text-base/cake_model_default_users.svn-base b/tmp/cache/models/.svn/text-base/cake_model_default_users.svn-base deleted file mode 100644 index d08bfe52..00000000 --- a/tmp/cache/models/.svn/text-base/cake_model_default_users.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:8:{s:2:"id";a:5:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;s:3:"key";s:7:"primary";}s:8:"username";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:50;}s:8:"password";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:60;}s:10:"first_name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:9:"last_name";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:5:"email";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:9:"job_title";a:4:{s:4:"type";s:6:"string";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:255;}s:8:"group_id";a:4:{s:4:"type";s:7:"integer";s:4:"null";b:0;s:7:"default";N;s:6:"length";i:11;}} diff --git a/tmp/cache/persistent/.svn/entries b/tmp/cache/persistent/.svn/entries deleted file mode 100644 index d4e23738..00000000 --- a/tmp/cache/persistent/.svn/entries +++ /dev/null @@ -1,198 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tmp/cache/persistent -file:///home/karl/svn/quotenik - - - -2009-01-12T00:37:38.932516Z -17 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -cake_core_core_paths -file -18 - - - -2009-01-12T05:08:43.000000Z -37249c93cf29400c1628a909f1a8d340 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -715 - -cake_core_dir_map -file -18 - - - -2009-01-12T05:08:43.000000Z -75573ba9654b28c0cc795922c8649512 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -3950 - -cake_core_file_map -file -18 - - - -2009-01-12T05:08:43.000000Z -35528a8200a30e3575b85f902a4b65e2 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -3622 - -cake_core_default_en_us -file - - - - -2009-01-11T08:58:46.000000Z -b2310ab8d09466cb3a9ba4a37d9b00a1 -2009-01-12T00:37:38.932516Z -17 -karl - - - - - - - - - - - - - - - - - - - - - -114 - -cake_core_object_map -file - - - - -2009-01-12T00:43:15.000000Z -f5b34fd29c23ef4aa3cf0224f59eee9c -2008-12-05T04:15:22.634240Z -10 -karl - - - - - - - - - - - - - - - - - - - - - -18 - diff --git a/tmp/cache/persistent/.svn/format b/tmp/cache/persistent/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tmp/cache/persistent/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tmp/cache/persistent/.svn/text-base/cake_core_core_paths.svn-base b/tmp/cache/persistent/.svn/text-base/cake_core_core_paths.svn-base deleted file mode 100644 index 0915714c..00000000 --- a/tmp/cache/persistent/.svn/text-base/cake_core_core_paths.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:10:{s:4:"libs";a:1:{i:0;s:31:"/var/www/quotenik1.2/cake/libs/";}s:5:"model";a:1:{i:0;s:37:"/var/www/quotenik1.2/cake/libs/model/";}s:8:"behavior";a:1:{i:0;s:47:"/var/www/quotenik1.2/cake/libs/model/behaviors/";}s:10:"controller";a:1:{i:0;s:42:"/var/www/quotenik1.2/cake/libs/controller/";}s:9:"component";a:1:{i:0;s:53:"/var/www/quotenik1.2/cake/libs/controller/components/";}s:4:"view";a:1:{i:0;s:36:"/var/www/quotenik1.2/cake/libs/view/";}s:6:"helper";a:1:{i:0;s:44:"/var/www/quotenik1.2/cake/libs/view/helpers/";}s:4:"cake";a:1:{i:0;s:26:"/var/www/quotenik1.2/cake/";}s:6:"vendor";a:1:{i:0;s:29:"/var/www/quotenik1.2/vendors/";}s:5:"shell";a:1:{i:0;s:39:"/var/www/quotenik1.2/cake/console/libs/";}} diff --git a/tmp/cache/persistent/.svn/text-base/cake_core_default_en_us.svn-base b/tmp/cache/persistent/.svn/text-base/cake_core_default_en_us.svn-base deleted file mode 100644 index 144dbbb3..00000000 --- a/tmp/cache/persistent/.svn/text-base/cake_core_default_en_us.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231664336 -a:1:{s:11:"LC_MESSAGES";a:2:{s:0:"";a:1:{s:7:"default";a:0:{}}s:5:"en-us";a:1:{s:7:"default";a:0:{}}}} diff --git a/tmp/cache/persistent/.svn/text-base/cake_core_dir_map.svn-base b/tmp/cache/persistent/.svn/text-base/cake_core_dir_map.svn-base deleted file mode 100644 index d084bcfc..00000000 --- a/tmp/cache/persistent/.svn/text-base/cake_core_dir_map.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:12:{s:30:"/var/www/quotenik1.2/cake/libs";a:24:{i:0;s:30:"/var/www/quotenik1.2/cake/libs";i:1;s:41:"/var/www/quotenik1.2/cake/libs/controller";i:2;s:52:"/var/www/quotenik1.2/cake/libs/controller/components";i:3;s:36:"/var/www/quotenik1.2/cake/libs/cache";i:4;s:36:"/var/www/quotenik1.2/cake/libs/model";i:5;s:46:"/var/www/quotenik1.2/cake/libs/model/behaviors";i:6;s:48:"/var/www/quotenik1.2/cake/libs/model/datasources";i:7;s:52:"/var/www/quotenik1.2/cake/libs/model/datasources/dbo";i:8;s:35:"/var/www/quotenik1.2/cake/libs/view";i:9;s:42:"/var/www/quotenik1.2/cake/libs/view/errors";i:10;s:41:"/var/www/quotenik1.2/cake/libs/view/pages";i:11;s:44:"/var/www/quotenik1.2/cake/libs/view/elements";i:12;s:50:"/var/www/quotenik1.2/cake/libs/view/elements/email";i:13;s:55:"/var/www/quotenik1.2/cake/libs/view/elements/email/text";i:14;s:55:"/var/www/quotenik1.2/cake/libs/view/elements/email/html";i:15;s:43:"/var/www/quotenik1.2/cake/libs/view/layouts";i:16;s:47:"/var/www/quotenik1.2/cake/libs/view/layouts/xml";i:17;s:46:"/var/www/quotenik1.2/cake/libs/view/layouts/js";i:18;s:49:"/var/www/quotenik1.2/cake/libs/view/layouts/email";i:19;s:54:"/var/www/quotenik1.2/cake/libs/view/layouts/email/text";i:20;s:54:"/var/www/quotenik1.2/cake/libs/view/layouts/email/html";i:21;s:47:"/var/www/quotenik1.2/cake/libs/view/layouts/rss";i:22;s:45:"/var/www/quotenik1.2/cake/libs/view/scaffolds";i:23;s:43:"/var/www/quotenik1.2/cake/libs/view/helpers";}s:36:"/var/www/quotenik1.2/cake/libs/model";a:4:{i:0;s:36:"/var/www/quotenik1.2/cake/libs/model";i:1;s:46:"/var/www/quotenik1.2/cake/libs/model/behaviors";i:2;s:48:"/var/www/quotenik1.2/cake/libs/model/datasources";i:3;s:52:"/var/www/quotenik1.2/cake/libs/model/datasources/dbo";}s:46:"/var/www/quotenik1.2/cake/libs/model/behaviors";a:1:{i:0;s:46:"/var/www/quotenik1.2/cake/libs/model/behaviors";}s:41:"/var/www/quotenik1.2/cake/libs/controller";a:2:{i:0;s:41:"/var/www/quotenik1.2/cake/libs/controller";i:1;s:52:"/var/www/quotenik1.2/cake/libs/controller/components";}s:52:"/var/www/quotenik1.2/cake/libs/controller/components";a:1:{i:0;s:52:"/var/www/quotenik1.2/cake/libs/controller/components";}s:35:"/var/www/quotenik1.2/cake/libs/view";a:16:{i:0;s:35:"/var/www/quotenik1.2/cake/libs/view";i:1;s:42:"/var/www/quotenik1.2/cake/libs/view/errors";i:2;s:41:"/var/www/quotenik1.2/cake/libs/view/pages";i:3;s:44:"/var/www/quotenik1.2/cake/libs/view/elements";i:4;s:50:"/var/www/quotenik1.2/cake/libs/view/elements/email";i:5;s:55:"/var/www/quotenik1.2/cake/libs/view/elements/email/text";i:6;s:55:"/var/www/quotenik1.2/cake/libs/view/elements/email/html";i:7;s:43:"/var/www/quotenik1.2/cake/libs/view/layouts";i:8;s:47:"/var/www/quotenik1.2/cake/libs/view/layouts/xml";i:9;s:46:"/var/www/quotenik1.2/cake/libs/view/layouts/js";i:10;s:49:"/var/www/quotenik1.2/cake/libs/view/layouts/email";i:11;s:54:"/var/www/quotenik1.2/cake/libs/view/layouts/email/text";i:12;s:54:"/var/www/quotenik1.2/cake/libs/view/layouts/email/html";i:13;s:47:"/var/www/quotenik1.2/cake/libs/view/layouts/rss";i:14;s:45:"/var/www/quotenik1.2/cake/libs/view/scaffolds";i:15;s:43:"/var/www/quotenik1.2/cake/libs/view/helpers";}s:43:"/var/www/quotenik1.2/cake/libs/view/helpers";a:1:{i:0;s:43:"/var/www/quotenik1.2/cake/libs/view/helpers";}s:36:"/var/www/quotenik1.2/app/controllers";a:2:{i:0;s:36:"/var/www/quotenik1.2/app/controllers";i:1;s:47:"/var/www/quotenik1.2/app/controllers/components";}s:47:"/var/www/quotenik1.2/app/controllers/components";a:1:{i:0;s:47:"/var/www/quotenik1.2/app/controllers/components";}s:31:"/var/www/quotenik1.2/app/models";a:3:{i:0;s:31:"/var/www/quotenik1.2/app/models";i:1;s:41:"/var/www/quotenik1.2/app/models/behaviors";i:2;s:43:"/var/www/quotenik1.2/app/models/datasources";}s:41:"/var/www/quotenik1.2/app/models/behaviors";a:1:{i:0;s:41:"/var/www/quotenik1.2/app/models/behaviors";}s:38:"/var/www/quotenik1.2/app/views/helpers";a:1:{i:0;s:38:"/var/www/quotenik1.2/app/views/helpers";}} diff --git a/tmp/cache/persistent/.svn/text-base/cake_core_file_map.svn-base b/tmp/cache/persistent/.svn/text-base/cake_core_file_map.svn-base deleted file mode 100644 index 43bf58da..00000000 --- a/tmp/cache/persistent/.svn/text-base/cake_core_file_map.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1231736933 -a:6:{s:4:"Core";a:16:{s:6:"Router";s:41:"/var/www/quotenik1.2/cake/libs/router.php";s:9:"Component";s:55:"/var/www/quotenik1.2/cake/libs/controller/component.php";s:12:"Overloadable";s:47:"/var/www/quotenik1.2/cake/libs/overloadable.php";s:6:"Helper";s:46:"/var/www/quotenik1.2/cake/libs/view/helper.php";s:13:"ClassRegistry";s:49:"/var/www/quotenik1.2/cake/libs/class_registry.php";s:4:"View";s:44:"/var/www/quotenik1.2/cake/libs/view/view.php";s:10:"Controller";s:56:"/var/www/quotenik1.2/cake/libs/controller/controller.php";s:10:"Dispatcher";s:40:"/var/www/quotenik1.2/cake/dispatcher.php";s:8:"Sanitize";s:43:"/var/www/quotenik1.2/cake/libs/sanitize.php";s:17:"ConnectionManager";s:59:"/var/www/quotenik1.2/cake/libs/model/connection_manager.php";s:10:"Validation";s:45:"/var/www/quotenik1.2/cake/libs/validation.php";s:8:"Behavior";s:49:"/var/www/quotenik1.2/cake/libs/model/behavior.php";s:6:"String";s:41:"/var/www/quotenik1.2/cake/libs/string.php";s:5:"Model";s:46:"/var/www/quotenik1.2/cake/libs/model/model.php";s:4:"l10n";s:39:"/var/www/quotenik1.2/cake/libs/l10n.php";s:4:"i18n";s:39:"/var/www/quotenik1.2/cake/libs/i18n.php";}s:10:"Controller";a:2:{s:13:"AppController";s:60:"/var/www/quotenik1.2/cake/libs/controller/app_controller.php";s:19:"EnquiriesController";s:61:"/var/www/quotenik1.2/app/controllers/enquiries_controller.php";}s:9:"Component";a:3:{s:16:"SessionComponent";s:64:"/var/www/quotenik1.2/cake/libs/controller/components/session.php";s:13:"AuthComponent";s:61:"/var/www/quotenik1.2/cake/libs/controller/components/auth.php";s:23:"RequestHandlerComponent";s:72:"/var/www/quotenik1.2/cake/libs/controller/components/request_handler.php";}s:5:"Model";a:16:{s:8:"AppModel";s:50:"/var/www/quotenik1.2/cake/libs/model/app_model.php";s:7:"Enquiry";s:43:"/var/www/quotenik1.2/app/models/enquiry.php";s:4:"User";s:40:"/var/www/quotenik1.2/app/models/user.php";s:5:"Group";s:41:"/var/www/quotenik1.2/app/models/group.php";s:8:"Customer";s:44:"/var/www/quotenik1.2/app/models/customer.php";s:7:"Address";s:43:"/var/www/quotenik1.2/app/models/address.php";s:5:"State";s:41:"/var/www/quotenik1.2/app/models/state.php";s:7:"Country";s:43:"/var/www/quotenik1.2/app/models/country.php";s:8:"Currency";s:44:"/var/www/quotenik1.2/app/models/currency.php";s:9:"Principle";s:45:"/var/www/quotenik1.2/app/models/principle.php";s:7:"Product";s:43:"/var/www/quotenik1.2/app/models/product.php";s:13:"ProductOption";s:50:"/var/www/quotenik1.2/app/models/product_option.php";s:12:"QuoteProduct";s:49:"/var/www/quotenik1.2/app/models/quote_product.php";s:5:"Quote";s:41:"/var/www/quotenik1.2/app/models/quote.php";s:7:"Contact";s:43:"/var/www/quotenik1.2/app/models/contact.php";s:6:"Status";s:42:"/var/www/quotenik1.2/app/models/status.php";}s:8:"Behavior";a:2:{s:11:"AclBehavior";s:54:"/var/www/quotenik1.2/cake/libs/model/behaviors/acl.php";s:12:"TreeBehavior";s:55:"/var/www/quotenik1.2/cake/libs/model/behaviors/tree.php";}s:6:"Helper";a:8:{s:9:"AppHelper";s:58:"/var/www/quotenik1.2/cake/libs/view/helpers/app_helper.php";s:10:"HtmlHelper";s:52:"/var/www/quotenik1.2/cake/libs/view/helpers/html.php";s:10:"FormHelper";s:52:"/var/www/quotenik1.2/cake/libs/view/helpers/form.php";s:16:"JavascriptHelper";s:58:"/var/www/quotenik1.2/cake/libs/view/helpers/javascript.php";s:10:"TimeHelper";s:52:"/var/www/quotenik1.2/cake/libs/view/helpers/time.php";s:10:"AjaxHelper";s:52:"/var/www/quotenik1.2/cake/libs/view/helpers/ajax.php";s:15:"PaginatorHelper";s:57:"/var/www/quotenik1.2/cake/libs/view/helpers/paginator.php";s:13:"SessionHelper";s:55:"/var/www/quotenik1.2/cake/libs/view/helpers/session.php";}} diff --git a/tmp/cache/persistent/.svn/text-base/cake_core_object_map.svn-base b/tmp/cache/persistent/.svn/text-base/cake_core_object_map.svn-base deleted file mode 100644 index 15e6b177..00000000 --- a/tmp/cache/persistent/.svn/text-base/cake_core_object_map.svn-base +++ /dev/null @@ -1,2 +0,0 @@ -1228453819 -a:0:{} diff --git a/tmp/cache/views/.svn/entries b/tmp/cache/views/.svn/entries deleted file mode 100644 index 011cd66e..00000000 --- a/tmp/cache/views/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tmp/cache/views -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/tmp/cache/views/.svn/format b/tmp/cache/views/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tmp/cache/views/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tmp/cache/views/.svn/prop-base/empty.svn-base b/tmp/cache/views/.svn/prop-base/empty.svn-base deleted file mode 100755 index a6697057..00000000 --- a/tmp/cache/views/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tmp/cache/views/.svn/text-base/empty.svn-base b/tmp/cache/views/.svn/text-base/empty.svn-base deleted file mode 100755 index e69de29b..00000000 diff --git a/tmp/logs/.svn/entries b/tmp/logs/.svn/entries deleted file mode 100644 index bf921232..00000000 --- a/tmp/logs/.svn/entries +++ /dev/null @@ -1,109 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tmp/logs -file:///home/karl/svn/quotenik - - - -2009-01-12T00:37:38.932516Z -17 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -debug.log -file - - - - -2009-01-12T00:10:53.000000Z -5b26e74e7b0f01572b570e6e3733235e -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -58502 - -error.log -file - - - - -2009-01-12T00:30:38.000000Z -89c5627a4e8b043a26a35cb498416985 -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -99212 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/tmp/logs/.svn/format b/tmp/logs/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tmp/logs/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tmp/logs/.svn/prop-base/debug.log.svn-base b/tmp/logs/.svn/prop-base/debug.log.svn-base deleted file mode 100755 index a6697057..00000000 --- a/tmp/logs/.svn/prop-base/debug.log.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tmp/logs/.svn/prop-base/empty.svn-base b/tmp/logs/.svn/prop-base/empty.svn-base deleted file mode 100755 index a6697057..00000000 --- a/tmp/logs/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tmp/logs/.svn/prop-base/error.log.svn-base b/tmp/logs/.svn/prop-base/error.log.svn-base deleted file mode 100755 index a6697057..00000000 --- a/tmp/logs/.svn/prop-base/error.log.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tmp/logs/.svn/text-base/debug.log.svn-base b/tmp/logs/.svn/text-base/debug.log.svn-base deleted file mode 100644 index f641590a..00000000 --- a/tmp/logs/.svn/text-base/debug.log.svn-base +++ /dev/null @@ -1,498 +0,0 @@ -2008-10-02 13:47:46 Notice: Notice (1024): Please change the value of 'Security.salt' in app/config/core.php to a salt value specific to your application in [CORE/cake/libs/debugger.php, line 522] -2008-10-02 13:48:17 Notice: Notice (1024): Please change the value of 'Security.salt' in app/config/core.php to a salt value specific to your application in [CORE/cake/libs/debugger.php, line 522] -2008-10-02 19:57:08 Notice: Notice (8): Undefined variable: min in [CORE/cake/libs/validation.php, line 164] -2008-10-02 19:57:08 Notice: Notice (8): Undefined variable: max in [CORE/cake/libs/validation.php, line 164] -2008-10-02 19:57:08 Notice: Notice (8): Undefined variable: max in [CORE/cake/libs/validation.php, line 603] -2008-10-03 01:41:16 Notice: Notice (8): Undefined variable: currencies in [APP/views/countries/add.ctp, line 7] -2008-11-11 23:55:23 Notice: Notice (8): Undefined index: firstpage in [APP/views/enquiries/view.ctp, line 112] -2008-11-11 23:55:23 Notice: Notice (8): Undefined index: deliverytime in [APP/views/enquiries/view.ctp, line 114] -2008-11-11 23:55:23 Notice: Notice (8): Undefined index: paymentterms in [APP/views/enquiries/view.ctp, line 115] -2008-11-11 23:55:23 Notice: Notice (8): Undefined index: daysvalid in [APP/views/enquiries/view.ctp, line 116] -2008-11-11 23:57:04 Notice: Notice (8): Undefined index: first_name in [APP/views/enquiries/index.ctp, line 39] -2008-11-11 23:57:04 Notice: Notice (8): Undefined index: last_name in [APP/views/enquiries/index.ctp, line 39] -2008-11-11 23:57:16 Notice: Notice (8): Undefined index: first_name in [APP/views/enquiries/index.ctp, line 39] -2008-11-11 23:57:16 Notice: Notice (8): Undefined index: last_name in [APP/views/enquiries/index.ctp, line 39] -2008-11-13 17:29:50 Notice: Notice (8): Undefined index: created in [APP/views/enquiries/index.ctp, line 34] -2008-11-14 07:34:42 Notice: Notice (8): Undefined variable: javascript in [APP/views/layouts/default.ctp, line 38] -2008-11-14 08:51:51 Notice: Notice (8): Undefined variable: javascript in [APP/views/layouts/default.ctp, line 38] -2008-11-14 08:54:26 Notice: Notice (8): Undefined variable: javascript in [APP/views/layouts/default.ctp, line 38] -2008-11-14 08:54:28 Notice: Notice (8): Undefined variable: javascript in [APP/views/layouts/default.ctp, line 38] -2008-11-15 17:27:38 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:27:40 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:27:42 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:27:46 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:27:54 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:27:56 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:27:58 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:28:11 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:28:13 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:28:53 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:28:57 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:28:57 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:29:04 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:29:17 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:29:18 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:29:39 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:29:40 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:29:42 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:29:43 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:30:15 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:30:16 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:30:42 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:30:45 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:30:48 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:30:49 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:30:50 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:30:51 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:30:53 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:30:54 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:31:53 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:34:48 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:35:06 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-15 17:35:07 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 144] -2008-11-16 10:34:40 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-11-16 10:34:45 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-11-16 11:29:17 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/update_contacts.ctp, line 12] -2008-11-16 14:46:35 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/update_contacts.ctp, line 12] -2008-11-16 15:12:23 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/update_contacts.ctp, line 12] -2008-11-16 15:12:57 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/update_contacts.ctp, line 12] -2008-11-16 15:13:50 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/update_contacts.ctp, line 13] -2008-11-16 17:23:39 Notice: Notice (8): Undefined variable: customerid in [APP/views/enquiries/update_contacts.ctp, line 11] -2008-11-16 17:25:26 Notice: Notice (8): Undefined variable: customerid in [APP/views/enquiries/update_contacts.ctp, line 11] -2008-11-16 18:03:43 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/update_contacts.ctp, line 12] -2008-11-16 18:04:40 Notice: Notice (8): Undefined variable: customername in [APP/controllers/enquiries_controller.php, line 156] -2008-11-16 18:09:12 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-11-17 21:48:09 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 4] -2008-11-17 22:03:25 Notice: Notice (8): Undefined index: state_id in [APP/controllers/enquiries_controller.php, line 41] -2008-11-17 22:03:25 Notice: Notice (8): Undefined index: principle_id in [APP/controllers/enquiries_controller.php, line 42] -2008-11-17 22:03:25 Notice: Notice (8): Undefined index: in [APP/controllers/enquiries_controller.php, line 65] -2008-11-17 22:03:25 Notice: Notice (8): Undefined index: state_id in [APP/controllers/enquiries_controller.php, line 76] -2008-11-17 22:03:25 Notice: Notice (8): Undefined index: in [APP/controllers/enquiries_controller.php, line 120] -2008-11-17 22:05:01 Notice: Notice (8): Undefined index: finished in [APP/controllers/enquiries_controller.php, line 38] -2008-11-17 22:11:02 Notice: Notice (8): Undefined index: finished in [APP/controllers/enquiries_controller.php, line 38] -2008-11-17 22:14:16 Notice: Notice (8): Undefined index: in [APP/controllers/enquiries_controller.php, line 65] -2008-11-17 22:14:16 Notice: Notice (8): Undefined index: in [APP/controllers/enquiries_controller.php, line 120] -2008-11-19 10:35:05 Notice: Notice (8): Undefined index: finished in [APP/controllers/enquiries_controller.php, line 38] -2008-11-19 12:17:09 Notice: Notice (8): Undefined index: finished in [APP/controllers/enquiries_controller.php, line 38] -2008-11-19 12:18:17 Notice: Notice (8): Undefined index: finished in [APP/controllers/enquiries_controller.php, line 38] -2008-11-19 12:19:07 Notice: Notice (8): Undefined index: finished in [APP/controllers/enquiries_controller.php, line 38] -2008-11-19 12:19:34 Notice: Notice (8): Undefined index: finished in [APP/controllers/enquiries_controller.php, line 38] -2008-11-19 13:32:16 Notice: Notice (8): Undefined index: finished in [APP/controllers/enquiries_controller.php, line 52] -2008-11-19 18:05:50 Notice: Notice (8): Undefined index: finished in [APP/controllers/enquiries_controller.php, line 52] -2008-11-19 18:29:10 Notice: Notice (8): Undefined index: finished in [APP/controllers/enquiries_controller.php, line 54] -2008-11-19 19:01:46 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-11-19 19:32:09 Notice: Notice (8): Undefined index: before in [CORE/cake/libs/view/helpers/form.php, line 727] -2008-11-19 19:32:09 Notice: Notice (8): Undefined index: between in [CORE/cake/libs/view/helpers/form.php, line 728] -2008-11-19 19:32:09 Notice: Notice (8): Undefined index: after in [CORE/cake/libs/view/helpers/form.php, line 729] -2008-11-20 19:20:29 Notice: Notice (8): Undefined index: before in [CORE/cake/libs/view/helpers/form.php, line 727] -2008-11-20 19:20:29 Notice: Notice (8): Undefined index: between in [CORE/cake/libs/view/helpers/form.php, line 728] -2008-11-20 19:20:29 Notice: Notice (8): Undefined index: after in [CORE/cake/libs/view/helpers/form.php, line 729] -2008-11-22 19:46:47 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 28] -2008-11-22 19:49:48 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 28] -2008-11-22 19:49:48 Notice: Notice (8): Undefined variable: Auth in [APP/views/enquiries/add.ctp, line 56] -2008-11-22 19:53:50 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 28] -2008-11-22 19:53:50 Notice: Notice (8): Undefined variable: Auth in [APP/views/enquiries/add.ctp, line 56] -2008-11-22 19:54:14 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 28] -2008-11-22 19:54:14 Notice: Notice (8): Undefined variable: Auth in [APP/views/enquiries/add.ctp, line 56] -2008-11-22 19:56:25 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 28] -2008-11-22 19:56:25 Notice: Notice (8): Undefined variable: Auth in [APP/views/enquiries/add.ctp, line 56] -2008-11-22 19:56:31 Notice: Notice (8): Undefined variable: Auth in [APP/views/enquiries/add.ctp, line 56] -2008-11-22 19:57:34 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 28] -2008-11-22 19:59:23 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 28] -2008-11-23 19:48:06 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 28] -2008-11-23 19:50:04 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 28] -2008-11-23 19:52:26 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 29] -2008-11-23 19:55:24 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 29] -2008-11-23 19:55:35 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 29] -2008-11-23 20:54:57 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-11-23 20:54:57 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-11-23 20:56:59 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 29] -2008-11-23 22:34:40 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-11-23 22:43:16 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-11-23 22:43:44 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-11-23 22:43:54 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-11-23 22:43:54 Notice: Notice (8): Undefined variable: current_user in [APP/views/layouts/default.ctp, line 140] -2008-11-23 22:44:00 Notice: Notice (8): Undefined variable: current_user in [APP/views/layouts/default.ctp, line 140] -2008-11-23 22:44:18 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-11-23 22:44:18 Notice: Notice (8): Undefined variable: currentuser in [APP/views/layouts/default.ctp, line 140] -2008-11-23 22:46:30 Notice: Notice (8): Undefined variable: currentuser in [APP/views/layouts/default.ctp, line 70] -2008-11-24 11:27:34 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-11-24 13:07:01 Notice: Notice (8): Undefined index: id in [APP/controllers/enquiries_controller.php, line 39] -2008-11-24 13:59:04 Notice: Notice (8): Undefined index: id in [APP/controllers/enquiries_controller.php, line 39] -2008-11-24 14:06:58 Notice: Notice (8): Undefined index: id in [APP/controllers/enquiries_controller.php, line 39] -2008-11-24 14:07:09 Notice: Notice (8): Undefined index: id in [APP/controllers/enquiries_controller.php, line 39] -2008-11-24 14:14:13 Notice: Notice (8): Undefined index: id in [APP/controllers/enquiries_controller.php, line 39] -2008-11-24 14:14:32 Notice: Notice (8): Undefined index: id in [APP/controllers/enquiries_controller.php, line 39] -2008-11-25 17:05:19 Notice: Notice (8): Undefined index: before in [CORE/cake/libs/view/helpers/form.php, line 727] -2008-11-25 17:05:19 Notice: Notice (8): Undefined index: between in [CORE/cake/libs/view/helpers/form.php, line 728] -2008-11-25 17:05:20 Notice: Notice (8): Undefined index: after in [CORE/cake/libs/view/helpers/form.php, line 729] -2008-11-25 17:06:21 Notice: Notice (8): Use of undefined constant label - assumed 'label' in [APP/views/addresses/add.ctp, line 6] -2008-11-25 17:13:21 Notice: Notice (8): Undefined property: Address::$State in [APP/controllers/addresses_controller.php, line 30] -2008-11-25 17:13:39 Notice: Notice (8): Undefined property: Contact::$State in [APP/controllers/addresses_controller.php, line 30] -2008-11-26 19:35:51 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 38] -2008-11-26 19:39:28 Notice: Notice (8): Undefined index: step in [APP/controllers/enquiries_controller.php, line 37] -2008-11-26 19:39:28 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 4] -2008-11-26 19:39:28 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 7] -2008-11-26 19:39:28 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 19] -2008-11-26 19:39:28 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 27] -2008-11-26 19:40:16 Notice: Notice (8): Undefined index: step in [APP/controllers/enquiries_controller.php, line 37] -2008-11-26 19:40:16 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 4] -2008-11-26 19:40:16 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 7] -2008-11-26 19:40:16 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 19] -2008-11-26 19:40:16 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 27] -2008-11-26 19:47:18 Notice: Notice (8): Undefined property: EnquiriesController::$Enqiry in [APP/controllers/enquiries_controller.php, line 62] -2008-11-26 19:47:30 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 4] -2008-11-26 19:47:30 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 7] -2008-11-26 19:47:30 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 19] -2008-11-26 19:47:30 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 27] -2008-11-26 19:47:30 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 30] -2008-11-26 19:49:27 Notice: Notice (8): Undefined variable: customer in [APP/controllers/enquiries_controller.php, line 32] -2008-11-26 19:49:27 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 4] -2008-11-26 19:49:27 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 7] -2008-11-26 19:49:27 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 19] -2008-11-26 19:49:27 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 27] -2008-11-26 19:49:27 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 30] -2008-11-26 19:50:26 Notice: Notice (8): Undefined variable: customer in [APP/controllers/enquiries_controller.php, line 32] -2008-11-26 19:50:26 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 66] -2008-11-26 19:52:29 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 65] -2008-11-26 19:53:37 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 65] -2008-11-26 19:54:42 Notice: Notice (8): Undefined index: name in [APP/controllers/enquiries_controller.php, line 65] -2008-11-26 21:45:12 Notice: Notice (8): Undefined variable: time in [APP/views/customers/index.ctp, line 36] -2008-11-26 21:50:29 Notice: Notice (8): Undefined property: Contact::$State in [APP/controllers/addresses_controller.php, line 30] -2008-11-26 21:51:48 Notice: Notice (8): Undefined property: Customer::$State in [APP/controllers/addresses_controller.php, line 30] -2008-11-26 21:53:01 Notice: Notice (8): Undefined property: Customer::$State in [APP/controllers/addresses_controller.php, line 30] -2008-11-26 21:53:10 Notice: Notice (8): Undefined property: Address::$Country in [APP/controllers/addresses_controller.php, line 31] -2008-12-05 13:49:28 Notice: Notice (8): Undefined property: Contact::$Address in [APP/controllers/contacts_controller.php, line 30] -2008-12-05 14:34:42 Notice: Notice (8): Undefined property: Address::$Contact in [APP/controllers/addresses_controller.php, line 32] -2008-12-11 17:59:21 Notice: Notice (8): Undefined index: name in [APP/views/enquiries/view.ctp, line 12] -2008-12-15 12:12:16 Notice: Notice (8): Undefined property: UsersController::$Auth in [APP/controllers/users_controller.php, line 8] -2008-12-15 12:13:07 Notice: Notice (8): Undefined property: UsersController::$Auth in [APP/controllers/users_controller.php, line 8] -2008-12-15 12:23:18 Notice: Notice (8): Undefined variable: javascript in [APP/views/layouts/default.ctp, line 38] -2008-12-15 12:44:04 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-15 12:44:04 Notice: Notice (8): Undefined property: EnquiriesController::$Auth in [APP/controllers/enquiries_controller.php, line 37] -2008-12-15 12:50:28 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-15 12:50:28 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-15 12:50:40 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-15 13:00:07 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-15 13:00:35 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-15 19:17:03 Notice: Notice (8): Undefined index: title in [APP/views/enquiries/edit.ctp, line 4] -2008-12-15 20:09:23 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/edit.ctp, line 8] -2008-12-23 11:48:17 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-12-23 14:32:37 Notice: Notice (8): Undefined index: address1 in [APP/views/customers/view.ctp, line 62] -2008-12-23 14:33:48 Notice: Notice (8): Undefined index: address1 in [APP/views/customers/view.ctp, line 61] -2008-12-23 14:39:26 Notice: Notice (8): Undefined index: User in [APP/views/customers/view.ctp, line 99] -2008-12-23 14:39:26 Notice: Notice (8): Undefined index: User in [APP/views/customers/view.ctp, line 100] -2008-12-23 14:39:26 Notice: Notice (8): Undefined index: User in [APP/views/customers/view.ctp, line 101] -2008-12-23 14:44:16 Notice: Notice (8): Undefined index: User in [APP/views/customers/view.ctp, line 99] -2008-12-23 14:44:16 Notice: Notice (8): Undefined index: User in [APP/views/customers/view.ctp, line 100] -2008-12-23 14:44:16 Notice: Notice (8): Undefined index: User in [APP/views/customers/view.ctp, line 101] -2008-12-23 14:45:34 Notice: Notice (8): Undefined index: User in [APP/views/customers/view.ctp, line 99] -2008-12-23 14:45:34 Notice: Notice (8): Undefined index: User in [APP/views/customers/view.ctp, line 100] -2008-12-23 14:45:34 Notice: Notice (8): Undefined index: User in [APP/views/customers/view.ctp, line 101] -2008-12-23 14:47:21 Notice: Notice (8): Undefined index: comments in [APP/views/customers/view.ctp, line 109] -2008-12-23 14:47:21 Notice: Notice (8): Undefined index: id in [APP/views/customers/view.ctp, line 111] -2008-12-23 14:47:21 Notice: Notice (8): Undefined index: id in [APP/views/customers/view.ctp, line 112] -2008-12-23 14:47:21 Notice: Notice (8): Undefined index: id in [APP/views/customers/view.ctp, line 113] -2008-12-23 14:47:36 Notice: Notice (8): Undefined index: id in [APP/views/customers/view.ctp, line 111] -2008-12-23 14:47:36 Notice: Notice (8): Undefined index: id in [APP/views/customers/view.ctp, line 112] -2008-12-23 14:47:36 Notice: Notice (8): Undefined index: id in [APP/views/customers/view.ctp, line 113] -2008-12-23 14:58:18 Notice: Notice (8): Undefined variable: address in [APP/views/customers/view.ctp, line 54] -2008-12-23 14:58:18 Notice: Notice (8): Undefined variable: address in [APP/views/customers/view.ctp, line 55] -2008-12-23 15:27:06 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-12-23 15:27:09 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-12-23 15:27:09 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-12-23 15:27:09 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-12-23 15:27:09 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-12-23 15:29:58 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-12-23 15:30:01 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-12-23 15:30:02 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-12-23 15:30:02 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-12-23 15:30:02 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-12-23 15:34:40 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-12-23 19:22:10 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-23 19:32:58 Notice: Notice (8): Undefined index: mostrecent in [APP/views/enquiries/view.ctp, line 106] -2008-12-23 19:33:35 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-23 19:36:09 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-23 19:42:48 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-23 19:42:50 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-23 19:43:00 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-23 19:46:27 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-23 19:46:30 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-23 19:46:36 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-23 22:26:32 Notice: Notice (8): Undefined variable: paginator in [APP/views/elements/enquiry_table.ctp, line 2] -2008-12-23 22:28:28 Notice: Notice (8): Undefined variable: paginator in [APP/views/elements/enquiry_table.ctp, line 2] -2008-12-23 22:31:00 Notice: Notice (8): Undefined variable: paginator in [APP/views/elements/enquiry_table.ctp, line 2] -2008-12-23 22:32:09 Notice: Notice (8): Undefined variable: paginator in [APP/views/elements/enquiry_table.ctp, line 2] -2008-12-23 22:32:11 Notice: Notice (8): Undefined variable: paginator in [APP/views/elements/enquiry_table.ctp, line 2] -2008-12-23 22:32:12 Notice: Notice (8): Undefined variable: paginator in [APP/views/elements/enquiry_table.ctp, line 2] -2008-12-23 22:33:17 Notice: Notice (8): Undefined variable: paginator in [APP/views/elements/enquiry_table.ctp, line 2] -2008-12-23 22:35:44 Notice: Notice (8): Undefined index: count in [CORE/cake/libs/view/helpers/paginator.php, line 416] -2008-12-23 22:35:44 Notice: Notice (8): Undefined index: options in [CORE/cake/libs/view/helpers/paginator.php, line 419] -2008-12-23 22:35:44 Notice: Notice (8): Undefined index: count in [CORE/cake/libs/view/helpers/paginator.php, line 420] -2008-12-23 22:35:44 Notice: Notice (8): Undefined index: count in [CORE/cake/libs/view/helpers/paginator.php, line 421] -2008-12-23 22:35:44 Notice: Notice (8): Undefined index: page in [CORE/cake/libs/view/helpers/paginator.php, line 436] -2008-12-23 22:35:44 Notice: Notice (8): Undefined index: current in [CORE/cake/libs/view/helpers/paginator.php, line 438] -2008-12-23 22:35:44 Notice: Notice (8): Undefined index: count in [CORE/cake/libs/view/helpers/paginator.php, line 439] -2008-12-23 22:35:44 Notice: Notice (8): Undefined variable: time in [APP/views/elements/enquiry_table.ctp, line 54] -2008-12-23 22:41:22 Notice: Notice (8): Undefined variable: time in [APP/views/elements/enquiry_table.ctp, line 39] -2008-12-23 23:13:49 Notice: Notice (8): Undefined variable: paginator in [APP/views/elements/enquiry_table.ctp, line 2] -2008-12-24 12:17:38 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-24 12:17:48 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-24 12:17:53 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-24 12:17:59 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-24 12:18:02 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-24 12:20:47 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-24 12:20:47 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-24 12:20:50 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-24 12:20:53 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-24 12:22:08 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-24 12:22:59 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-24 12:23:06 Notice: Notice (8): Only variable references should be returned by reference in [APP/models/user.php, line 62] -2008-12-24 12:33:15 Notice: Notice (8): Undefined index: username in [APP/views/layouts/default.ctp, line 76] -2008-12-24 12:33:15 Notice: Notice (8): Undefined index: id in [APP/views/layouts/default.ctp, line 76] -2008-12-24 12:33:39 Notice: Notice (8): Undefined index: username in [APP/views/layouts/default.ctp, line 76] -2008-12-24 12:33:39 Notice: Notice (8): Undefined index: id in [APP/views/layouts/default.ctp, line 76] -2008-12-24 12:34:05 Notice: Notice (8): Undefined variable: currentuser in [APP/views/layouts/default.ctp, line 152] -2008-12-24 18:15:09 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-12-25 10:22:22 Notice: Notice (8): Undefined index: mostrecent in [APP/views/enquiries/view.ctp, line 106] -2008-12-25 23:40:18 Notice: Notice (8): Undefined variable: paginator in [APP/views/elements/enquiry_table.ctp, line 2] -2008-12-26 13:37:38 Notice: Notice (8): Undefined index: address1 in [APP/views/countries/view.ctp, line 61] -2008-12-26 13:40:37 Notice: Notice (8): Undefined index: unitcostprice in [APP/views/principles/view.ctp, line 94] -2008-12-26 13:40:37 Notice: Notice (8): Undefined index: ourdiscount in [APP/views/principles/view.ctp, line 95] -2008-12-26 13:40:37 Notice: Notice (8): Undefined index: packingeach in [APP/views/principles/view.ctp, line 96] -2008-12-26 13:40:37 Notice: Notice (8): Undefined index: shippingweight_each in [APP/views/principles/view.ctp, line 97] -2008-12-26 13:40:37 Notice: Notice (8): Undefined index: shippingcost_each in [APP/views/principles/view.ctp, line 98] -2008-12-26 13:40:37 Notice: Notice (8): Undefined index: targetgp in [APP/views/principles/view.ctp, line 100] -2008-12-26 19:02:37 Notice: Notice (8): Undefined variable: html in [APP/views/layouts/default.ctp, line 30] -2008-12-26 21:30:15 Notice: Notice (8): Undefined index: first_name in [APP/controllers/contacts_controller.php, line 30] -2008-12-26 21:30:15 Notice: Notice (8): Undefined index: last_name in [APP/controllers/contacts_controller.php, line 30] -2008-12-26 21:37:32 Notice: Notice (8): Undefined index: first_name in [APP/controllers/contacts_controller.php, line 50] -2008-12-26 21:37:32 Notice: Notice (8): Undefined index: last_name in [APP/controllers/contacts_controller.php, line 50] -2008-12-26 21:56:57 Notice: Notice (8): Undefined index: first_name in [APP/controllers/contacts_controller.php, line 30] -2008-12-26 21:56:57 Notice: Notice (8): Undefined index: last_name in [APP/controllers/contacts_controller.php, line 30] -2008-12-27 00:04:54 Notice: Notice (8): Undefined index: customerid in [APP/controllers/contacts_controller.php, line 44] -2008-12-27 00:06:09 Notice: Notice (8): Undefined index: customerid in [APP/controllers/contacts_controller.php, line 44] -2008-12-27 00:11:31 Notice: Notice (8): Undefined index: customerid in [APP/controllers/contacts_controller.php, line 44] -2008-12-27 00:11:44 Notice: Notice (8): Undefined index: customerid in [APP/controllers/contacts_controller.php, line 44] -2008-12-27 00:16:09 Notice: Notice (8): Undefined index: customerid in [APP/controllers/contacts_controller.php, line 44] -2008-12-27 00:18:06 Notice: Notice (8): Undefined index: customerid in [APP/controllers/contacts_controller.php, line 44] -2008-12-28 11:34:02 Notice: Notice (8): Undefined index: address1 in [APP/views/countries/view.ctp, line 61] -2008-12-31 11:27:32 Notice: Notice (8): Undefined index: customerid in [APP/controllers/contacts_controller.php, line 44] -2008-12-31 13:14:21 Notice: Notice (8): Undefined index: mostrecent in [APP/views/enquiries/view.ctp, line 106] -2008-12-31 15:40:43 Notice: Notice (8): Undefined index: revision in [APP/views/enquiries/view.ctp, line 87] -2008-12-31 15:40:43 Notice: Notice (8): Undefined index: created in [APP/views/enquiries/view.ctp, line 88] -2008-12-31 15:40:43 Notice: Notice (8): Undefined index: id in [APP/views/enquiries/view.ctp, line 90] -2008-12-31 15:41:07 Notice: Notice (8): Undefined index: Quote in [APP/views/enquiries/view.ctp, line 80] -2009-01-02 13:24:27 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 30] -2009-01-05 09:37:58 Notice: Notice (8): Undefined index: address1 in [APP/views/countries/view.ctp, line 61] -2009-01-05 10:02:40 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 30] -2009-01-05 10:46:53 Notice: Notice (8): Undefined index: address1 in [APP/views/countries/view.ctp, line 61] -2009-01-05 11:56:35 Notice: Notice (8): Undefined index: address1 in [APP/views/addresses/index.ctp, line 37] -2009-01-05 14:27:48 Notice: Notice (8): Undefined property: Enquiry::$Addresses in [APP/controllers/enquiries_controller.php, line 60] -2009-01-05 14:44:18 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 4] -2009-01-05 14:44:18 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 7] -2009-01-05 14:44:18 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 20] -2009-01-05 14:44:18 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 24] -2009-01-05 14:44:18 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 30] -2009-01-05 14:44:18 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 32] -2009-01-05 14:44:18 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 33] -2009-01-05 14:44:18 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 47] -2009-01-05 14:46:03 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 4] -2009-01-05 14:46:03 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 7] -2009-01-05 14:46:03 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 20] -2009-01-05 14:46:04 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 24] -2009-01-05 14:46:04 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 30] -2009-01-05 14:46:04 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 32] -2009-01-05 14:46:04 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 33] -2009-01-05 14:46:04 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 47] -2009-01-05 14:46:08 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 47] -2009-01-05 14:56:03 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 47] -2009-01-05 15:00:33 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 47] -2009-01-05 15:04:15 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 47] -2009-01-05 15:23:19 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 39] -2009-01-05 15:23:19 Notice: Notice (8): Undefined variable: radioOptions in [CORE/cake/libs/view/helpers/form.php, line 741] -2009-01-05 15:23:19 Notice: Notice (8): Undefined variable: shipping_addresses in [APP/views/enquiries/add.ctp, line 40] -2009-01-05 15:23:19 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 51] -2009-01-05 15:24:10 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 50] -2009-01-05 15:30:09 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 50] -2009-01-05 15:31:19 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 50] -2009-01-05 15:35:14 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 50] -2009-01-05 15:35:54 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 4] -2009-01-05 15:35:54 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 7] -2009-01-05 15:35:54 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 20] -2009-01-05 15:35:54 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 29] -2009-01-05 15:35:54 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 31] -2009-01-05 15:35:54 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 32] -2009-01-05 15:35:54 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 34] -2009-01-05 15:35:54 Notice: Notice (8): Undefined variable: radioOptions in [CORE/cake/libs/view/helpers/form.php, line 741] -2009-01-05 15:35:54 Notice: Notice (8): Undefined variable: shipping_addresses in [APP/views/enquiries/add.ctp, line 35] -2009-01-05 15:35:54 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 50] -2009-01-05 15:37:19 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 50] -2009-01-05 15:40:22 Notice: Notice (8): Undefined property: Enquiry::$Address in [APP/controllers/enquiries_controller.php, line 222] -2009-01-05 15:46:58 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 50] -2009-01-05 16:02:17 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 50] -2009-01-05 16:20:48 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 50] -2009-01-05 16:27:34 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 50] -2009-01-05 16:29:17 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 50] -2009-01-05 16:31:58 Notice: Notice (8): Undefined property: Enquiry::$Address in [APP/controllers/enquiries_controller.php, line 222] -2009-01-05 16:37:46 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 50] -2009-01-05 16:40:04 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 50] -2009-01-05 17:09:25 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 50] -2009-01-06 09:31:43 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 4] -2009-01-06 09:31:43 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 7] -2009-01-06 09:31:43 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 20] -2009-01-06 09:31:43 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 29] -2009-01-06 09:31:43 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 31] -2009-01-06 09:31:43 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 32] -2009-01-06 09:31:43 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 34] -2009-01-06 09:31:43 Notice: Notice (8): Undefined variable: radioOptions in [CORE/cake/libs/view/helpers/form.php, line 741] -2009-01-06 09:31:43 Notice: Notice (8): Undefined variable: shipping_addresses in [APP/views/enquiries/add.ctp, line 35] -2009-01-06 10:58:03 Notice: Notice (8): Undefined variable: customer_addresses in [APP/views/enquiries/add.ctp, line 47] -2009-01-06 11:08:01 Notice: Notice (8): Undefined offset: 0 in [APP/views/enquiries/add.ctp, line 49] -2009-01-06 11:08:01 Notice: Notice (8): Undefined offset: 1 in [APP/views/enquiries/add.ctp, line 49] -2009-01-06 11:08:01 Notice: Notice (8): Undefined offset: 2 in [APP/views/enquiries/add.ctp, line 49] -2009-01-06 11:08:01 Notice: Notice (8): Undefined offset: 3 in [APP/views/enquiries/add.ctp, line 49] -2009-01-06 11:13:20 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 66] -2009-01-06 11:13:20 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 66] -2009-01-06 11:16:43 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 66] -2009-01-06 11:16:43 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 66] -2009-01-06 11:21:25 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:21:25 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:21:54 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:21:54 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:22:20 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:22:20 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:23:19 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:23:19 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:23:23 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:23:23 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:23:31 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:23:31 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:24:17 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:24:17 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:27:58 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:27:58 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:30:14 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:30:14 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:30:26 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:30:26 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:30:37 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:30:37 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:31:43 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:31:43 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:32:13 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:32:13 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:32:25 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:32:25 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:32:34 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:32:34 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:33:24 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:33:24 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:33:42 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:33:42 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:34:24 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:34:24 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 67] -2009-01-06 11:40:30 Notice: Notice (8): Undefined index: id in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:40:30 Notice: Notice (8): Undefined variable: i in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:40:30 Notice: Notice (8): Undefined index: in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:41:19 Notice: Notice (8): Undefined index: id in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:41:19 Notice: Notice (8): Undefined index: Country in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:41:19 Notice: Notice (8): Undefined index: in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:41:47 Notice: Notice (8): Undefined index: id in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:41:47 Notice: Notice (8): Undefined variable: addresses in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:41:47 Notice: Notice (8): Undefined index: in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:41:59 Notice: Notice (8): Undefined index: id in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:41:59 Notice: Notice (8): Undefined index: in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:42:09 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:42:09 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:45:05 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:45:05 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:48:33 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:48:33 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:50:55 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 47] -2009-01-06 11:50:55 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 48] -2009-01-06 11:50:55 Notice: Notice (8): Undefined variable: billing_addresses_list in [APP/views/enquiries/add.ctp, line 51] -2009-01-06 11:51:47 Notice: Notice (8): Undefined variable: billing_address_list in [APP/controllers/enquiries_controller.php, line 70] -2009-01-06 11:53:53 Notice: Notice (8): Undefined index: 4 in [APP/controllers/enquiries_controller.php, line 71] -2009-01-06 11:53:53 Notice: Notice (8): Undefined index: 5 in [APP/controllers/enquiries_controller.php, line 71] -2009-01-06 11:57:14 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 47] -2009-01-06 11:57:14 Notice: Notice (8): Undefined variable: billing_addresses in [APP/views/enquiries/add.ctp, line 48] -2009-01-06 11:57:14 Notice: Notice (8): Undefined variable: billing_addresses_list in [APP/views/enquiries/add.ctp, line 51] -2009-01-06 12:02:43 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 4] -2009-01-06 12:02:44 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 7] -2009-01-06 12:02:44 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 19] -2009-01-06 12:02:44 Notice: Notice (8): Undefined variable: customer in [APP/views/enquiries/add.ctp, line 28] -2009-01-06 12:02:44 Notice: Notice (8): Undefined variable: user_id in [APP/views/enquiries/add.ctp, line 30] -2009-01-06 12:02:44 Notice: Notice (8): Undefined variable: step in [APP/views/enquiries/add.ctp, line 31] -2009-01-06 12:02:44 Notice: Notice (8): Undefined variable: billing_addresses_list in [APP/views/enquiries/add.ctp, line 32] -2009-01-06 12:02:44 Notice: Notice (8): Undefined variable: radioOptions in [CORE/cake/libs/view/helpers/form.php, line 741] -2009-01-06 12:02:44 Notice: Notice (8): Undefined variable: shipping_addresses_list in [APP/views/enquiries/add.ctp, line 33] -2009-01-06 12:03:38 Notice: Notice (8): Undefined index: 0 in [APP/controllers/enquiries_controller.php, line 122] -2009-01-06 12:03:38 Notice: Notice (8): Undefined index: 0 in [APP/controllers/enquiries_controller.php, line 177] -2009-01-06 12:04:32 Notice: Notice (8): Undefined index: 0 in [APP/controllers/enquiries_controller.php, line 122] -2009-01-06 12:04:32 Notice: Notice (8): Undefined index: 0 in [APP/controllers/enquiries_controller.php, line 177] -2009-01-06 15:44:20 Notice: Notice (8): Undefined index: address in [APP/views/elements/address_table.ctp, line 21] -2009-01-06 15:44:20 Notice: Notice (8): Undefined index: city in [APP/views/elements/address_table.ctp, line 22] -2009-01-06 15:44:20 Notice: Notice (8): Undefined index: state_id in [APP/views/elements/address_table.ctp, line 23] -2009-01-06 15:44:20 Notice: Notice (8): Undefined index: country_id in [APP/views/elements/address_table.ctp, line 24] -2009-01-06 15:44:20 Notice: Notice (8): Undefined index: customer_id in [APP/views/elements/address_table.ctp, line 25] -2009-01-06 15:44:20 Notice: Notice (8): Undefined index: type in [APP/views/elements/address_table.ctp, line 26] -2009-01-06 15:44:20 Notice: Notice (8): Undefined index: id in [APP/views/elements/address_table.ctp, line 28] -2009-01-06 15:44:20 Notice: Notice (8): Undefined index: id in [APP/views/elements/address_table.ctp, line 29] -2009-01-06 15:44:20 Notice: Notice (8): Undefined index: id in [APP/views/elements/address_table.ctp, line 30] -2009-01-06 15:45:07 Notice: Notice (8): Undefined index: Address in [APP/views/customers/view.ctp, line 73] -2009-01-06 15:45:25 Notice: Notice (8): Undefined index: address in [APP/views/elements/address_table.ctp, line 21] -2009-01-06 15:45:25 Notice: Notice (8): Undefined index: city in [APP/views/elements/address_table.ctp, line 22] -2009-01-06 15:45:25 Notice: Notice (8): Undefined index: state_id in [APP/views/elements/address_table.ctp, line 23] -2009-01-06 15:45:25 Notice: Notice (8): Undefined index: country_id in [APP/views/elements/address_table.ctp, line 24] -2009-01-06 15:45:25 Notice: Notice (8): Undefined index: customer_id in [APP/views/elements/address_table.ctp, line 25] -2009-01-06 15:45:25 Notice: Notice (8): Undefined index: type in [APP/views/elements/address_table.ctp, line 26] -2009-01-06 15:45:25 Notice: Notice (8): Undefined index: id in [APP/views/elements/address_table.ctp, line 28] -2009-01-06 15:45:25 Notice: Notice (8): Undefined index: id in [APP/views/elements/address_table.ctp, line 29] -2009-01-06 15:45:25 Notice: Notice (8): Undefined index: id in [APP/views/elements/address_table.ctp, line 30] -2009-01-06 15:46:10 Notice: Notice (8): Undefined index: Address in [APP/views/elements/address_table.ctp, line 14] -2009-01-06 15:46:43 Notice: Notice (8): Undefined index: address in [APP/views/elements/address_table.ctp, line 21] -2009-01-06 15:46:43 Notice: Notice (8): Undefined index: city in [APP/views/elements/address_table.ctp, line 22] -2009-01-06 15:46:43 Notice: Notice (8): Undefined index: state_id in [APP/views/elements/address_table.ctp, line 23] -2009-01-06 15:46:43 Notice: Notice (8): Undefined index: country_id in [APP/views/elements/address_table.ctp, line 24] -2009-01-06 15:46:43 Notice: Notice (8): Undefined index: customer_id in [APP/views/elements/address_table.ctp, line 25] -2009-01-06 15:46:43 Notice: Notice (8): Undefined index: type in [APP/views/elements/address_table.ctp, line 26] -2009-01-06 15:46:43 Notice: Notice (8): Undefined index: id in [APP/views/elements/address_table.ctp, line 28] -2009-01-06 15:46:43 Notice: Notice (8): Undefined index: id in [APP/views/elements/address_table.ctp, line 29] -2009-01-06 15:46:43 Notice: Notice (8): Undefined index: id in [APP/views/elements/address_table.ctp, line 30] -2009-01-06 15:47:38 Notice: Notice (8): Undefined index: city in [APP/views/elements/address_table.ctp, line 22] -2009-01-06 15:47:38 Notice: Notice (8): Undefined index: state_id in [APP/views/elements/address_table.ctp, line 23] -2009-01-06 15:47:38 Notice: Notice (8): Undefined index: country_id in [APP/views/elements/address_table.ctp, line 24] -2009-01-06 15:47:38 Notice: Notice (8): Undefined index: customer_id in [APP/views/elements/address_table.ctp, line 25] -2009-01-06 15:47:38 Notice: Notice (8): Undefined index: type in [APP/views/elements/address_table.ctp, line 26] -2009-01-06 15:47:38 Notice: Notice (8): Undefined index: id in [APP/views/elements/address_table.ctp, line 28] -2009-01-06 15:47:38 Notice: Notice (8): Undefined index: id in [APP/views/elements/address_table.ctp, line 29] -2009-01-06 15:47:38 Notice: Notice (8): Undefined index: id in [APP/views/elements/address_table.ctp, line 30] -2009-01-07 14:41:47 Notice: Notice (8): Undefined variable: javascript in [APP/views/layouts/default.ctp, line 38] -2009-01-09 12:35:40 Notice: Notice (8): Undefined index: parent_id in [APP/views/groups/index.ctp, line 32] -2009-01-09 14:52:46 Notice: Notice (8): Undefined property: UsersController::$Acl in [APP/controllers/users_controller.php, line 89] -2009-01-10 14:43:28 Notice: Notice (8): Undefined index: unitcostprice in [APP/views/principles/view.ctp, line 94] -2009-01-10 14:43:28 Notice: Notice (8): Undefined index: ourdiscount in [APP/views/principles/view.ctp, line 95] -2009-01-10 14:43:28 Notice: Notice (8): Undefined index: packingeach in [APP/views/principles/view.ctp, line 96] -2009-01-10 14:43:28 Notice: Notice (8): Undefined index: shippingweight_each in [APP/views/principles/view.ctp, line 97] -2009-01-10 14:43:28 Notice: Notice (8): Undefined index: shippingcost_each in [APP/views/principles/view.ctp, line 98] -2009-01-10 14:43:28 Notice: Notice (8): Undefined index: targetgp in [APP/views/principles/view.ctp, line 100] -2009-01-10 14:43:28 Notice: Notice (8): Undefined index: unitcostprice in [APP/views/principles/view.ctp, line 94] -2009-01-10 14:43:28 Notice: Notice (8): Undefined index: ourdiscount in [APP/views/principles/view.ctp, line 95] -2009-01-10 14:43:28 Notice: Notice (8): Undefined index: packingeach in [APP/views/principles/view.ctp, line 96] -2009-01-10 14:43:28 Notice: Notice (8): Undefined index: shippingweight_each in [APP/views/principles/view.ctp, line 97] -2009-01-10 14:43:28 Notice: Notice (8): Undefined index: shippingcost_each in [APP/views/principles/view.ctp, line 98] -2009-01-10 14:43:28 Notice: Notice (8): Undefined index: targetgp in [APP/views/principles/view.ctp, line 100] -2009-01-10 14:50:44 Notice: Notice (8): Undefined property: QuoteProduct::$Principle in [APP/controllers/quote_products_controller.php, line 30] -2009-01-12 09:43:19 Notice: Notice (8): Undefined variable: billing_address_list in [APP/controllers/enquiries_controller.php, line 74] -2009-01-12 09:43:19 Notice: Notice (8): Undefined variable: billing_address_list in [APP/controllers/enquiries_controller.php, line 76] -2009-01-12 09:43:19 Notice: Notice (8): Undefined variable: radioOptions in [CORE/cake/libs/view/helpers/form.php, line 765] -2009-01-12 11:07:16 Notice: Notice (8): Undefined variable: billing_address_list in [APP/controllers/enquiries_controller.php, line 74] -2009-01-12 11:07:16 Notice: Notice (8): Undefined variable: billing_address_list in [APP/controllers/enquiries_controller.php, line 76] -2009-01-12 11:07:16 Notice: Notice (8): Undefined variable: radioOptions in [CORE/cake/libs/view/helpers/form.php, line 765] -2009-01-12 11:09:17 Notice: Notice (8): Undefined variable: billing_address_list in [APP/controllers/enquiries_controller.php, line 74] -2009-01-12 11:09:17 Notice: Notice (8): Undefined variable: billing_address_list in [APP/controllers/enquiries_controller.php, line 75] -2009-01-12 11:09:17 Notice: Notice (8): Undefined variable: radioOptions in [CORE/cake/libs/view/helpers/form.php, line 765] -2009-01-12 11:10:53 Notice: Notice (8): Undefined variable: billing_addresses_list in [APP/views/enquiries/add.ctp, line 32] -2009-01-12 11:10:53 Notice: Notice (8): Undefined variable: radioOptions in [CORE/cake/libs/view/helpers/form.php, line 765] -2009-01-12 11:10:53 Notice: Notice (8): Undefined variable: shipping_addresses_list in [APP/views/enquiries/add.ctp, line 33] diff --git a/tmp/logs/.svn/text-base/empty.svn-base b/tmp/logs/.svn/text-base/empty.svn-base deleted file mode 100755 index e69de29b..00000000 diff --git a/tmp/logs/.svn/text-base/error.log.svn-base b/tmp/logs/.svn/text-base/error.log.svn-base deleted file mode 100644 index e869074f..00000000 --- a/tmp/logs/.svn/text-base/error.log.svn-base +++ /dev/null @@ -1,448 +0,0 @@ -2008-10-02 14:22:17 Warning: Warning (512): in [CORE/cake/libs/session.php, line 455] -2008-10-02 19:57:08 Warning: Warning (2): Missing argument 2 for Validation::between(), called in /var/www/quotenik1.2/cake/libs/object.php on line 116 and defined in [CORE/cake/libs/validation.php, line 161] -2008-10-02 19:57:08 Warning: Warning (2): Missing argument 3 for Validation::between(), called in /var/www/quotenik1.2/cake/libs/object.php on line 116 and defined in [CORE/cake/libs/validation.php, line 161] -2008-10-02 19:57:08 Warning: Warning (2): Missing argument 2 for Validation::maxLength(), called in /var/www/quotenik1.2/cake/libs/object.php on line 116 and defined in [CORE/cake/libs/validation.php, line 601] -2008-10-02 19:58:41 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-10-02 19:58:51 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-10-02 20:05:04 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-10-02 20:05:09 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-10-02 20:05:42 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-10-03 00:30:03 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:03 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:03 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:03 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:03 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:03 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:03 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:03 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:23 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:23 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:23 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:23 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:25 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:25 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:25 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:25 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:25 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:25 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:25 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:25 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:30 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:30 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:30 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:30 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:32 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:32 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:32 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:30:32 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:31:10 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:31:10 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:31:10 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:31:10 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:31:10 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:31:10 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:31:10 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:31:10 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:35:47 Warning: Warning (512): SQL Error: 1054: Unknown column 'Currency.country_id' in 'on clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 512] -2008-10-03 00:35:47 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/countries/index.ctp, line 18] -2008-10-03 00:35:47 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:35:47 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:35:47 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:35:47 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:35:47 Warning: Warning (512): SQL Error: 1054: Unknown column 'Currency.country_id' in 'on clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 512] -2008-10-03 00:35:47 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/countries/index.ctp, line 18] -2008-10-03 00:35:47 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:35:47 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:35:47 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:35:47 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:37:18 Warning: Warning (512): SQL Error: 1054: Unknown column 'Country.country_id' in 'on clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 512] -2008-10-03 00:37:18 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/countries/index.ctp, line 18] -2008-10-03 00:37:18 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:37:18 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:37:18 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:37:18 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:07 Warning: Warning (512): SQL Error: 1054: Unknown column 'Country.country_id' in 'on clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 512] -2008-10-03 00:38:07 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/countries/index.ctp, line 18] -2008-10-03 00:38:07 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:07 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:07 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:07 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:08 Warning: Warning (512): SQL Error: 1054: Unknown column 'Country.country_id' in 'on clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 512] -2008-10-03 00:38:08 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/countries/index.ctp, line 18] -2008-10-03 00:38:08 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:08 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:08 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:08 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:09 Warning: Warning (512): SQL Error: 1054: Unknown column 'Country.country_id' in 'on clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 512] -2008-10-03 00:38:09 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/countries/index.ctp, line 18] -2008-10-03 00:38:09 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:09 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:09 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:09 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:21 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:21 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:21 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:21 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:24 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:24 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:24 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:24 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:30 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:30 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:30 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:30 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:46 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:46 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:46 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:46 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:59 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:59 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:59 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:38:59 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:39:31 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:39:31 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:39:31 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:39:31 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:39:32 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:39:32 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:39:32 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:39:32 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:40:31 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:40:31 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:40:31 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:40:31 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:01 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:01 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:01 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:01 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:05 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:05 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:05 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:05 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:05 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:05 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:05 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:05 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:17 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:17 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:17 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:17 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:46 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:46 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:46 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:46 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:47 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:47 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:47 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:41:47 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:37 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:37 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:37 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:37 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:39 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:39 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:39 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:39 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:43 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:43 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:43 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:43 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:45 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:45 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:45 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:42:45 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:13 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:13 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:13 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:13 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:15 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:15 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:15 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:15 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:22 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:22 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:22 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:22 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:22 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:22 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:23 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:23 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:33 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:33 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:33 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:33 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:43 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:43 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:43 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:43:43 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:44:06 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:44:06 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:44:06 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:44:06 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:44:11 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:44:11 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:44:11 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:44:11 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:44:14 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:44:14 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:44:14 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:44:14 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:13 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:13 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:13 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:13 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:22 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:22 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:22 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:22 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:24 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:24 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:24 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:24 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:33 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:33 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:33 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:33 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:33 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:33 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:33 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:33 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:56 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:56 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:56 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:47:56 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:35 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:35 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:35 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:35 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:37 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:37 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:37 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:37 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:38 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:38 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:38 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:38 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:59 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:59 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:59 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:48:59 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:49:00 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:49:00 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:49:00 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:49:00 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:49:01 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:49:01 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:49:01 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:49:01 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:49:03 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_object_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:49:03 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_dir_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:49:03 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_file_map) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-10-03 00:49:03 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/persistent/cake_core_default_en_us) [function.fopen]: failed to open stream: Permission denied in [CORE/cake/libs/file.php, line 146] -2008-11-12 00:09:47 Warning: Warning (512): SQL Error: 1052: Column 'id' in order clause is ambiguous in [CORE/cake/libs/model/datasources/dbo_source.php, line 512] -2008-11-12 00:09:47 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/enquiries/index.ctp, line 25] -2008-11-15 17:31:53 Warning: Warning (2): unlink(/var/www/quotenik1.2/app/tmp/cache/models/cake_model_default_statuses) [function.unlink]: No such file or directory in [CORE/cake/libs/file.php, line 278] -2008-11-16 11:17:16 Warning: Warning (2): fopen(/var/www/quotenik1.2/app/tmp/cache/models/cake_model_default_countries) [function.fopen]: failed to open stream: No such file or directory in [CORE/cake/libs/file.php, line 146] -2008-11-16 11:17:16 Warning: Warning (2): unlink(/var/www/quotenik1.2/app/tmp/cache/models/cake_model_default_statuses) [function.unlink]: No such file or directory in [CORE/cake/libs/file.php, line 278] -2008-11-16 11:17:16 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 577] -2008-11-16 11:17:27 Warning: Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'generateList' at line 1 in [CORE/cake/libs/model/datasources/dbo_source.php, line 512] -2008-11-17 22:03:25 Warning: Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 in [CORE/cake/libs/model/datasources/dbo_source.php, line 512] -2008-11-17 22:03:25 Warning: Warning (512): SQL Error: 1048: Column 'principle_code' cannot be null in [CORE/cake/libs/model/datasources/dbo_source.php, line 512] -2008-11-17 22:14:16 Warning: Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 in [CORE/cake/libs/model/datasources/dbo_source.php, line 512] -2008-11-17 22:14:16 Warning: Warning (512): SQL Error: 1048: Column 'principle_code' cannot be null in [CORE/cake/libs/model/datasources/dbo_source.php, line 512] -2008-11-19 13:32:16 Warning: Warning (512): SQL Error: 1054: Unknown column 'Enquiry.customer_id' in 'where clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 512] -2008-11-19 16:29:52 Warning: Warning (512): SQL Error: 1054: Unknown column 'Enquiry.customer_id' in 'where clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 512] -2008-11-19 19:32:09 Warning: Warning (2): array_merge() [function.array-merge]: Argument #2 is not an array in [CORE/cake/libs/view/helpers/form.php, line 555] -2008-11-20 19:20:29 Warning: Warning (2): array_merge() [function.array-merge]: Argument #2 is not an array in [CORE/cake/libs/view/helpers/form.php, line 555] -2008-11-23 20:54:24 Warning: Warning (2): unlink(/var/www/quotenik1.2/app/tmp/cache/models/cake_model_default_statuses) [function.unlink]: No such file or directory in [CORE/cake/libs/file.php, line 278] -2008-11-23 20:54:24 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 577] -2008-11-23 20:54:57 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-11-23 20:54:57 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-11-23 22:34:40 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-11-23 22:43:16 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-11-23 22:43:44 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-11-23 22:43:54 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-11-23 22:44:18 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-11-24 13:07:01 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 577] -2008-11-24 13:59:04 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 577] -2008-11-24 14:06:58 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 577] -2008-11-24 14:07:09 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 577] -2008-11-24 14:14:13 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 577] -2008-11-24 14:14:32 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 577] -2008-11-25 17:05:19 Warning: Warning (2): array_merge() [function.array-merge]: Argument #2 is not an array in [CORE/cake/libs/view/helpers/form.php, line 555] -2008-11-26 19:35:51 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 577] -2008-11-26 23:57:52 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-11-27 00:00:40 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-11-27 00:13:15 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-11-27 00:14:29 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-11-27 00:16:18 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-11-27 00:16:34 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-11-27 00:35:29 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-11-27 00:37:03 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-11-27 00:39:13 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-11-27 00:39:24 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-11-27 00:55:07 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-11-27 00:55:07 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 577] -2008-11-27 00:57:19 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-05 12:43:00 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-05 14:52:04 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-05 14:52:15 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-05 15:10:19 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-05 15:15:57 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-05 15:15:57 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 577] -2008-12-05 15:16:45 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-05 15:16:45 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 577] -2008-12-05 15:17:15 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-05 15:17:43 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-05 15:20:17 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-05 16:12:29 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-05 16:31:30 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-05 16:34:08 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-05 16:38:37 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-05 16:42:26 Warning: Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in [CORE/cake/libs/model/model.php, line 2202] -2008-12-11 12:06:31 Warning: Warning (512): Method JavascriptHelper::lnik does not exist in [CORE/cake/libs/view/helper.php, line 148] -2008-12-15 12:44:04 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-15 12:50:28 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-15 12:50:28 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-15 12:50:40 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-15 13:00:07 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-15 13:00:35 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-23 11:47:14 Warning: Warning (512): SQL Error: 1048: Column 'target_gp' cannot be null in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-23 19:22:10 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-23 19:33:35 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-23 19:36:09 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-23 19:42:48 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-23 19:42:50 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-23 19:43:00 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-23 19:46:27 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-23 19:46:30 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-23 19:46:36 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-23 22:35:44 Warning: Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array in [CORE/cake/libs/view/helpers/paginator.php, line 140] -2008-12-23 22:35:44 Warning: Warning (2): array_merge() [function.array-merge]: Argument #2 is not an array in [CORE/cake/libs/view/helpers/paginator.php, line 140] -2008-12-23 22:35:44 Warning: Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array in [CORE/cake/libs/view/helpers/paginator.php, line 278] -2008-12-23 22:35:44 Warning: Warning (2): array_merge() [function.array-merge]: Argument #2 is not an array in [CORE/cake/libs/view/helpers/paginator.php, line 278] -2008-12-23 22:50:28 Warning: Warning (512): SQL Error: 1048: Column 'days_valid' cannot be null in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-24 12:17:38 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-24 12:17:38 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-24 12:17:48 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-24 12:17:48 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-24 12:17:53 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-24 12:17:53 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-24 12:17:59 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-24 12:17:59 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-24 12:18:02 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-24 12:20:47 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-24 12:20:47 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-24 12:20:50 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-24 12:20:53 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-24 12:22:08 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-24 12:22:08 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-24 12:22:59 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-24 12:23:06 Warning: Warning (512): User not set. in [APP/models/user.php, line 61] -2008-12-24 12:23:06 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-24 15:16:50 Warning: Warning (512): SQL Error: 1054: Unknown column 'Contacts.customer_id' in 'order clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-24 15:16:50 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/contacts/index.ctp, line 24] -2008-12-24 15:16:51 Warning: Warning (512): SQL Error: 1054: Unknown column 'Contacts.customer_id' in 'order clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-24 15:16:51 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/contacts/index.ctp, line 24] -2008-12-24 15:17:07 Warning: Warning (512): SQL Error: 1054: Unknown column 'Enquiry.id' in 'order clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-24 15:17:07 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/contacts/index.ctp, line 24] -2008-12-24 15:17:53 Warning: Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.`id` asc LIMIT 100' at line 1 in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-24 15:17:53 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/contacts/index.ctp, line 24] -2008-12-24 15:27:36 Warning: Warning (512): SQL Error: 1054: Unknown column 'Enquiry.id' in 'order clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-24 15:27:36 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/contacts/index.ctp, line 24] -2008-12-24 15:27:36 Warning: Warning (512): SQL Error: 1054: Unknown column 'Enquiry.id' in 'order clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-24 15:27:36 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/contacts/index.ctp, line 24] -2008-12-24 15:27:52 Warning: Warning (512): SQL Error: 1054: Unknown column 'Enquiry.id' in 'order clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-24 15:27:52 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/customers/index.ctp, line 19] -2008-12-24 15:27:52 Warning: Warning (512): SQL Error: 1054: Unknown column 'Enquiry.id' in 'order clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-24 15:27:52 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/customers/index.ctp, line 19] -2008-12-24 15:30:31 Warning: Warning (512): SQL Error: 1054: Unknown column 'Enquiry.id' in 'order clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-24 15:30:31 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/customers/index.ctp, line 19] -2008-12-24 15:30:33 Warning: Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`order` `Contact`.`customer_id` asc, `Enquiry` `order` `Enquiry`.`id` asc' at line 1 in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-24 15:30:33 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/contacts/index.ctp, line 24] -2008-12-24 15:30:35 Warning: Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`order` `Contact`.`customer_id` asc, `Enquiry` `order` `Enquiry`.`id` asc' at line 1 in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-24 15:30:35 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/contacts/index.ctp, line 24] -2008-12-24 18:07:12 Warning: Warning (512): SQL Error: 1054: Unknown column 'Enquiry.id' in 'order clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-24 18:07:12 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/customers/index.ctp, line 19] -2008-12-24 18:08:05 Warning: Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`order` `Customer`.`name` asc, `Enquiry` `order` `Enquiry`.`id` asc LIMI' at line 1 in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-24 18:08:05 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/customers/index.ctp, line 19] -2008-12-25 23:40:18 Warning: Warning (512): SQL Error: 1054: Unknown column 'Enquiry' in 'where clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-25 23:40:18 Warning: Warning (2): array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in [CORE/cake/libs/view/view.php, line 338] -2008-12-25 23:40:18 Warning: Warning (2): array_merge() [function.array-merge]: Argument #2 is not an array in [CORE/cake/libs/view/view.php, line 339] -2008-12-25 23:40:18 Warning: Warning (2): extract() [function.extract]: First argument should be an array in [CORE/cake/libs/view/view.php, line 650] -2008-12-26 21:30:15 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-26 21:37:32 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-27 00:11:31 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-27 00:18:06 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-30 20:38:17 Warning: Warning (512): SQL Error: 1048: Column 'days_valid' cannot be null in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-31 11:27:32 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-31 13:11:44 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:587) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-31 13:12:34 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:587) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-31 13:14:51 Warning: Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-31 13:14:51 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-31 13:15:23 Warning: Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2008-12-31 13:15:23 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-31 13:28:50 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:587) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-31 13:34:58 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:587) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-31 13:35:00 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:587) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-31 13:35:28 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:587) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-31 13:35:50 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:587) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-31 13:35:59 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:587) in [CORE/cake/libs/controller/controller.php, line 587] -2008-12-31 15:41:07 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/enquiries/view.ctp, line 80] -2009-01-05 14:28:12 Warning: Warning (512): SQL Error: 1054: Unknown column 'Address.customer_id' in 'where clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2009-01-05 14:38:42 Warning: Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array in [CORE/cake/libs/view/helpers/form.php, line 1141] -2009-01-05 14:40:33 Warning: Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array in [CORE/cake/libs/view/helpers/form.php, line 1141] -2009-01-05 14:44:18 Warning: Warning (512): SQL Error: 1048: Column 'shipping_address_id' cannot be null in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2009-01-05 14:46:03 Warning: Warning (512): SQL Error: 1048: Column 'shipping_address_id' cannot be null in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2009-01-05 15:23:19 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/view/helpers/form.php, line 873] -2009-01-05 15:35:54 Warning: Warning (512): SQL Error: 1048: Column 'billing_address_id' cannot be null in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2009-01-05 15:35:54 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/view/helpers/form.php, line 873] -2009-01-06 09:31:43 Warning: Warning (512): SQL Error: 1048: Column 'billing_address_id' cannot be null in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2009-01-06 09:31:43 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/view/helpers/form.php, line 873] -2009-01-06 10:25:39 Warning: Warning (512): SQL Error: 1054: Unknown column 'BillingAddress.nameBillingAddress' in 'field list' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2009-01-06 10:46:14 Warning: Warning (512): SQL Error: 1054: Unknown column 'ShippingAddress.customer_id' in 'where clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2009-01-06 10:46:40 Warning: Warning (512): SQL Error: 1054: Unknown column 'ShippingAddress.customer_id' in 'where clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2009-01-06 10:46:45 Warning: Warning (512): SQL Error: 1054: Unknown column 'ShippingAddress.customer_id' in 'where clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2009-01-06 10:46:57 Warning: Warning (512): SQL Error: 1054: Unknown column 'ShippingAddress.customer_id' in 'where clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2009-01-06 10:47:12 Warning: Warning (512): SQL Error: 1054: Unknown column 'ShippingAddress.customer_id' in 'where clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2009-01-06 10:47:12 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/view/helpers/form.php, line 873] -2009-01-06 10:50:08 Warning: Warning (512): SQL Error: 1054: Unknown column 'ShippingAddress.customer_id' in 'where clause' in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2009-01-06 12:02:43 Warning: Warning (512): SQL Error: 1048: Column 'billing_address_id' cannot be null in [CORE/cake/libs/model/datasources/dbo_source.php, line 521] -2009-01-06 12:02:44 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/view/helpers/form.php, line 873] -2009-01-06 12:03:38 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2009-01-06 12:04:32 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 587] -2009-01-06 15:45:07 Warning: Warning (2): array_merge_recursive() [function.array-merge-recursive]: Argument #1 is not an array in [CORE/cake/libs/view/view.php, line 338] -2009-01-06 15:45:07 Warning: Warning (2): array_merge() [function.array-merge]: Argument #2 is not an array in [CORE/cake/libs/view/view.php, line 339] -2009-01-06 15:45:07 Warning: Warning (2): extract() [function.extract]: First argument should be an array in [CORE/cake/libs/view/view.php, line 650] -2009-01-06 15:46:10 Warning: Warning (2): Invalid argument supplied for foreach() in [APP/views/elements/address_table.ctp, line 14] -2009-01-09 13:33:55 Warning: Warning (512): AclNode::node() - Couldn't find Aro node identified by "Array -( - [Aro0.model] => User - [Aro0.foreign_key] => 6 -) -" in [CORE/cake/libs/model/db_acl.php, line 191] -2009-01-09 13:33:55 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 615] -2009-01-09 14:53:10 Warning: Warning (512): DbAcl::allow() - Invalid node in [CORE/cake/libs/controller/components/acl.php, line 325] -2009-01-09 14:53:10 Warning: Warning (512): DbAcl::allow() - Invalid node in [CORE/cake/libs/controller/components/acl.php, line 325] -2009-01-10 14:43:27 Warning: Warning (512): SQL Error: 1054: Unknown column 'QuoteProduct.principle_id' in 'field list' in [CORE/cake/libs/model/datasources/dbo_source.php, line 514] -2009-01-10 14:43:27 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/model/datasources/dbo_source.php, line 904] -2009-01-10 14:43:28 Warning: Warning (512): SQL Error: 1054: Unknown column 'QuoteProduct.principle_id' in 'field list' in [CORE/cake/libs/model/datasources/dbo_source.php, line 514] -2009-01-10 14:43:28 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/model/datasources/dbo_source.php, line 904] -2009-01-10 14:47:21 Warning: Warning (512): SQL Error: 1054: Unknown column 'QuoteProduct.principle_id' in 'field list' in [CORE/cake/libs/model/datasources/dbo_source.php, line 514] -2009-01-10 14:47:21 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/model/datasources/dbo_source.php, line 904] -2009-01-10 14:47:22 Warning: Warning (512): SQL Error: 1054: Unknown column 'QuoteProduct.principle_id' in 'field list' in [CORE/cake/libs/model/datasources/dbo_source.php, line 514] -2009-01-10 14:47:22 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/model/datasources/dbo_source.php, line 904] -2009-01-10 14:49:05 Warning: Warning (512): SQL Error: 1054: Unknown column 'QuoteProduct.principle_id' in 'field list' in [CORE/cake/libs/model/datasources/dbo_source.php, line 514] -2009-01-10 14:49:05 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/model/datasources/dbo_source.php, line 904] -2009-01-10 14:49:22 Warning: Warning (512): SQL Error: 1054: Unknown column 'QuoteProduct.principle_id' in 'field list' in [CORE/cake/libs/model/datasources/dbo_source.php, line 514] -2009-01-10 14:49:22 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/model/datasources/dbo_source.php, line 904] -2009-01-10 14:50:32 Warning: Warning (512): SQL Error: 1054: Unknown column 'QuoteProduct.principle_id' in 'field list' in [CORE/cake/libs/model/datasources/dbo_source.php, line 514] -2009-01-10 14:50:32 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/model/datasources/dbo_source.php, line 904] -2009-01-10 14:50:32 Warning: Warning (512): SQL Error: 1054: Unknown column 'QuoteProduct.principle_id' in 'field list' in [CORE/cake/libs/model/datasources/dbo_source.php, line 514] -2009-01-10 14:50:32 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/model/datasources/dbo_source.php, line 904] -2009-01-12 09:43:20 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/view/helpers/form.php, line 897] -2009-01-12 11:07:16 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/view/helpers/form.php, line 897] -2009-01-12 11:09:17 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/view/helpers/form.php, line 897] -2009-01-12 11:10:53 Warning: Warning (2): Invalid argument supplied for foreach() in [CORE/cake/libs/view/helpers/form.php, line 897] -2009-01-12 11:30:38 Warning: Warning (512): SQL Error: 1048: Column 'abn' cannot be null in [CORE/cake/libs/model/datasources/dbo_source.php, line 514] -2009-01-12 11:30:38 Warning: Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/quotenik1.2/cake/basics.php:111) in [CORE/cake/libs/controller/controller.php, line 615] diff --git a/tmp/sessions/.svn/entries b/tmp/sessions/.svn/entries deleted file mode 100644 index a4ab0e43..00000000 --- a/tmp/sessions/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tmp/sessions -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/tmp/sessions/.svn/format b/tmp/sessions/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tmp/sessions/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tmp/sessions/.svn/prop-base/empty.svn-base b/tmp/sessions/.svn/prop-base/empty.svn-base deleted file mode 100755 index a6697057..00000000 --- a/tmp/sessions/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tmp/sessions/.svn/text-base/empty.svn-base b/tmp/sessions/.svn/text-base/empty.svn-base deleted file mode 100755 index e69de29b..00000000 diff --git a/tmp/tests/.svn/entries b/tmp/tests/.svn/entries deleted file mode 100644 index 98fe6ec9..00000000 --- a/tmp/tests/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/tmp/tests -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:44.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/tmp/tests/.svn/format b/tmp/tests/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/tmp/tests/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/tmp/tests/.svn/prop-base/empty.svn-base b/tmp/tests/.svn/prop-base/empty.svn-base deleted file mode 100755 index a6697057..00000000 --- a/tmp/tests/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/tmp/tests/.svn/text-base/empty.svn-base b/tmp/tests/.svn/text-base/empty.svn-base deleted file mode 100755 index e69de29b..00000000 diff --git a/vendors/.svn/entries b/vendors/.svn/entries deleted file mode 100644 index b02b0707..00000000 --- a/vendors/.svn/entries +++ /dev/null @@ -1,31 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/vendors -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -shells -dir - diff --git a/vendors/.svn/format b/vendors/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/vendors/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/vendors/shells/.svn/entries b/vendors/shells/.svn/entries deleted file mode 100644 index 1de05f34..00000000 --- a/vendors/shells/.svn/entries +++ /dev/null @@ -1,34 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/vendors/shells -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -tasks -dir - -templates -dir - diff --git a/vendors/shells/.svn/format b/vendors/shells/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/vendors/shells/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/vendors/shells/tasks/.svn/entries b/vendors/shells/tasks/.svn/entries deleted file mode 100644 index 8c3c0b53..00000000 --- a/vendors/shells/tasks/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/vendors/shells/tasks -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/vendors/shells/tasks/.svn/format b/vendors/shells/tasks/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/vendors/shells/tasks/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/vendors/shells/tasks/.svn/prop-base/empty.svn-base b/vendors/shells/tasks/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/vendors/shells/tasks/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/vendors/shells/tasks/.svn/text-base/empty.svn-base b/vendors/shells/tasks/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/vendors/shells/templates/.svn/entries b/vendors/shells/templates/.svn/entries deleted file mode 100644 index 5776f7ed..00000000 --- a/vendors/shells/templates/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/vendors/shells/templates -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/vendors/shells/templates/.svn/format b/vendors/shells/templates/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/vendors/shells/templates/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/vendors/shells/templates/.svn/prop-base/empty.svn-base b/vendors/shells/templates/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/vendors/shells/templates/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/vendors/shells/templates/.svn/text-base/empty.svn-base b/vendors/shells/templates/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/views/.svn/entries b/views/.svn/entries deleted file mode 100644 index 457bffee..00000000 --- a/views/.svn/entries +++ /dev/null @@ -1,91 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views -file:///home/karl/svn/quotenik - - - -2009-01-12T00:37:38.932516Z -17 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -groups -dir - -quote_products -dir - -quotes -dir - -customers -dir - -product_options -dir - -pages -dir - -layouts -dir - -users -dir - -helpers -dir - -currencies -dir - -states -dir - -products -dir - -scaffolds -dir - -enquiries -dir - -principles -dir - -statuses -dir - -countries -dir - -errors -dir - -elements -dir - -addresses -dir - -contacts -dir - diff --git a/views/.svn/format b/views/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/addresses/.svn/entries b/views/addresses/.svn/entries deleted file mode 100644 index 542b6c54..00000000 --- a/views/addresses/.svn/entries +++ /dev/null @@ -1,164 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/addresses -file:///home/karl/svn/quotenik - - - -2009-01-07T01:19:11.314653Z -14 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -view.ctp -file - - - - -2009-01-05T00:57:36.000000Z -a34b72c99fa8405d382771e7c5c61eae -2009-01-05T03:21:30.261073Z -12 -karl -has-props - - - - - - - - - - - - - - - - - - - - -3096 - -edit.ctp -file - - - - -2009-01-06T05:28:03.000000Z -76e56550b2360740ef49313961168f2d -2009-01-07T01:19:11.314653Z -14 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1458 - -index.ctp -file - - - - -2009-01-05T00:57:35.000000Z -7212bcf5b61eb428651c018b122f516f -2009-01-05T03:21:30.261073Z -12 -karl -has-props - - - - - - - - - - - - - - - - - - - - -3250 - -add.ctp -file - - - - -2009-01-06T05:13:51.000000Z -65c862dab627826055fdf46e797de3b0 -2009-01-07T01:19:11.314653Z -14 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1959 - diff --git a/views/addresses/.svn/format b/views/addresses/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/addresses/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/addresses/.svn/prop-base/add.ctp.svn-base b/views/addresses/.svn/prop-base/add.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/addresses/.svn/prop-base/add.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/addresses/.svn/prop-base/edit.ctp.svn-base b/views/addresses/.svn/prop-base/edit.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/addresses/.svn/prop-base/edit.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/addresses/.svn/prop-base/index.ctp.svn-base b/views/addresses/.svn/prop-base/index.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/addresses/.svn/prop-base/index.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/addresses/.svn/prop-base/view.ctp.svn-base b/views/addresses/.svn/prop-base/view.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/addresses/.svn/prop-base/view.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/addresses/.svn/text-base/add.ctp.svn-base b/views/addresses/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index aee252a6..00000000 --- a/views/addresses/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,28 +0,0 @@ -
-create('Address', array('action' => 'add/customerid:'.$customer['Customer']['id']));?> -
- - input('name', array('label' => 'Name', 'title' => 'A short name for the Address. Eg. \'Head Quarters\' or \'Manufacturing Plant\' ')); - echo $form->input('address', array('label' => 'Address', 'title' => 'The Address to be added')); - echo $form->input('city', array('label' => 'City', 'title' => 'Name of the City/Suburb for this Address')); - echo $form->input('state_id'); - echo $form->input('postcode', array('label' => 'Post Code', 'title' => 'The Post Code for this Address. Eg. 2015 for Alexandria')); - echo $form->input('country_id'); - echo $form->input('type', array('label' => 'Address Type (Billing,Shipping or Both)', 'options' => array('Billing','Shipping', 'Both Shipping and Billing'))); - echo $form->input('customer_id', array('type' => 'hidden', 'value'=>$customer['Customer']['id'])); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List Addresses', true), array('action'=>'index'));?>
  • -
  • link(__('List Customers', true), array('controller'=> 'customers', 'action'=>'index')); ?>
  • -
  • link(__('New Customer', true), array('controller'=> 'customers', 'action'=>'add')); ?>
  • -
  • link(__('List States', true), array('controller'=> 'states', 'action'=>'index')); ?>
  • -
  • link(__('New State', true), array('controller'=> 'states', 'action'=>'add')); ?>
  • -
  • link(__('List Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?>
  • -
  • link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/addresses/.svn/text-base/edit.ctp.svn-base b/views/addresses/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index 6ce2ee1b..00000000 --- a/views/addresses/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,29 +0,0 @@ -
-create('Address');?> -
- - input('id'); - echo $form->input('name'); - echo $form->input('address'); - echo $form->input('city'); - echo $form->input('state_id'); - echo $form->input('country_id'); - echo $form->input('customer_id'); - echo $form->input('type', array('label' => 'Address Type (Billing,Shipping or Both)', 'options' => array('Billing','Shipping', 'Both Shipping and Billing'))); - ?> -
-end('Submit');?> -
-
-
    - -
  • link(__('List Addresses', true), array('action'=>'index'));?>
  • -
  • link(__('List Customers', true), array('controller'=> 'customers', 'action'=>'index')); ?>
  • -
  • link(__('New Customer', true), array('controller'=> 'customers', 'action'=>'add')); ?>
  • -
  • link(__('List States', true), array('controller'=> 'states', 'action'=>'index')); ?>
  • -
  • link(__('New State', true), array('controller'=> 'states', 'action'=>'add')); ?>
  • -
  • link(__('List Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?>
  • -
  • link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/addresses/.svn/text-base/index.ctp.svn-base b/views/addresses/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index 5c5c5db3..00000000 --- a/views/addresses/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,78 +0,0 @@ -
-

-

-counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>

- - - - - - - - - - - - - - > - - - - - - - - - - - -
sort('id');?>sort('name');?>sort('address');?>sort('city');?>sort('state_id');?>sort('country_id');?>sort('customer_id');?>sort('type');?>
- - - - - - - - - link($address['State']['name'], array('controller'=> 'states', 'action'=>'view', $address['State']['id'])); ?> - - link($address['Country']['name'], array('controller'=> 'countries', 'action'=>'view', $address['Country']['id'])); ?> - - link($address['Customer']['name'], array('controller'=> 'customers', 'action'=>'view', $address['Customer']['id'])); ?> - - - - link(__('View', true), array('action'=>'view', $address['Address']['id'])); ?> - link(__('Edit', true), array('action'=>'edit', $address['Address']['id'])); ?> - link(__('Delete', true), array('action'=>'delete', $address['Address']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $address['Address']['id'])); ?> -
-
-
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
-
-
    -
  • link(__('New Address', true), array('action'=>'add')); ?>
  • -
  • link(__('List Customers', true), array('controller'=> 'customers', 'action'=>'index')); ?>
  • -
  • link(__('New Customer', true), array('controller'=> 'customers', 'action'=>'add')); ?>
  • -
  • link(__('List States', true), array('controller'=> 'states', 'action'=>'index')); ?>
  • -
  • link(__('New State', true), array('controller'=> 'states', 'action'=>'add')); ?>
  • -
  • link(__('List Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?>
  • -
  • link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/addresses/.svn/text-base/view.ctp.svn-base b/views/addresses/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index 31e500e2..00000000 --- a/views/addresses/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,59 +0,0 @@ -
-

-
- > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - link($address['State']['name'], array('controller'=> 'states', 'action'=>'view', $address['State']['id'])); ?> -   - - > - > - link($address['Country']['name'], array('controller'=> 'countries', 'action'=>'view', $address['Country']['id'])); ?> -   - - > - > - link($address['Customer']['name'], array('controller'=> 'customers', 'action'=>'view', $address['Customer']['id'])); ?> -   - - > - > - -   - -
-
-
-
    -
  • link(__('Edit Address', true), array('action'=>'edit', $address['Address']['id'])); ?>
  • -
  • link(__('Delete Address', true), array('action'=>'delete', $address['Address']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $address['Address']['id'])); ?>
  • -
  • link(__('List Addresses', true), array('action'=>'index')); ?>
  • -
  • link(__('New Address', true), array('action'=>'add')); ?>
  • -
  • link(__('List Customers', true), array('controller'=> 'customers', 'action'=>'index')); ?>
  • -
  • link(__('New Customer', true), array('controller'=> 'customers', 'action'=>'add')); ?>
  • -
  • link(__('List States', true), array('controller'=> 'states', 'action'=>'index')); ?>
  • -
  • link(__('New State', true), array('controller'=> 'states', 'action'=>'add')); ?>
  • -
  • link(__('List Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?>
  • -
  • link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/contacts/.svn/entries b/views/contacts/.svn/entries deleted file mode 100644 index f792b110..00000000 --- a/views/contacts/.svn/entries +++ /dev/null @@ -1,198 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/contacts -file:///home/karl/svn/quotenik - - - -2009-01-05T03:21:30.261073Z -12 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -view.ctp -file - - - - -2008-12-24T04:38:01.000000Z -9d0f0a4654804d5669e1b24b7d14478a -2009-01-05T03:21:30.261073Z -12 -karl -has-props - - - - - - - - - - - - - - - - - - - - -2703 - -add_to_customer.ctp -file -18 - - - -2008-12-31T00:25:06.000000Z -0f6d3e5f4825b17b2bc1d00a7e7c8c94 -2009-01-12T05:57:25.596672Z -18 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1329 - -edit.ctp -file - - - - -2008-12-31T01:01:26.000000Z -2ce891c05e7b7e7dce2c829f9d4d384f -2009-01-05T03:21:30.261073Z -12 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1257 - -index.ctp -file - - - - -2008-12-31T01:04:29.000000Z -0765c1352e6d66acba80d3768bcca2b0 -2009-01-05T03:21:30.261073Z -12 -karl -has-props - - - - - - - - - - - - - - - - - - - - -2822 - -add.ctp -file - - - - -2008-12-05T02:49:18.000000Z -2dc6bf3b4d8dcfce9701ffd9f5765d6c -2008-12-05T04:15:22.634240Z -10 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1051 - diff --git a/views/contacts/.svn/format b/views/contacts/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/contacts/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/contacts/.svn/prop-base/add.ctp.svn-base b/views/contacts/.svn/prop-base/add.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/contacts/.svn/prop-base/add.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/contacts/.svn/prop-base/add_to_customer.ctp.svn-base b/views/contacts/.svn/prop-base/add_to_customer.ctp.svn-base deleted file mode 100644 index 869ac71c..00000000 --- a/views/contacts/.svn/prop-base/add_to_customer.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff --git a/views/contacts/.svn/prop-base/edit.ctp.svn-base b/views/contacts/.svn/prop-base/edit.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/contacts/.svn/prop-base/edit.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/contacts/.svn/prop-base/index.ctp.svn-base b/views/contacts/.svn/prop-base/index.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/contacts/.svn/prop-base/index.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/contacts/.svn/prop-base/view.ctp.svn-base b/views/contacts/.svn/prop-base/view.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/contacts/.svn/prop-base/view.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/contacts/.svn/text-base/add.ctp.svn-base b/views/contacts/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index 01b885b2..00000000 --- a/views/contacts/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,26 +0,0 @@ -
-create('Contact');?> -
- - input('customer_id'); - echo $form->input('name'); - echo $form->input('first_name'); - echo $form->input('last_name'); - echo $form->input('email'); - echo $form->input('phone'); - echo $form->input('fax'); - echo $form->input('notes'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List Contacts', true), array('action'=>'index'));?>
  • -
  • link(__('List Customers', true), array('controller'=> 'customers', 'action'=>'index')); ?>
  • -
  • link(__('New Customer', true), array('controller'=> 'customers', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/contacts/.svn/text-base/add_to_customer.ctp.svn-base b/views/contacts/.svn/text-base/add_to_customer.ctp.svn-base deleted file mode 100644 index 64b768bd..00000000 --- a/views/contacts/.svn/text-base/add_to_customer.ctp.svn-base +++ /dev/null @@ -1,25 +0,0 @@ -
-create('Contact', array('action'=>'add_to_customer/customerid:'.$customer['Customer']['id']));?> -
- - hidden('customer_id', array('value' => $customer['Customer']['id'])); - echo $form->input('first_name', array('label' => 'First Name', 'title'=>'The first name of this Contact')); - echo $form->input('last_name', array('label' => 'Last Name', 'title'=>'The last name of this Contact')); - echo $form->input('email'); - echo $form->input('phone'); - echo $form->input('fax'); - echo $form->input('notes'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List Contacts', true), array('action'=>'index'));?>
  • -
  • link(__('List Customers', true), array('controller'=> 'customers', 'action'=>'index')); ?>
  • -
  • link(__('New Customer', true), array('controller'=> 'customers', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/contacts/.svn/text-base/edit.ctp.svn-base b/views/contacts/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index 505af77b..00000000 --- a/views/contacts/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,27 +0,0 @@ -
-create('Contact');?> -
- - input('customer_id'); - echo $form->input('id'); - echo $form->input('first_name'); - echo $form->input('last_name'); - echo $form->input('email'); - echo $form->input('phone'); - echo $form->input('fax'); - echo $form->input('notes'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('Delete', true), array('action'=>'delete', $form->value('Contact.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Contact.id'))); ?>
  • -
  • link(__('List Contacts', true), array('action'=>'index'));?>
  • -
  • link(__('List Customers', true), array('controller'=> 'customers', 'action'=>'index')); ?>
  • -
  • link(__('New Customer', true), array('controller'=> 'customers', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/contacts/.svn/text-base/index.ctp.svn-base b/views/contacts/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index 484771f5..00000000 --- a/views/contacts/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,80 +0,0 @@ -
-

-

-counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>

- - - - - - - - - - - - - - - > - - - - - - - - - - - - -
sort('customer_id');?>sort('id');?>sort('name');?>sort('first_name');?>sort('last_name');?>sort('email');?>sort('phone');?>sort('fax');?>sort('notes');?>
- link($contact['Customer']['name'], array('controller'=> 'customers', 'action'=>'view', $contact['Customer']['id'])); ?> - - - - - - - - - - link($contact['Contact']['email'], 'mailto:'.$contact['Contact']['email']); ?> - - - - - - - - link(__('View', true), array('action'=>'view', $contact['Contact']['id'])); ?> - link(__('Edit', true), array('action'=>'edit', $contact['Contact']['id'])); ?> - -
-
-
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
-
-
    -
  • link(__('New Contact', true), array('action'=>'add')); ?>
  • -
  • link(__('List Customers', true), array('controller'=> 'customers', 'action'=>'index')); ?>
  • -
  • link(__('New Customer', true), array('controller'=> 'customers', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/contacts/.svn/text-base/view.ctp.svn-base b/views/contacts/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index 52ca502a..00000000 --- a/views/contacts/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,73 +0,0 @@ -
-

-
- > - > - link($contact['Customer']['name'], array('controller'=> 'customers', 'action'=>'view', $contact['Customer']['id'])); ?> -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - -
-
-
-
    -
  • link(__('Edit Contact', true), array('action'=>'edit', $contact['Contact']['id'])); ?>
  • -
  • link(__('New Contact', true), array('action'=>'add')); ?>
  • -
  • link(__('List Customers', true), array('controller'=> 'customers', 'action'=>'index')); ?>
  • -
-
- diff --git a/views/countries/.svn/entries b/views/countries/.svn/entries deleted file mode 100644 index 1c87dab2..00000000 --- a/views/countries/.svn/entries +++ /dev/null @@ -1,80 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/countries -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -view.ctp -file - - - - -2008-11-13T00:42:45.000000Z -fa64b185bdd42af9da0f72b67e0f0c0d -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -edit.ctp -file - - - - -2008-11-13T00:42:45.000000Z -26d15b9e3cfab9a8a963645deeb7c039 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -index.ctp -file - - - - -2008-11-13T00:42:45.000000Z -86577207b6d5588f387f431751b8fee1 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -add.ctp -file - - - - -2008-11-13T00:42:45.000000Z -df29b13435b8fd81ff23060f4f550be6 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/views/countries/.svn/format b/views/countries/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/countries/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/countries/.svn/prop-base/add.ctp.svn-base b/views/countries/.svn/prop-base/add.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/countries/.svn/prop-base/add.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/countries/.svn/prop-base/edit.ctp.svn-base b/views/countries/.svn/prop-base/edit.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/countries/.svn/prop-base/edit.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/countries/.svn/prop-base/index.ctp.svn-base b/views/countries/.svn/prop-base/index.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/countries/.svn/prop-base/index.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/countries/.svn/prop-base/view.ctp.svn-base b/views/countries/.svn/prop-base/view.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/countries/.svn/prop-base/view.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/countries/.svn/text-base/add.ctp.svn-base b/views/countries/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index 8e2b9a94..00000000 --- a/views/countries/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,25 +0,0 @@ -
-create('Country');?> -
- - input('name'); - echo $form->label('Currency'); - echo $form->select('currency_id', $currencies); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List Countries', true), array('action'=>'index'));?>
  • -
  • link(__('List Currencies', true), array('controller'=> 'currencies', 'action'=>'index')); ?>
  • -
  • link(__('New Currency', true), array('controller'=> 'currencies', 'action'=>'add')); ?>
  • -
  • link(__('List Addresses', true), array('controller'=> 'addresses', 'action'=>'index')); ?>
  • -
  • link(__('New Address', true), array('controller'=> 'addresses', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
-
diff --git a/views/countries/.svn/text-base/edit.ctp.svn-base b/views/countries/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index 82bac69d..00000000 --- a/views/countries/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,26 +0,0 @@ -
-create('Country');?> -
- - input('id'); - echo $form->input('name'); - echo $form->input('currency_id'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('Delete', true), array('action'=>'delete', $form->value('Country.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Country.id'))); ?>
  • -
  • link(__('List Countries', true), array('action'=>'index'));?>
  • -
  • link(__('List Currencies', true), array('controller'=> 'currencies', 'action'=>'index')); ?>
  • -
  • link(__('New Currency', true), array('controller'=> 'currencies', 'action'=>'add')); ?>
  • -
  • link(__('List Addresses', true), array('controller'=> 'addresses', 'action'=>'index')); ?>
  • -
  • link(__('New Address', true), array('controller'=> 'addresses', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
-
diff --git a/views/countries/.svn/text-base/index.ctp.svn-base b/views/countries/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index 7727a859..00000000 --- a/views/countries/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,60 +0,0 @@ -
-

-

-counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>

- - - - - - - - - > - - - - - - -
sort('id');?>sort('name');?>sort('currency_id');?>
- - - - - link($country['Currency']['name'], array('controller'=> 'currencies', 'action'=>'view', $country['Currency']['id'])); ?> - - link(__('View', true), array('action'=>'view', $country['Country']['id'])); ?> - link(__('Edit', true), array('action'=>'edit', $country['Country']['id'])); ?> - link(__('Delete', true), array('action'=>'delete', $country['Country']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $country['Country']['id'])); ?> -
-
-
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
-
-
    -
  • link(__('New Country', true), array('action'=>'add')); ?>
  • -
  • link(__('List Currencies', true), array('controller'=> 'currencies', 'action'=>'index')); ?>
  • -
  • link(__('New Currency', true), array('controller'=> 'currencies', 'action'=>'add')); ?>
  • -
  • link(__('List Addresses', true), array('controller'=> 'addresses', 'action'=>'index')); ?>
  • -
  • link(__('New Address', true), array('controller'=> 'addresses', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
-
diff --git a/views/countries/.svn/text-base/view.ctp.svn-base b/views/countries/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index dbb4004f..00000000 --- a/views/countries/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,182 +0,0 @@ -
-

-
- > - > - -   - - > - > - -   - - > - > - link($country['Currency']['name'], array('controller'=> 'currencies', 'action'=>'view', $country['Currency']['id'])); ?> -   - -
-
-
-
    -
  • link(__('Edit Country', true), array('action'=>'edit', $country['Country']['id'])); ?>
  • -
  • link(__('Delete Country', true), array('action'=>'delete', $country['Country']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $country['Country']['id'])); ?>
  • -
  • link(__('List Countries', true), array('action'=>'index')); ?>
  • -
  • link(__('New Country', true), array('action'=>'add')); ?>
  • -
  • link(__('List Currencies', true), array('controller'=> 'currencies', 'action'=>'index')); ?>
  • -
  • link(__('New Currency', true), array('controller'=> 'currencies', 'action'=>'add')); ?>
  • -
  • link(__('List Addresses', true), array('controller'=> 'addresses', 'action'=>'index')); ?>
  • -
  • link(__('New Address', true), array('controller'=> 'addresses', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
-
- - - diff --git a/views/currencies/.svn/entries b/views/currencies/.svn/entries deleted file mode 100644 index c5ada623..00000000 --- a/views/currencies/.svn/entries +++ /dev/null @@ -1,80 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/currencies -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -view.ctp -file - - - - -2008-11-13T00:42:45.000000Z -1ee3ae7b284bd4bf844e1c11b6e96f7d -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -edit.ctp -file - - - - -2008-11-13T00:42:45.000000Z -6f8b4336963f742170e4e0e4ac4a394f -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -index.ctp -file - - - - -2008-11-13T00:42:45.000000Z -ae62a0e589c5e0a1706e83163272eda2 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -add.ctp -file - - - - -2008-11-13T00:42:45.000000Z -9c2344a6b8e2e59b2b5d09968b7b1ff8 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/views/currencies/.svn/format b/views/currencies/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/currencies/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/currencies/.svn/prop-base/add.ctp.svn-base b/views/currencies/.svn/prop-base/add.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/currencies/.svn/prop-base/add.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/currencies/.svn/prop-base/edit.ctp.svn-base b/views/currencies/.svn/prop-base/edit.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/currencies/.svn/prop-base/edit.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/currencies/.svn/prop-base/index.ctp.svn-base b/views/currencies/.svn/prop-base/index.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/currencies/.svn/prop-base/index.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/currencies/.svn/prop-base/view.ctp.svn-base b/views/currencies/.svn/prop-base/view.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/currencies/.svn/prop-base/view.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/currencies/.svn/text-base/add.ctp.svn-base b/views/currencies/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index b85974a8..00000000 --- a/views/currencies/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,23 +0,0 @@ -
-create('Currency');?> -
- - input('name'); - echo $form->input('symbol'); - echo $form->input('iso4217'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List Currencies', true), array('action'=>'index'));?>
  • -
  • link(__('List Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?>
  • -
  • link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
  • link(__('List Quoted Products', true), array('controller'=> 'quoted_products', 'action'=>'index')); ?>
  • -
  • link(__('New Quoted Product', true), array('controller'=> 'quoted_products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/currencies/.svn/text-base/edit.ctp.svn-base b/views/currencies/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index 9e302211..00000000 --- a/views/currencies/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,25 +0,0 @@ -
-create('Currency');?> -
- - input('id'); - echo $form->input('name'); - echo $form->input('symbol'); - echo $form->input('iso4217'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('Delete', true), array('action'=>'delete', $form->value('Currency.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Currency.id'))); ?>
  • -
  • link(__('List Currencies', true), array('action'=>'index'));?>
  • -
  • link(__('List Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?>
  • -
  • link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
  • link(__('List Quoted Products', true), array('controller'=> 'quoted_products', 'action'=>'index')); ?>
  • -
  • link(__('New Quoted Product', true), array('controller'=> 'quoted_products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/currencies/.svn/text-base/index.ctp.svn-base b/views/currencies/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index 7812931a..00000000 --- a/views/currencies/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,62 +0,0 @@ -
-

-

-counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>

- - - - - - - - - - > - - - - - - - -
sort('id');?>sort('name');?>sort('symbol');?>sort('iso4217');?>
- - - - - - - - - link(__('View', true), array('action'=>'view', $currency['Currency']['id'])); ?> - link(__('Edit', true), array('action'=>'edit', $currency['Currency']['id'])); ?> - link(__('Delete', true), array('action'=>'delete', $currency['Currency']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $currency['Currency']['id'])); ?> -
-
-
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
-
-
    -
  • link(__('New Currency', true), array('action'=>'add')); ?>
  • -
  • link(__('List Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?>
  • -
  • link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
  • link(__('List Quoted Products', true), array('controller'=> 'quoted_products', 'action'=>'index')); ?>
  • -
  • link(__('New Quoted Product', true), array('controller'=> 'quoted_products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/currencies/.svn/text-base/view.ctp.svn-base b/views/currencies/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index d1a1fbe8..00000000 --- a/views/currencies/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,221 +0,0 @@ -
-

-
- > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - -
-
-
-
    -
  • link(__('Edit Currency', true), array('action'=>'edit', $currency['Currency']['id'])); ?>
  • -
  • link(__('Delete Currency', true), array('action'=>'delete', $currency['Currency']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $currency['Currency']['id'])); ?>
  • -
  • link(__('List Currencies', true), array('action'=>'index')); ?>
  • -
  • link(__('New Currency', true), array('action'=>'add')); ?>
  • -
  • link(__('List Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?>
  • -
  • link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
  • link(__('List Quoted Products', true), array('controller'=> 'quoted_products', 'action'=>'index')); ?>
  • -
  • link(__('New Quoted Product', true), array('controller'=> 'quoted_products', 'action'=>'add')); ?>
  • -
-
- - - diff --git a/views/customers/.svn/entries b/views/customers/.svn/entries deleted file mode 100644 index b109e57e..00000000 --- a/views/customers/.svn/entries +++ /dev/null @@ -1,143 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/customers -file:///home/karl/svn/quotenik - - - -2009-01-12T00:37:38.932516Z -17 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -view.ctp -file - - - - -2009-01-06T04:45:40.000000Z -50135410afe213d91bd8194a22ca7980 -2009-01-07T01:19:11.314653Z -14 -karl -has-props - - - - - - - - - - - - - - - - - - - - -3170 - -edit.ctp -file - - - - -2008-11-13T00:42:45.000000Z -1a88bd2ecc483517836ea221162a045e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -index.ctp -file - - - - -2009-01-06T03:28:08.000000Z -caafcae94602ce80b7a0453d480919a5 -2009-01-07T01:19:11.314653Z -14 -karl -has-props - - - - - - - - - - - - - - - - - - - - -2150 - -add.ctp -file - - - - -2009-01-12T00:06:45.000000Z -14313fe50503900224eef2a91d180e18 -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1990 - diff --git a/views/customers/.svn/format b/views/customers/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/customers/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/customers/.svn/prop-base/add.ctp.svn-base b/views/customers/.svn/prop-base/add.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/customers/.svn/prop-base/add.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/customers/.svn/prop-base/edit.ctp.svn-base b/views/customers/.svn/prop-base/edit.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/customers/.svn/prop-base/edit.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/customers/.svn/prop-base/index.ctp.svn-base b/views/customers/.svn/prop-base/index.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/customers/.svn/prop-base/index.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/customers/.svn/prop-base/view.ctp.svn-base b/views/customers/.svn/prop-base/view.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/customers/.svn/prop-base/view.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/customers/.svn/text-base/add.ctp.svn-base b/views/customers/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index b0a6f8d7..00000000 --- a/views/customers/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,34 +0,0 @@ -
-create('Customer', array('action'=>'add'));?> -
- - input('name', array('label'=>'Company Name', 'title' => 'The Company Name. Eg. XYZ Business Pty Ltd')); - echo $form->input('abn', array('label'=>'ABN', 'title' => 'The 11-digit Australian Business Number for the new Customer. Enter numbers only, no dashes or punctuation')); - echo '
Add a Contact to this new Customer'; - echo $form->input('Contact.0.first_name'); - echo $form->input('Contact.0.last_name'); - echo $form->input('Contact.0.email'); - echo $form->input('Contact.0.phone'); - echo $form->input('Contact.0.fax'); - echo $form->input('Contact.0.notes'); - echo '
Add an Address for this Customer'; - echo $form->input('Address.0.name', array('label'=>'Short Name', 'title' => 'Short Name for this Address. eg. \'Head Quarters\', \'Manufacturing Plant No 7\' ')); - echo $form->input('Address.0.address'); - echo $form->input('Address.0.city'); - echo $form->input('Address.0.state_id'); - echo $form->input('Address.0.country_id'); - echo $form->input('Address.0.type', array('label' => 'Address Type (Billing,Shipping or Both)', 'options' => array('Billing','Shipping', 'Both Shipping and Billing'))); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List Customers', true), array('action'=>'index'));?>
  • -
  • link(__('List Addresses', true), array('controller'=> 'addresses', 'action'=>'index')); ?>
  • -
  • link(__('New Address', true), array('controller'=> 'addresses', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/customers/.svn/text-base/edit.ctp.svn-base b/views/customers/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index 405a58b0..00000000 --- a/views/customers/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,22 +0,0 @@ -
-create('Customer');?> -
- - input('id'); - echo $form->input('name'); - echo $form->input('abn'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('Delete', true), array('action'=>'delete', $form->value('Customer.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Customer.id'))); ?>
  • -
  • link(__('List Customers', true), array('action'=>'index'));?>
  • -
  • link(__('List Addresses', true), array('controller'=> 'addresses', 'action'=>'index')); ?>
  • -
  • link(__('New Address', true), array('controller'=> 'addresses', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/customers/.svn/text-base/index.ctp.svn-base b/views/customers/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index f69f5d83..00000000 --- a/views/customers/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,58 +0,0 @@ -
-

-

-counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>

- - - - - - - - - - > - - - - - - - -
sort('Company Name', 'name');?>sort('ABN', 'abn');?>sort('Date Added', 'created');?>
- link(__($customer['Customer']['name'], true), array('action'=>'view', $customer['Customer']['id'])); ?> - - - - toUnix($customer['Customer']['created'])); ?> - - - link(__('View', true), array('action'=>'view', $customer['Customer']['id'])); ?> - link(__('Edit', true), array('action'=>'edit', $customer['Customer']['id'])); ?> -
-
-
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
-
-
    -
  • link(__('New Customer', true), array('action'=>'add')); ?>
  • -
  • link(__('List Addresses', true), array('controller'=> 'addresses', 'action'=>'index')); ?>
  • -
  • link(__('New Address', true), array('controller'=> 'addresses', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/customers/.svn/text-base/view.ctp.svn-base b/views/customers/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index 4afacbc6..00000000 --- a/views/customers/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,101 +0,0 @@ -
-

-
- > - > - -   - - > - > - -   - - > - > - nice($customer['Customer']['created']); ?> -   - -
-
-
-
    -
  • link(__('Edit Customer', true), array('action'=>'edit', $customer['Customer']['id'])); ?>
  • -
-
- - - - - - - -
-
    -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add'));?>
  • -
-
- diff --git a/views/elements/.svn/entries b/views/elements/.svn/entries deleted file mode 100644 index 2c64f6b9..00000000 --- a/views/elements/.svn/entries +++ /dev/null @@ -1,143 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/elements -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -address_table.ctp -file -18 - - - -2009-01-06T05:25:43.000000Z -855f137146a5e2f2c15bc950baf5f0d7 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -1575 - -enquiry_table.ctp -file -18 - - - -2009-01-06T05:56:24.000000Z -78c1a8252f198d9af4c4ca8f5f8322ed -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -4056 - -quote_table.ctp -file -18 - - - -2008-12-31T06:02:30.000000Z -1a9f82055bc3bf9f10fce19d2b63c83b -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -987 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/views/elements/.svn/format b/views/elements/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/elements/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/elements/.svn/prop-base/empty.svn-base b/views/elements/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/elements/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/elements/.svn/text-base/address_table.ctp.svn-base b/views/elements/.svn/text-base/address_table.ctp.svn-base deleted file mode 100644 index 82edd3e0..00000000 --- a/views/elements/.svn/text-base/address_table.ctp.svn-base +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - > - - - - - - - - -
link(__($address['State']['name'], true), array('controller'=>'states', 'action' => 'view', $address['State']['id']));?>link(__($address['Country']['name'], true), array('controller'=>'countries', 'action' => 'view', $address['Country']['id']));?> - link(__('View', true), array('controller'=> 'addresses', 'action'=>'view', $address['Address']['id'])); ?> - link(__('Edit', true), array('controller'=> 'addresses', 'action'=>'edit', $address['Address']['id'])); ?> - -
- diff --git a/views/elements/.svn/text-base/empty.svn-base b/views/elements/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/views/elements/.svn/text-base/enquiry_table.ctp.svn-base b/views/elements/.svn/text-base/enquiry_table.ctp.svn-base deleted file mode 100644 index 0313442e..00000000 --- a/views/elements/.svn/text-base/enquiry_table.ctp.svn-base +++ /dev/null @@ -1,106 +0,0 @@ - counter(array( - 'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) - )); - ?> - - - - - - - - - - - - - - - - - - - > - - "; - ?> - - link($firstname[0].$lastname[0], array('controller'=> 'users', 'action'=>'view', $enquiry['User']['id'])); ?> - - - - - - - - - - - - - - - - -
sort('user_id');?>sort('Date', 'created');?>sort('Enquiry Number', 'title');?>sort('customer_id');?>sort('contact_id');?>sort('state_id');?>sort('country_id');?>sort('principle_id');?>sort('status_id');?>sort('comments');?>
- toUnix($enquiry['Enquiry']['created'])); ?> - - link($enquiry['Enquiry']['title'], array('controller'=>'enquiries', 'action'=>'view', $enquiry['Enquiry']['id'])); ?> - - link($enquiry['Customer']['name'], array('controller'=> 'customers', 'action'=>'view', $enquiry['Customer']['id'])); ?> - - link($enquiry['Contact']['name'], array('controller'=> 'contacts', 'action'=>'view', $enquiry['Contact']['id'])); ?> - - - link($enquiry['Contact']['email'], 'mailto:'.$enquiry['Contact']['email'].'?subject='.$enquiry['Enquiry']['title'].'&bcc=carpis@cmctechnologies.com.au'); ?> - - - - link($enquiry['State']['shortform'], array('controller'=> 'states', 'action'=>'view', $enquiry['State']['id'])); ?> - - link($enquiry['Country']['name'], array('controller'=> 'countries', 'action'=>'view', $enquiry['Country']['id'])); ?> - - link($enquiry['Principle']['name'], array('controller'=> 'principles', 'action'=>'view', $enquiry['Principle']['id'])); ?> - - link($enquiry['Status']['name'], array('controller'=> 'statuses', 'action'=>'view', $enquiry['Status']['id'])); ?> - - - - link(__('View', true), array('controller'=>'enquiries','action'=>'view', $enquiry['Enquiry']['id'])); ?> - link(__('Edit', true), array('controller'=>'enquiries','action'=>'edit', $enquiry['Enquiry']['id'])); ?> - -
- -
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
- diff --git a/views/elements/.svn/text-base/quote_table.ctp.svn-base b/views/elements/.svn/text-base/quote_table.ctp.svn-base deleted file mode 100644 index bc93d6aa..00000000 --- a/views/elements/.svn/text-base/quote_table.ctp.svn-base +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - > - - - - - -
nice($quote['Quote']['created']);?> - link(__('View', true), array('controller'=> 'quotes', 'action'=>'view', $quote['Quote']['id'])); ?> -
- - -
-
    -
  • link(__('New Quote', true), array('controller'=> 'quotes', 'action'=>'add/enquiryid:'.$enquiry['Enquiry']['id']));?>
  • -
-
diff --git a/views/enquiries/.svn/entries b/views/enquiries/.svn/entries deleted file mode 100644 index 9a3d83ed..00000000 --- a/views/enquiries/.svn/entries +++ /dev/null @@ -1,232 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/enquiries -file:///home/karl/svn/quotenik - - - -2009-01-07T01:19:11.314653Z -14 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -view.ctp -file - - - - -2009-01-06T04:29:45.000000Z -1b8603298371075eedf64d6e19dcde9e -2009-01-07T01:19:11.314653Z -14 -karl -has-props - - - - - - - - - - - - - - - - - - - - -3049 - -add-original.ctp -file -18 - - - -2008-11-15T02:06:02.000000Z -a639ff7e4a3ef35b41538749960c573b -2009-01-12T05:57:25.596672Z -18 -karl -has-props - - - - - - - - - - - - - - - - - - - - -2459 - -edit.ctp -file - - - - -2009-01-06T05:55:07.000000Z -a72d62fe1f28a775bccb44904b75e920 -2009-01-07T01:19:11.314653Z -14 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1134 - -index.ctp -file - - - - -2008-12-26T23:40:13.000000Z -1885e7735fdaa453ca2595949714d631 -2009-01-05T03:21:30.261073Z -12 -karl -has-props - - - - - - - - - - - - - - - - - - - - -141 - -add.ctp -file - - - - -2009-01-06T00:57:21.000000Z -2680229123014a12266657f56f1c1485 -2009-01-07T01:19:11.314653Z -14 -karl -has-props - - - - - - - - - - - - - - - - - - - - -2083 - -complete_customer.ctp -file -18 - - - -2008-11-24T03:17:01.000000Z -bd550e0e7f783d92307b25fc924095af -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -138 - diff --git a/views/enquiries/.svn/format b/views/enquiries/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/enquiries/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/enquiries/.svn/prop-base/add-original.ctp.svn-base b/views/enquiries/.svn/prop-base/add-original.ctp.svn-base deleted file mode 100644 index 869ac71c..00000000 --- a/views/enquiries/.svn/prop-base/add-original.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 1 -* -END diff --git a/views/enquiries/.svn/prop-base/add.ctp.svn-base b/views/enquiries/.svn/prop-base/add.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/enquiries/.svn/prop-base/add.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/enquiries/.svn/prop-base/edit.ctp.svn-base b/views/enquiries/.svn/prop-base/edit.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/enquiries/.svn/prop-base/edit.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/enquiries/.svn/prop-base/index.ctp.svn-base b/views/enquiries/.svn/prop-base/index.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/enquiries/.svn/prop-base/index.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/enquiries/.svn/prop-base/view.ctp.svn-base b/views/enquiries/.svn/prop-base/view.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/enquiries/.svn/prop-base/view.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/enquiries/.svn/text-base/add-original.ctp.svn-base b/views/enquiries/.svn/text-base/add-original.ctp.svn-base deleted file mode 100644 index a30d3d1c..00000000 --- a/views/enquiries/.svn/text-base/add-original.ctp.svn-base +++ /dev/null @@ -1,38 +0,0 @@ -
-create('Enquiry');?> -
- - input('user_id'); - echo $form->input('customer_id'); - echo $form->input('contact_id'); - echo $form->input('state_id'); - echo $form->input('country_id'); - echo $form->input('principle_id'); - echo $form->input('status_id'); - echo $form->input('comments'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List Enquiries', true), array('action'=>'index'));?>
  • -
  • link(__('List Users', true), array('controller'=> 'users', 'action'=>'index')); ?>
  • -
  • link(__('New User', true), array('controller'=> 'users', 'action'=>'add')); ?>
  • -
  • link(__('List Customers', true), array('controller'=> 'customers', 'action'=>'index')); ?>
  • -
  • link(__('New Customer', true), array('controller'=> 'customers', 'action'=>'add')); ?>
  • -
  • link(__('List Contacts', true), array('controller'=> 'contacts', 'action'=>'index')); ?>
  • -
  • link(__('New Contact', true), array('controller'=> 'contacts', 'action'=>'add')); ?>
  • -
  • link(__('List States', true), array('controller'=> 'states', 'action'=>'index')); ?>
  • -
  • link(__('New State', true), array('controller'=> 'states', 'action'=>'add')); ?>
  • -
  • link(__('List Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?>
  • -
  • link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
  • link(__('List Statuses', true), array('controller'=> 'statuses', 'action'=>'index')); ?>
  • -
  • link(__('New Status', true), array('controller'=> 'statuses', 'action'=>'add')); ?>
  • -
  • link(__('List Quotes', true), array('controller'=> 'quotes', 'action'=>'index')); ?>
  • -
  • link(__('New Quote', true), array('controller'=> 'quotes', 'action'=>'add')); ?>
  • -
-
diff --git a/views/enquiries/.svn/text-base/add.ctp.svn-base b/views/enquiries/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index 8ff15ab5..00000000 --- a/views/enquiries/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,46 +0,0 @@ -
-create('Enquiry');?> -
- - '; - echo 'Start typing the Company name and it should appear in a list below. It must already exist in the database'; - echo $form->label('Customer.name', 'Company Name'); - echo $ajax->autoComplete('Customer.name', '/enquiries/completeCustomer'); - echo '
'; - echo $form->input('step', array('type'=>'hidden', 'value' => $step)); - echo $form->input('finished', array('type' => 'hidden', 'value' => 'false')); - echo $form->end('Proceed to Step 2'); - } - else { - //echo $form->select('Contact.id', array(), null, array('id'=>'contacts')); - echo $form->input('Customer.name', array('readonly'=>'readonly', 'value'=>$customer['Customer']['name'])); - echo $form->input('contact_id'); - echo $form->input('state_id'); - echo $form->input('country_id'); - - echo $form->input('gst', array('label' => 'Is GST Applicable', 'options' => array('1' => 'Yes', '0' => 'No'))); - echo $form->input('principle_id'); - echo $form->input('status_id'); - echo $form->input('comments'); - echo $form->input('customer_id', array('type'=>'hidden', 'value' => $customer['Customer']['id'])); - echo $form->input('finished', array('type' => 'hidden', 'value' => 'true')); - echo $form->input('user_id', array('type' => 'hidden', 'value' => $user_id)); - echo $form->input('step', array('type'=>'hidden', 'value' => $step)); - echo $form->input('billing_address_id', array('div' => 'addressradio', 'legend' => 'Billing Address', 'options' => $billing_addresses_list, 'type' => 'radio')); - echo $form->input('shipping_address_id', array('div' => 'addressradio','legend' => 'Shipping Address', 'options' => $shipping_addresses_list, 'type' => 'radio')); - echo $form->end('Submit'); - - } - ?> - - - - -
-
    -
  • link(__('New Customer', true), array('controller'=> 'customers', 'action'=>'add')); ?>
  • -
-
diff --git a/views/enquiries/.svn/text-base/complete_customer.ctp.svn-base b/views/enquiries/.svn/text-base/complete_customer.ctp.svn-base deleted file mode 100644 index 766e1aa3..00000000 --- a/views/enquiries/.svn/text-base/complete_customer.ctp.svn-base +++ /dev/null @@ -1,6 +0,0 @@ -
    - -
  • - -
- diff --git a/views/enquiries/.svn/text-base/edit.ctp.svn-base b/views/enquiries/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index 0748857f..00000000 --- a/views/enquiries/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,22 +0,0 @@ -
-create('Enquiry');?> -
- - input('id'); - echo $form->input('user_id', array('label'=>'Assigned to User')); - echo $form->input('Principle.name', array('label'=>'Principle','readonly'=>'readonly', 'value'=>$principle['Principle']['name'])); - echo $form->input('Customer.name', array('label'=>'Customer','readonly'=>'readonly', 'value'=>$customer['Customer']['name'])); - echo $form->input('contact_id'); - echo $form->input('State.name', array('label'=>'State','readonly'=>'readonly', 'value'=>$state['State']['name'])); - echo $form->input('Country.name', array('label'=>'Country','readonly'=>'readonly', 'value'=>$country['Country']['name'])); - echo $form->input('gst', array('label' => 'Is GST Applicable', 'options' => array('1' => 'Yes', '0' => 'No'))); - echo $form->input('status_id'); - echo $form->input('comments'); - echo $form->input('posted', array('label' => 'This quote been sent hard copy via Post')); - ?> -
-end('Submit');?> - -
- diff --git a/views/enquiries/.svn/text-base/index.ctp.svn-base b/views/enquiries/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index 79198104..00000000 --- a/views/enquiries/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,4 +0,0 @@ -
-

-element('enquiry_table', $enquiries); ?> -
diff --git a/views/enquiries/.svn/text-base/view.ctp.svn-base b/views/enquiries/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index e4aa76b8..00000000 --- a/views/enquiries/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,74 +0,0 @@ -
-

-
- - > - > - -   - - > - > - link($enquiry['User']['username'], array('controller'=> 'users', 'action'=>'view', $enquiry['User']['id'])); ?> -   - - > - > - link($enquiry['Customer']['name'], array('controller'=> 'customers', 'action'=>'view', $enquiry['Customer']['id'])); ?> -   - - > - > - link($enquiry['Contact']['name'], array('controller'=> 'contacts', 'action'=>'view', $enquiry['Contact']['id'])); ?> -   - - > - > - link($enquiry['State']['name'], array('controller'=> 'states', 'action'=>'view', $enquiry['State']['id'])); ?> -   - - > - > - link($enquiry['Country']['name'], array('controller'=> 'countries', 'action'=>'view', $enquiry['Country']['id'])); ?> -   - - > - > - -   - - > - > - link($enquiry['Principle']['name'], array('controller'=> 'principles', 'action'=>'view', $enquiry['Principle']['id'])); ?> -   - - > - > - link($enquiry['Status']['name'], array('controller'=> 'statuses', 'action'=>'view', $enquiry['Status']['id'])); ?> -   - - > - > - -   - - -
-
-
-
    -
  • link(__('Edit Enquiry', true), array('action'=>'edit', $enquiry['Enquiry']['id'])); ?>
  • -
-
- - diff --git a/views/errors/.svn/entries b/views/errors/.svn/entries deleted file mode 100644 index 9ef15774..00000000 --- a/views/errors/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/errors -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/views/errors/.svn/format b/views/errors/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/errors/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/errors/.svn/prop-base/empty.svn-base b/views/errors/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/errors/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/errors/.svn/text-base/empty.svn-base b/views/errors/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/views/groups/.svn/entries b/views/groups/.svn/entries deleted file mode 100644 index d3f79c66..00000000 --- a/views/groups/.svn/entries +++ /dev/null @@ -1,171 +0,0 @@ -9 - -dir -18 -file:///home/karl/svn/quotenik/views/groups -file:///home/karl/svn/quotenik - - - -2009-01-12T05:57:25.596672Z -18 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - - - - - - - - -0 - -view.ctp -file - - - - -2009-01-09T01:36:07.000000Z -8e3acebaf1f49c83f6ab9db6201931c5 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -2891 - -edit.ctp -file - - - - -2009-01-09T01:36:08.000000Z -6254f729fa5115435a8fe95925d7cfb4 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -798 - -index.ctp -file - - - - -2009-01-09T01:36:07.000000Z -6f0918071f55f8bf49efe354f14d050d -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -1777 - -add.ctp -file - - - - -2009-01-09T01:36:07.000000Z -62aa171ec83783f6ca769cd46f960d09 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -567 - diff --git a/views/groups/.svn/format b/views/groups/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/groups/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/groups/.svn/text-base/add.ctp.svn-base b/views/groups/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index 353ca6c8..00000000 --- a/views/groups/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,17 +0,0 @@ -
-create('Group');?> -
- - input('name'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List Groups', true), array('action'=>'index'));?>
  • -
  • link(__('List Users', true), array('controller'=> 'users', 'action'=>'index')); ?>
  • -
  • link(__('New User', true), array('controller'=> 'users', 'action'=>'add')); ?>
  • -
-
diff --git a/views/groups/.svn/text-base/edit.ctp.svn-base b/views/groups/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index f1200262..00000000 --- a/views/groups/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,19 +0,0 @@ -
-create('Group');?> -
- - input('id'); - echo $form->input('name'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('Delete', true), array('action'=>'delete', $form->value('Group.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Group.id'))); ?>
  • -
  • link(__('List Groups', true), array('action'=>'index'));?>
  • -
  • link(__('List Users', true), array('controller'=> 'users', 'action'=>'index')); ?>
  • -
  • link(__('New User', true), array('controller'=> 'users', 'action'=>'add')); ?>
  • -
-
diff --git a/views/groups/.svn/text-base/index.ctp.svn-base b/views/groups/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index 3e85952a..00000000 --- a/views/groups/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,50 +0,0 @@ -
-

-

-counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>

- - - - - - - - > - - - - - -
sort('id');?>sort('name');?>
- - - - - link(__('View', true), array('action'=>'view', $group['Group']['id'])); ?> - link(__('Edit', true), array('action'=>'edit', $group['Group']['id'])); ?> - link(__('Delete', true), array('action'=>'delete', $group['Group']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $group['Group']['id'])); ?> -
-
-
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
-
-
    -
  • link(__('New Group', true), array('action'=>'add')); ?>
  • -
  • link(__('List Users', true), array('controller'=> 'users', 'action'=>'index')); ?>
  • -
  • link(__('New User', true), array('controller'=> 'users', 'action'=>'add')); ?>
  • -
-
diff --git a/views/groups/.svn/text-base/view.ctp.svn-base b/views/groups/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index 26318460..00000000 --- a/views/groups/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,73 +0,0 @@ -
-

-
- > - > - -   - - > - > - -   - -
-
-
-
    -
  • link(__('Edit Group', true), array('action'=>'edit', $group['Group']['id'])); ?>
  • -
  • link(__('Delete Group', true), array('action'=>'delete', $group['Group']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $group['Group']['id'])); ?>
  • -
  • link(__('List Groups', true), array('action'=>'index')); ?>
  • -
  • link(__('New Group', true), array('action'=>'add')); ?>
  • -
  • link(__('List Users', true), array('controller'=> 'users', 'action'=>'index')); ?>
  • -
  • link(__('New User', true), array('controller'=> 'users', 'action'=>'add')); ?>
  • -
-
- diff --git a/views/helpers/.svn/entries b/views/helpers/.svn/entries deleted file mode 100644 index db3bbd3d..00000000 --- a/views/helpers/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/helpers -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/views/helpers/.svn/format b/views/helpers/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/helpers/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/helpers/.svn/prop-base/empty.svn-base b/views/helpers/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/helpers/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/helpers/.svn/text-base/empty.svn-base b/views/helpers/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/views/layouts/.svn/entries b/views/layouts/.svn/entries deleted file mode 100644 index ca1e6a78..00000000 --- a/views/layouts/.svn/entries +++ /dev/null @@ -1,71 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/layouts -file:///home/karl/svn/quotenik - - - -2009-01-07T01:19:11.314653Z -14 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -xml -dir - -rss -dir - -default.ctp -file - - - - -2009-01-07T00:58:38.000000Z -996f23cc20a6eff8954a2d2aaf797a6b -2009-01-07T01:19:11.314653Z -14 -karl -has-props - - - - - - - - - - - - - - - - - - - - -4700 - -js -dir - diff --git a/views/layouts/.svn/format b/views/layouts/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/layouts/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/layouts/.svn/prop-base/default.ctp.svn-base b/views/layouts/.svn/prop-base/default.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/layouts/.svn/prop-base/default.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/layouts/.svn/text-base/default.ctp.svn-base b/views/layouts/.svn/text-base/default.ctp.svn-base deleted file mode 100644 index 24d6eb9d..00000000 --- a/views/layouts/.svn/text-base/default.ctp.svn-base +++ /dev/null @@ -1,157 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.cake.libs.view.templates.layouts - * @since CakePHP(tm) v 0.10.0.1076 - * @version $Revision: 7118 $ - * @modifiedby $LastChangedBy: gwoo $ - * @lastmodified $Date: 2008-06-04 13:49:29 -0700 (Wed, 04 Jun 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -?> - - - - charset(); ?> - - <?php __('CMC'); ?> - <?php echo $title_for_layout; ?> - - meta('icon'); ?> - css('quotenik'); - echo $javascript->link('prototype'); - echo $javascript->link('scriptaculous'); - echo $javascript->link('qtip'); - echo $scripts_for_layout; - ?> - - - - - -
- -
- link('Login', '/users/login'); - } - else { - $logoutlink = $html->link('Logout', '/users/logout'); - echo "Logged in as: ". $html->link($currentuser['User']['username'], '/users/view/'. $currentuser['User']['id']). ' (' . $logoutlink.')'; - } - ?> -
- -
- check('Message.flash')): - $session->flash(); - endif; - ?> - - - -
- -
- - - - - diff --git a/views/layouts/js/.svn/entries b/views/layouts/js/.svn/entries deleted file mode 100644 index 7330a6f0..00000000 --- a/views/layouts/js/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/layouts/js -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/views/layouts/js/.svn/format b/views/layouts/js/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/layouts/js/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/layouts/js/.svn/prop-base/empty.svn-base b/views/layouts/js/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/layouts/js/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/layouts/js/.svn/text-base/empty.svn-base b/views/layouts/js/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/views/layouts/rss/.svn/entries b/views/layouts/rss/.svn/entries deleted file mode 100644 index 48025c19..00000000 --- a/views/layouts/rss/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/layouts/rss -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/views/layouts/rss/.svn/format b/views/layouts/rss/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/layouts/rss/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/layouts/rss/.svn/prop-base/empty.svn-base b/views/layouts/rss/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/layouts/rss/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/layouts/rss/.svn/text-base/empty.svn-base b/views/layouts/rss/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/views/layouts/xml/.svn/entries b/views/layouts/xml/.svn/entries deleted file mode 100644 index 65e91458..00000000 --- a/views/layouts/xml/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/layouts/xml -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/views/layouts/xml/.svn/format b/views/layouts/xml/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/layouts/xml/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/layouts/xml/.svn/prop-base/empty.svn-base b/views/layouts/xml/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/layouts/xml/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/layouts/xml/.svn/text-base/empty.svn-base b/views/layouts/xml/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/views/pages/.svn/entries b/views/pages/.svn/entries deleted file mode 100644 index 03ab6ec2..00000000 --- a/views/pages/.svn/entries +++ /dev/null @@ -1,62 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/pages -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -about.ctp -file -18 - - - -2008-12-23T06:02:44.000000Z -d41d8cd98f00b204e9800998ecf8427e -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -0 - diff --git a/views/pages/.svn/format b/views/pages/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/pages/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/pages/.svn/text-base/about.ctp.svn-base b/views/pages/.svn/text-base/about.ctp.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/views/principles/.svn/entries b/views/principles/.svn/entries deleted file mode 100644 index 09acab41..00000000 --- a/views/principles/.svn/entries +++ /dev/null @@ -1,164 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/principles -file:///home/karl/svn/quotenik - - - -2009-01-12T00:37:38.932516Z -17 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -view.ctp -file - - - - -2009-01-10T03:51:50.000000Z -1bb75dccc4401e8a038139f4111e2224 -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -8139 - -edit.ctp -file - - - - -2009-01-10T03:51:51.000000Z -a02018620447e212a5d61ed934f32bfc -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1740 - -index.ctp -file - - - - -2009-01-10T03:51:50.000000Z -a638b8629f9c1260f9ae443247a0f65f -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -3466 - -add.ctp -file - - - - -2009-01-10T03:51:50.000000Z -487897637535fa4f368f411905bf8c38 -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1501 - diff --git a/views/principles/.svn/format b/views/principles/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/principles/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/principles/.svn/prop-base/add.ctp.svn-base b/views/principles/.svn/prop-base/add.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/principles/.svn/prop-base/add.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/principles/.svn/prop-base/edit.ctp.svn-base b/views/principles/.svn/prop-base/edit.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/principles/.svn/prop-base/edit.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/principles/.svn/prop-base/index.ctp.svn-base b/views/principles/.svn/prop-base/index.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/principles/.svn/prop-base/index.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/principles/.svn/prop-base/view.ctp.svn-base b/views/principles/.svn/prop-base/view.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/principles/.svn/prop-base/view.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/principles/.svn/text-base/add.ctp.svn-base b/views/principles/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index e51d9e58..00000000 --- a/views/principles/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,29 +0,0 @@ -
-create('Principle');?> -
- - input('name'); - echo $form->input('code'); - echo $form->input('address'); - echo $form->input('city'); - echo $form->input('state'); - echo $form->input('country_id'); - echo $form->input('currency_id'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List Principles', true), array('action'=>'index'));?>
  • -
  • link(__('List Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?>
  • -
  • link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?>
  • -
  • link(__('List Currencies', true), array('controller'=> 'currencies', 'action'=>'index')); ?>
  • -
  • link(__('New Currency', true), array('controller'=> 'currencies', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
  • link(__('List Products', true), array('controller'=> 'products', 'action'=>'index')); ?>
  • -
  • link(__('New Product', true), array('controller'=> 'products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/principles/.svn/text-base/edit.ctp.svn-base b/views/principles/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index 5a405db3..00000000 --- a/views/principles/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,31 +0,0 @@ -
-create('Principle');?> -
- - input('id'); - echo $form->input('name'); - echo $form->input('code'); - echo $form->input('address'); - echo $form->input('city'); - echo $form->input('state'); - echo $form->input('country_id'); - echo $form->input('currency_id'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('Delete', true), array('action'=>'delete', $form->value('Principle.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Principle.id'))); ?>
  • -
  • link(__('List Principles', true), array('action'=>'index'));?>
  • -
  • link(__('List Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?>
  • -
  • link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?>
  • -
  • link(__('List Currencies', true), array('controller'=> 'currencies', 'action'=>'index')); ?>
  • -
  • link(__('New Currency', true), array('controller'=> 'currencies', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
  • link(__('List Products', true), array('controller'=> 'products', 'action'=>'index')); ?>
  • -
  • link(__('New Product', true), array('controller'=> 'products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/principles/.svn/text-base/index.ctp.svn-base b/views/principles/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index 6e22ccfe..00000000 --- a/views/principles/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,80 +0,0 @@ -
-

-

-counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>

- - - - - - - - - - - - - - > - - - - - - - - - - - -
sort('id');?>sort('name');?>sort('code');?>sort('address');?>sort('city');?>sort('state');?>sort('country_id');?>sort('currency_id');?>
- - - - - - - - - - - - - link($principle['Country']['name'], array('controller'=> 'countries', 'action'=>'view', $principle['Country']['id'])); ?> - - link($principle['Currency']['name'], array('controller'=> 'currencies', 'action'=>'view', $principle['Currency']['id'])); ?> - - link(__('View', true), array('action'=>'view', $principle['Principle']['id'])); ?> - link(__('Edit', true), array('action'=>'edit', $principle['Principle']['id'])); ?> - link(__('Delete', true), array('action'=>'delete', $principle['Principle']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $principle['Principle']['id'])); ?> -
-
-
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
-
-
    -
  • link(__('New Principle', true), array('action'=>'add')); ?>
  • -
  • link(__('List Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?>
  • -
  • link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?>
  • -
  • link(__('List Currencies', true), array('controller'=> 'currencies', 'action'=>'index')); ?>
  • -
  • link(__('New Currency', true), array('controller'=> 'currencies', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
  • link(__('List Products', true), array('controller'=> 'products', 'action'=>'index')); ?>
  • -
  • link(__('New Product', true), array('controller'=> 'products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/principles/.svn/text-base/view.ctp.svn-base b/views/principles/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index 858942b9..00000000 --- a/views/principles/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,185 +0,0 @@ -
-

-
- > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - link($principle['Country']['name'], array('controller'=> 'countries', 'action'=>'view', $principle['Country']['id'])); ?> -   - - > - > - link($principle['Currency']['name'], array('controller'=> 'currencies', 'action'=>'view', $principle['Currency']['id'])); ?> -   - -
-
-
-
    -
  • link(__('Edit Principle', true), array('action'=>'edit', $principle['Principle']['id'])); ?>
  • -
  • link(__('Delete Principle', true), array('action'=>'delete', $principle['Principle']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $principle['Principle']['id'])); ?>
  • -
  • link(__('List Principles', true), array('action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('action'=>'add')); ?>
  • -
  • link(__('List Countries', true), array('controller'=> 'countries', 'action'=>'index')); ?>
  • -
  • link(__('New Country', true), array('controller'=> 'countries', 'action'=>'add')); ?>
  • -
  • link(__('List Currencies', true), array('controller'=> 'currencies', 'action'=>'index')); ?>
  • -
  • link(__('New Currency', true), array('controller'=> 'currencies', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
  • link(__('List Products', true), array('controller'=> 'products', 'action'=>'index')); ?>
  • -
  • link(__('New Product', true), array('controller'=> 'products', 'action'=>'add')); ?>
  • -
-
- - diff --git a/views/product_options/.svn/entries b/views/product_options/.svn/entries deleted file mode 100644 index 9674122c..00000000 --- a/views/product_options/.svn/entries +++ /dev/null @@ -1,171 +0,0 @@ -9 - -dir -19 -file:///home/karl/svn/quotenik/views/product_options -file:///home/karl/svn/quotenik - - - -2009-01-12T05:57:54.260676Z -19 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - - - - - - - - -0 - -view.ctp -file - - - - -2009-01-10T03:46:52.000000Z -df3528315417c4ffec6c2b15d4a636c1 -2009-01-12T05:57:54.260676Z -19 -karl - - - - - - - - - - - - - - - - - - - - - -2058 - -edit.ctp -file - - - - -2009-01-10T03:46:54.000000Z -894307e79ce314299b5427fbcd236531 -2009-01-12T05:57:54.260676Z -19 -karl - - - - - - - - - - - - - - - - - - - - - -965 - -index.ctp -file - - - - -2009-01-10T03:46:52.000000Z -72d0a083a00d0ee9d81915d4ee986162 -2009-01-12T05:57:54.260676Z -19 -karl - - - - - - - - - - - - - - - - - - - - - -2418 - -add.ctp -file - - - - -2009-01-10T03:46:53.000000Z -c29bfb1ee6d34f5b886165e3f030aa56 -2009-01-12T05:57:54.260676Z -19 -karl - - - - - - - - - - - - - - - - - - - - - -718 - diff --git a/views/product_options/.svn/format b/views/product_options/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/product_options/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/product_options/.svn/text-base/add.ctp.svn-base b/views/product_options/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index 64c9607f..00000000 --- a/views/product_options/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,20 +0,0 @@ -
-create('ProductOption');?> -
- - input('product_id'); - echo $form->input('title'); - echo $form->input('description'); - echo $form->input('cost_price'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List ProductOptions', true), array('action'=>'index'));?>
  • -
  • link(__('List Products', true), array('controller'=> 'products', 'action'=>'index')); ?>
  • -
  • link(__('New Product', true), array('controller'=> 'products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/product_options/.svn/text-base/edit.ctp.svn-base b/views/product_options/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index d75c6b1c..00000000 --- a/views/product_options/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,22 +0,0 @@ -
-create('ProductOption');?> -
- - input('id'); - echo $form->input('product_id'); - echo $form->input('title'); - echo $form->input('description'); - echo $form->input('cost_price'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('Delete', true), array('action'=>'delete', $form->value('ProductOption.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('ProductOption.id'))); ?>
  • -
  • link(__('List ProductOptions', true), array('action'=>'index'));?>
  • -
  • link(__('List Products', true), array('controller'=> 'products', 'action'=>'index')); ?>
  • -
  • link(__('New Product', true), array('controller'=> 'products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/product_options/.svn/text-base/index.ctp.svn-base b/views/product_options/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index 94415deb..00000000 --- a/views/product_options/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,62 +0,0 @@ -
-

-

-counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>

- - - - - - - - - - - > - - - - - - - - -
sort('id');?>sort('product_id');?>sort('title');?>sort('description');?>sort('cost_price');?>
- - - link($productOption['Product']['title'], array('controller'=> 'products', 'action'=>'view', $productOption['Product']['id'])); ?> - - - - - - - - link(__('View', true), array('action'=>'view', $productOption['ProductOption']['id'])); ?> - link(__('Edit', true), array('action'=>'edit', $productOption['ProductOption']['id'])); ?> - link(__('Delete', true), array('action'=>'delete', $productOption['ProductOption']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $productOption['ProductOption']['id'])); ?> -
-
-
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
-
-
    -
  • link(__('New ProductOption', true), array('action'=>'add')); ?>
  • -
  • link(__('List Products', true), array('controller'=> 'products', 'action'=>'index')); ?>
  • -
  • link(__('New Product', true), array('controller'=> 'products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/product_options/.svn/text-base/view.ctp.svn-base b/views/product_options/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index f9ef5a95..00000000 --- a/views/product_options/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,40 +0,0 @@ -
-

-
- > - > - -   - - > - > - link($productOption['Product']['title'], array('controller'=> 'products', 'action'=>'view', $productOption['Product']['id'])); ?> -   - - > - > - -   - - > - > - -   - - > - > - -   - -
-
-
-
    -
  • link(__('Edit ProductOption', true), array('action'=>'edit', $productOption['ProductOption']['id'])); ?>
  • -
  • link(__('Delete ProductOption', true), array('action'=>'delete', $productOption['ProductOption']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $productOption['ProductOption']['id'])); ?>
  • -
  • link(__('List ProductOptions', true), array('action'=>'index')); ?>
  • -
  • link(__('New ProductOption', true), array('action'=>'add')); ?>
  • -
  • link(__('List Products', true), array('controller'=> 'products', 'action'=>'index')); ?>
  • -
  • link(__('New Product', true), array('controller'=> 'products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/products/.svn/entries b/views/products/.svn/entries deleted file mode 100644 index 1568c74b..00000000 --- a/views/products/.svn/entries +++ /dev/null @@ -1,164 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/products -file:///home/karl/svn/quotenik - - - -2009-01-12T00:37:38.932516Z -17 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -view.ctp -file - - - - -2009-01-10T03:51:25.000000Z -215f2c251aefd874c55881dbb8bf8724 -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -5608 - -edit.ctp -file - - - - -2009-01-10T03:51:26.000000Z -ad01821033f03975848f277439a4222d -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1555 - -index.ctp -file - - - - -2009-01-10T03:51:25.000000Z -6ab4674485e7759e4b5b4692a30b1a8f -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -3733 - -add.ctp -file - - - - -2009-01-10T03:51:26.000000Z -d544e9e66f0ccdff028a89fb6a2b34c7 -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1320 - diff --git a/views/products/.svn/format b/views/products/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/products/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/products/.svn/prop-base/add.ctp.svn-base b/views/products/.svn/prop-base/add.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/products/.svn/prop-base/add.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/products/.svn/prop-base/edit.ctp.svn-base b/views/products/.svn/prop-base/edit.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/products/.svn/prop-base/edit.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/products/.svn/prop-base/index.ctp.svn-base b/views/products/.svn/prop-base/index.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/products/.svn/prop-base/index.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/products/.svn/prop-base/view.ctp.svn-base b/views/products/.svn/prop-base/view.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/products/.svn/prop-base/view.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/products/.svn/text-base/add.ctp.svn-base b/views/products/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index 0ca361c7..00000000 --- a/views/products/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,31 +0,0 @@ -
-create('Product');?> -
- - input('principle_id'); - echo $form->input('title'); - echo $form->input('description'); - echo $form->input('principle_part_number'); - echo $form->input('cmc_part_number'); - echo $form->input('costprice_each'); - echo $form->input('our_discount'); - echo $form->input('packing_each'); - echo $form->input('shipping_weight_each'); - echo $form->input('shipping_cost_each'); - echo $form->input('duty'); - echo $form->input('target_gp'); - echo $form->input('sellprice_each'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List Products', true), array('action'=>'index'));?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
  • link(__('List Product Options', true), array('controller'=> 'product_options', 'action'=>'index')); ?>
  • -
  • link(__('New Product Option', true), array('controller'=> 'product_options', 'action'=>'add')); ?>
  • -
-
diff --git a/views/products/.svn/text-base/edit.ctp.svn-base b/views/products/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index b8ce29fd..00000000 --- a/views/products/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,33 +0,0 @@ -
-create('Product');?> -
- - input('id'); - echo $form->input('principle_id'); - echo $form->input('title'); - echo $form->input('description'); - echo $form->input('principle_part_number'); - echo $form->input('cmc_part_number'); - echo $form->input('costprice_each'); - echo $form->input('our_discount'); - echo $form->input('packing_each'); - echo $form->input('shipping_weight_each'); - echo $form->input('shipping_cost_each'); - echo $form->input('duty'); - echo $form->input('target_gp'); - echo $form->input('sellprice_each'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('Delete', true), array('action'=>'delete', $form->value('Product.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Product.id'))); ?>
  • -
  • link(__('List Products', true), array('action'=>'index'));?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
  • link(__('List Product Options', true), array('controller'=> 'product_options', 'action'=>'index')); ?>
  • -
  • link(__('New Product Option', true), array('controller'=> 'product_options', 'action'=>'add')); ?>
  • -
-
diff --git a/views/products/.svn/text-base/index.ctp.svn-base b/views/products/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index 6a94b877..00000000 --- a/views/products/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,100 +0,0 @@ -
-

-

-counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>

- - - - - - - - - - - - - - - - - - - - > - - - - - - - - - - - - - - - - - -
sort('id');?>sort('principle_id');?>sort('title');?>sort('description');?>sort('principle_part_number');?>sort('cmc_part_number');?>sort('costprice_each');?>sort('our_discount');?>sort('packing_each');?>sort('shipping_weight_each');?>sort('shipping_cost_each');?>sort('duty');?>sort('target_gp');?>sort('sellprice_each');?>
- - - link($product['Principle']['name'], array('controller'=> 'principles', 'action'=>'view', $product['Principle']['id'])); ?> - - - - - - - - - - - - - - - - - - - - - - - - - - link(__('View', true), array('action'=>'view', $product['Product']['id'])); ?> - link(__('Edit', true), array('action'=>'edit', $product['Product']['id'])); ?> - link(__('Delete', true), array('action'=>'delete', $product['Product']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $product['Product']['id'])); ?> -
-
-
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
-
-
    -
  • link(__('New Product', true), array('action'=>'add')); ?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
  • link(__('List Product Options', true), array('controller'=> 'product_options', 'action'=>'index')); ?>
  • -
  • link(__('New Product Option', true), array('controller'=> 'product_options', 'action'=>'add')); ?>
  • -
-
diff --git a/views/products/.svn/text-base/view.ctp.svn-base b/views/products/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index 3bf1e3b0..00000000 --- a/views/products/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,129 +0,0 @@ -
-

-
- > - > - -   - - > - > - link($product['Principle']['name'], array('controller'=> 'principles', 'action'=>'view', $product['Principle']['id'])); ?> -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - -
-
-
-
    -
  • link(__('Edit Product', true), array('action'=>'edit', $product['Product']['id'])); ?>
  • -
  • link(__('Delete Product', true), array('action'=>'delete', $product['Product']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $product['Product']['id'])); ?>
  • -
  • link(__('List Products', true), array('action'=>'index')); ?>
  • -
  • link(__('New Product', true), array('action'=>'add')); ?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
  • link(__('List Product Options', true), array('controller'=> 'product_options', 'action'=>'index')); ?>
  • -
  • link(__('New Product Option', true), array('controller'=> 'product_options', 'action'=>'add')); ?>
  • -
-
- diff --git a/views/quote_products/.svn/entries b/views/quote_products/.svn/entries deleted file mode 100644 index 8125df2f..00000000 --- a/views/quote_products/.svn/entries +++ /dev/null @@ -1,171 +0,0 @@ -9 - -dir -18 -file:///home/karl/svn/quotenik/views/quote_products -file:///home/karl/svn/quotenik - - - -2009-01-12T05:57:25.596672Z -18 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - - - - - - - - -0 - -view.ctp -file - - - - -2009-01-10T03:50:28.000000Z -db5b62b94d87612e7c9dc9083cb96078 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -8204 - -edit.ctp -file - - - - -2009-01-10T03:50:28.000000Z -fe104e2b60915747344ede981dccec4d -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -2613 - -index.ctp -file - - - - -2009-01-10T03:50:27.000000Z -3aaaa71515e374b015e849823d48b249 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -6775 - -add.ctp -file - - - - -2009-01-10T03:50:28.000000Z -5529410e231791d574ab677665c82010 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -2368 - diff --git a/views/quote_products/.svn/format b/views/quote_products/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/quote_products/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/quote_products/.svn/text-base/add.ctp.svn-base b/views/quote_products/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index e8c42b34..00000000 --- a/views/quote_products/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,52 +0,0 @@ -
-create('QuoteProduct');?> -
- - input('itemnumber'); - echo $form->input('option'); - echo $form->input('quantity'); - echo $form->input('costprice'); - echo $form->input('currency_id'); - echo $form->input('ourdiscount'); - echo $form->input('packing'); - echo $form->input('shippingweight'); - echo $form->input('shippingcost'); - echo $form->input('exchangerate'); - echo $form->input('duty'); - echo $form->input('finance'); - echo $form->input('misc'); - echo $form->input('grosssellprice'); - echo $form->input('grossgpdollars'); - echo $form->input('grossgppercentage'); - echo $form->input('netgpdollars'); - echo $form->input('netgppercent'); - echo $form->input('targetgp'); - echo $form->input('title'); - echo $form->input('description'); - echo $form->input('total_landed_cost'); - echo $form->input('fob_countryof_export'); - echo $form->input('quote_id'); - echo $form->input('product_id'); - echo $form->input('discount'); - echo $form->input('discountamount'); - echo $form->input('grosssellpriceeach'); - echo $form->input('netsellpriceeach'); - echo $form->input('netsellprice'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List QuoteProducts', true), array('action'=>'index'));?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
  • link(__('List Currencies', true), array('controller'=> 'currencies', 'action'=>'index')); ?>
  • -
  • link(__('New Currency', true), array('controller'=> 'currencies', 'action'=>'add')); ?>
  • -
  • link(__('List Quotes', true), array('controller'=> 'quotes', 'action'=>'index')); ?>
  • -
  • link(__('New Quote', true), array('controller'=> 'quotes', 'action'=>'add')); ?>
  • -
  • link(__('List Products', true), array('controller'=> 'products', 'action'=>'index')); ?>
  • -
  • link(__('New Product', true), array('controller'=> 'products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/quote_products/.svn/text-base/edit.ctp.svn-base b/views/quote_products/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index f994573f..00000000 --- a/views/quote_products/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,54 +0,0 @@ -
-create('QuoteProduct');?> -
- - input('id'); - echo $form->input('itemnumber'); - echo $form->input('option'); - echo $form->input('quantity'); - echo $form->input('costprice'); - echo $form->input('currency_id'); - echo $form->input('ourdiscount'); - echo $form->input('packing'); - echo $form->input('shippingweight'); - echo $form->input('shippingcost'); - echo $form->input('exchangerate'); - echo $form->input('duty'); - echo $form->input('finance'); - echo $form->input('misc'); - echo $form->input('grosssellprice'); - echo $form->input('grossgpdollars'); - echo $form->input('grossgppercentage'); - echo $form->input('netgpdollars'); - echo $form->input('netgppercent'); - echo $form->input('targetgp'); - echo $form->input('title'); - echo $form->input('description'); - echo $form->input('total_landed_cost'); - echo $form->input('fob_countryof_export'); - echo $form->input('quote_id'); - echo $form->input('product_id'); - echo $form->input('discount'); - echo $form->input('discountamount'); - echo $form->input('grosssellpriceeach'); - echo $form->input('netsellpriceeach'); - echo $form->input('netsellprice'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('Delete', true), array('action'=>'delete', $form->value('QuoteProduct.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('QuoteProduct.id'))); ?>
  • -
  • link(__('List QuoteProducts', true), array('action'=>'index'));?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
  • link(__('List Currencies', true), array('controller'=> 'currencies', 'action'=>'index')); ?>
  • -
  • link(__('New Currency', true), array('controller'=> 'currencies', 'action'=>'add')); ?>
  • -
  • link(__('List Quotes', true), array('controller'=> 'quotes', 'action'=>'index')); ?>
  • -
  • link(__('New Quote', true), array('controller'=> 'quotes', 'action'=>'add')); ?>
  • -
  • link(__('List Products', true), array('controller'=> 'products', 'action'=>'index')); ?>
  • -
  • link(__('New Product', true), array('controller'=> 'products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/quote_products/.svn/text-base/index.ctp.svn-base b/views/quote_products/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index 6587f5d1..00000000 --- a/views/quote_products/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,172 +0,0 @@ -
-

-

-counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
sort('id');?>sort('itemnumber');?>sort('option');?>sort('quantity');?>sort('costprice');?>sort('currency_id');?>sort('ourdiscount');?>sort('packing');?>sort('shippingweight');?>sort('shippingcost');?>sort('exchangerate');?>sort('duty');?>sort('finance');?>sort('misc');?>sort('grosssellprice');?>sort('grossgpdollars');?>sort('grossgppercentage');?>sort('netgpdollars');?>sort('netgppercent');?>sort('targetgp');?>sort('title');?>sort('description');?>sort('total_landed_cost');?>sort('fob_countryof_export');?>sort('quote_id');?>sort('product_id');?>sort('discount');?>sort('discountamount');?>sort('grosssellpriceeach');?>sort('netsellpriceeach');?>sort('netsellprice');?>
- - - - - - - - - - - link($quoteProduct['Currency']['name'], array('controller'=> 'currencies', 'action'=>'view', $quoteProduct['Currency']['id'])); ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - link($quoteProduct['Quote']['id'], array('controller'=> 'quotes', 'action'=>'view', $quoteProduct['Quote']['id'])); ?> - - link($quoteProduct['Product']['title'], array('controller'=> 'products', 'action'=>'view', $quoteProduct['Product']['id'])); ?> - - - - - - - - - - - - link(__('View', true), array('action'=>'view', $quoteProduct['QuoteProduct']['id'])); ?> - link(__('Edit', true), array('action'=>'edit', $quoteProduct['QuoteProduct']['id'])); ?> - link(__('Delete', true), array('action'=>'delete', $quoteProduct['QuoteProduct']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $quoteProduct['QuoteProduct']['id'])); ?> -
-
-
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
-
-
    -
  • link(__('New QuoteProduct', true), array('action'=>'add')); ?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
  • link(__('List Currencies', true), array('controller'=> 'currencies', 'action'=>'index')); ?>
  • -
  • link(__('New Currency', true), array('controller'=> 'currencies', 'action'=>'add')); ?>
  • -
  • link(__('List Quotes', true), array('controller'=> 'quotes', 'action'=>'index')); ?>
  • -
  • link(__('New Quote', true), array('controller'=> 'quotes', 'action'=>'add')); ?>
  • -
  • link(__('List Products', true), array('controller'=> 'products', 'action'=>'index')); ?>
  • -
  • link(__('New Product', true), array('controller'=> 'products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/quote_products/.svn/text-base/view.ctp.svn-base b/views/quote_products/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index 81328a6a..00000000 --- a/views/quote_products/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,176 +0,0 @@ -
-

-
- > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - link($quoteProduct['Currency']['name'], array('controller'=> 'currencies', 'action'=>'view', $quoteProduct['Currency']['id'])); ?> -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - link($quoteProduct['Quote']['id'], array('controller'=> 'quotes', 'action'=>'view', $quoteProduct['Quote']['id'])); ?> -   - - > - > - link($quoteProduct['Product']['title'], array('controller'=> 'products', 'action'=>'view', $quoteProduct['Product']['id'])); ?> -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - -
-
-
-
    -
  • link(__('Edit QuoteProduct', true), array('action'=>'edit', $quoteProduct['QuoteProduct']['id'])); ?>
  • -
  • link(__('Delete QuoteProduct', true), array('action'=>'delete', $quoteProduct['QuoteProduct']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $quoteProduct['QuoteProduct']['id'])); ?>
  • -
  • link(__('List QuoteProducts', true), array('action'=>'index')); ?>
  • -
  • link(__('New QuoteProduct', true), array('action'=>'add')); ?>
  • -
  • link(__('List Principles', true), array('controller'=> 'principles', 'action'=>'index')); ?>
  • -
  • link(__('New Principle', true), array('controller'=> 'principles', 'action'=>'add')); ?>
  • -
  • link(__('List Currencies', true), array('controller'=> 'currencies', 'action'=>'index')); ?>
  • -
  • link(__('New Currency', true), array('controller'=> 'currencies', 'action'=>'add')); ?>
  • -
  • link(__('List Quotes', true), array('controller'=> 'quotes', 'action'=>'index')); ?>
  • -
  • link(__('New Quote', true), array('controller'=> 'quotes', 'action'=>'add')); ?>
  • -
  • link(__('List Products', true), array('controller'=> 'products', 'action'=>'index')); ?>
  • -
  • link(__('New Product', true), array('controller'=> 'products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/quotes/.svn/entries b/views/quotes/.svn/entries deleted file mode 100644 index 0c9bbae3..00000000 --- a/views/quotes/.svn/entries +++ /dev/null @@ -1,164 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/quotes -file:///home/karl/svn/quotenik - - - -2009-01-05T03:21:30.261073Z -12 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -view.ctp -file - - - - -2008-12-31T02:39:10.000000Z -3bd858b7254e78c93cc808da8f68a19c -2009-01-05T03:21:30.261073Z -12 -karl -has-props - - - - - - - - - - - - - - - - - - - - -7398 - -edit.ctp -file - - - - -2008-12-22T23:29:08.000000Z -318a6cb1521c7979f5f10490f835113b -2008-12-24T01:25:35.332966Z -11 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1292 - -index.ctp -file - - - - -2008-12-22T23:29:07.000000Z -d9d503c7550dfb37676d8714188dcd19 -2008-12-24T01:25:35.332966Z -11 -karl -has-props - - - - - - - - - - - - - - - - - - - - -3094 - -add.ctp -file - - - - -2008-12-22T23:29:08.000000Z -5f048915f21f1cac7477508972913d5f -2008-12-24T01:25:35.332966Z -11 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1061 - diff --git a/views/quotes/.svn/format b/views/quotes/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/quotes/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/quotes/.svn/prop-base/add.ctp.svn-base b/views/quotes/.svn/prop-base/add.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/quotes/.svn/prop-base/add.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/quotes/.svn/prop-base/edit.ctp.svn-base b/views/quotes/.svn/prop-base/edit.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/quotes/.svn/prop-base/edit.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/quotes/.svn/prop-base/index.ctp.svn-base b/views/quotes/.svn/prop-base/index.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/quotes/.svn/prop-base/index.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/quotes/.svn/prop-base/view.ctp.svn-base b/views/quotes/.svn/prop-base/view.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/quotes/.svn/prop-base/view.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/quotes/.svn/text-base/add.ctp.svn-base b/views/quotes/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index 64e82b10..00000000 --- a/views/quotes/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,25 +0,0 @@ -
-create('Quote');?> -
- - input('enquiry_id'); - echo $form->input('revision'); - echo $form->input('first_page'); - echo $form->input('attachments'); - echo $form->input('delivery_time'); - echo $form->input('payment_terms'); - echo $form->input('days_valid'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List Quotes', true), array('action'=>'index'));?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
  • link(__('List Quote Products', true), array('controller'=> 'quote_products', 'action'=>'index')); ?>
  • -
  • link(__('New Quote Product', true), array('controller'=> 'quote_products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/quotes/.svn/text-base/edit.ctp.svn-base b/views/quotes/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index 0f35491f..00000000 --- a/views/quotes/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,27 +0,0 @@ -
-create('Quote');?> -
- - input('id'); - echo $form->input('enquiry_id'); - echo $form->input('revision'); - echo $form->input('first_page'); - echo $form->input('attachments'); - echo $form->input('delivery_time'); - echo $form->input('payment_terms'); - echo $form->input('days_valid'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('Delete', true), array('action'=>'delete', $form->value('Quote.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Quote.id'))); ?>
  • -
  • link(__('List Quotes', true), array('action'=>'index'));?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
  • link(__('List Quote Products', true), array('controller'=> 'quote_products', 'action'=>'index')); ?>
  • -
  • link(__('New Quote Product', true), array('controller'=> 'quote_products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/quotes/.svn/text-base/index.ctp.svn-base b/views/quotes/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index df3f8e6c..00000000 --- a/views/quotes/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,84 +0,0 @@ -
-

-

-counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>

- - - - - - - - - - - - - - - - > - - - - - - - - - - - - - -
sort('created');?>sort('modified');?>sort('id');?>sort('enquiry_id');?>sort('revision');?>sort('first_page');?>sort('attachments');?>sort('delivery_time');?>sort('payment_terms');?>sort('days_valid');?>
- - - - - - - link($quote['Enquiry']['title'], array('controller'=> 'enquiries', 'action'=>'view', $quote['Enquiry']['id'])); ?> - - - - - - - - - - - - - - link(__('View', true), array('action'=>'view', $quote['Quote']['id'])); ?> - link(__('Edit', true), array('action'=>'edit', $quote['Quote']['id'])); ?> - link(__('Delete', true), array('action'=>'delete', $quote['Quote']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $quote['Quote']['id'])); ?> -
-
-
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
-
-
    -
  • link(__('New Quote', true), array('action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
  • link(__('List Quote Products', true), array('controller'=> 'quote_products', 'action'=>'index')); ?>
  • -
  • link(__('New Quote Product', true), array('controller'=> 'quote_products', 'action'=>'add')); ?>
  • -
-
diff --git a/views/quotes/.svn/text-base/view.ctp.svn-base b/views/quotes/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index f87e3eee..00000000 --- a/views/quotes/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,171 +0,0 @@ -
-

-
- > - > - -   - - > - > - -   - - > - > - -   - - > - > - link($quote['Enquiry']['title'], array('controller'=> 'enquiries', 'action'=>'view', $quote['Enquiry']['id'])); ?> -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - -
-
-
-
    -
  • link(__('Edit Quote', true), array('action'=>'edit', $quote['Quote']['id'])); ?>
  • -
  • link(__('Delete Quote', true), array('action'=>'delete', $quote['Quote']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $quote['Quote']['id'])); ?>
  • -
  • link(__('List Quotes', true), array('action'=>'index')); ?>
  • -
  • link(__('New Quote', true), array('action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
  • link(__('List Quote Products', true), array('controller'=> 'quote_products', 'action'=>'index')); ?>
  • -
  • link(__('New Quote Product', true), array('controller'=> 'quote_products', 'action'=>'add')); ?>
  • -
-
- diff --git a/views/scaffolds/.svn/entries b/views/scaffolds/.svn/entries deleted file mode 100644 index 315867ed..00000000 --- a/views/scaffolds/.svn/entries +++ /dev/null @@ -1,41 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/scaffolds -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -empty -file - - - - -2008-11-13T00:42:45.000000Z -d41d8cd98f00b204e9800998ecf8427e -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/views/scaffolds/.svn/format b/views/scaffolds/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/scaffolds/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/scaffolds/.svn/prop-base/empty.svn-base b/views/scaffolds/.svn/prop-base/empty.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/scaffolds/.svn/prop-base/empty.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/scaffolds/.svn/text-base/empty.svn-base b/views/scaffolds/.svn/text-base/empty.svn-base deleted file mode 100644 index e69de29b..00000000 diff --git a/views/states/.svn/entries b/views/states/.svn/entries deleted file mode 100644 index 154e0a31..00000000 --- a/views/states/.svn/entries +++ /dev/null @@ -1,101 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/states -file:///home/karl/svn/quotenik - - - -2009-01-05T03:21:30.261073Z -12 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -view.ctp -file - - - - -2008-12-25T12:58:08.000000Z -4fd356be8f6f5adf98d8b324a312faaa -2009-01-05T03:21:30.261073Z -12 -karl -has-props - - - - - - - - - - - - - - - - - - - - -3876 - -edit.ctp -file - - - - -2008-11-13T00:42:45.000000Z -a775a36063065e502b2d7fc683f1897f -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -index.ctp -file - - - - -2008-11-13T00:42:45.000000Z -e7535bd57239ffaf7d04dc1aee31dc1b -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -add.ctp -file - - - - -2008-11-13T00:42:45.000000Z -2969d250e305f54868b5ccf7e30ed396 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/views/states/.svn/format b/views/states/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/states/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/states/.svn/prop-base/add.ctp.svn-base b/views/states/.svn/prop-base/add.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/states/.svn/prop-base/add.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/states/.svn/prop-base/edit.ctp.svn-base b/views/states/.svn/prop-base/edit.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/states/.svn/prop-base/edit.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/states/.svn/prop-base/index.ctp.svn-base b/views/states/.svn/prop-base/index.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/states/.svn/prop-base/index.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/states/.svn/prop-base/view.ctp.svn-base b/views/states/.svn/prop-base/view.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/states/.svn/prop-base/view.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/states/.svn/text-base/add.ctp.svn-base b/views/states/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index ce4e42bc..00000000 --- a/views/states/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,21 +0,0 @@ -
-create('State');?> -
- - input('name'); - echo $form->input('shortform'); - echo $form->input('enqform'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List States', true), array('action'=>'index'));?>
  • -
  • link(__('List Addresses', true), array('controller'=> 'addresses', 'action'=>'index')); ?>
  • -
  • link(__('New Address', true), array('controller'=> 'addresses', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/states/.svn/text-base/edit.ctp.svn-base b/views/states/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index 8c66ff5c..00000000 --- a/views/states/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,23 +0,0 @@ -
-create('State');?> -
- - input('id'); - echo $form->input('name'); - echo $form->input('shortform'); - echo $form->input('enqform'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('Delete', true), array('action'=>'delete', $form->value('State.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('State.id'))); ?>
  • -
  • link(__('List States', true), array('action'=>'index'));?>
  • -
  • link(__('List Addresses', true), array('controller'=> 'addresses', 'action'=>'index')); ?>
  • -
  • link(__('New Address', true), array('controller'=> 'addresses', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/states/.svn/text-base/index.ctp.svn-base b/views/states/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index 942a2e6e..00000000 --- a/views/states/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,60 +0,0 @@ -
-

-

-counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>

- - - - - - - - - - > - - - - - - - -
sort('id');?>sort('name');?>sort('shortform');?>sort('enqform');?>
- - - - - - - - - link(__('View', true), array('action'=>'view', $state['State']['id'])); ?> - link(__('Edit', true), array('action'=>'edit', $state['State']['id'])); ?> - link(__('Delete', true), array('action'=>'delete', $state['State']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $state['State']['id'])); ?> -
-
-
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
-
-
    -
  • link(__('New State', true), array('action'=>'add')); ?>
  • -
  • link(__('List Addresses', true), array('controller'=> 'addresses', 'action'=>'index')); ?>
  • -
  • link(__('New Address', true), array('controller'=> 'addresses', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/states/.svn/text-base/view.ctp.svn-base b/views/states/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index 99b48f5a..00000000 --- a/views/states/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,98 +0,0 @@ -
-

-
- > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - -
-
-
-
    -
  • link(__('Edit State', true), array('action'=>'edit', $state['State']['id'])); ?>
  • -
  • link(__('Delete State', true), array('action'=>'delete', $state['State']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $state['State']['id'])); ?>
  • -
  • link(__('List States', true), array('action'=>'index')); ?>
  • -
  • link(__('New State', true), array('action'=>'add')); ?>
  • -
  • link(__('List Addresses', true), array('controller'=> 'addresses', 'action'=>'index')); ?>
  • -
  • link(__('New Address', true), array('controller'=> 'addresses', 'action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
- - diff --git a/views/statuses/.svn/entries b/views/statuses/.svn/entries deleted file mode 100644 index 7f063e90..00000000 --- a/views/statuses/.svn/entries +++ /dev/null @@ -1,101 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/statuses -file:///home/karl/svn/quotenik - - - -2009-01-05T03:21:30.261073Z -12 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -view.ctp -file - - - - -2008-12-26T00:48:50.000000Z -721dd466dd05acb296cd2fbe6e65dffb -2009-01-05T03:21:30.261073Z -12 -karl -has-props - - - - - - - - - - - - - - - - - - - - -491 - -edit.ctp -file - - - - -2008-11-13T00:42:45.000000Z -783116dad73a2fe11e816ad9c328ddaf -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -index.ctp -file - - - - -2008-11-13T00:42:45.000000Z -d4905d3e9cf16b6b955fde36413dab47 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -add.ctp -file - - - - -2008-11-13T00:42:45.000000Z -9944c1bfb909dc9caaf75092806342d8 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/views/statuses/.svn/format b/views/statuses/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/statuses/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/statuses/.svn/prop-base/add.ctp.svn-base b/views/statuses/.svn/prop-base/add.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/statuses/.svn/prop-base/add.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/statuses/.svn/prop-base/edit.ctp.svn-base b/views/statuses/.svn/prop-base/edit.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/statuses/.svn/prop-base/edit.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/statuses/.svn/prop-base/index.ctp.svn-base b/views/statuses/.svn/prop-base/index.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/statuses/.svn/prop-base/index.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/statuses/.svn/prop-base/view.ctp.svn-base b/views/statuses/.svn/prop-base/view.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/statuses/.svn/prop-base/view.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/statuses/.svn/text-base/add.ctp.svn-base b/views/statuses/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index 7a4dce17..00000000 --- a/views/statuses/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,17 +0,0 @@ -
-create('Status');?> -
- - input('name'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List Statuses', true), array('action'=>'index'));?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/statuses/.svn/text-base/edit.ctp.svn-base b/views/statuses/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index 4c039696..00000000 --- a/views/statuses/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,19 +0,0 @@ -
-create('Status');?> -
- - input('id'); - echo $form->input('name'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('Delete', true), array('action'=>'delete', $form->value('Status.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Status.id'))); ?>
  • -
  • link(__('List Statuses', true), array('action'=>'index'));?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/statuses/.svn/text-base/index.ctp.svn-base b/views/statuses/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index 935d2b81..00000000 --- a/views/statuses/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,50 +0,0 @@ -
-

-

-counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>

- - - - - - - - > - - - - - -
sort('id');?>sort('name');?>
- - - - - link(__('View', true), array('action'=>'view', $status['Status']['id'])); ?> - link(__('Edit', true), array('action'=>'edit', $status['Status']['id'])); ?> - link(__('Delete', true), array('action'=>'delete', $status['Status']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $status['Status']['id'])); ?> -
-
-
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
-
-
    -
  • link(__('New Status', true), array('action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/statuses/.svn/text-base/view.ctp.svn-base b/views/statuses/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index 0e6a4109..00000000 --- a/views/statuses/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,19 +0,0 @@ -
-

- - diff --git a/views/users/.svn/entries b/views/users/.svn/entries deleted file mode 100644 index 8dd1b888..00000000 --- a/views/users/.svn/entries +++ /dev/null @@ -1,177 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/views/users -file:///home/karl/svn/quotenik - - - -2009-01-12T00:37:38.932516Z -17 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -view.ctp -file - - - - -2009-01-06T04:26:58.000000Z -77a51a8744c882aa773941e33a67c3c1 -2009-01-07T01:19:11.314653Z -14 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1781 - -edit.ctp -file - - - - -2009-01-09T02:27:32.000000Z -7e21e9a1401cffa24e090a50a4969591 -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -1010 - -index.ctp -file - - - - -2008-11-24T06:03:03.000000Z -b53904c32267504e539fec83b4032183 -2008-11-26T11:57:37.967249Z -8 -karl -has-props - - - - - - - - - - - - - - - - - - - - -2284 - -add.ctp -file - - - - -2009-01-09T02:27:38.000000Z -2fb3f30f838c4ae6f9d3c8355532fa9d -2009-01-12T00:37:38.932516Z -17 -karl -has-props - - - - - - - - - - - - - - - - - - - - -781 - -login.ctp -file - - - - -2008-11-13T00:42:45.000000Z -2027ff8fc0ca44768ae0742b81587218 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/views/users/.svn/format b/views/users/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/views/users/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/views/users/.svn/prop-base/add.ctp.svn-base b/views/users/.svn/prop-base/add.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/users/.svn/prop-base/add.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/users/.svn/prop-base/edit.ctp.svn-base b/views/users/.svn/prop-base/edit.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/users/.svn/prop-base/edit.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/users/.svn/prop-base/index.ctp.svn-base b/views/users/.svn/prop-base/index.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/users/.svn/prop-base/index.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/users/.svn/prop-base/login.ctp.svn-base b/views/users/.svn/prop-base/login.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/users/.svn/prop-base/login.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/users/.svn/prop-base/view.ctp.svn-base b/views/users/.svn/prop-base/view.ctp.svn-base deleted file mode 100644 index a6697057..00000000 --- a/views/users/.svn/prop-base/view.ctp.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/views/users/.svn/text-base/add.ctp.svn-base b/views/users/.svn/text-base/add.ctp.svn-base deleted file mode 100644 index 136ce015..00000000 --- a/views/users/.svn/text-base/add.ctp.svn-base +++ /dev/null @@ -1,23 +0,0 @@ -
-create('User');?> -
- - input('username'); - echo $form->input('password'); - echo $form->input('first_name'); - echo $form->input('last_name'); - echo $form->input('email'); - echo $form->input('job_title'); - echo $form->input('group_id'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('List Users', true), array('action'=>'index'));?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/users/.svn/text-base/edit.ctp.svn-base b/views/users/.svn/text-base/edit.ctp.svn-base deleted file mode 100644 index b394da2c..00000000 --- a/views/users/.svn/text-base/edit.ctp.svn-base +++ /dev/null @@ -1,25 +0,0 @@ -
-create('User');?> -
- - input('id'); - echo $form->input('username'); - echo $form->input('password'); - echo $form->input('first_name'); - echo $form->input('last_name'); - echo $form->input('email'); - echo $form->input('job_title'); - echo $form->input('group_id'); - ?> -
-end('Submit');?> -
-
-
    -
  • link(__('Delete', true), array('action'=>'delete', $form->value('User.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('User.id'))); ?>
  • -
  • link(__('List Users', true), array('action'=>'index'));?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/users/.svn/text-base/index.ctp.svn-base b/views/users/.svn/text-base/index.ctp.svn-base deleted file mode 100644 index 1a53f46a..00000000 --- a/views/users/.svn/text-base/index.ctp.svn-base +++ /dev/null @@ -1,67 +0,0 @@ -
-

-

-counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>

- - - - - - - - - - - - > - - - - - - - - - - -
sort('id');?>sort('username');?>sort('first_name');?>sort('last_name');?>sort('email');?>sort('job_title');?>
- - - - - - - - - link($user['User']['email'], 'mailto:'. $user['User']['email']); ?> - - - - link(__('View', true), array('action'=>'view', $user['User']['id'])); ?> - link(__('Edit', true), array('action'=>'edit', $user['User']['id'])); ?> - link(__('Delete', true), array('action'=>'delete', $user['User']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $user['User']['id'])); ?> -
-
-
- prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?> - | numbers();?> - next(__('next', true).' >>', array(), null, array('class'=>'disabled'));?> -
-
-
    -
  • link(__('New User', true), array('action'=>'add')); ?>
  • -
  • link(__('List Enquiries', true), array('controller'=> 'enquiries', 'action'=>'index')); ?>
  • -
  • link(__('New Enquiry', true), array('controller'=> 'enquiries', 'action'=>'add')); ?>
  • -
-
diff --git a/views/users/.svn/text-base/login.ctp.svn-base b/views/users/.svn/text-base/login.ctp.svn-base deleted file mode 100644 index fd34d7e5..00000000 --- a/views/users/.svn/text-base/login.ctp.svn-base +++ /dev/null @@ -1,7 +0,0 @@ -check('Message.auth')) $session->flash('auth'); - echo $form->create('User', array('action' => 'login')); - echo $form->input('username'); - echo $form->input('password'); - echo $form->end('Login'); -?> diff --git a/views/users/.svn/text-base/view.ctp.svn-base b/views/users/.svn/text-base/view.ctp.svn-base deleted file mode 100644 index 8e15c3fe..00000000 --- a/views/users/.svn/text-base/view.ctp.svn-base +++ /dev/null @@ -1,53 +0,0 @@ -
-

-
- > - > - -   - - > - > - -   - - > - > - -   - - > - > - -   - - > - > - link($user['User']['email'], 'mailto:'.$user['User']['email']); ?> -   - - > - > - -   - -
-
- diff --git a/webroot/.svn/entries b/webroot/.svn/entries deleted file mode 100644 index 932380f3..00000000 --- a/webroot/.svn/entries +++ /dev/null @@ -1,160 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/webroot -file:///home/karl/svn/quotenik - - - -2009-01-07T01:19:11.314653Z -14 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -files -dir - -test.php -file - - - - -2008-11-13T00:42:45.000000Z -eff0deb8cac027b6787f763c6e821996 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -css -dir - -q.ico -file -18 - - - -2008-12-23T04:24:22.000000Z -729b4f69f3f13b9ccec08b6562b5a7bf -2009-01-12T05:57:25.596672Z -18 -karl -has-props - - - - - - - - - - - - - - - - - - - - -92 - -.htaccess -file - - - - -2008-11-13T00:42:45.000000Z -b8583bb1e56a044887b62b2f3c935ddd -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -img -dir - -js -dir - -index.php -file - - - - -2008-11-13T00:42:45.000000Z -480388b0dba3e9d7dc676dc1f42cb7bd -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -css.php -file - - - - -2008-11-13T00:42:45.000000Z -a5437d28b8ed901cfd888e741de9edc6 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -favicon.ico -file - - - - -2006-02-10T00:44:26.000000Z -83589f646da602fef01b0c58d80ac866 -2008-12-24T01:25:35.332966Z -11 -karl -has-props - - - - - - - - - - - - - - - - - - - - -682 - diff --git a/webroot/.svn/format b/webroot/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/webroot/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/webroot/.svn/prop-base/.htaccess.svn-base b/webroot/.svn/prop-base/.htaccess.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/.svn/prop-base/.htaccess.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/.svn/prop-base/css.php.svn-base b/webroot/.svn/prop-base/css.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/.svn/prop-base/css.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/.svn/prop-base/favicon.ico.svn-base b/webroot/.svn/prop-base/favicon.ico.svn-base deleted file mode 100644 index cd0e69f8..00000000 --- a/webroot/.svn/prop-base/favicon.ico.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/webroot/.svn/prop-base/index.php.svn-base b/webroot/.svn/prop-base/index.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/.svn/prop-base/index.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/.svn/prop-base/q.ico.svn-base b/webroot/.svn/prop-base/q.ico.svn-base deleted file mode 100644 index dbc918b0..00000000 --- a/webroot/.svn/prop-base/q.ico.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 1 -* -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/webroot/.svn/prop-base/test.php.svn-base b/webroot/.svn/prop-base/test.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/.svn/prop-base/test.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/.svn/text-base/.htaccess.svn-base b/webroot/.svn/text-base/.htaccess.svn-base deleted file mode 100644 index f9d8b938..00000000 --- a/webroot/.svn/text-base/.htaccess.svn-base +++ /dev/null @@ -1,6 +0,0 @@ - - RewriteEngine On - RewriteCond %{REQUEST_FILENAME} !-d - RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] - \ No newline at end of file diff --git a/webroot/.svn/text-base/css.php.svn-base b/webroot/.svn/text-base/css.php.svn-base deleted file mode 100644 index 4f8bc908..00000000 --- a/webroot/.svn/text-base/css.php.svn-base +++ /dev/null @@ -1,104 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.webroot - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 7296 $ - * @modifiedby $LastChangedBy: gwoo $ - * @lastmodified $Date: 2008-06-27 02:09:03 -0700 (Fri, 27 Jun 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -if (!defined('CAKE_CORE_INCLUDE_PATH')) { - header('HTTP/1.1 404 Not Found'); - exit('File Not Found'); -} -/** - * Enter description here... - */ -if (!class_exists('File')) { - uses('file'); -} -/** - * Enter description here... - * - * @param unknown_type $path - * @param unknown_type $name - * @return unknown - */ - function make_clean_css($path, $name) { - require(VENDORS . 'csspp' . DS . 'csspp.php'); - $data = file_get_contents($path); - $csspp = new csspp(); - $output = $csspp->compress($data); - $ratio = 100 - (round(strlen($output) / strlen($data), 3) * 100); - $output = " /* file: $name, ratio: $ratio% */ " . $output; - return $output; - } -/** - * Enter description here... - * - * @param unknown_type $path - * @param unknown_type $content - * @return unknown - */ - function write_css_cache($path, $content) { - if (!is_dir(dirname($path))) { - mkdir(dirname($path)); - } - $cache = new File($path); - return $cache->write($content); - } - - if (preg_match('|\.\.|', $url) || !preg_match('|^ccss/(.+)$|i', $url, $regs)) { - die('Wrong file name.'); - } - - $filename = 'css/' . $regs[1]; - $filepath = CSS . $regs[1]; - $cachepath = CACHE . 'css' . DS . str_replace(array('/','\\'), '-', $regs[1]); - - if (!file_exists($filepath)) { - die('Wrong file name.'); - } - - if (file_exists($cachepath)) { - $templateModified = filemtime($filepath); - $cacheModified = filemtime($cachepath); - - if ($templateModified > $cacheModified) { - $output = make_clean_css($filepath, $filename); - write_css_cache($cachepath, $output); - } else { - $output = file_get_contents($cachepath); - } - } else { - $output = make_clean_css($filepath, $filename); - write_css_cache($cachepath, $output); - $templateModified = time(); - } - - header("Date: " . date("D, j M Y G:i:s ", $templateModified) . 'GMT'); - header("Content-Type: text/css"); - header("Expires: " . gmdate("D, j M Y H:i:s", time() + DAY) . " GMT"); - header("Cache-Control: cache"); // HTTP/1.1 - header("Pragma: cache"); // HTTP/1.0 - print $output; -?> \ No newline at end of file diff --git a/webroot/.svn/text-base/favicon.ico.svn-base b/webroot/.svn/text-base/favicon.ico.svn-base deleted file mode 100644 index 7dc15ea96efad0905b544473015fc80b7fe7b4f2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 682 zcmV;b0#*HqP)W! z3fe_~f&YQDYv&?Y5flVLjk<|wlX-0z3ufq(Vbc5^nq2rNXI-1yenaLfYLBs4~uT(Wh49B7U*xz_+u1=$qv z#gBA8SHroS)t|T}=?H7zVP)z=>1pR}i_}fvD$u&?1ps~|en?~6bxZe}9X<=GS_lQS z^p52HV{Cm+h>@sg^hz1yDhbrk{?gLd%#L1yR1NrXR2oBd;5xcVT(!w3&nhvlLIdaO zoBHg~8PE!tZ6+S`pOL0!qP-_P?`WgfkFYag0u!<5)MQt z;R23XKNR=>7Evr>Y_OJxWEq7?PyqdeumH&-ge3@N*;I{jaHoyN{$p>f{lHq)$ diff --git a/webroot/.svn/text-base/index.php.svn-base b/webroot/.svn/text-base/index.php.svn-base deleted file mode 100644 index 6a7966fc..00000000 --- a/webroot/.svn/text-base/index.php.svn-base +++ /dev/null @@ -1,95 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.webroot - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 7296 $ - * @modifiedby $LastChangedBy: gwoo $ - * @lastmodified $Date: 2008-06-27 02:09:03 -0700 (Fri, 27 Jun 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -/** - * Use the DS to separate the directories in other defines - */ - if (!defined('DS')) { - define('DS', DIRECTORY_SEPARATOR); - } -/** - * These defines should only be edited if you have cake installed in - * a directory layout other than the way it is distributed. - * When using custom settings be sure to use the DS and do not add a trailing DS. - */ - -/** - * The full path to the directory which holds "app", WITHOUT a trailing DS. - * - */ - if (!defined('ROOT')) { - define('ROOT', dirname(dirname(dirname(__FILE__)))); - } -/** - * The actual directory name for the "app". - * - */ - if (!defined('APP_DIR')) { - define('APP_DIR', basename(dirname(dirname(__FILE__)))); - } -/** - * The absolute path to the "cake" directory, WITHOUT a trailing DS. - * - */ - if (!defined('CAKE_CORE_INCLUDE_PATH')) { - define('CAKE_CORE_INCLUDE_PATH', ROOT); - } - -/** - * Editing below this line should NOT be necessary. - * Change at your own risk. - * - */ - if (!defined('WEBROOT_DIR')) { - define('WEBROOT_DIR', basename(dirname(__FILE__))); - } - if (!defined('WWW_ROOT')) { - define('WWW_ROOT', dirname(__FILE__) . DS); - } - if (!defined('CORE_PATH')) { - if (function_exists('ini_set') && ini_set('include_path', CAKE_CORE_INCLUDE_PATH . PATH_SEPARATOR . ROOT . DS . APP_DIR . DS . PATH_SEPARATOR . ini_get('include_path'))) { - define('APP_PATH', null); - define('CORE_PATH', null); - } else { - define('APP_PATH', ROOT . DS . APP_DIR . DS); - define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS); - } - } - if (!include(CORE_PATH . 'cake' . DS . 'bootstrap.php')) { - trigger_error("CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your " . DS . "cake core directory and your " . DS . "vendors root directory.", E_USER_ERROR); - } - if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') { - return; - } else { - $Dispatcher = new Dispatcher(); - $Dispatcher->dispatch($url); - } - if (Configure::read() > 0) { - echo ""; - } -?> \ No newline at end of file diff --git a/webroot/.svn/text-base/q.ico.svn-base b/webroot/.svn/text-base/q.ico.svn-base deleted file mode 100644 index ff71ca6d671db4386c873bbb21364203262926bf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 92 zcmZ?wbhEHb6krfwXkcXUuKM`@|9{1QoPnkJC8>Ft*@_H`KUo;L7#JCJ7=QqzjDbn5 ur++2m-RwCvo^stWODCqU(^PyMn{bnHnO0TuuDLH-bWKDa?+j#Mum%7;OCG}j diff --git a/webroot/.svn/text-base/test.php.svn-base b/webroot/.svn/text-base/test.php.svn-base deleted file mode 100644 index dcefc00b..00000000 --- a/webroot/.svn/text-base/test.php.svn-base +++ /dev/null @@ -1,183 +0,0 @@ - - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The Open Group Test Suite License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests - * @package cake - * @subpackage cake.cake.tests.libs - * @since CakePHP(tm) v 1.2.0.4433 - * @version $Revision: 7296 $ - * @modifiedby $LastChangedBy: gwoo $ - * @lastmodified $Date: 2008-06-27 02:09:03 -0700 (Fri, 27 Jun 2008) $ - * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License - */ -error_reporting(E_ALL); -set_time_limit(0); -ini_set('memory_limit','128M'); -ini_set('display_errors', 1); -/** - * Use the DS to separate the directories in other defines - */ - if (!defined('DS')) { - define('DS', DIRECTORY_SEPARATOR); - } -/** - * These defines should only be edited if you have cake installed in - * a directory layout other than the way it is distributed. - * When using custom settings be sure to use the DS and do not add a trailing DS. - */ - -/** - * The full path to the directory which holds "app", WITHOUT a trailing DS. - * - */ - if (!defined('ROOT')) { - define('ROOT', dirname(dirname(dirname(__FILE__)))); - } -/** - * The actual directory name for the "app". - * - */ - if (!defined('APP_DIR')) { - define('APP_DIR', basename(dirname(dirname(__FILE__)))); - } -/** - * The absolute path to the "cake" directory, WITHOUT a trailing DS. - * - */ - if (!defined('CAKE_CORE_INCLUDE_PATH')) { - define('CAKE_CORE_INCLUDE_PATH', ROOT); - } - -/** - * Editing below this line should not be necessary. - * Change at your own risk. - * - */ -if (!defined('WEBROOT_DIR')) { - define('WEBROOT_DIR', basename(dirname(__FILE__))); -} -if (!defined('WWW_ROOT')) { - define('WWW_ROOT', dirname(__FILE__) . DS); -} -if (!defined('CORE_PATH')) { - if (function_exists('ini_set') && ini_set('include_path', CAKE_CORE_INCLUDE_PATH . PATH_SEPARATOR . ROOT . DS . APP_DIR . DS . PATH_SEPARATOR . ini_get('include_path'))) { - define('APP_PATH', null); - define('CORE_PATH', null); - } else { - define('APP_PATH', ROOT . DS . APP_DIR . DS); - define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS); - } -} -if (!include(CORE_PATH . 'cake' . DS . 'bootstrap.php')) { - trigger_error("CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your " . DS . "cake core directory and your " . DS . "vendors root directory.", E_USER_ERROR); -} - -$corePath = Configure::corePaths('cake'); -if (isset($corePath[0])) { - define('TEST_CAKE_CORE_INCLUDE_PATH', rtrim($corePath[0], DS) . DS); -} else { - define('TEST_CAKE_CORE_INCLUDE_PATH', CAKE_CORE_INCLUDE_PATH); -} - -require_once CAKE_TESTS_LIB . 'test_manager.php'; - -if (Configure::read('debug') < 1) { - die(__('Debug setting does not allow access to this url.', true)); -} - -if (!isset($_SERVER['SERVER_NAME'])) { - $_SERVER['SERVER_NAME'] = ''; -} -if (empty( $_GET['output'])) { - $_GET['output'] = 'html'; -} -/** - * - * Used to determine output to display - */ -define('CAKE_TEST_OUTPUT_HTML', 1); -define('CAKE_TEST_OUTPUT_TEXT', 2); - -if (isset($_GET['output']) && $_GET['output'] == 'html') { - define('CAKE_TEST_OUTPUT', CAKE_TEST_OUTPUT_HTML); -} else { - Debugger::output('txt'); - define('CAKE_TEST_OUTPUT', CAKE_TEST_OUTPUT_TEXT); -} - -if (!App::import('Vendor', 'simpletest' . DS . 'reporter')) { - CakePHPTestHeader(); - include CAKE_TESTS_LIB . 'simpletest.php'; - CakePHPTestSuiteFooter(); - exit(); -} - -$analyzeCodeCoverage = false; -if (isset($_GET['code_coverage'])) { - $analyzeCodeCoverage = true; - require_once CAKE_TESTS_LIB . 'code_coverage_manager.php'; - if (!extension_loaded('xdebug')) { - CakePHPTestHeader(); - include CAKE_TESTS_LIB . 'xdebug.php'; - CakePHPTestSuiteFooter(); - exit(); - } -} - -CakePHPTestHeader(); -CakePHPTestSuiteHeader(); -define('RUN_TEST_LINK', $_SERVER['PHP_SELF']); - -if (isset($_GET['group'])) { - if ('all' == $_GET['group']) { - TestManager::runAllTests(CakeTestsGetReporter()); - } else { - if ($analyzeCodeCoverage) { - CodeCoverageManager::start($_GET['group'], CakeTestsGetReporter()); - } - TestManager::runGroupTest(ucfirst($_GET['group']), CakeTestsGetReporter()); - if ($analyzeCodeCoverage) { - CodeCoverageManager::report(); - } - } - - CakePHPTestRunMore(); - CakePHPTestAnalyzeCodeCoverage(); -} elseif (isset($_GET['case'])) { - if ($analyzeCodeCoverage) { - CodeCoverageManager::start($_GET['case'], CakeTestsGetReporter()); - } - - TestManager::runTestCase($_GET['case'], CakeTestsGetReporter()); - - if ($analyzeCodeCoverage) { - CodeCoverageManager::report(); - } - - CakePHPTestRunMore(); - CakePHPTestAnalyzeCodeCoverage(); -} elseif (isset($_GET['show']) && $_GET['show'] == 'cases') { - CakePHPTestCaseList(); -} else { - CakePHPTestGroupTestList(); -} -CakePHPTestSuiteFooter(); -$output = ob_get_clean(); -echo $output; -?> \ No newline at end of file diff --git a/webroot/css/.svn/entries b/webroot/css/.svn/entries deleted file mode 100644 index a81285ec..00000000 --- a/webroot/css/.svn/entries +++ /dev/null @@ -1,75 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/webroot/css -file:///home/karl/svn/quotenik - - - -2009-01-07T01:19:11.314653Z -14 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -cake.generic.css -file - - - - -2008-11-13T00:42:45.000000Z -4b0000b61ee7c9956a1d27149ef2f183 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -quotenik.css -file - - - - -2009-01-07T01:15:43.000000Z -41bf5863c47841691bf78ea1af05379b -2009-01-07T01:19:11.314653Z -14 -karl -has-props - - - - - - - - - - - - - - - - - - - - -11005 - diff --git a/webroot/css/.svn/format b/webroot/css/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/webroot/css/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/webroot/css/.svn/prop-base/cake.generic.css.svn-base b/webroot/css/.svn/prop-base/cake.generic.css.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/css/.svn/prop-base/cake.generic.css.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/css/.svn/prop-base/quotenik.css.svn-base b/webroot/css/.svn/prop-base/quotenik.css.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/css/.svn/prop-base/quotenik.css.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/css/.svn/text-base/cake.generic.css.svn-base b/webroot/css/.svn/text-base/cake.generic.css.svn-base deleted file mode 100644 index c6367194..00000000 --- a/webroot/css/.svn/text-base/cake.generic.css.svn-base +++ /dev/null @@ -1,475 +0,0 @@ -/* SVN FILE: $Id: cake.generic.css 7118 2008-06-04 20:49:29Z gwoo $ */ -/** - * - * PHP versions 4 and 5 - * - * CakePHP(tm) : Rapid Development Framework - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.webroot.css - * @since CakePHP(tm) - * @version $Revision: 7118 $ - * @modifiedby $LastChangedBy: gwoo $ - * @lastmodified $Date: 2008-06-04 13:49:29 -0700 (Wed, 04 Jun 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ - -* { - margin:0; - padding:0; -} - -/* General Style Info */ -body { - background: #003d4c; - color: #fff; - font-family:'lucida grande',verdana,helvetica,arial,sans-serif; - font-size:90%; - margin: 0; -} -a { - background:#fff; - color: #003d4c; - text-decoration: underline; - font-weight: bold; -} -a:hover { - background:#fff; - color: #003d4c; - text-decoration:none; -} -a img { - border:none; -} -h1, h2, h3, h4 { - font-weight: normal; -} -h1 { - background:#fff; - color: #003d4c; - font-size: 100%; - margin: 0.1em 0; -} -h2 { - background:#fff; - color: #e32; - font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif; - font-size: 190%; - margin: 0.3em 0; - padding-top: 0.8em; -} -h3 { - color: #993; - font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif; - font-size: 165%; - padding-top: 1.5em; -} -h4 { - color: #993; - font-weight: normal; - padding-top: 0.5em; -} -ul, li { - margin: 0 12px; -} - -/* Layout */ -#container { - text-align: left; -} - -#header{ - padding: 10px 20px; -} -#header h1 { - background: #003d4c url('../img/cake.icon.gif') no-repeat left; - color: #fff; - padding: 0px 30px; -} -#header h1 a { - color: #fff; - background: #003d4c; - font-weight: normal; - text-decoration: none; -} -#header h1 a:hover { - color: #fff; - background: #003d4c; - text-decoration: underline; -} -#content{ - background: #fff; - clear: both; - color: #333; - padding: 10px 20px 40px 20px; - overflow: auto; -} -#footer { - clear: both; - padding: 6px 10px; - text-align: right; -} - -/* Tables */ -table { - background: #fff; - border:1px solid #ccc; - border-right:0; - clear: both; - color: #333; - margin-bottom: 10px; - width: 100%; -} -th { - background: #f2f2f2; - border:1px solid #bbb; - border-top: 1px solid #fff; - border-left: 1px solid #fff; - text-align: center; -} -th a { - background:#f2f2f2; - display: block; - padding: 2px 4px; - text-decoration: none; -} -th a:hover { - background: #ccc; - color: #333; - text-decoration: none; -} -table tr td { - background: #fff; - border-right: 1px solid #ccc; - padding: 4px; - text-align: center; - vertical-align: top; -} -table tr.altrow td { - background: #f4f4f4; -} -td.actions { - text-align: center; - white-space: nowrap; -} -td.actions a { - margin: 0px 6px; -} -.cake-sql-log table { - background: #f4f4f4; -} -.cake-sql-log td { - padding: 4px 8px; - text-align: left; -} - -/* Paging */ -div.paging { - background:#fff; - color: #ccc; - margin-bottom: 2em; -} -div.paging div.disabled { - color: #ddd; - display: inline; -} -div.paging span { -} -div.paging span.current { - color: #000; -} -div.paging span a { -} - -/* Scaffold View */ -dl { - line-height: 2em; - margin: 0em 0em; - width: 60%; -} -dl.altrow { - background: #f4f4f4; -} -dt { - font-weight: bold; - padding-left: 4px; - vertical-align: top; -} -dd { - margin-left: 10em; - margin-top: -2em; - vertical-align: top; -} - -/* Forms */ -form { - clear: both; - margin-right: 20px; - padding: 0; - width: 80%; -} -fieldset { - border: 1px solid #ccc; - margin-top: 30px; - padding: 16px 20px; -} -fieldset legend { - background:#fff; - color: #e32; - font-size: 160%; - font-weight: bold; -} -fieldset fieldset { - margin-top: 0px; - margin-bottom: 20px; - padding: 16px 0; -} -fieldset fieldset legend { - font-size: 120%; - font-weight: normal; - margin-left: 20px; -} -fieldset fieldset div { - clear: left; - margin: 0 20px; -} -form div { - clear: both; - margin-bottom: 1em; - padding: .5em; - vertical-align: text-top; -} -form div.input { - color: #444; -} -form div.required { - color: #333; - font-weight: bold; -} -form div.submit { - border: 0; - clear: both; - margin-top: 10px; - margin-left: 140px; -} -label { - display: block; - font-size: 110%; - padding-right: 20px; -} -input, textarea { - clear: both; - display: block; - font-size: 140%; - font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif; - padding: 2px; - width: 100%; -} -select { - clear: both; - font-size: 120%; - vertical-align: text-bottom; -} -select[multiple=multiple] { - width: 100%; -} -option { - font-size: 120%; - padding: 0 3px; -} -input[type=checkbox] { - clear: left; - float: left; - margin: 0px 6px 7px 2px; - width: auto; -} -input[type=submit] { - display: inline; - font-size: 110%; - padding: 2px 5px; - width: auto; - vertical-align: bottom; -} - -/* Notices and Errors */ -div.message { - clear: both; - color: #900; - font-size: 140%; - font-weight: bold; - margin: 1em 0; -} -div.error-message { - clear: both; - color: #900; - font-weight: bold; -} -p.error { - background-color: #e32; - color: #fff; - font-family: Courier, monospace; - font-size: 120%; - line-height: 140%; - padding: 0.8em; - margin: 1em 0; -} -p.error em { - color: #000; - font-weight: normal; - line-height: 140%; -} -.notice { - background: #ffcc00; - color: #000; - display: block; - font-family: Courier, monospace; - font-size: 120%; - line-height: 140%; - padding: 0.8em; - margin: 1em 0; -} -.success { - background: green; - color: #fff; -} - -/* Actions */ -div.actions ul { - margin: 0px 0; - padding: 0; -} -div.actions li { - display: inline; - list-style-type: none; - line-height: 2em; - margin: 0 2em 0 0; - white-space: nowrap; -} -div.actions ul li a { - background:#fff; - color: #003d4c; - text-decoration: none; -} -div.actions ul li a:hover { - color: #333; - text-decoration: underline; -} - -/* Related */ -div.related { - clear: both; - display: block; -} - -/* Debugging */ -pre { - color: #000; - background: #f0f0f0; - padding: 1em; -} -pre.cake-debug { - background: #ffcc00; - font-size: 120%; - line-height: 140%; - margin-top: 1em; - overflow: auto; - position: relative; -} -div.cake-stack-trace { - background: #fff; - border: 4px dotted #ffcc00; - color: #333; - margin: 0px; - padding: 6px; - font-size: 120%; - line-height: 140%; - overflow: auto; - position: relative; -} -div.cake-code-dump pre { - position: relative; - overflow: auto; -} -div.cake-stack-trace pre, div.cake-code-dump pre { - color: #000; - background-color: #F0F0F0; - margin: 0px; - padding: 1em; - overflow: auto; -} -div.cake-code-dump pre, div.cake-code-dump pre code { - clear: both; - font-size: 12px; - line-height: 15px; - margin: 4px 2px; - padding: 4px; - overflow: auto; -} -div.cake-code-dump span.code-highlight { - background-color: #ff0; - padding: 4px; -} -div.code-coverage-results div.code-line { - padding-left:5px; - display:block; - margin-left:10px; -} -div.code-coverage-results div.uncovered span.content { - background:#ecc; -} -div.code-coverage-results div.covered span.content { - background:#cec; -} -div.code-coverage-results div.ignored span.content { - color:#aaa; -} -div.code-coverage-results span.line-num { - color:#666; - display:block; - float:left; - width:20px; - text-align:right; - margin-right:5px; -} -div.code-coverage-results span.line-num strong { - color:#666; -} -div.code-coverage-results div.start { - border:1px solid #aaa; - border-width:1px 1px 0px 1px; - margin-top:30px; - padding-top:5px; -} -div.code-coverage-results div.end { - border:1px solid #aaa; - border-width:0px 1px 1px 1px; - margin-bottom:30px; - padding-bottom:5px; -} -div.code-coverage-results div.realstart { - margin-top:0px; -} -div.code-coverage-results p.note { - color:#bbb; - padding:5px; - margin:5px 0 10px; - font-size:10px; -} -div.code-coverage-results span.result-bad { - color: #a00; -} -div.code-coverage-results span.result-ok { - color: #fa0; -} -div.code-coverage-results span.result-good { - color: #0a0; -} \ No newline at end of file diff --git a/webroot/css/.svn/text-base/quotenik.css.svn-base b/webroot/css/.svn/text-base/quotenik.css.svn-base deleted file mode 100644 index bb2acea3..00000000 --- a/webroot/css/.svn/text-base/quotenik.css.svn-base +++ /dev/null @@ -1,669 +0,0 @@ -/* SVN FILE: $Id: cake.generic.css 7118 2008-06-04 20:49:29Z gwoo $ */ -/** - * - * PHP versions 4 and 5 - * - * CakePHP(tm) : Rapid Development Framework - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.webroot.css - * @since CakePHP(tm) - * @version $Revision: 7118 $ - * @modifiedby $LastChangedBy: gwoo $ - * @lastmodified $Date: 2008-06-04 13:49:29 -0700 (Wed, 04 Jun 2008) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ - -/* Quotenik.css - Modifed version of cake.generic.css - Karl Cordes 20 December 2008 */ - -* { - margin:0; - padding:0; -} - -/* General Style Info */ -body { - background: #366FA4; - /* background: #7B9AB6; */ - color: #fff; - font-family:'lucida grande',verdana,helvetica,arial,sans-serif; - font-size:90%; - margin: 0; -} -a { - - color: #003d4c; - text-decoration: underline; - font-weight: bold; -} -a:hover { - - color: #003d4c; - text-decoration:none; -} -a img { - border:none; -} -h1, h2, h3, h4 { - font-weight: normal; -} -h1 { - background:#fff; - color: #003d4c; - font-size: 100%; - margin: 0.1em 0; -} -h2 { - background:#fff; - color: #e32; - font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif; - font-size: 190%; - margin: 0.3em 0; - padding-top: 0.8em; -} -h3 { - color: #2C5FD5; - font-family:'Gill Sans','lucida grande',helvetica, arial, sans-serif; - font-size: 165%; - padding-top: 1.5em; -} -h4 { - color: #993; - font-weight: normal; - padding-top: 0.5em; -} -ul, li { - margin: 0 12px; -} - -/* Layout */ -#container { - text-align: left; -} - -#header{ - /* padding: 10px 20px; */ - background: #366FA4; -} -#header h1 { - /* background: #003d4c url('../img/cmclogo.png') no-repeat left; */ - background: #366FA4; - color: #fff; - font-size: 200%; - padding: 0px 10px; -} -#header h1 a { - color: #fff; - /* background: #E5E5E5; */ - font-weight: normal; - text-decoration: none; -} -#header h1 a:hover { - color: #fff; - /* background: #E5E5E5; */ - text-decoration: underline; -} - -#username { - - position: absolute; - right:0; - width: 20%; - text-align: right; - } - -#username a { - color: #fff; - } - -#nav { - width: 100%; - } - -#nav h3 { - font-size: 120%; - font-weight: bold; - color:#FFFFFF; - background: #366FA4; -} - -#nav h3 a{ - font-size: 120%; - font-weight: bold; - color:#FFFFFF; - width: 100%; - background: #366FA4; - text-decoration:none; -} - -#nav h3 a:hover { - background: #366FA4; -} - -#nav, #nav ul { /* all lists */ - padding: 0; - margin: 0; - list-style: none; - line-height: 1; -} - -#nav a { - display: block; - width: 10em; - background: #E5E5E5; -} - -#nav a:hover { - background:#90EE90; - } - -#nav li { /* all list items */ - float: left; - width: 10em; /* width needed or else Opera goes nuts */ - -} - - - -#nav li ul { /* second-level lists */ - position: absolute; - - width: 10em; - left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */ -} - -#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */ - left: auto; -} - - - - -#content{ - background: #fff; - clear: both; - color: #333; - padding: 10px 20px 40px 20px; - overflow: auto; -} -#footer { - clear: both; - padding: 6px 10px; - text-align: right; -} - -.addressradio label { - display: block; - font-size: 110%; - padding-left: 2em; -} - -/* Tables */ -table { - background: #fff; - border:1px solid #ccc; - border-right:0; - clear: both; - color: #333; - margin-bottom: 10px; - width: 100%; -} -th { - background: #f2f2f2; - border:1px solid #bbb; - border-top: 1px solid #fff; - border-left: 1px solid #fff; - text-align: center; -} -th a { - background:#f2f2f2; - display: block; - padding: 2px 4px; - text-decoration: none; -} -th a:hover { - background: #ccc; - color: #333; - text-decoration: none; -} -table tr td { - background: #fff; - border-right: 1px solid #ccc; - text-align: center; - vertical-align: top; - padding: 1px; -} -table tr.altrow td { - background: #f4f4f4; -} -td.actions { - text-align: center; - white-space: nowrap; -} -td.actions a { - margin: 0px 6px; -} -.cake-sql-log table { - background: #f4f4f4; -} -.cake-sql-log td { - padding: 4px 8px; - text-align: left; -} - -/* Master Enquiry Register Styling */ - -table.mer { - background: #fff; - border:1px solid #ccc; - border-right:0; - clear: both; - color: #333; - margin-bottom: 10px; - width: 100%; - font-size: 85%; -} -th.mer { - background: #f2f2f2; - border:1px solid #bbb; - border-top: 1px solid #fff; - border-left: 1px solid #fff; - text-align: center; -} -th.mer a { - background:#f2f2f2; - display: block; - padding: 2px 4px; - text-decoration: none; -} -th.mer a:hover { - background: #ccc; - color: #333; - text-decoration: none; -} -table.mer tr td { - background: #fff; - border-right: 1px solid #ccc; - border-bottom: 1px solid #ccc; - text-align: center; - vertical-align: top; - padding: 1px; -} - -table.mer tr.altrow td { - background: #f4f4f4; -} -table.mer tr.joblost td { - background: #BFBFBF; -} -table.mer tr.jobwon td { - background: #FFEC35; -} -table.mer tr.information td { - background: #ADD8E6; -} - -table.mer tr td.posted { - background: #00FF00; -} - -table.quotetable tr.mostrecent td { - background: #ADD8E6; - } -table.quotetable tr.altrow td { - background: #f4f4f4; - } - -/* Paging */ -div.paging { - background:#fff; - color: #ccc; - margin-bottom: 2em; -} -div.paging div.disabled { - color: #ddd; - display: inline; -} -div.paging span { -} -div.paging span.current { - color: #000; -} -div.paging span a { -} - -/* Scaffold View */ -dl { - line-height: 2em; - margin: 0em 0em; - width: 60%; -} -dl.altrow { - background: #f4f4f4; -} -dt { - font-weight: bold; - padding-left: 4px; - vertical-align: top; -} -dd { - margin-left: 15em; - margin-top: -2em; - vertical-align: top; -} - -/* Forms */ -form { - clear: both; - margin-right: 20px; - padding: 0; - width: 50%; -} -fieldset { - border: 1px solid #ccc; - margin-top: 30px; - padding: 16px 20px; -} -fieldset legend { - background:#fff; - color: #e32; - font-size: 160%; - font-weight: bold; -} -fieldset fieldset { - margin-top: 0px; - margin-bottom: 20px; - padding: 16px 0; -} -fieldset fieldset legend { - font-size: 120%; - font-weight: normal; - margin-left: 20px; -} -fieldset fieldset div { - clear: left; - margin: 0 20px; -} -form div { - clear: both; - margin-bottom: 1em; - padding: .5em; - vertical-align: text-top; -} -form div.input { - color: #444; -} -form div.required { - color: #333; - font-weight: bold; -} -form div.submit { - border: 0; - clear: both; - margin-top: 10px; - margin-left: 140px; -} - - - -label { - display: block; - font-size: 110%; - padding-right: 20px; -} -input, textarea { - clear: both; - display: block; - font-size: 140%; - font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif; - padding: 2px; - width: 100%; -} -select { - clear: both; - font-size: 120%; - vertical-align: text-bottom; -} -select[multiple=multiple] { - width: 100%; -} -option { - font-size: 120%; - padding: 0 3px; -} -input[type=checkbox] { - clear: left; - float: left; - margin: 0px 6px 7px 2px; - width: auto; -} -input[type=radio] { - clear: left; - float: left; - margin: 0px 6px 7px 2px; - width: auto; -} -input[type=submit] { - display: inline; - font-size: 110%; - padding: 2px 5px; - width: auto; - vertical-align: bottom; -} - -div.address-radio { - -} - -/* Notices and Errors */ -div.message { - clear: both; - color: #900; - font-size: 140%; - font-weight: bold; - margin: 1em 0; -} -div.error-message { - clear: both; - color: #900; - font-weight: bold; -} -p.error { - background-color: #e32; - color: #fff; - font-family: Courier, monospace; - font-size: 120%; - line-height: 140%; - padding: 0.8em; - margin: 1em 0; -} -p.error em { - color: #000; - font-weight: normal; - line-height: 140%; -} -.notice { - background: #ffcc00; - color: #000; - display: block; - font-family: Courier, monospace; - font-size: 120%; - line-height: 140%; - padding: 0.8em; - margin: 1em 0; -} -.success { - background: green; - color: #fff; -} - -/* Actions */ -div.actions ul { - margin: 0px 0; - padding: 0; -} -div.actions li { - display: inline; - list-style-type: none; - line-height: 2em; - margin: 0 2em 0 0; - white-space: nowrap; -} -div.actions ul li a { - background:#fff; - color: #003d4c; - text-decoration: none; -} -div.actions ul li a:hover { - color: #333; - text-decoration: underline; -} - -/* Related */ -div.related { - clear: both; - display: block; -} - -/* Debugging */ -pre { - color: #000; - background: #f0f0f0; - padding: 1em; -} -pre.cake-debug { - background: #ffcc00; - font-size: 120%; - line-height: 140%; - margin-top: 1em; - overflow: auto; - position: relative; -} -div.cake-stack-trace { - background: #fff; - border: 4px dotted #ffcc00; - color: #333; - margin: 0px; - padding: 6px; - font-size: 120%; - line-height: 140%; - overflow: auto; - position: relative; -} -div.cake-code-dump pre { - position: relative; - overflow: auto; -} -div.cake-stack-trace pre, div.cake-code-dump pre { - color: #000; - background-color: #F0F0F0; - margin: 0px; - padding: 1em; - overflow: auto; -} -div.cake-code-dump pre, div.cake-code-dump pre code { - clear: both; - font-size: 12px; - line-height: 15px; - margin: 4px 2px; - padding: 4px; - overflow: auto; -} -div.cake-code-dump span.code-highlight { - background-color: #ff0; - padding: 4px; -} -div.code-coverage-results div.code-line { - padding-left:5px; - display:block; - margin-left:10px; -} -div.code-coverage-results div.uncovered span.content { - background:#ecc; -} -div.code-coverage-results div.covered span.content { - background:#cec; -} -div.code-coverage-results div.ignored span.content { - color:#aaa; -} -div.code-coverage-results span.line-num { - color:#666; - display:block; - float:left; - width:20px; - text-align:right; - margin-right:5px; -} -div.code-coverage-results span.line-num strong { - color:#666; -} -div.code-coverage-results div.start { - border:1px solid #aaa; - border-width:1px 1px 0px 1px; - margin-top:30px; - padding-top:5px; -} -div.code-coverage-results div.end { - border:1px solid #aaa; - border-width:0px 1px 1px 1px; - margin-bottom:30px; - padding-bottom:5px; -} -div.code-coverage-results div.realstart { - margin-top:0px; -} -div.code-coverage-results p.note { - color:#bbb; - padding:5px; - margin:5px 0 10px; - font-size:10px; -} -div.code-coverage-results span.result-bad { - color: #a00; -} -div.code-coverage-results span.result-ok { - color: #fa0; -} -div.code-coverage-results span.result-good { - color: #0a0; -} - -div.auto_complete { - position :relative; - width :500x; - background-color :white; - border :1px solid #888; - margin :0px; - padding :0px; -} -li.selected { background-color: #ffb; } - -span { - color: #2F782A; - font-weight: bold; - font-size: 110%; - } - -div#qTip { - padding: 3px; - border: 1px solid #666; - border-right-width: 2px; - border-bottom-width: 2px; - display: none; - background: #FFF9C1; - color: #000000; - font: bold 1em Verdana, Arial, sans-serif; - text-align: left; - position: absolute; - z-index: 1000; -} diff --git a/webroot/files/.svn/entries b/webroot/files/.svn/entries deleted file mode 100644 index 38b2ce30..00000000 --- a/webroot/files/.svn/entries +++ /dev/null @@ -1,28 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/webroot/files -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - diff --git a/webroot/files/.svn/format b/webroot/files/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/webroot/files/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/webroot/img/.svn/entries b/webroot/img/.svn/entries deleted file mode 100644 index b154749b..00000000 --- a/webroot/img/.svn/entries +++ /dev/null @@ -1,101 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/webroot/img -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -cake.power.gif -file - - - - -2008-11-13T00:42:45.000000Z -bb7e210a60f92e5458e347cf77177c5f -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -cmclogo.png -file - - - - -2008-11-13T00:42:45.000000Z -2a3553dc4e6901e48ace14b5306aac95 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -cake.icon.gif -file - - - - -2009-01-12T00:43:15.000000Z -126fa012915e90db50e73b7c041472e4 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -favicon.ico -file -18 - - - -2008-12-23T04:42:02.000000Z -729b4f69f3f13b9ccec08b6562b5a7bf -2009-01-12T05:57:25.596672Z -18 -karl -has-props - - - - - - - - - - - - - - - - - - - - -92 - diff --git a/webroot/img/.svn/format b/webroot/img/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/webroot/img/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/webroot/img/.svn/prop-base/cake.icon.gif.svn-base b/webroot/img/.svn/prop-base/cake.icon.gif.svn-base deleted file mode 100644 index cd0e69f8..00000000 --- a/webroot/img/.svn/prop-base/cake.icon.gif.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/webroot/img/.svn/prop-base/cake.power.gif.svn-base b/webroot/img/.svn/prop-base/cake.power.gif.svn-base deleted file mode 100644 index cd0e69f8..00000000 --- a/webroot/img/.svn/prop-base/cake.power.gif.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/webroot/img/.svn/prop-base/cmclogo.png.svn-base b/webroot/img/.svn/prop-base/cmclogo.png.svn-base deleted file mode 100644 index cd0e69f8..00000000 --- a/webroot/img/.svn/prop-base/cmclogo.png.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/webroot/img/.svn/prop-base/favicon.ico.svn-base b/webroot/img/.svn/prop-base/favicon.ico.svn-base deleted file mode 100644 index 5e9587e6..00000000 --- a/webroot/img/.svn/prop-base/favicon.ico.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/webroot/img/.svn/text-base/cake.icon.gif.svn-base b/webroot/img/.svn/text-base/cake.icon.gif.svn-base deleted file mode 100644 index f29f72ebef20ce39a1e3721d31b76d9054b1dc90..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 233 zcmVOrfx~(a*Br=IF!2lMFyj!pzT(o0Foa zdn-*>Om~4(V_pR~MF2EGA^8La000jFEC2ui02BZe000D*@X1N5t>>`K@|6NJ6h&YL z1u`%~wUB3glC5+ga)976a!3oFOhFu(2DMubr5G5VhQ{x4NGt;hD1iW&9tgW!0iZB! z6O)6HG-waF&;)>@C@r&FLW6?XF3Wfe6jmrIZUbdo27(g_16K`ZTZ}-3IRcmfa});+ jCL}5ZNSK%y0t-u|r5FwZRfnys7YD7i0<9mpxe)+6uKiOz diff --git a/webroot/img/.svn/text-base/cake.power.gif.svn-base b/webroot/img/.svn/text-base/cake.power.gif.svn-base deleted file mode 100644 index 8f8d570a2e24d86f0ad7730ee8f2435fd49f152c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 201 zcmV;)05<&ZTq0L2I(c1A@d@rg`ENj#vn zcl`yi#iKX*jb2F7vd0WQgUq5Tw}Jp}g+ZnCeBY3dYNI+m71%bHRfx4UCkD2th(Q*@ zmd5r+MJNYn7oqt`?ySS7qlWJT|?HcHf}i^WFoBx*$T z5Te(=-*>(_XJ*daXP#;2o;&4Ef}y@91t|+D005xS)>1dV&%fQr)CWZOso}t#|9wX2 z_e|UL!F>pQ@Dg!fCh^v?@B;uqw*QNG+?ht$dm*#G2Grlg%gH~;-q#Tj6ci-t>gnzW zxA%4w_40Mj*;i%(03HFf)m2S{bN}Q8wb1=O8Bp2Op(munMgu|JEDH!0xSm5Qn~V-V zw1g?4qkl`DMYmQ+P*4`jqLB=2yPZZjCih2+Kvmx*7Q%}1S2#A8LYy}}yXs>dyTCR>%d4@|E0nwy+Py`m-4AL6Wpi#9|yy8n%B2>k)>srP+EQPoBfNUOsqLNG*;1?AuNE zXCSgnDmM@BRn$&IQh}KwAPBW%>rq-8g+DQ`J&2d4k70Z1L>-xr@hH>#jQSU8LE-29 zdmNU21oMNNs(VX}|Ycm-24VauwbzPD94H8g|7zU-;qAmjj{OHI)+xW-5okKElXvf%xG0ibDC(=BMIEpHgzK%oo#FEOS@Bp9PWCln=>mwzuJbz%PmVWn=@rJf5U&F@#VF=HZh61>y(d5fQLOUPWG+1_b8s zrVuiqc97iLpMcYB83^1YW(3vhl{RbV-n?JIA~@O@uFeiIr@i6m8y-C6L+ zV|=Q^|QvY%rT12L#pU7F)*njIs)ZK`&wJq^?)NL)uB2sBCj@%8cF;4%KDeL<%FZ4E9`vag3hDaP;Vw>xYYLGlVw_o_FoY?cZtB~o@r4_{vi}CKefa4;Ek+?Sb zbhXk~4~-%-J&{}mtWtxRg}_2DnLBx66&Mzxi`+8H*mqYF-pn*L)55c*v$~feE1E(du2ssL%%CW*_XN zYqN^tr-+?_QI}qj8xb?TeLRUOV^X2Y9Y#mqpN}mCRlwk@8cO#Y0LNyFlQQb;p4^Q& zAsIC{skGuXnvsj77kp1!jcT?xm?ltPR|aiAFzqo>qTk{JcWAs+9(QKgtCfC5X#MU& z)A*d!kBJ>Qy(ao(-wt&NH};!l*%|%C9*elfA0kny>)G80A!_>zmF5 z!TE9`WuiC?^YZ_;;wuBlMP`+{om1}WzQML7&`KiuaD02%_Fp*H`WB#%8 z;z!^sc);5+qI`Ta9p790Sv%l7J?-`m%L!9fIuYc?DIK?2l^wnC2;Qjrqudq3`OoCLfl21BrZdE~4}M8$tf$86bA#Ee{g1?=mKp*o!}^fe zKQGlJXs>9ZE}dx7*ym{Xlf;u-Lpk1VZ_*2tnWZhm>RLZn@(>?c6AA zSiSxIIg=iI#JBqUEdiH1`^gA*x#@C-^E4Hvm!xKq7U#|o;HVoxoC^kPmZm5j?nu6h zUoe5Fyg+sq|J?`dZAlpw4&!APb%~vjf5<+cL=t$LlJ6$dkV?>gt{VNQ(tEQ zeWykuAdfC|MX+iKxJ2a2rol{k8O!~e)J-plM4CuAWs~XMQQIz(cxncOGMoK*7aK`O z&S-JXn51?EJm9^IX>%}P zd4g8^M{OGZL~ZrbJcM zqXTI`7K}nEL9M9ehef)OlUKtR!5@$UN*pwfG@$QHLT`PXjQvEbp~cyR!mog292^I3 zfjm*|N(qQP(rdQeHz#k_gO!|@+6>(De_b)rXKL>Q(Z z=9RmK7Y?gEJE_3aAtxi>?D)rvRUs)|A^$BE6K$~Bu>{BXMLQ*HgYfS= znhgT(6JEj~E9Rw+19|ZmD!xmh^|iS9rM2#e(MxF}Kb(yPci5k(p(v_cF3Ipt6>$I&;rQ{@_T=5Svr(n12p=Ih?qjh`B!EVU@#G=0@{DAP(coGAbggy3zWcIey)`Uyq>lglJMrw>05tT+2@QSpvH)txTZEYC?)bN0ccCKlg?L}DG zg^qqCpjs;stjQ7w1%n`&-9+nTf>Gm{Z(!e4)V|F+YX#s1>WybwQVrhq2Udp3gP&E^ z;_OM-TS}p!%i8|Lz&S;Rsyu9hNN=saZmNR{Ce!!jz}Mt1g2*cT7wbv7M4x5kVn_Jy zk3`8+C{`xk!T#L%=#1b6sixqt;W%!WEtbs}y#x~K@@I7NT+RSL@hY>E5%N^foz8}4 zjJikOO$ma8%(QO2McftOQ zrV9^PNao7jQm!7LE^Ej)+u)bo^q8NPS`{Mo3@81pQA>4`Pj&5|#2rYi49#H}=^kYv za5l)rE?(~jCvlr3+yj^g57Bg(#YJe{Cf?Aiy%5+3A34KNmYy0Ts*niplWI>!kkO2@wH`#U z?^KPE|NG!sI?=-WEP||o+yEiCl1`9b*Ez|*y^15X4LEb=#mDu^l7Ez-3sNaXa>$HV zA4^1a5o&<`rd#NNjL;Hnn5v<`$vwbab($^%R>b;Slx2>$awk=k__r)0=@$;CK5dPg zK<+#JN#K-fD|~qJ;eyedw%tuYp2X5R@o?x5`n16HQPWphc{8B`D}bOxoXJx$$m60G z11q-5omU{{7=g1nvz+{o_B4DfbbEiRcv(wwiLYrFREzBo|A^;-8Gpc2x+s~X{QEM` z-b<8Ukee)a`D`k+*2NC9mHmT&UQ;A(3uVH}p;Et6Q}r zV>`)%Y)|M&NvI}p?w}^Pu>ag>H@<+$1ZKkAh*EpA$^rrOSl$rUP9h7${y2cJ$@Fql zIs@i-kaKDB){>L2q3pOj@qfQzAO#$Sz+3GNhc}u!W9JM>m>VV`X*mky&y=z5!1o2X zt|UZBowj;4Alz_f%Jf7;*x9KLM)#qqR${{&t>~7hZF)klM-=u{y{Sg_u@3^ri&XQw z%S8dXqAW+oD5f!^$&gYc4o4r|jtUAdz} zU0)9SAQgh>A#AzMJ)RA3i^Wp6xpm>;=@;{qM-=_)9OE>9a+3NJ_AiHIblbBLQvVBqhkPt9XP98?1j=jeIR zjk4k-TbAnqv=SM+T$n`1+b2x`_FimLNMd_aSBX!y_P*P}X3`s>M?9hA&}dWTE1?!yK~Pq| zDYa7~vl*7P$j)KqCmk9SG*h+mf#9Tv`>x;f)cUhMihT>4((J(%`hzk<}yz{**ZIN(H4TI~UZ*T@;Qa#N;Tu36Xb3p`D$PF zU8pk+-Po}GYhHY@Tl{*(Eo#H-!%umJ7O`H>M)hJ_tVqmnc2>JR$F+~4Sv`;TTNN4* zJT16|3W$t*jsloT1A@I%t> zabdYbGYSv%9e-X2GN$GIL#)m)18oT3>WE@v`-o;ihA9D*pIqD%dkH9 z_^TbwAK3LwihGwtS2_bxHhzgoBQdy9IT9yb;k?7MXPz(-$vG{Gv8X(AdDzf zs>XnR<~3XOV65oN)6dvC>#roAWV875u&;A=lbrpyEJHFRk ze#!!1FMPQAx-F!m%=*~r?GCy6axa+Hw`fC9l=mHv2cH6myqb^+o8gyy>g}Wi^RcR( z2_GVDRS`dLFEs5z<9FY?JZP4ZSD7@c=012aD6QzDV~2f${ry!%CM(l)hGPb(Wcw}v z)hf3VER&nWlk$Q(?L?A%H?>h!ivdODz$xom?g(_Upx)w4sIiEFg0UiJgik1h2CW4` zMZsayGMmYWH&POZs7hgNNZ4o@k=-BV%ZOC|9fI1*jrF28N?kiD^KuBH@s;gJ*?xw%5 zOgWyPIGB1VnVi_Kz5rd=e4j;gPMb%>0eS-^0R0(066DfCy`@{nYcnO~nUXS;6Z zVL$!fk40T^wd(MAgLq2$g!L<(cV}&(k1L9&UQWRjmgN9GJdir4d@k(AKe?&d_Ccu# zGct`*n;ci%JEt-mh!-erAc_o|2+y_fe5?UcVF0O@)}X>oM;lRbzL~I3v5bGIXK$K3 z{JPJr%M#h&eyF2PH*<`seKd&Yc$?cB6(-4g$74pbEsh2TD7el?((HT`5v^&ZYsTv2 z>CZL^4w)$&QGJcuBhL|JMP-*H@R{7QKa5#abTxDz|H`#-5dn1&*-L+m>cm4st72Og z67Qd+(s%!x);U0^?eQ+k4{d+LWRZ-gk&RFe$(shGp=@Ik5@T!}<^&y!;mU>|5}^0* zn?vrBv4tw0L-LI}f5T`Bxwx!fpxggcK?1T+>`C;ME!OIxjClWX+Y(F04hx@Fn)7P! z_}zr$&*Tioe!zXM9rcm(Q>bMwr==%^gjs#&!RkT_((7$h6S@CNm`#-J8wTmEDNlHa z=JSGg$�tZEakhAoR{zbsI-wKWJNufwm*H3V4P5Ed8xWAbF*zHW*K0e+w%|qy_ zOd#X&eiv+4cvkSfd@;z(7;SOIWA8T9{#1VgC1%IpanR&~XkI#X-W)^o1#i~M$71;H z6IDo;z~3M2(2JRlg=cCa#rsIYr|Oh_gX#HY7O2uBEskNXE;a^82;X15rbCa?%_p$2 zXW6p7ghKWygVq%01^WsQq|2l-o{KwT1jlu{_B{kUFVs)5M@T&6Dv| zs$?&oe(Dw=ME`?vD`DHg&R!og(9q8AqrR>OOGkA=*9fl&nm3snA8cv&um^%Hh=zK< zv%x20k)o%dEQ+t9X6+7{s3x0IwCc1-1^|IGhH~X~A|>y%i`LY7{Lxgbg($u(`ED&V zv&$2-cKZw49`CiiMChNNo|pxXaeD@`X_<^^8ugdysD10TKK6?j9R)>}vIWEG$*od& zbKiD!6i6C!N-vf{oT z!@IoF9>bZ`x~0;22MS_>W@)CJxdg0ig!O98q*Wy`}6%b^Y(q^RU=3k8vmutfByqSpW~}(aKq~!fSB<@ zYfy5KOcc@N__#KTd=9khhK^kn!APS4rv;Hgkj7k(T^4@8JqgsZbJhhk111Sa31_zkn=_B09Qv8Bs|8M@+%%S{S8#?TX#;-D5IUUfR*1r8IHXYjtI=dN1^VB1>JS)c6>7~eXX{mF3^E)-9ZXs|JoG%lh^_GFX*(b&R=M$wKW8 zD@=YwjNaQ^5ieJ!-}+RvLIzKV*BzDJ^)o4Qw6@AH0xIB;7lHU$i4(_~==7gPQ1`8< z%uh1+;|Rb=)tyMq;8l}KA9E0oa^`iSyZjU$+14udKZ12|{ezr~k&GA!97YpF)y=v_EmDuK70~!G49FYeis}aze#DX^X5X`mWyCC&GL3<>`_JBpzs66U#;t_M@(?{^*qv*<&p#cAc0X? z+n#)$q1}ArVj)ogVtZ$@XKS_85mC*WB#nn)B=1S26aJlI2Xg#RUix?-{i57p8~?*V zN-CWg?vzd$pDFKWa22I~N?K|XtD@-OBW7>uzYz+fni7hGk1h&}x&ZF1mipJG|7-l~ zjP>H^P=Jt~Aq!C2CeR1q~*4bVn z@oG_{X=iuB;~x*H%iUjUaN2oi?b4BX8CcAZ5`_~q(2AXd&U4~!vF8D6KwZ2F7}zP| zFnSc3wq{CklkDKM{-d|HIPr*( zRcW-JmrBr-GC^)l5eLKHM(pMSxjeJG^0apQ>cdqcJxkX{lSIbgr+`<4!!%;&c){mZ;cU;35aUNMu#=Wy$KHI+uRwY#47POx~>xj{x zUrdaT@nqQPwzkw}1b0V1FtU;03AT3nbLbk%nkU$1gt~V!vPqTqd&F3% zDZ#7XhAmphL^*zp3~(qANvLj=H?eN0h=XMZ3y=eOv0*IPtHQ9uoXsIw+HBT-m(T|mDW3=ihA4Y`b(of=$Za7yldGB0bEy84Y=#0q`03iPQzrO&} z`8{u*w!b#8mMy3*>SCrAscU7QT^3FJ7v-^dC+D(tS6XyO<23S$%9_VkT%0&;#5=3v zVU#{*h~-jDiERyE4oe`KkZeah<(N|&|6FG?FLFkSXez2{X1r^-W6aXkuDvkcs_UWn zbG17%KF-H)AM;lu5N3QWU8KU3;}KLL{1K%79z9Ke_>Y>DMe%)rw-|&%Fkx(xW!0pj zV&QrxLc7Ofs>{c#L~hf3-%D;$l;5^iP(*1h6VVdvyxwZf@Hqod`nU_P_%@y1;nx~f zephRkPrTc|4C{87haRgg=Z{+H8I~F@LzmR|U0)BsZ{RcSAW8Jvb+`NORkSPK>9_L9 zs_oD_UCz13-h$&pH+KcN!|8)B!2Zf{hkiTaVAb}*uDIJ*d+Z)=J+1T_6CwjW8r>ET z^WU*r62UV+M~anv@n;_%^%j;;TtIy0x@%?>o7ZZGaZTpE`gFU|HtEYH9dU2uD{47h z{3vb~e9`nWnb%AgDx=)4S`sDoI1LeFBbH_!o6gixj-|$b^wnDS@%S4wdV0~vV+?W~ znq%}ojFnm!P7&9lMj$DOwv^j98>(Q7c9<2#O}zB6mlyt%mKgxQh6|e5K}_!eCXUGyfW(Ix}xLmu8R$PusT2l=b1o8Vv>?Kyl+L zisj}>@r<)Lm@WIg9g!CozFdvdpW9+rkXBW@+j;ft-qL}@=JCnkI@_IpqI}kXWI5tw zx(!?3$r&<9s=1s^LFLnKT!Nb+7MjeFNA@3y5 zj`hkH`0ur%SmS%j7$cR6a(>Tu%p$hqqOzU3%r3%&Mt9Hn4x{zc&L%1%ii$WU zwBolsAFjO5_X>y0oi!twFR76Ar*bTpL+)F4CabLi>hDiDM_ne#52GPiGGnuDp*}K2 zr5K!ksnV33-qQG!K-zNe(CUXn-{14u^M2u1%qW^`u~Poc)}^Kv@%&Y1Aaiw6zfV~w z=4Yu@L^ZY8)`yr;0`Zj|zVH3(s%P_8)y)0Y2Cd2=*}>iYo;N9;H_YScLQSv!0zAe9 z#$y^W>ci-;$jTVm9c7?YML9NM>jmrG{^WASHUFp>4a7Q!*;wsvrBss*&2XU-kRjHC zHv7Jn)TxrkP$xWP4LDOLfcBA%0{aQ(+_ntvErWQfpGZz?wS86b9hmKF!rI~YN+197F^UH) z^^s9dj(14}?)wf4WD4lJ(^?)p&4J1OadO!j^JQNYlE^EUbNbSTdv`+@V*DEF)0~f~ zkv^_)f=cn_x=MP={9w}hXRP#*vYe-(g6eN#aCgMgow@6lrfy~m_P8ojD~5~Z!W)KLsIQ^nMB&_R7^77Lpb?aqSe(Q4wi{#9n{vX*iz#jJ0E4aRN3ILc#U8bw%OX`hlzG~en1yMg!f-b zZ-ec5$>+wq%5W!24$H?aR78i-DWXT5C!HoN1agA%vW8^dZ?;vT-oJh!8$H;0?fv_& z1+E;Z_UdH}n%vWI*}s;b63}DupoV)LESJ4f6x3qKIDvU8XGJ?vX;hiCp^%ovqviyx zpG7#bwJvdy;ohTebI+(fFt*@_H`KUo;L7#JCJ7=QqzjDbn5 ur++2m-RwCvo^stWODCqU(^PyMn{bnHnO0TuuDLH-bWKDa?+j#Mum%7;OCG}j diff --git a/webroot/js/.svn/entries b/webroot/js/.svn/entries deleted file mode 100644 index 9ae66875..00000000 --- a/webroot/js/.svn/entries +++ /dev/null @@ -1,226 +0,0 @@ -9 - -dir -17 -file:///home/karl/svn/quotenik/webroot/js -file:///home/karl/svn/quotenik - - - -2008-11-13T00:40:44.487058Z -1 -karl - - -svn:special svn:externals svn:needs-lock - - - - - - - - - - - -8bc76296-fed0-4d81-bc44-c94e40ad9e20 - -prototype.js -file -18 - - - -2008-11-15T05:34:04.000000Z -b96240995f0075a55546ed30380101a7 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -124000 - -builder.js -file - - - - -2008-11-13T00:42:45.000000Z -c688b3e92102c0ac5736152744ac2241 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -prototype-1.6.0.3.js -file - - - - -2008-11-13T00:42:45.000000Z -d77ed5ec5d97d2388e1326d43c3f333b -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -sound.js -file - - - - -2008-11-13T00:42:45.000000Z -d29c5cb8f43068d8f9ce4edf93d7e9e1 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -vendors.php -file - - - - -2008-11-13T00:42:45.000000Z -09fc05898dc2456d9ec76f1f612300f7 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -qtip.js -file -18 - - - -2009-01-06T05:00:13.000000Z -213eeb2e4a7ef721b3a3a5bcbb959124 -2009-01-12T05:57:25.596672Z -18 -karl - - - - - - - - - - - - - - - - - - - - - -3095 - -effects.js -file - - - - -2008-11-13T00:42:45.000000Z -3b4efe6405d4fb1ada4a081f4dbef6a9 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -unittest.js -file - - - - -2008-11-13T00:42:45.000000Z -a148822b29d33a571f9d945a25b93437 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -scriptaculous.js -file - - - - -2008-11-13T00:42:45.000000Z -75d1aca2ecf6b32922afd4eb9a146558 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -dragdrop.js -file - - - - -2008-11-13T00:42:45.000000Z -969c24d6bbf54cf6365b223401d9dc10 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -slider.js -file - - - - -2008-11-13T00:42:45.000000Z -83a12c5cbbbfe716bd43885f7ba93dac -2008-11-13T00:40:44.487058Z -1 -karl -has-props - -controls.js -file - - - - -2008-11-13T00:42:45.000000Z -305b29d888b4fd1bdfcaac12985b8314 -2008-11-13T00:40:44.487058Z -1 -karl -has-props - diff --git a/webroot/js/.svn/format b/webroot/js/.svn/format deleted file mode 100644 index ec635144..00000000 --- a/webroot/js/.svn/format +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/webroot/js/.svn/prop-base/builder.js.svn-base b/webroot/js/.svn/prop-base/builder.js.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/js/.svn/prop-base/builder.js.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/js/.svn/prop-base/controls.js.svn-base b/webroot/js/.svn/prop-base/controls.js.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/js/.svn/prop-base/controls.js.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/js/.svn/prop-base/dragdrop.js.svn-base b/webroot/js/.svn/prop-base/dragdrop.js.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/js/.svn/prop-base/dragdrop.js.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/js/.svn/prop-base/effects.js.svn-base b/webroot/js/.svn/prop-base/effects.js.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/js/.svn/prop-base/effects.js.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/js/.svn/prop-base/prototype-1.6.0.3.js.svn-base b/webroot/js/.svn/prop-base/prototype-1.6.0.3.js.svn-base deleted file mode 100644 index cd0e69f8..00000000 --- a/webroot/js/.svn/prop-base/prototype-1.6.0.3.js.svn-base +++ /dev/null @@ -1,9 +0,0 @@ -K 14 -svn:executable -V 0 - -K 13 -svn:mime-type -V 24 -application/octet-stream -END diff --git a/webroot/js/.svn/prop-base/scriptaculous.js.svn-base b/webroot/js/.svn/prop-base/scriptaculous.js.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/js/.svn/prop-base/scriptaculous.js.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/js/.svn/prop-base/slider.js.svn-base b/webroot/js/.svn/prop-base/slider.js.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/js/.svn/prop-base/slider.js.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/js/.svn/prop-base/sound.js.svn-base b/webroot/js/.svn/prop-base/sound.js.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/js/.svn/prop-base/sound.js.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/js/.svn/prop-base/unittest.js.svn-base b/webroot/js/.svn/prop-base/unittest.js.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/js/.svn/prop-base/unittest.js.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/js/.svn/prop-base/vendors.php.svn-base b/webroot/js/.svn/prop-base/vendors.php.svn-base deleted file mode 100644 index a6697057..00000000 --- a/webroot/js/.svn/prop-base/vendors.php.svn-base +++ /dev/null @@ -1,5 +0,0 @@ -K 14 -svn:executable -V 0 - -END diff --git a/webroot/js/.svn/text-base/builder.js.svn-base b/webroot/js/.svn/text-base/builder.js.svn-base deleted file mode 100644 index 83019994..00000000 --- a/webroot/js/.svn/text-base/builder.js.svn-base +++ /dev/null @@ -1,136 +0,0 @@ -// script.aculo.us builder.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008 - -// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) -// -// script.aculo.us is freely distributable under the terms of an MIT-style license. -// For details, see the script.aculo.us web site: http://script.aculo.us/ - -var Builder = { - NODEMAP: { - AREA: 'map', - CAPTION: 'table', - COL: 'table', - COLGROUP: 'table', - LEGEND: 'fieldset', - OPTGROUP: 'select', - OPTION: 'select', - PARAM: 'object', - TBODY: 'table', - TD: 'table', - TFOOT: 'table', - TH: 'table', - THEAD: 'table', - TR: 'table' - }, - // note: For Firefox < 1.5, OPTION and OPTGROUP tags are currently broken, - // due to a Firefox bug - node: function(elementName) { - elementName = elementName.toUpperCase(); - - // try innerHTML approach - var parentTag = this.NODEMAP[elementName] || 'div'; - var parentElement = document.createElement(parentTag); - try { // prevent IE "feature": http://dev.rubyonrails.org/ticket/2707 - parentElement.innerHTML = "<" + elementName + ">"; - } catch(e) {} - var element = parentElement.firstChild || null; - - // see if browser added wrapping tags - if(element && (element.tagName.toUpperCase() != elementName)) - element = element.getElementsByTagName(elementName)[0]; - - // fallback to createElement approach - if(!element) element = document.createElement(elementName); - - // abort if nothing could be created - if(!element) return; - - // attributes (or text) - if(arguments[1]) - if(this._isStringOrNumber(arguments[1]) || - (arguments[1] instanceof Array) || - arguments[1].tagName) { - this._children(element, arguments[1]); - } else { - var attrs = this._attributes(arguments[1]); - if(attrs.length) { - try { // prevent IE "feature": http://dev.rubyonrails.org/ticket/2707 - parentElement.innerHTML = "<" +elementName + " " + - attrs + ">"; - } catch(e) {} - element = parentElement.firstChild || null; - // workaround firefox 1.0.X bug - if(!element) { - element = document.createElement(elementName); - for(attr in arguments[1]) - element[attr == 'class' ? 'className' : attr] = arguments[1][attr]; - } - if(element.tagName.toUpperCase() != elementName) - element = parentElement.getElementsByTagName(elementName)[0]; - } - } - - // text, or array of children - if(arguments[2]) - this._children(element, arguments[2]); - - return element; - }, - _text: function(text) { - return document.createTextNode(text); - }, - - ATTR_MAP: { - 'className': 'class', - 'htmlFor': 'for' - }, - - _attributes: function(attributes) { - var attrs = []; - for(attribute in attributes) - attrs.push((attribute in this.ATTR_MAP ? this.ATTR_MAP[attribute] : attribute) + - '="' + attributes[attribute].toString().escapeHTML().gsub(/"/,'"') + '"'); - return attrs.join(" "); - }, - _children: function(element, children) { - if(children.tagName) { - element.appendChild(children); - return; - } - if(typeof children=='object') { // array can hold nodes and text - children.flatten().each( function(e) { - if(typeof e=='object') - element.appendChild(e) - else - if(Builder._isStringOrNumber(e)) - element.appendChild(Builder._text(e)); - }); - } else - if(Builder._isStringOrNumber(children)) - element.appendChild(Builder._text(children)); - }, - _isStringOrNumber: function(param) { - return(typeof param=='string' || typeof param=='number'); - }, - build: function(html) { - var element = this.node('div'); - $(element).update(html.strip()); - return element.down(); - }, - dump: function(scope) { - if(typeof scope != 'object' && typeof scope != 'function') scope = window; //global scope - - var tags = ("A ABBR ACRONYM ADDRESS APPLET AREA B BASE BASEFONT BDO BIG BLOCKQUOTE BODY " + - "BR BUTTON CAPTION CENTER CITE CODE COL COLGROUP DD DEL DFN DIR DIV DL DT EM FIELDSET " + - "FONT FORM FRAME FRAMESET H1 H2 H3 H4 H5 H6 HEAD HR HTML I IFRAME IMG INPUT INS ISINDEX "+ - "KBD LABEL LEGEND LI LINK MAP MENU META NOFRAMES NOSCRIPT OBJECT OL OPTGROUP OPTION P "+ - "PARAM PRE Q S SAMP SCRIPT SELECT SMALL SPAN STRIKE STRONG STYLE SUB SUP TABLE TBODY TD "+ - "TEXTAREA TFOOT TH THEAD TITLE TR TT U UL VAR").split(/\s+/); - - tags.each( function(tag){ - scope[tag] = function() { - return Builder.node.apply(Builder, [tag].concat($A(arguments))); - } - }); - } -} diff --git a/webroot/js/.svn/text-base/controls.js.svn-base b/webroot/js/.svn/text-base/controls.js.svn-base deleted file mode 100644 index 5012cb81..00000000 --- a/webroot/js/.svn/text-base/controls.js.svn-base +++ /dev/null @@ -1,965 +0,0 @@ -// script.aculo.us controls.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008 - -// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) -// (c) 2005-2007 Ivan Krstic (http://blogs.law.harvard.edu/ivan) -// (c) 2005-2007 Jon Tirsen (http://www.tirsen.com) -// Contributors: -// Richard Livsey -// Rahul Bhargava -// Rob Wills -// -// script.aculo.us is freely distributable under the terms of an MIT-style license. -// For details, see the script.aculo.us web site: http://script.aculo.us/ - -// Autocompleter.Base handles all the autocompletion functionality -// that's independent of the data source for autocompletion. This -// includes drawing the autocompletion menu, observing keyboard -// and mouse events, and similar. -// -// Specific autocompleters need to provide, at the very least, -// a getUpdatedChoices function that will be invoked every time -// the text inside the monitored textbox changes. This method -// should get the text for which to provide autocompletion by -// invoking this.getToken(), NOT by directly accessing -// this.element.value. This is to allow incremental tokenized -// autocompletion. Specific auto-completion logic (AJAX, etc) -// belongs in getUpdatedChoices. -// -// Tokenized incremental autocompletion is enabled automatically -// when an autocompleter is instantiated with the 'tokens' option -// in the options parameter, e.g.: -// new Ajax.Autocompleter('id','upd', '/url/', { tokens: ',' }); -// will incrementally autocomplete with a comma as the token. -// Additionally, ',' in the above example can be replaced with -// a token array, e.g. { tokens: [',', '\n'] } which -// enables autocompletion on multiple tokens. This is most -// useful when one of the tokens is \n (a newline), as it -// allows smart autocompletion after linebreaks. - -if(typeof Effect == 'undefined') - throw("controls.js requires including script.aculo.us' effects.js library"); - -var Autocompleter = { } -Autocompleter.Base = Class.create({ - baseInitialize: function(element, update, options) { - element = $(element) - this.element = element; - this.update = $(update); - this.hasFocus = false; - this.changed = false; - this.active = false; - this.index = 0; - this.entryCount = 0; - this.oldElementValue = this.element.value; - - if(this.setOptions) - this.setOptions(options); - else - this.options = options || { }; - - this.options.paramName = this.options.paramName || this.element.name; - this.options.tokens = this.options.tokens || []; - this.options.frequency = this.options.frequency || 0.4; - this.options.minChars = this.options.minChars || 1; - this.options.onShow = this.options.onShow || - function(element, update){ - if(!update.style.position || update.style.position=='absolute') { - update.style.position = 'absolute'; - Position.clone(element, update, { - setHeight: false, - offsetTop: element.offsetHeight - }); - } - Effect.Appear(update,{duration:0.15}); - }; - this.options.onHide = this.options.onHide || - function(element, update){ new Effect.Fade(update,{duration:0.15}) }; - - if(typeof(this.options.tokens) == 'string') - this.options.tokens = new Array(this.options.tokens); - // Force carriage returns as token delimiters anyway - if (!this.options.tokens.include('\n')) - this.options.tokens.push('\n'); - - this.observer = null; - - this.element.setAttribute('autocomplete','off'); - - Element.hide(this.update); - - Event.observe(this.element, 'blur', this.onBlur.bindAsEventListener(this)); - Event.observe(this.element, 'keydown', this.onKeyPress.bindAsEventListener(this)); - }, - - show: function() { - if(Element.getStyle(this.update, 'display')=='none') this.options.onShow(this.element, this.update); - if(!this.iefix && - (Prototype.Browser.IE) && - (Element.getStyle(this.update, 'position')=='absolute')) { - new Insertion.After(this.update, - ''); - this.iefix = $(this.update.id+'_iefix'); - } - if(this.iefix) setTimeout(this.fixIEOverlapping.bind(this), 50); - }, - - fixIEOverlapping: function() { - Position.clone(this.update, this.iefix, {setTop:(!this.update.style.height)}); - this.iefix.style.zIndex = 1; - this.update.style.zIndex = 2; - Element.show(this.iefix); - }, - - hide: function() { - this.stopIndicator(); - if(Element.getStyle(this.update, 'display')!='none') this.options.onHide(this.element, this.update); - if(this.iefix) Element.hide(this.iefix); - }, - - startIndicator: function() { - if(this.options.indicator) Element.show(this.options.indicator); - }, - - stopIndicator: function() { - if(this.options.indicator) Element.hide(this.options.indicator); - }, - - onKeyPress: function(event) { - if(this.active) - switch(event.keyCode) { - case Event.KEY_TAB: - case Event.KEY_RETURN: - this.selectEntry(); - Event.stop(event); - case Event.KEY_ESC: - this.hide(); - this.active = false; - Event.stop(event); - return; - case Event.KEY_LEFT: - case Event.KEY_RIGHT: - return; - case Event.KEY_UP: - this.markPrevious(); - this.render(); - Event.stop(event); - return; - case Event.KEY_DOWN: - this.markNext(); - this.render(); - Event.stop(event); - return; - } - else - if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN || - (Prototype.Browser.WebKit > 0 && event.keyCode == 0)) return; - - this.changed = true; - this.hasFocus = true; - - if(this.observer) clearTimeout(this.observer); - this.observer = - setTimeout(this.onObserverEvent.bind(this), this.options.frequency*1000); - }, - - activate: function() { - this.changed = false; - this.hasFocus = true; - this.getUpdatedChoices(); - }, - - onHover: function(event) { - var element = Event.findElement(event, 'LI'); - if(this.index != element.autocompleteIndex) - { - this.index = element.autocompleteIndex; - this.render(); - } - Event.stop(event); - }, - - onClick: function(event) { - var element = Event.findElement(event, 'LI'); - this.index = element.autocompleteIndex; - this.selectEntry(); - this.hide(); - }, - - onBlur: function(event) { - // needed to make click events working - setTimeout(this.hide.bind(this), 250); - this.hasFocus = false; - this.active = false; - }, - - render: function() { - if(this.entryCount > 0) { - for (var i = 0; i < this.entryCount; i++) - this.index==i ? - Element.addClassName(this.getEntry(i),"selected") : - Element.removeClassName(this.getEntry(i),"selected"); - if(this.hasFocus) { - this.show(); - this.active = true; - } - } else { - this.active = false; - this.hide(); - } - }, - - markPrevious: function() { - if(this.index > 0) this.index-- - else this.index = this.entryCount-1; - this.getEntry(this.index).scrollIntoView(true); - }, - - markNext: function() { - if(this.index < this.entryCount-1) this.index++ - else this.index = 0; - this.getEntry(this.index).scrollIntoView(false); - }, - - getEntry: function(index) { - return this.update.firstChild.childNodes[index]; - }, - - getCurrentEntry: function() { - return this.getEntry(this.index); - }, - - selectEntry: function() { - this.active = false; - this.updateElement(this.getCurrentEntry()); - }, - - updateElement: function(selectedElement) { - if (this.options.updateElement) { - this.options.updateElement(selectedElement); - return; - } - var value = ''; - if (this.options.select) { - var nodes = $(selectedElement).select('.' + this.options.select) || []; - if(nodes.length>0) value = Element.collectTextNodes(nodes[0], this.options.select); - } else - value = Element.collectTextNodesIgnoreClass(selectedElement, 'informal'); - - var bounds = this.getTokenBounds(); - if (bounds[0] != -1) { - var newValue = this.element.value.substr(0, bounds[0]); - var whitespace = this.element.value.substr(bounds[0]).match(/^\s+/); - if (whitespace) - newValue += whitespace[0]; - this.element.value = newValue + value + this.element.value.substr(bounds[1]); - } else { - this.element.value = value; - } - this.oldElementValue = this.element.value; - this.element.focus(); - - if (this.options.afterUpdateElement) - this.options.afterUpdateElement(this.element, selectedElement); - }, - - updateChoices: function(choices) { - if(!this.changed && this.hasFocus) { - this.update.innerHTML = choices; - Element.cleanWhitespace(this.update); - Element.cleanWhitespace(this.update.down()); - - if(this.update.firstChild && this.update.down().childNodes) { - this.entryCount = - this.update.down().childNodes.length; - for (var i = 0; i < this.entryCount; i++) { - var entry = this.getEntry(i); - entry.autocompleteIndex = i; - this.addObservers(entry); - } - } else { - this.entryCount = 0; - } - - this.stopIndicator(); - this.index = 0; - - if(this.entryCount==1 && this.options.autoSelect) { - this.selectEntry(); - this.hide(); - } else { - this.render(); - } - } - }, - - addObservers: function(element) { - Event.observe(element, "mouseover", this.onHover.bindAsEventListener(this)); - Event.observe(element, "click", this.onClick.bindAsEventListener(this)); - }, - - onObserverEvent: function() { - this.changed = false; - this.tokenBounds = null; - if(this.getToken().length>=this.options.minChars) { - this.getUpdatedChoices(); - } else { - this.active = false; - this.hide(); - } - this.oldElementValue = this.element.value; - }, - - getToken: function() { - var bounds = this.getTokenBounds(); - return this.element.value.substring(bounds[0], bounds[1]).strip(); - }, - - getTokenBounds: function() { - if (null != this.tokenBounds) return this.tokenBounds; - var value = this.element.value; - if (value.strip().empty()) return [-1, 0]; - var diff = arguments.callee.getFirstDifferencePos(value, this.oldElementValue); - var offset = (diff == this.oldElementValue.length ? 1 : 0); - var prevTokenPos = -1, nextTokenPos = value.length; - var tp; - for (var index = 0, l = this.options.tokens.length; index < l; ++index) { - tp = value.lastIndexOf(this.options.tokens[index], diff + offset - 1); - if (tp > prevTokenPos) prevTokenPos = tp; - tp = value.indexOf(this.options.tokens[index], diff + offset); - if (-1 != tp && tp < nextTokenPos) nextTokenPos = tp; - } - return (this.tokenBounds = [prevTokenPos + 1, nextTokenPos]); - } -}); - -Autocompleter.Base.prototype.getTokenBounds.getFirstDifferencePos = function(newS, oldS) { - var boundary = Math.min(newS.length, oldS.length); - for (var index = 0; index < boundary; ++index) - if (newS[index] != oldS[index]) - return index; - return boundary; -}; - -Ajax.Autocompleter = Class.create(Autocompleter.Base, { - initialize: function(element, update, url, options) { - this.baseInitialize(element, update, options); - this.options.asynchronous = true; - this.options.onComplete = this.onComplete.bind(this); - this.options.defaultParams = this.options.parameters || null; - this.url = url; - }, - - getUpdatedChoices: function() { - this.startIndicator(); - - var entry = encodeURIComponent(this.options.paramName) + '=' + - encodeURIComponent(this.getToken()); - - this.options.parameters = this.options.callback ? - this.options.callback(this.element, entry) : entry; - - if(this.options.defaultParams) - this.options.parameters += '&' + this.options.defaultParams; - - new Ajax.Request(this.url, this.options); - }, - - onComplete: function(request) { - this.updateChoices(request.responseText); - } -}); - -// The local array autocompleter. Used when you'd prefer to -// inject an array of autocompletion options into the page, rather -// than sending out Ajax queries, which can be quite slow sometimes. -// -// The constructor takes four parameters. The first two are, as usual, -// the id of the monitored textbox, and id of the autocompletion menu. -// The third is the array you want to autocomplete from, and the fourth -// is the options block. -// -// Extra local autocompletion options: -// - choices - How many autocompletion choices to offer -// -// - partialSearch - If false, the autocompleter will match entered -// text only at the beginning of strings in the -// autocomplete array. Defaults to true, which will -// match text at the beginning of any *word* in the -// strings in the autocomplete array. If you want to -// search anywhere in the string, additionally set -// the option fullSearch to true (default: off). -// -// - fullSsearch - Search anywhere in autocomplete array strings. -// -// - partialChars - How many characters to enter before triggering -// a partial match (unlike minChars, which defines -// how many characters are required to do any match -// at all). Defaults to 2. -// -// - ignoreCase - Whether to ignore case when autocompleting. -// Defaults to true. -// -// It's possible to pass in a custom function as the 'selector' -// option, if you prefer to write your own autocompletion logic. -// In that case, the other options above will not apply unless -// you support them. - -Autocompleter.Local = Class.create(Autocompleter.Base, { - initialize: function(element, update, array, options) { - this.baseInitialize(element, update, options); - this.options.array = array; - }, - - getUpdatedChoices: function() { - this.updateChoices(this.options.selector(this)); - }, - - setOptions: function(options) { - this.options = Object.extend({ - choices: 10, - partialSearch: true, - partialChars: 2, - ignoreCase: true, - fullSearch: false, - selector: function(instance) { - var ret = []; // Beginning matches - var partial = []; // Inside matches - var entry = instance.getToken(); - var count = 0; - - for (var i = 0; i < instance.options.array.length && - ret.length < instance.options.choices ; i++) { - - var elem = instance.options.array[i]; - var foundPos = instance.options.ignoreCase ? - elem.toLowerCase().indexOf(entry.toLowerCase()) : - elem.indexOf(entry); - - while (foundPos != -1) { - if (foundPos == 0 && elem.length != entry.length) { - ret.push("
  • " + elem.substr(0, entry.length) + "" + - elem.substr(entry.length) + "
  • "); - break; - } else if (entry.length >= instance.options.partialChars && - instance.options.partialSearch && foundPos != -1) { - if (instance.options.fullSearch || /\s/.test(elem.substr(foundPos-1,1))) { - partial.push("
  • " + elem.substr(0, foundPos) + "" + - elem.substr(foundPos, entry.length) + "" + elem.substr( - foundPos + entry.length) + "
  • "); - break; - } - } - - foundPos = instance.options.ignoreCase ? - elem.toLowerCase().indexOf(entry.toLowerCase(), foundPos + 1) : - elem.indexOf(entry, foundPos + 1); - - } - } - if (partial.length) - ret = ret.concat(partial.slice(0, instance.options.choices - ret.length)) - return "
      " + ret.join('') + "
    "; - } - }, options || { }); - } -}); - -// AJAX in-place editor and collection editor -// Full rewrite by Christophe Porteneuve (April 2007). - -// Use this if you notice weird scrolling problems on some browsers, -// the DOM might be a bit confused when this gets called so do this -// waits 1 ms (with setTimeout) until it does the activation -Field.scrollFreeActivate = function(field) { - setTimeout(function() { - Field.activate(field); - }, 1); -} - -Ajax.InPlaceEditor = Class.create({ - initialize: function(element, url, options) { - this.url = url; - this.element = element = $(element); - this.prepareOptions(); - this._controls = { }; - arguments.callee.dealWithDeprecatedOptions(options); // DEPRECATION LAYER!!! - Object.extend(this.options, options || { }); - if (!this.options.formId && this.element.id) { - this.options.formId = this.element.id + '-inplaceeditor'; - if ($(this.options.formId)) - this.options.formId = ''; - } - if (this.options.externalControl) - this.options.externalControl = $(this.options.externalControl); - if (!this.options.externalControl) - this.options.externalControlOnly = false; - this._originalBackground = this.element.getStyle('background-color') || 'transparent'; - this.element.title = this.options.clickToEditText; - this._boundCancelHandler = this.handleFormCancellation.bind(this); - this._boundComplete = (this.options.onComplete || Prototype.emptyFunction).bind(this); - this._boundFailureHandler = this.handleAJAXFailure.bind(this); - this._boundSubmitHandler = this.handleFormSubmission.bind(this); - this._boundWrapperHandler = this.wrapUp.bind(this); - this.registerListeners(); - }, - checkForEscapeOrReturn: function(e) { - if (!this._editing || e.ctrlKey || e.altKey || e.shiftKey) return; - if (Event.KEY_ESC == e.keyCode) - this.handleFormCancellation(e); - else if (Event.KEY_RETURN == e.keyCode) - this.handleFormSubmission(e); - }, - createControl: function(mode, handler, extraClasses) { - var control = this.options[mode + 'Control']; - var text = this.options[mode + 'Text']; - if ('button' == control) { - var btn = document.createElement('input'); - btn.type = 'submit'; - btn.value = text; - btn.className = 'editor_' + mode + '_button'; - if ('cancel' == mode) - btn.onclick = this._boundCancelHandler; - this._form.appendChild(btn); - this._controls[mode] = btn; - } else if ('link' == control) { - var link = document.createElement('a'); - link.href = '#'; - link.appendChild(document.createTextNode(text)); - link.onclick = 'cancel' == mode ? this._boundCancelHandler : this._boundSubmitHandler; - link.className = 'editor_' + mode + '_link'; - if (extraClasses) - link.className += ' ' + extraClasses; - this._form.appendChild(link); - this._controls[mode] = link; - } - }, - createEditField: function() { - var text = (this.options.loadTextURL ? this.options.loadingText : this.getText()); - var fld; - if (1 >= this.options.rows && !/\r|\n/.test(this.getText())) { - fld = document.createElement('input'); - fld.type = 'text'; - var size = this.options.size || this.options.cols || 0; - if (0 < size) fld.size = size; - } else { - fld = document.createElement('textarea'); - fld.rows = (1 >= this.options.rows ? this.options.autoRows : this.options.rows); - fld.cols = this.options.cols || 40; - } - fld.name = this.options.paramName; - fld.value = text; // No HTML breaks conversion anymore - fld.className = 'editor_field'; - if (this.options.submitOnBlur) - fld.onblur = this._boundSubmitHandler; - this._controls.editor = fld; - if (this.options.loadTextURL) - this.loadExternalText(); - this._form.appendChild(this._controls.editor); - }, - createForm: function() { - var ipe = this; - function addText(mode, condition) { - var text = ipe.options['text' + mode + 'Controls']; - if (!text || condition === false) return; - ipe._form.appendChild(document.createTextNode(text)); - }; - this._form = $(document.createElement('form')); - this._form.id = this.options.formId; - this._form.addClassName(this.options.formClassName); - this._form.onsubmit = this._boundSubmitHandler; - this.createEditField(); - if ('textarea' == this._controls.editor.tagName.toLowerCase()) - this._form.appendChild(document.createElement('br')); - if (this.options.onFormCustomization) - this.options.onFormCustomization(this, this._form); - addText('Before', this.options.okControl || this.options.cancelControl); - this.createControl('ok', this._boundSubmitHandler); - addText('Between', this.options.okControl && this.options.cancelControl); - this.createControl('cancel', this._boundCancelHandler, 'editor_cancel'); - addText('After', this.options.okControl || this.options.cancelControl); - }, - destroy: function() { - if (this._oldInnerHTML) - this.element.innerHTML = this._oldInnerHTML; - this.leaveEditMode(); - this.unregisterListeners(); - }, - enterEditMode: function(e) { - if (this._saving || this._editing) return; - this._editing = true; - this.triggerCallback('onEnterEditMode'); - if (this.options.externalControl) - this.options.externalControl.hide(); - this.element.hide(); - this.createForm(); - this.element.parentNode.insertBefore(this._form, this.element); - if (!this.options.loadTextURL) - this.postProcessEditField(); - if (e) Event.stop(e); - }, - enterHover: function(e) { - if (this.options.hoverClassName) - this.element.addClassName(this.options.hoverClassName); - if (this._saving) return; - this.triggerCallback('onEnterHover'); - }, - getText: function() { - return this.element.innerHTML; - }, - handleAJAXFailure: function(transport) { - this.triggerCallback('onFailure', transport); - if (this._oldInnerHTML) { - this.element.innerHTML = this._oldInnerHTML; - this._oldInnerHTML = null; - } - }, - handleFormCancellation: function(e) { - this.wrapUp(); - if (e) Event.stop(e); - }, - handleFormSubmission: function(e) { - var form = this._form; - var value = $F(this._controls.editor); - this.prepareSubmission(); - var params = this.options.callback(form, value) || ''; - if (Object.isString(params)) - params = params.toQueryParams(); - params.editorId = this.element.id; - if (this.options.htmlResponse) { - var options = Object.extend({ evalScripts: true }, this.options.ajaxOptions); - Object.extend(options, { - parameters: params, - onComplete: this._boundWrapperHandler, - onFailure: this._boundFailureHandler - }); - new Ajax.Updater({ success: this.element }, this.url, options); - } else { - var options = Object.extend({ method: 'get' }, this.options.ajaxOptions); - Object.extend(options, { - parameters: params, - onComplete: this._boundWrapperHandler, - onFailure: this._boundFailureHandler - }); - new Ajax.Request(this.url, options); - } - if (e) Event.stop(e); - }, - leaveEditMode: function() { - this.element.removeClassName(this.options.savingClassName); - this.removeForm(); - this.leaveHover(); - this.element.style.backgroundColor = this._originalBackground; - this.element.show(); - if (this.options.externalControl) - this.options.externalControl.show(); - this._saving = false; - this._editing = false; - this._oldInnerHTML = null; - this.triggerCallback('onLeaveEditMode'); - }, - leaveHover: function(e) { - if (this.options.hoverClassName) - this.element.removeClassName(this.options.hoverClassName); - if (this._saving) return; - this.triggerCallback('onLeaveHover'); - }, - loadExternalText: function() { - this._form.addClassName(this.options.loadingClassName); - this._controls.editor.disabled = true; - var options = Object.extend({ method: 'get' }, this.options.ajaxOptions); - Object.extend(options, { - parameters: 'editorId=' + encodeURIComponent(this.element.id), - onComplete: Prototype.emptyFunction, - onSuccess: function(transport) { - this._form.removeClassName(this.options.loadingClassName); - var text = transport.responseText; - if (this.options.stripLoadedTextTags) - text = text.stripTags(); - this._controls.editor.value = text; - this._controls.editor.disabled = false; - this.postProcessEditField(); - }.bind(this), - onFailure: this._boundFailureHandler - }); - new Ajax.Request(this.options.loadTextURL, options); - }, - postProcessEditField: function() { - var fpc = this.options.fieldPostCreation; - if (fpc) - $(this._controls.editor)['focus' == fpc ? 'focus' : 'activate'](); - }, - prepareOptions: function() { - this.options = Object.clone(Ajax.InPlaceEditor.DefaultOptions); - Object.extend(this.options, Ajax.InPlaceEditor.DefaultCallbacks); - [this._extraDefaultOptions].flatten().compact().each(function(defs) { - Object.extend(this.options, defs); - }.bind(this)); - }, - prepareSubmission: function() { - this._saving = true; - this.removeForm(); - this.leaveHover(); - this.showSaving(); - }, - registerListeners: function() { - this._listeners = { }; - var listener; - $H(Ajax.InPlaceEditor.Listeners).each(function(pair) { - listener = this[pair.value].bind(this); - this._listeners[pair.key] = listener; - if (!this.options.externalControlOnly) - this.element.observe(pair.key, listener); - if (this.options.externalControl) - this.options.externalControl.observe(pair.key, listener); - }.bind(this)); - }, - removeForm: function() { - if (!this._form) return; - this._form.remove(); - this._form = null; - this._controls = { }; - }, - showSaving: function() { - this._oldInnerHTML = this.element.innerHTML; - this.element.innerHTML = this.options.savingText; - this.element.addClassName(this.options.savingClassName); - this.element.style.backgroundColor = this._originalBackground; - this.element.show(); - }, - triggerCallback: function(cbName, arg) { - if ('function' == typeof this.options[cbName]) { - this.options[cbName](this, arg); - } - }, - unregisterListeners: function() { - $H(this._listeners).each(function(pair) { - if (!this.options.externalControlOnly) - this.element.stopObserving(pair.key, pair.value); - if (this.options.externalControl) - this.options.externalControl.stopObserving(pair.key, pair.value); - }.bind(this)); - }, - wrapUp: function(transport) { - this.leaveEditMode(); - // Can't use triggerCallback due to backward compatibility: requires - // binding + direct element - this._boundComplete(transport, this.element); - } -}); - -Object.extend(Ajax.InPlaceEditor.prototype, { - dispose: Ajax.InPlaceEditor.prototype.destroy -}); - -Ajax.InPlaceCollectionEditor = Class.create(Ajax.InPlaceEditor, { - initialize: function($super, element, url, options) { - this._extraDefaultOptions = Ajax.InPlaceCollectionEditor.DefaultOptions; - $super(element, url, options); - }, - - createEditField: function() { - var list = document.createElement('select'); - list.name = this.options.paramName; - list.size = 1; - this._controls.editor = list; - this._collection = this.options.collection || []; - if (this.options.loadCollectionURL) - this.loadCollection(); - else - this.checkForExternalText(); - this._form.appendChild(this._controls.editor); - }, - - loadCollection: function() { - this._form.addClassName(this.options.loadingClassName); - this.showLoadingText(this.options.loadingCollectionText); - var options = Object.extend({ method: 'get' }, this.options.ajaxOptions); - Object.extend(options, { - parameters: 'editorId=' + encodeURIComponent(this.element.id), - onComplete: Prototype.emptyFunction, - onSuccess: function(transport) { - var js = transport.responseText.strip(); - if (!/^\[.*\]$/.test(js)) // TODO: improve sanity check - throw 'Server returned an invalid collection representation.'; - this._collection = eval(js); - this.checkForExternalText(); - }.bind(this), - onFailure: this.onFailure - }); - new Ajax.Request(this.options.loadCollectionURL, options); - }, - - showLoadingText: function(text) { - this._controls.editor.disabled = true; - var tempOption = this._controls.editor.firstChild; - if (!tempOption) { - tempOption = document.createElement('option'); - tempOption.value = ''; - this._controls.editor.appendChild(tempOption); - tempOption.selected = true; - } - tempOption.update((text || '').stripScripts().stripTags()); - }, - - checkForExternalText: function() { - this._text = this.getText(); - if (this.options.loadTextURL) - this.loadExternalText(); - else - this.buildOptionList(); - }, - - loadExternalText: function() { - this.showLoadingText(this.options.loadingText); - var options = Object.extend({ method: 'get' }, this.options.ajaxOptions); - Object.extend(options, { - parameters: 'editorId=' + encodeURIComponent(this.element.id), - onComplete: Prototype.emptyFunction, - onSuccess: function(transport) { - this._text = transport.responseText.strip(); - this.buildOptionList(); - }.bind(this), - onFailure: this.onFailure - }); - new Ajax.Request(this.options.loadTextURL, options); - }, - - buildOptionList: function() { - this._form.removeClassName(this.options.loadingClassName); - this._collection = this._collection.map(function(entry) { - return 2 === entry.length ? entry : [entry, entry].flatten(); - }); - var marker = ('value' in this.options) ? this.options.value : this._text; - var textFound = this._collection.any(function(entry) { - return entry[0] == marker; - }.bind(this)); - this._controls.editor.update(''); - var option; - this._collection.each(function(entry, index) { - option = document.createElement('option'); - option.value = entry[0]; - option.selected = textFound ? entry[0] == marker : 0 == index; - option.appendChild(document.createTextNode(entry[1])); - this._controls.editor.appendChild(option); - }.bind(this)); - this._controls.editor.disabled = false; - Field.scrollFreeActivate(this._controls.editor); - } -}); - -//**** DEPRECATION LAYER FOR InPlace[Collection]Editor! **** -//**** This only exists for a while, in order to let **** -//**** users adapt to the new API. Read up on the new **** -//**** API and convert your code to it ASAP! **** - -Ajax.InPlaceEditor.prototype.initialize.dealWithDeprecatedOptions = function(options) { - if (!options) return; - function fallback(name, expr) { - if (name in options || expr === undefined) return; - options[name] = expr; - }; - fallback('cancelControl', (options.cancelLink ? 'link' : (options.cancelButton ? 'button' : - options.cancelLink == options.cancelButton == false ? false : undefined))); - fallback('okControl', (options.okLink ? 'link' : (options.okButton ? 'button' : - options.okLink == options.okButton == false ? false : undefined))); - fallback('highlightColor', options.highlightcolor); - fallback('highlightEndColor', options.highlightendcolor); -}; - -Object.extend(Ajax.InPlaceEditor, { - DefaultOptions: { - ajaxOptions: { }, - autoRows: 3, // Use when multi-line w/ rows == 1 - cancelControl: 'link', // 'link'|'button'|false - cancelText: 'cancel', - clickToEditText: 'Click to edit', - externalControl: null, // id|elt - externalControlOnly: false, - fieldPostCreation: 'activate', // 'activate'|'focus'|false - formClassName: 'inplaceeditor-form', - formId: null, // id|elt - highlightColor: '#ffff99', - highlightEndColor: '#ffffff', - hoverClassName: '', - htmlResponse: true, - loadingClassName: 'inplaceeditor-loading', - loadingText: 'Loading...', - okControl: 'button', // 'link'|'button'|false - okText: 'ok', - paramName: 'value', - rows: 1, // If 1 and multi-line, uses autoRows - savingClassName: 'inplaceeditor-saving', - savingText: 'Saving...', - size: 0, - stripLoadedTextTags: false, - submitOnBlur: false, - textAfterControls: '', - textBeforeControls: '', - textBetweenControls: '' - }, - DefaultCallbacks: { - callback: function(form) { - return Form.serialize(form); - }, - onComplete: function(transport, element) { - // For backward compatibility, this one is bound to the IPE, and passes - // the element directly. It was too often customized, so we don't break it. - new Effect.Highlight(element, { - startcolor: this.options.highlightColor, keepBackgroundImage: true }); - }, - onEnterEditMode: null, - onEnterHover: function(ipe) { - ipe.element.style.backgroundColor = ipe.options.highlightColor; - if (ipe._effect) - ipe._effect.cancel(); - }, - onFailure: function(transport, ipe) { - alert('Error communication with the server: ' + transport.responseText.stripTags()); - }, - onFormCustomization: null, // Takes the IPE and its generated form, after editor, before controls. - onLeaveEditMode: null, - onLeaveHover: function(ipe) { - ipe._effect = new Effect.Highlight(ipe.element, { - startcolor: ipe.options.highlightColor, endcolor: ipe.options.highlightEndColor, - restorecolor: ipe._originalBackground, keepBackgroundImage: true - }); - } - }, - Listeners: { - click: 'enterEditMode', - keydown: 'checkForEscapeOrReturn', - mouseover: 'enterHover', - mouseout: 'leaveHover' - } -}); - -Ajax.InPlaceCollectionEditor.DefaultOptions = { - loadingCollectionText: 'Loading options...' -}; - -// Delayed observer, like Form.Element.Observer, -// but waits for delay after last key input -// Ideal for live-search fields - -Form.Element.DelayedObserver = Class.create({ - initialize: function(element, delay, callback) { - this.delay = delay || 0.5; - this.element = $(element); - this.callback = callback; - this.timer = null; - this.lastValue = $F(this.element); - Event.observe(this.element,'keyup',this.delayedListener.bindAsEventListener(this)); - }, - delayedListener: function(event) { - if(this.lastValue == $F(this.element)) return; - if(this.timer) clearTimeout(this.timer); - this.timer = setTimeout(this.onTimerEvent.bind(this), this.delay * 1000); - this.lastValue = $F(this.element); - }, - onTimerEvent: function() { - this.timer = null; - this.callback(this.element, $F(this.element)); - } -}); diff --git a/webroot/js/.svn/text-base/dragdrop.js.svn-base b/webroot/js/.svn/text-base/dragdrop.js.svn-base deleted file mode 100644 index bf429c26..00000000 --- a/webroot/js/.svn/text-base/dragdrop.js.svn-base +++ /dev/null @@ -1,974 +0,0 @@ -// script.aculo.us dragdrop.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008 - -// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) -// (c) 2005-2007 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz) -// -// script.aculo.us is freely distributable under the terms of an MIT-style license. -// For details, see the script.aculo.us web site: http://script.aculo.us/ - -if(Object.isUndefined(Effect)) - throw("dragdrop.js requires including script.aculo.us' effects.js library"); - -var Droppables = { - drops: [], - - remove: function(element) { - this.drops = this.drops.reject(function(d) { return d.element==$(element) }); - }, - - add: function(element) { - element = $(element); - var options = Object.extend({ - greedy: true, - hoverclass: null, - tree: false - }, arguments[1] || { }); - - // cache containers - if(options.containment) { - options._containers = []; - var containment = options.containment; - if(Object.isArray(containment)) { - containment.each( function(c) { options._containers.push($(c)) }); - } else { - options._containers.push($(containment)); - } - } - - if(options.accept) options.accept = [options.accept].flatten(); - - Element.makePositioned(element); // fix IE - options.element = element; - - this.drops.push(options); - }, - - findDeepestChild: function(drops) { - deepest = drops[0]; - - for (i = 1; i < drops.length; ++i) - if (Element.isParent(drops[i].element, deepest.element)) - deepest = drops[i]; - - return deepest; - }, - - isContained: function(element, drop) { - var containmentNode; - if(drop.tree) { - containmentNode = element.treeNode; - } else { - containmentNode = element.parentNode; - } - return drop._containers.detect(function(c) { return containmentNode == c }); - }, - - isAffected: function(point, element, drop) { - return ( - (drop.element!=element) && - ((!drop._containers) || - this.isContained(element, drop)) && - ((!drop.accept) || - (Element.classNames(element).detect( - function(v) { return drop.accept.include(v) } ) )) && - Position.within(drop.element, point[0], point[1]) ); - }, - - deactivate: function(drop) { - if(drop.hoverclass) - Element.removeClassName(drop.element, drop.hoverclass); - this.last_active = null; - }, - - activate: function(drop) { - if(drop.hoverclass) - Element.addClassName(drop.element, drop.hoverclass); - this.last_active = drop; - }, - - show: function(point, element) { - if(!this.drops.length) return; - var drop, affected = []; - - this.drops.each( function(drop) { - if(Droppables.isAffected(point, element, drop)) - affected.push(drop); - }); - - if(affected.length>0) - drop = Droppables.findDeepestChild(affected); - - if(this.last_active && this.last_active != drop) this.deactivate(this.last_active); - if (drop) { - Position.within(drop.element, point[0], point[1]); - if(drop.onHover) - drop.onHover(element, drop.element, Position.overlap(drop.overlap, drop.element)); - - if (drop != this.last_active) Droppables.activate(drop); - } - }, - - fire: function(event, element) { - if(!this.last_active) return; - Position.prepare(); - - if (this.isAffected([Event.pointerX(event), Event.pointerY(event)], element, this.last_active)) - if (this.last_active.onDrop) { - this.last_active.onDrop(element, this.last_active.element, event); - return true; - } - }, - - reset: function() { - if(this.last_active) - this.deactivate(this.last_active); - } -} - -var Draggables = { - drags: [], - observers: [], - - register: function(draggable) { - if(this.drags.length == 0) { - this.eventMouseUp = this.endDrag.bindAsEventListener(this); - this.eventMouseMove = this.updateDrag.bindAsEventListener(this); - this.eventKeypress = this.keyPress.bindAsEventListener(this); - - Event.observe(document, "mouseup", this.eventMouseUp); - Event.observe(document, "mousemove", this.eventMouseMove); - Event.observe(document, "keypress", this.eventKeypress); - } - this.drags.push(draggable); - }, - - unregister: function(draggable) { - this.drags = this.drags.reject(function(d) { return d==draggable }); - if(this.drags.length == 0) { - Event.stopObserving(document, "mouseup", this.eventMouseUp); - Event.stopObserving(document, "mousemove", this.eventMouseMove); - Event.stopObserving(document, "keypress", this.eventKeypress); - } - }, - - activate: function(draggable) { - if(draggable.options.delay) { - this._timeout = setTimeout(function() { - Draggables._timeout = null; - window.focus(); - Draggables.activeDraggable = draggable; - }.bind(this), draggable.options.delay); - } else { - window.focus(); // allows keypress events if window isn't currently focused, fails for Safari - this.activeDraggable = draggable; - } - }, - - deactivate: function() { - this.activeDraggable = null; - }, - - updateDrag: function(event) { - if(!this.activeDraggable) return; - var pointer = [Event.pointerX(event), Event.pointerY(event)]; - // Mozilla-based browsers fire successive mousemove events with - // the same coordinates, prevent needless redrawing (moz bug?) - if(this._lastPointer && (this._lastPointer.inspect() == pointer.inspect())) return; - this._lastPointer = pointer; - - this.activeDraggable.updateDrag(event, pointer); - }, - - endDrag: function(event) { - if(this._timeout) { - clearTimeout(this._timeout); - this._timeout = null; - } - if(!this.activeDraggable) return; - this._lastPointer = null; - this.activeDraggable.endDrag(event); - this.activeDraggable = null; - }, - - keyPress: function(event) { - if(this.activeDraggable) - this.activeDraggable.keyPress(event); - }, - - addObserver: function(observer) { - this.observers.push(observer); - this._cacheObserverCallbacks(); - }, - - removeObserver: function(element) { // element instead of observer fixes mem leaks - this.observers = this.observers.reject( function(o) { return o.element==element }); - this._cacheObserverCallbacks(); - }, - - notify: function(eventName, draggable, event) { // 'onStart', 'onEnd', 'onDrag' - if(this[eventName+'Count'] > 0) - this.observers.each( function(o) { - if(o[eventName]) o[eventName](eventName, draggable, event); - }); - if(draggable.options[eventName]) draggable.options[eventName](draggable, event); - }, - - _cacheObserverCallbacks: function() { - ['onStart','onEnd','onDrag'].each( function(eventName) { - Draggables[eventName+'Count'] = Draggables.observers.select( - function(o) { return o[eventName]; } - ).length; - }); - } -} - -/*--------------------------------------------------------------------------*/ - -var Draggable = Class.create({ - initialize: function(element) { - var defaults = { - handle: false, - reverteffect: function(element, top_offset, left_offset) { - var dur = Math.sqrt(Math.abs(top_offset^2)+Math.abs(left_offset^2))*0.02; - new Effect.Move(element, { x: -left_offset, y: -top_offset, duration: dur, - queue: {scope:'_draggable', position:'end'} - }); - }, - endeffect: function(element) { - var toOpacity = Object.isNumber(element._opacity) ? element._opacity : 1.0; - new Effect.Opacity(element, {duration:0.2, from:0.7, to:toOpacity, - queue: {scope:'_draggable', position:'end'}, - afterFinish: function(){ - Draggable._dragging[element] = false - } - }); - }, - zindex: 1000, - revert: false, - quiet: false, - scroll: false, - scrollSensitivity: 20, - scrollSpeed: 15, - snap: false, // false, or xy or [x,y] or function(x,y){ return [x,y] } - delay: 0 - }; - - if(!arguments[1] || Object.isUndefined(arguments[1].endeffect)) - Object.extend(defaults, { - starteffect: function(element) { - element._opacity = Element.getOpacity(element); - Draggable._dragging[element] = true; - new Effect.Opacity(element, {duration:0.2, from:element._opacity, to:0.7}); - } - }); - - var options = Object.extend(defaults, arguments[1] || { }); - - this.element = $(element); - - if(options.handle && Object.isString(options.handle)) - this.handle = this.element.down('.'+options.handle, 0); - - if(!this.handle) this.handle = $(options.handle); - if(!this.handle) this.handle = this.element; - - if(options.scroll && !options.scroll.scrollTo && !options.scroll.outerHTML) { - options.scroll = $(options.scroll); - this._isScrollChild = Element.childOf(this.element, options.scroll); - } - - Element.makePositioned(this.element); // fix IE - - this.options = options; - this.dragging = false; - - this.eventMouseDown = this.initDrag.bindAsEventListener(this); - Event.observe(this.handle, "mousedown", this.eventMouseDown); - - Draggables.register(this); - }, - - destroy: function() { - Event.stopObserving(this.handle, "mousedown", this.eventMouseDown); - Draggables.unregister(this); - }, - - currentDelta: function() { - return([ - parseInt(Element.getStyle(this.element,'left') || '0'), - parseInt(Element.getStyle(this.element,'top') || '0')]); - }, - - initDrag: function(event) { - if(!Object.isUndefined(Draggable._dragging[this.element]) && - Draggable._dragging[this.element]) return; - if(Event.isLeftClick(event)) { - // abort on form elements, fixes a Firefox issue - var src = Event.element(event); - if((tag_name = src.tagName.toUpperCase()) && ( - tag_name=='INPUT' || - tag_name=='SELECT' || - tag_name=='OPTION' || - tag_name=='BUTTON' || - tag_name=='TEXTAREA')) return; - - var pointer = [Event.pointerX(event), Event.pointerY(event)]; - var pos = Position.cumulativeOffset(this.element); - this.offset = [0,1].map( function(i) { return (pointer[i] - pos[i]) }); - - Draggables.activate(this); - Event.stop(event); - } - }, - - startDrag: function(event) { - this.dragging = true; - if(!this.delta) - this.delta = this.currentDelta(); - - if(this.options.zindex) { - this.originalZ = parseInt(Element.getStyle(this.element,'z-index') || 0); - this.element.style.zIndex = this.options.zindex; - } - - if(this.options.ghosting) { - this._clone = this.element.cloneNode(true); - this.element._originallyAbsolute = (this.element.getStyle('position') == 'absolute'); - if (!this.element._originallyAbsolute) - Position.absolutize(this.element); - this.element.parentNode.insertBefore(this._clone, this.element); - } - - if(this.options.scroll) { - if (this.options.scroll == window) { - var where = this._getWindowScroll(this.options.scroll); - this.originalScrollLeft = where.left; - this.originalScrollTop = where.top; - } else { - this.originalScrollLeft = this.options.scroll.scrollLeft; - this.originalScrollTop = this.options.scroll.scrollTop; - } - } - - Draggables.notify('onStart', this, event); - - if(this.options.starteffect) this.options.starteffect(this.element); - }, - - updateDrag: function(event, pointer) { - if(!this.dragging) this.startDrag(event); - - if(!this.options.quiet){ - Position.prepare(); - Droppables.show(pointer, this.element); - } - - Draggables.notify('onDrag', this, event); - - this.draw(pointer); - if(this.options.change) this.options.change(this); - - if(this.options.scroll) { - this.stopScrolling(); - - var p; - if (this.options.scroll == window) { - with(this._getWindowScroll(this.options.scroll)) { p = [ left, top, left+width, top+height ]; } - } else { - p = Position.page(this.options.scroll); - p[0] += this.options.scroll.scrollLeft + Position.deltaX; - p[1] += this.options.scroll.scrollTop + Position.deltaY; - p.push(p[0]+this.options.scroll.offsetWidth); - p.push(p[1]+this.options.scroll.offsetHeight); - } - var speed = [0,0]; - if(pointer[0] < (p[0]+this.options.scrollSensitivity)) speed[0] = pointer[0]-(p[0]+this.options.scrollSensitivity); - if(pointer[1] < (p[1]+this.options.scrollSensitivity)) speed[1] = pointer[1]-(p[1]+this.options.scrollSensitivity); - if(pointer[0] > (p[2]-this.options.scrollSensitivity)) speed[0] = pointer[0]-(p[2]-this.options.scrollSensitivity); - if(pointer[1] > (p[3]-this.options.scrollSensitivity)) speed[1] = pointer[1]-(p[3]-this.options.scrollSensitivity); - this.startScrolling(speed); - } - - // fix AppleWebKit rendering - if(Prototype.Browser.WebKit) window.scrollBy(0,0); - - Event.stop(event); - }, - - finishDrag: function(event, success) { - this.dragging = false; - - if(this.options.quiet){ - Position.prepare(); - var pointer = [Event.pointerX(event), Event.pointerY(event)]; - Droppables.show(pointer, this.element); - } - - if(this.options.ghosting) { - if (!this.element._originallyAbsolute) - Position.relativize(this.element); - delete this.element._originallyAbsolute; - Element.remove(this._clone); - this._clone = null; - } - - var dropped = false; - if(success) { - dropped = Droppables.fire(event, this.element); - if (!dropped) dropped = false; - } - if(dropped && this.options.onDropped) this.options.onDropped(this.element); - Draggables.notify('onEnd', this, event); - - var revert = this.options.revert; - if(revert && Object.isFunction(revert)) revert = revert(this.element); - - var d = this.currentDelta(); - if(revert && this.options.reverteffect) { - if (dropped == 0 || revert != 'failure') - this.options.reverteffect(this.element, - d[1]-this.delta[1], d[0]-this.delta[0]); - } else { - this.delta = d; - } - - if(this.options.zindex) - this.element.style.zIndex = this.originalZ; - - if(this.options.endeffect) - this.options.endeffect(this.element); - - Draggables.deactivate(this); - Droppables.reset(); - }, - - keyPress: function(event) { - if(event.keyCode!=Event.KEY_ESC) return; - this.finishDrag(event, false); - Event.stop(event); - }, - - endDrag: function(event) { - if(!this.dragging) return; - this.stopScrolling(); - this.finishDrag(event, true); - Event.stop(event); - }, - - draw: function(point) { - var pos = Position.cumulativeOffset(this.element); - if(this.options.ghosting) { - var r = Position.realOffset(this.element); - pos[0] += r[0] - Position.deltaX; pos[1] += r[1] - Position.deltaY; - } - - var d = this.currentDelta(); - pos[0] -= d[0]; pos[1] -= d[1]; - - if(this.options.scroll && (this.options.scroll != window && this._isScrollChild)) { - pos[0] -= this.options.scroll.scrollLeft-this.originalScrollLeft; - pos[1] -= this.options.scroll.scrollTop-this.originalScrollTop; - } - - var p = [0,1].map(function(i){ - return (point[i]-pos[i]-this.offset[i]) - }.bind(this)); - - if(this.options.snap) { - if(Object.isFunction(this.options.snap)) { - p = this.options.snap(p[0],p[1],this); - } else { - if(Object.isArray(this.options.snap)) { - p = p.map( function(v, i) { - return (v/this.options.snap[i]).round()*this.options.snap[i] }.bind(this)) - } else { - p = p.map( function(v) { - return (v/this.options.snap).round()*this.options.snap }.bind(this)) - } - }} - - var style = this.element.style; - if((!this.options.constraint) || (this.options.constraint=='horizontal')) - style.left = p[0] + "px"; - if((!this.options.constraint) || (this.options.constraint=='vertical')) - style.top = p[1] + "px"; - - if(style.visibility=="hidden") style.visibility = ""; // fix gecko rendering - }, - - stopScrolling: function() { - if(this.scrollInterval) { - clearInterval(this.scrollInterval); - this.scrollInterval = null; - Draggables._lastScrollPointer = null; - } - }, - - startScrolling: function(speed) { - if(!(speed[0] || speed[1])) return; - this.scrollSpeed = [speed[0]*this.options.scrollSpeed,speed[1]*this.options.scrollSpeed]; - this.lastScrolled = new Date(); - this.scrollInterval = setInterval(this.scroll.bind(this), 10); - }, - - scroll: function() { - var current = new Date(); - var delta = current - this.lastScrolled; - this.lastScrolled = current; - if(this.options.scroll == window) { - with (this._getWindowScroll(this.options.scroll)) { - if (this.scrollSpeed[0] || this.scrollSpeed[1]) { - var d = delta / 1000; - this.options.scroll.scrollTo( left + d*this.scrollSpeed[0], top + d*this.scrollSpeed[1] ); - } - } - } else { - this.options.scroll.scrollLeft += this.scrollSpeed[0] * delta / 1000; - this.options.scroll.scrollTop += this.scrollSpeed[1] * delta / 1000; - } - - Position.prepare(); - Droppables.show(Draggables._lastPointer, this.element); - Draggables.notify('onDrag', this); - if (this._isScrollChild) { - Draggables._lastScrollPointer = Draggables._lastScrollPointer || $A(Draggables._lastPointer); - Draggables._lastScrollPointer[0] += this.scrollSpeed[0] * delta / 1000; - Draggables._lastScrollPointer[1] += this.scrollSpeed[1] * delta / 1000; - if (Draggables._lastScrollPointer[0] < 0) - Draggables._lastScrollPointer[0] = 0; - if (Draggables._lastScrollPointer[1] < 0) - Draggables._lastScrollPointer[1] = 0; - this.draw(Draggables._lastScrollPointer); - } - - if(this.options.change) this.options.change(this); - }, - - _getWindowScroll: function(w) { - var T, L, W, H; - with (w.document) { - if (w.document.documentElement && documentElement.scrollTop) { - T = documentElement.scrollTop; - L = documentElement.scrollLeft; - } else if (w.document.body) { - T = body.scrollTop; - L = body.scrollLeft; - } - if (w.innerWidth) { - W = w.innerWidth; - H = w.innerHeight; - } else if (w.document.documentElement && documentElement.clientWidth) { - W = documentElement.clientWidth; - H = documentElement.clientHeight; - } else { - W = body.offsetWidth; - H = body.offsetHeight - } - } - return { top: T, left: L, width: W, height: H }; - } -}); - -Draggable._dragging = { }; - -/*--------------------------------------------------------------------------*/ - -var SortableObserver = Class.create({ - initialize: function(element, observer) { - this.element = $(element); - this.observer = observer; - this.lastValue = Sortable.serialize(this.element); - }, - - onStart: function() { - this.lastValue = Sortable.serialize(this.element); - }, - - onEnd: function() { - Sortable.unmark(); - if(this.lastValue != Sortable.serialize(this.element)) - this.observer(this.element) - } -}); - -var Sortable = { - SERIALIZE_RULE: /^[^_\-](?:[A-Za-z0-9\-\_]*)[_](.*)$/, - - sortables: { }, - - _findRootElement: function(element) { - while (element.tagName.toUpperCase() != "BODY") { - if(element.id && Sortable.sortables[element.id]) return element; - element = element.parentNode; - } - }, - - options: function(element) { - element = Sortable._findRootElement($(element)); - if(!element) return; - return Sortable.sortables[element.id]; - }, - - destroy: function(element){ - var s = Sortable.options(element); - - if(s) { - Draggables.removeObserver(s.element); - s.droppables.each(function(d){ Droppables.remove(d) }); - s.draggables.invoke('destroy'); - - delete Sortable.sortables[s.element.id]; - } - }, - - create: function(element) { - element = $(element); - var options = Object.extend({ - element: element, - tag: 'li', // assumes li children, override with tag: 'tagname' - dropOnEmpty: false, - tree: false, - treeTag: 'ul', - overlap: 'vertical', // one of 'vertical', 'horizontal' - constraint: 'vertical', // one of 'vertical', 'horizontal', false - containment: element, // also takes array of elements (or id's); or false - handle: false, // or a CSS class - only: false, - delay: 0, - hoverclass: null, - ghosting: false, - quiet: false, - scroll: false, - scrollSensitivity: 20, - scrollSpeed: 15, - format: this.SERIALIZE_RULE, - - // these take arrays of elements or ids and can be - // used for better initialization performance - elements: false, - handles: false, - - onChange: Prototype.emptyFunction, - onUpdate: Prototype.emptyFunction - }, arguments[1] || { }); - - // clear any old sortable with same element - this.destroy(element); - - // build options for the draggables - var options_for_draggable = { - revert: true, - quiet: options.quiet, - scroll: options.scroll, - scrollSpeed: options.scrollSpeed, - scrollSensitivity: options.scrollSensitivity, - delay: options.delay, - ghosting: options.ghosting, - constraint: options.constraint, - handle: options.handle }; - - if(options.starteffect) - options_for_draggable.starteffect = options.starteffect; - - if(options.reverteffect) - options_for_draggable.reverteffect = options.reverteffect; - else - if(options.ghosting) options_for_draggable.reverteffect = function(element) { - element.style.top = 0; - element.style.left = 0; - }; - - if(options.endeffect) - options_for_draggable.endeffect = options.endeffect; - - if(options.zindex) - options_for_draggable.zindex = options.zindex; - - // build options for the droppables - var options_for_droppable = { - overlap: options.overlap, - containment: options.containment, - tree: options.tree, - hoverclass: options.hoverclass, - onHover: Sortable.onHover - } - - var options_for_tree = { - onHover: Sortable.onEmptyHover, - overlap: options.overlap, - containment: options.containment, - hoverclass: options.hoverclass - } - - // fix for gecko engine - Element.cleanWhitespace(element); - - options.draggables = []; - options.droppables = []; - - // drop on empty handling - if(options.dropOnEmpty || options.tree) { - Droppables.add(element, options_for_tree); - options.droppables.push(element); - } - - (options.elements || this.findElements(element, options) || []).each( function(e,i) { - var handle = options.handles ? $(options.handles[i]) : - (options.handle ? $(e).select('.' + options.handle)[0] : e); - options.draggables.push( - new Draggable(e, Object.extend(options_for_draggable, { handle: handle }))); - Droppables.add(e, options_for_droppable); - if(options.tree) e.treeNode = element; - options.droppables.push(e); - }); - - if(options.tree) { - (Sortable.findTreeElements(element, options) || []).each( function(e) { - Droppables.add(e, options_for_tree); - e.treeNode = element; - options.droppables.push(e); - }); - } - - // keep reference - this.sortables[element.id] = options; - - // for onupdate - Draggables.addObserver(new SortableObserver(element, options.onUpdate)); - - }, - - // return all suitable-for-sortable elements in a guaranteed order - findElements: function(element, options) { - return Element.findChildren( - element, options.only, options.tree ? true : false, options.tag); - }, - - findTreeElements: function(element, options) { - return Element.findChildren( - element, options.only, options.tree ? true : false, options.treeTag); - }, - - onHover: function(element, dropon, overlap) { - if(Element.isParent(dropon, element)) return; - - if(overlap > .33 && overlap < .66 && Sortable.options(dropon).tree) { - return; - } else if(overlap>0.5) { - Sortable.mark(dropon, 'before'); - if(dropon.previousSibling != element) { - var oldParentNode = element.parentNode; - element.style.visibility = "hidden"; // fix gecko rendering - dropon.parentNode.insertBefore(element, dropon); - if(dropon.parentNode!=oldParentNode) - Sortable.options(oldParentNode).onChange(element); - Sortable.options(dropon.parentNode).onChange(element); - } - } else { - Sortable.mark(dropon, 'after'); - var nextElement = dropon.nextSibling || null; - if(nextElement != element) { - var oldParentNode = element.parentNode; - element.style.visibility = "hidden"; // fix gecko rendering - dropon.parentNode.insertBefore(element, nextElement); - if(dropon.parentNode!=oldParentNode) - Sortable.options(oldParentNode).onChange(element); - Sortable.options(dropon.parentNode).onChange(element); - } - } - }, - - onEmptyHover: function(element, dropon, overlap) { - var oldParentNode = element.parentNode; - var droponOptions = Sortable.options(dropon); - - if(!Element.isParent(dropon, element)) { - var index; - - var children = Sortable.findElements(dropon, {tag: droponOptions.tag, only: droponOptions.only}); - var child = null; - - if(children) { - var offset = Element.offsetSize(dropon, droponOptions.overlap) * (1.0 - overlap); - - for (index = 0; index < children.length; index += 1) { - if (offset - Element.offsetSize (children[index], droponOptions.overlap) >= 0) { - offset -= Element.offsetSize (children[index], droponOptions.overlap); - } else if (offset - (Element.offsetSize (children[index], droponOptions.overlap) / 2) >= 0) { - child = index + 1 < children.length ? children[index + 1] : null; - break; - } else { - child = children[index]; - break; - } - } - } - - dropon.insertBefore(element, child); - - Sortable.options(oldParentNode).onChange(element); - droponOptions.onChange(element); - } - }, - - unmark: function() { - if(Sortable._marker) Sortable._marker.hide(); - }, - - mark: function(dropon, position) { - // mark on ghosting only - var sortable = Sortable.options(dropon.parentNode); - if(sortable && !sortable.ghosting) return; - - if(!Sortable._marker) { - Sortable._marker = - ($('dropmarker') || Element.extend(document.createElement('DIV'))). - hide().addClassName('dropmarker').setStyle({position:'absolute'}); - document.getElementsByTagName("body").item(0).appendChild(Sortable._marker); - } - var offsets = Position.cumulativeOffset(dropon); - Sortable._marker.setStyle({left: offsets[0]+'px', top: offsets[1] + 'px'}); - - if(position=='after') - if(sortable.overlap == 'horizontal') - Sortable._marker.setStyle({left: (offsets[0]+dropon.clientWidth) + 'px'}); - else - Sortable._marker.setStyle({top: (offsets[1]+dropon.clientHeight) + 'px'}); - - Sortable._marker.show(); - }, - - _tree: function(element, options, parent) { - var children = Sortable.findElements(element, options) || []; - - for (var i = 0; i < children.length; ++i) { - var match = children[i].id.match(options.format); - - if (!match) continue; - - var child = { - id: encodeURIComponent(match ? match[1] : null), - element: element, - parent: parent, - children: [], - position: parent.children.length, - container: $(children[i]).down(options.treeTag) - } - - /* Get the element containing the children and recurse over it */ - if (child.container) - this._tree(child.container, options, child) - - parent.children.push (child); - } - - return parent; - }, - - tree: function(element) { - element = $(element); - var sortableOptions = this.options(element); - var options = Object.extend({ - tag: sortableOptions.tag, - treeTag: sortableOptions.treeTag, - only: sortableOptions.only, - name: element.id, - format: sortableOptions.format - }, arguments[1] || { }); - - var root = { - id: null, - parent: null, - children: [], - container: element, - position: 0 - } - - return Sortable._tree(element, options, root); - }, - - /* Construct a [i] index for a particular node */ - _constructIndex: function(node) { - var index = ''; - do { - if (node.id) index = '[' + node.position + ']' + index; - } while ((node = node.parent) != null); - return index; - }, - - sequence: function(element) { - element = $(element); - var options = Object.extend(this.options(element), arguments[1] || { }); - - return $(this.findElements(element, options) || []).map( function(item) { - return item.id.match(options.format) ? item.id.match(options.format)[1] : ''; - }); - }, - - setSequence: function(element, new_sequence) { - element = $(element); - var options = Object.extend(this.options(element), arguments[2] || { }); - - var nodeMap = { }; - this.findElements(element, options).each( function(n) { - if (n.id.match(options.format)) - nodeMap[n.id.match(options.format)[1]] = [n, n.parentNode]; - n.parentNode.removeChild(n); - }); - - new_sequence.each(function(ident) { - var n = nodeMap[ident]; - if (n) { - n[1].appendChild(n[0]); - delete nodeMap[ident]; - } - }); - }, - - serialize: function(element) { - element = $(element); - var options = Object.extend(Sortable.options(element), arguments[1] || { }); - var name = encodeURIComponent( - (arguments[1] && arguments[1].name) ? arguments[1].name : element.id); - - if (options.tree) { - return Sortable.tree(element, arguments[1]).children.map( function (item) { - return [name + Sortable._constructIndex(item) + "[id]=" + - encodeURIComponent(item.id)].concat(item.children.map(arguments.callee)); - }).flatten().join('&'); - } else { - return Sortable.sequence(element, arguments[1]).map( function(item) { - return name + "[]=" + encodeURIComponent(item); - }).join('&'); - } - } -} - -// Returns true if child is contained within element -Element.isParent = function(child, element) { - if (!child.parentNode || child == element) return false; - if (child.parentNode == element) return true; - return Element.isParent(child.parentNode, element); -} - -Element.findChildren = function(element, only, recursive, tagName) { - if(!element.hasChildNodes()) return null; - tagName = tagName.toUpperCase(); - if(only) only = [only].flatten(); - var elements = []; - $A(element.childNodes).each( function(e) { - if(e.tagName && e.tagName.toUpperCase()==tagName && - (!only || (Element.classNames(e).detect(function(v) { return only.include(v) })))) - elements.push(e); - if(recursive) { - var grandchildren = Element.findChildren(e, only, recursive, tagName); - if(grandchildren) elements.push(grandchildren); - } - }); - - return (elements.length>0 ? elements.flatten() : []); -} - -Element.offsetSize = function (element, type) { - return element['offset' + ((type=='vertical' || type=='height') ? 'Height' : 'Width')]; -} diff --git a/webroot/js/.svn/text-base/effects.js.svn-base b/webroot/js/.svn/text-base/effects.js.svn-base deleted file mode 100644 index b8c0259f..00000000 --- a/webroot/js/.svn/text-base/effects.js.svn-base +++ /dev/null @@ -1,1122 +0,0 @@ -// script.aculo.us effects.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008 - -// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) -// Contributors: -// Justin Palmer (http://encytemedia.com/) -// Mark Pilgrim (http://diveintomark.org/) -// Martin Bialasinki -// -// script.aculo.us is freely distributable under the terms of an MIT-style license. -// For details, see the script.aculo.us web site: http://script.aculo.us/ - -// converts rgb() and #xxx to #xxxxxx format, -// returns self (or first argument) if not convertable -String.prototype.parseColor = function() { - var color = '#'; - if (this.slice(0,4) == 'rgb(') { - var cols = this.slice(4,this.length-1).split(','); - var i=0; do { color += parseInt(cols[i]).toColorPart() } while (++i<3); - } else { - if (this.slice(0,1) == '#') { - if (this.length==4) for(var i=1;i<4;i++) color += (this.charAt(i) + this.charAt(i)).toLowerCase(); - if (this.length==7) color = this.toLowerCase(); - } - } - return (color.length==7 ? color : (arguments[0] || this)); -}; - -/*--------------------------------------------------------------------------*/ - -Element.collectTextNodes = function(element) { - return $A($(element).childNodes).collect( function(node) { - return (node.nodeType==3 ? node.nodeValue : - (node.hasChildNodes() ? Element.collectTextNodes(node) : '')); - }).flatten().join(''); -}; - -Element.collectTextNodesIgnoreClass = function(element, className) { - return $A($(element).childNodes).collect( function(node) { - return (node.nodeType==3 ? node.nodeValue : - ((node.hasChildNodes() && !Element.hasClassName(node,className)) ? - Element.collectTextNodesIgnoreClass(node, className) : '')); - }).flatten().join(''); -}; - -Element.setContentZoom = function(element, percent) { - element = $(element); - element.setStyle({fontSize: (percent/100) + 'em'}); - if (Prototype.Browser.WebKit) window.scrollBy(0,0); - return element; -}; - -Element.getInlineOpacity = function(element){ - return $(element).style.opacity || ''; -}; - -Element.forceRerendering = function(element) { - try { - element = $(element); - var n = document.createTextNode(' '); - element.appendChild(n); - element.removeChild(n); - } catch(e) { } -}; - -/*--------------------------------------------------------------------------*/ - -var Effect = { - _elementDoesNotExistError: { - name: 'ElementDoesNotExistError', - message: 'The specified DOM element does not exist, but is required for this effect to operate' - }, - Transitions: { - linear: Prototype.K, - sinoidal: function(pos) { - return (-Math.cos(pos*Math.PI)/2) + 0.5; - }, - reverse: function(pos) { - return 1-pos; - }, - flicker: function(pos) { - var pos = ((-Math.cos(pos*Math.PI)/4) + 0.75) + Math.random()/4; - return pos > 1 ? 1 : pos; - }, - wobble: function(pos) { - return (-Math.cos(pos*Math.PI*(9*pos))/2) + 0.5; - }, - pulse: function(pos, pulses) { - pulses = pulses || 5; - return ( - ((pos % (1/pulses)) * pulses).round() == 0 ? - ((pos * pulses * 2) - (pos * pulses * 2).floor()) : - 1 - ((pos * pulses * 2) - (pos * pulses * 2).floor()) - ); - }, - spring: function(pos) { - return 1 - (Math.cos(pos * 4.5 * Math.PI) * Math.exp(-pos * 6)); - }, - none: function(pos) { - return 0; - }, - full: function(pos) { - return 1; - } - }, - DefaultOptions: { - duration: 1.0, // seconds - fps: 100, // 100= assume 66fps max. - sync: false, // true for combining - from: 0.0, - to: 1.0, - delay: 0.0, - queue: 'parallel' - }, - tagifyText: function(element) { - var tagifyStyle = 'position:relative'; - if (Prototype.Browser.IE) tagifyStyle += ';zoom:1'; - - element = $(element); - $A(element.childNodes).each( function(child) { - if (child.nodeType==3) { - child.nodeValue.toArray().each( function(character) { - element.insertBefore( - new Element('span', {style: tagifyStyle}).update( - character == ' ' ? String.fromCharCode(160) : character), - child); - }); - Element.remove(child); - } - }); - }, - multiple: function(element, effect) { - var elements; - if (((typeof element == 'object') || - Object.isFunction(element)) && - (element.length)) - elements = element; - else - elements = $(element).childNodes; - - var options = Object.extend({ - speed: 0.1, - delay: 0.0 - }, arguments[2] || { }); - var masterDelay = options.delay; - - $A(elements).each( function(element, index) { - new effect(element, Object.extend(options, { delay: index * options.speed + masterDelay })); - }); - }, - PAIRS: { - 'slide': ['SlideDown','SlideUp'], - 'blind': ['BlindDown','BlindUp'], - 'appear': ['Appear','Fade'] - }, - toggle: function(element, effect) { - element = $(element); - effect = (effect || 'appear').toLowerCase(); - var options = Object.extend({ - queue: { position:'end', scope:(element.id || 'global'), limit: 1 } - }, arguments[2] || { }); - Effect[element.visible() ? - Effect.PAIRS[effect][1] : Effect.PAIRS[effect][0]](element, options); - } -}; - -Effect.DefaultOptions.transition = Effect.Transitions.sinoidal; - -/* ------------- core effects ------------- */ - -Effect.ScopedQueue = Class.create(Enumerable, { - initialize: function() { - this.effects = []; - this.interval = null; - }, - _each: function(iterator) { - this.effects._each(iterator); - }, - add: function(effect) { - var timestamp = new Date().getTime(); - - var position = Object.isString(effect.options.queue) ? - effect.options.queue : effect.options.queue.position; - - switch(position) { - case 'front': - // move unstarted effects after this effect - this.effects.findAll(function(e){ return e.state=='idle' }).each( function(e) { - e.startOn += effect.finishOn; - e.finishOn += effect.finishOn; - }); - break; - case 'with-last': - timestamp = this.effects.pluck('startOn').max() || timestamp; - break; - case 'end': - // start effect after last queued effect has finished - timestamp = this.effects.pluck('finishOn').max() || timestamp; - break; - } - - effect.startOn += timestamp; - effect.finishOn += timestamp; - - if (!effect.options.queue.limit || (this.effects.length < effect.options.queue.limit)) - this.effects.push(effect); - - if (!this.interval) - this.interval = setInterval(this.loop.bind(this), 15); - }, - remove: function(effect) { - this.effects = this.effects.reject(function(e) { return e==effect }); - if (this.effects.length == 0) { - clearInterval(this.interval); - this.interval = null; - } - }, - loop: function() { - var timePos = new Date().getTime(); - for(var i=0, len=this.effects.length;i= this.startOn) { - if (timePos >= this.finishOn) { - this.render(1.0); - this.cancel(); - this.event('beforeFinish'); - if (this.finish) this.finish(); - this.event('afterFinish'); - return; - } - var pos = (timePos - this.startOn) / this.totalTime, - frame = (pos * this.totalFrames).round(); - if (frame > this.currentFrame) { - this.render(pos); - this.currentFrame = frame; - } - } - }, - cancel: function() { - if (!this.options.sync) - Effect.Queues.get(Object.isString(this.options.queue) ? - 'global' : this.options.queue.scope).remove(this); - this.state = 'finished'; - }, - event: function(eventName) { - if (this.options[eventName + 'Internal']) this.options[eventName + 'Internal'](this); - if (this.options[eventName]) this.options[eventName](this); - }, - inspect: function() { - var data = $H(); - for(property in this) - if (!Object.isFunction(this[property])) data.set(property, this[property]); - return '#'; - } -}); - -Effect.Parallel = Class.create(Effect.Base, { - initialize: function(effects) { - this.effects = effects || []; - this.start(arguments[1]); - }, - update: function(position) { - this.effects.invoke('render', position); - }, - finish: function(position) { - this.effects.each( function(effect) { - effect.render(1.0); - effect.cancel(); - effect.event('beforeFinish'); - if (effect.finish) effect.finish(position); - effect.event('afterFinish'); - }); - } -}); - -Effect.Tween = Class.create(Effect.Base, { - initialize: function(object, from, to) { - object = Object.isString(object) ? $(object) : object; - var args = $A(arguments), method = args.last(), - options = args.length == 5 ? args[3] : null; - this.method = Object.isFunction(method) ? method.bind(object) : - Object.isFunction(object[method]) ? object[method].bind(object) : - function(value) { object[method] = value }; - this.start(Object.extend({ from: from, to: to }, options || { })); - }, - update: function(position) { - this.method(position); - } -}); - -Effect.Event = Class.create(Effect.Base, { - initialize: function() { - this.start(Object.extend({ duration: 0 }, arguments[0] || { })); - }, - update: Prototype.emptyFunction -}); - -Effect.Opacity = Class.create(Effect.Base, { - initialize: function(element) { - this.element = $(element); - if (!this.element) throw(Effect._elementDoesNotExistError); - // make this work on IE on elements without 'layout' - if (Prototype.Browser.IE && (!this.element.currentStyle.hasLayout)) - this.element.setStyle({zoom: 1}); - var options = Object.extend({ - from: this.element.getOpacity() || 0.0, - to: 1.0 - }, arguments[1] || { }); - this.start(options); - }, - update: function(position) { - this.element.setOpacity(position); - } -}); - -Effect.Move = Class.create(Effect.Base, { - initialize: function(element) { - this.element = $(element); - if (!this.element) throw(Effect._elementDoesNotExistError); - var options = Object.extend({ - x: 0, - y: 0, - mode: 'relative' - }, arguments[1] || { }); - this.start(options); - }, - setup: function() { - this.element.makePositioned(); - this.originalLeft = parseFloat(this.element.getStyle('left') || '0'); - this.originalTop = parseFloat(this.element.getStyle('top') || '0'); - if (this.options.mode == 'absolute') { - this.options.x = this.options.x - this.originalLeft; - this.options.y = this.options.y - this.originalTop; - } - }, - update: function(position) { - this.element.setStyle({ - left: (this.options.x * position + this.originalLeft).round() + 'px', - top: (this.options.y * position + this.originalTop).round() + 'px' - }); - } -}); - -// for backwards compatibility -Effect.MoveBy = function(element, toTop, toLeft) { - return new Effect.Move(element, - Object.extend({ x: toLeft, y: toTop }, arguments[3] || { })); -}; - -Effect.Scale = Class.create(Effect.Base, { - initialize: function(element, percent) { - this.element = $(element); - if (!this.element) throw(Effect._elementDoesNotExistError); - var options = Object.extend({ - scaleX: true, - scaleY: true, - scaleContent: true, - scaleFromCenter: false, - scaleMode: 'box', // 'box' or 'contents' or { } with provided values - scaleFrom: 100.0, - scaleTo: percent - }, arguments[2] || { }); - this.start(options); - }, - setup: function() { - this.restoreAfterFinish = this.options.restoreAfterFinish || false; - this.elementPositioning = this.element.getStyle('position'); - - this.originalStyle = { }; - ['top','left','width','height','fontSize'].each( function(k) { - this.originalStyle[k] = this.element.style[k]; - }.bind(this)); - - this.originalTop = this.element.offsetTop; - this.originalLeft = this.element.offsetLeft; - - var fontSize = this.element.getStyle('font-size') || '100%'; - ['em','px','%','pt'].each( function(fontSizeType) { - if (fontSize.indexOf(fontSizeType)>0) { - this.fontSize = parseFloat(fontSize); - this.fontSizeType = fontSizeType; - } - }.bind(this)); - - this.factor = (this.options.scaleTo - this.options.scaleFrom)/100; - - this.dims = null; - if (this.options.scaleMode=='box') - this.dims = [this.element.offsetHeight, this.element.offsetWidth]; - if (/^content/.test(this.options.scaleMode)) - this.dims = [this.element.scrollHeight, this.element.scrollWidth]; - if (!this.dims) - this.dims = [this.options.scaleMode.originalHeight, - this.options.scaleMode.originalWidth]; - }, - update: function(position) { - var currentScale = (this.options.scaleFrom/100.0) + (this.factor * position); - if (this.options.scaleContent && this.fontSize) - this.element.setStyle({fontSize: this.fontSize * currentScale + this.fontSizeType }); - this.setDimensions(this.dims[0] * currentScale, this.dims[1] * currentScale); - }, - finish: function(position) { - if (this.restoreAfterFinish) this.element.setStyle(this.originalStyle); - }, - setDimensions: function(height, width) { - var d = { }; - if (this.options.scaleX) d.width = width.round() + 'px'; - if (this.options.scaleY) d.height = height.round() + 'px'; - if (this.options.scaleFromCenter) { - var topd = (height - this.dims[0])/2; - var leftd = (width - this.dims[1])/2; - if (this.elementPositioning == 'absolute') { - if (this.options.scaleY) d.top = this.originalTop-topd + 'px'; - if (this.options.scaleX) d.left = this.originalLeft-leftd + 'px'; - } else { - if (this.options.scaleY) d.top = -topd + 'px'; - if (this.options.scaleX) d.left = -leftd + 'px'; - } - } - this.element.setStyle(d); - } -}); - -Effect.Highlight = Class.create(Effect.Base, { - initialize: function(element) { - this.element = $(element); - if (!this.element) throw(Effect._elementDoesNotExistError); - var options = Object.extend({ startcolor: '#ffff99' }, arguments[1] || { }); - this.start(options); - }, - setup: function() { - // Prevent executing on elements not in the layout flow - if (this.element.getStyle('display')=='none') { this.cancel(); return; } - // Disable background image during the effect - this.oldStyle = { }; - if (!this.options.keepBackgroundImage) { - this.oldStyle.backgroundImage = this.element.getStyle('background-image'); - this.element.setStyle({backgroundImage: 'none'}); - } - if (!this.options.endcolor) - this.options.endcolor = this.element.getStyle('background-color').parseColor('#ffffff'); - if (!this.options.restorecolor) - this.options.restorecolor = this.element.getStyle('background-color'); - // init color calculations - this._base = $R(0,2).map(function(i){ return parseInt(this.options.startcolor.slice(i*2+1,i*2+3),16) }.bind(this)); - this._delta = $R(0,2).map(function(i){ return parseInt(this.options.endcolor.slice(i*2+1,i*2+3),16)-this._base[i] }.bind(this)); - }, - update: function(position) { - this.element.setStyle({backgroundColor: $R(0,2).inject('#',function(m,v,i){ - return m+((this._base[i]+(this._delta[i]*position)).round().toColorPart()); }.bind(this)) }); - }, - finish: function() { - this.element.setStyle(Object.extend(this.oldStyle, { - backgroundColor: this.options.restorecolor - })); - } -}); - -Effect.ScrollTo = function(element) { - var options = arguments[1] || { }, - scrollOffsets = document.viewport.getScrollOffsets(), - elementOffsets = $(element).cumulativeOffset(), - max = (window.height || document.body.scrollHeight) - document.viewport.getHeight(); - - if (options.offset) elementOffsets[1] += options.offset; - - return new Effect.Tween(null, - scrollOffsets.top, - elementOffsets[1] > max ? max : elementOffsets[1], - options, - function(p){ scrollTo(scrollOffsets.left, p.round()) } - ); -}; - -/* ------------- combination effects ------------- */ - -Effect.Fade = function(element) { - element = $(element); - var oldOpacity = element.getInlineOpacity(); - var options = Object.extend({ - from: element.getOpacity() || 1.0, - to: 0.0, - afterFinishInternal: function(effect) { - if (effect.options.to!=0) return; - effect.element.hide().setStyle({opacity: oldOpacity}); - } - }, arguments[1] || { }); - return new Effect.Opacity(element,options); -}; - -Effect.Appear = function(element) { - element = $(element); - var options = Object.extend({ - from: (element.getStyle('display') == 'none' ? 0.0 : element.getOpacity() || 0.0), - to: 1.0, - // force Safari to render floated elements properly - afterFinishInternal: function(effect) { - effect.element.forceRerendering(); - }, - beforeSetup: function(effect) { - effect.element.setOpacity(effect.options.from).show(); - }}, arguments[1] || { }); - return new Effect.Opacity(element,options); -}; - -Effect.Puff = function(element) { - element = $(element); - var oldStyle = { - opacity: element.getInlineOpacity(), - position: element.getStyle('position'), - top: element.style.top, - left: element.style.left, - width: element.style.width, - height: element.style.height - }; - return new Effect.Parallel( - [ new Effect.Scale(element, 200, - { sync: true, scaleFromCenter: true, scaleContent: true, restoreAfterFinish: true }), - new Effect.Opacity(element, { sync: true, to: 0.0 } ) ], - Object.extend({ duration: 1.0, - beforeSetupInternal: function(effect) { - Position.absolutize(effect.effects[0].element) - }, - afterFinishInternal: function(effect) { - effect.effects[0].element.hide().setStyle(oldStyle); } - }, arguments[1] || { }) - ); -}; - -Effect.BlindUp = function(element) { - element = $(element); - element.makeClipping(); - return new Effect.Scale(element, 0, - Object.extend({ scaleContent: false, - scaleX: false, - restoreAfterFinish: true, - afterFinishInternal: function(effect) { - effect.element.hide().undoClipping(); - } - }, arguments[1] || { }) - ); -}; - -Effect.BlindDown = function(element) { - element = $(element); - var elementDimensions = element.getDimensions(); - return new Effect.Scale(element, 100, Object.extend({ - scaleContent: false, - scaleX: false, - scaleFrom: 0, - scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width}, - restoreAfterFinish: true, - afterSetup: function(effect) { - effect.element.makeClipping().setStyle({height: '0px'}).show(); - }, - afterFinishInternal: function(effect) { - effect.element.undoClipping(); - } - }, arguments[1] || { })); -}; - -Effect.SwitchOff = function(element) { - element = $(element); - var oldOpacity = element.getInlineOpacity(); - return new Effect.Appear(element, Object.extend({ - duration: 0.4, - from: 0, - transition: Effect.Transitions.flicker, - afterFinishInternal: function(effect) { - new Effect.Scale(effect.element, 1, { - duration: 0.3, scaleFromCenter: true, - scaleX: false, scaleContent: false, restoreAfterFinish: true, - beforeSetup: function(effect) { - effect.element.makePositioned().makeClipping(); - }, - afterFinishInternal: function(effect) { - effect.element.hide().undoClipping().undoPositioned().setStyle({opacity: oldOpacity}); - } - }) - } - }, arguments[1] || { })); -}; - -Effect.DropOut = function(element) { - element = $(element); - var oldStyle = { - top: element.getStyle('top'), - left: element.getStyle('left'), - opacity: element.getInlineOpacity() }; - return new Effect.Parallel( - [ new Effect.Move(element, {x: 0, y: 100, sync: true }), - new Effect.Opacity(element, { sync: true, to: 0.0 }) ], - Object.extend( - { duration: 0.5, - beforeSetup: function(effect) { - effect.effects[0].element.makePositioned(); - }, - afterFinishInternal: function(effect) { - effect.effects[0].element.hide().undoPositioned().setStyle(oldStyle); - } - }, arguments[1] || { })); -}; - -Effect.Shake = function(element) { - element = $(element); - var options = Object.extend({ - distance: 20, - duration: 0.5 - }, arguments[1] || {}); - var distance = parseFloat(options.distance); - var split = parseFloat(options.duration) / 10.0; - var oldStyle = { - top: element.getStyle('top'), - left: element.getStyle('left') }; - return new Effect.Move(element, - { x: distance, y: 0, duration: split, afterFinishInternal: function(effect) { - new Effect.Move(effect.element, - { x: -distance*2, y: 0, duration: split*2, afterFinishInternal: function(effect) { - new Effect.Move(effect.element, - { x: distance*2, y: 0, duration: split*2, afterFinishInternal: function(effect) { - new Effect.Move(effect.element, - { x: -distance*2, y: 0, duration: split*2, afterFinishInternal: function(effect) { - new Effect.Move(effect.element, - { x: distance*2, y: 0, duration: split*2, afterFinishInternal: function(effect) { - new Effect.Move(effect.element, - { x: -distance, y: 0, duration: split, afterFinishInternal: function(effect) { - effect.element.undoPositioned().setStyle(oldStyle); - }}) }}) }}) }}) }}) }}); -}; - -Effect.SlideDown = function(element) { - element = $(element).cleanWhitespace(); - // SlideDown need to have the content of the element wrapped in a container element with fixed height! - var oldInnerBottom = element.down().getStyle('bottom'); - var elementDimensions = element.getDimensions(); - return new Effect.Scale(element, 100, Object.extend({ - scaleContent: false, - scaleX: false, - scaleFrom: window.opera ? 0 : 1, - scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width}, - restoreAfterFinish: true, - afterSetup: function(effect) { - effect.element.makePositioned(); - effect.element.down().makePositioned(); - if (window.opera) effect.element.setStyle({top: ''}); - effect.element.makeClipping().setStyle({height: '0px'}).show(); - }, - afterUpdateInternal: function(effect) { - effect.element.down().setStyle({bottom: - (effect.dims[0] - effect.element.clientHeight) + 'px' }); - }, - afterFinishInternal: function(effect) { - effect.element.undoClipping().undoPositioned(); - effect.element.down().undoPositioned().setStyle({bottom: oldInnerBottom}); } - }, arguments[1] || { }) - ); -}; - -Effect.SlideUp = function(element) { - element = $(element).cleanWhitespace(); - var oldInnerBottom = element.down().getStyle('bottom'); - var elementDimensions = element.getDimensions(); - return new Effect.Scale(element, window.opera ? 0 : 1, - Object.extend({ scaleContent: false, - scaleX: false, - scaleMode: 'box', - scaleFrom: 100, - scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width}, - restoreAfterFinish: true, - afterSetup: function(effect) { - effect.element.makePositioned(); - effect.element.down().makePositioned(); - if (window.opera) effect.element.setStyle({top: ''}); - effect.element.makeClipping().show(); - }, - afterUpdateInternal: function(effect) { - effect.element.down().setStyle({bottom: - (effect.dims[0] - effect.element.clientHeight) + 'px' }); - }, - afterFinishInternal: function(effect) { - effect.element.hide().undoClipping().undoPositioned(); - effect.element.down().undoPositioned().setStyle({bottom: oldInnerBottom}); - } - }, arguments[1] || { }) - ); -}; - -// Bug in opera makes the TD containing this element expand for a instance after finish -Effect.Squish = function(element) { - return new Effect.Scale(element, window.opera ? 1 : 0, { - restoreAfterFinish: true, - beforeSetup: function(effect) { - effect.element.makeClipping(); - }, - afterFinishInternal: function(effect) { - effect.element.hide().undoClipping(); - } - }); -}; - -Effect.Grow = function(element) { - element = $(element); - var options = Object.extend({ - direction: 'center', - moveTransition: Effect.Transitions.sinoidal, - scaleTransition: Effect.Transitions.sinoidal, - opacityTransition: Effect.Transitions.full - }, arguments[1] || { }); - var oldStyle = { - top: element.style.top, - left: element.style.left, - height: element.style.height, - width: element.style.width, - opacity: element.getInlineOpacity() }; - - var dims = element.getDimensions(); - var initialMoveX, initialMoveY; - var moveX, moveY; - - switch (options.direction) { - case 'top-left': - initialMoveX = initialMoveY = moveX = moveY = 0; - break; - case 'top-right': - initialMoveX = dims.width; - initialMoveY = moveY = 0; - moveX = -dims.width; - break; - case 'bottom-left': - initialMoveX = moveX = 0; - initialMoveY = dims.height; - moveY = -dims.height; - break; - case 'bottom-right': - initialMoveX = dims.width; - initialMoveY = dims.height; - moveX = -dims.width; - moveY = -dims.height; - break; - case 'center': - initialMoveX = dims.width / 2; - initialMoveY = dims.height / 2; - moveX = -dims.width / 2; - moveY = -dims.height / 2; - break; - } - - return new Effect.Move(element, { - x: initialMoveX, - y: initialMoveY, - duration: 0.01, - beforeSetup: function(effect) { - effect.element.hide().makeClipping().makePositioned(); - }, - afterFinishInternal: function(effect) { - new Effect.Parallel( - [ new Effect.Opacity(effect.element, { sync: true, to: 1.0, from: 0.0, transition: options.opacityTransition }), - new Effect.Move(effect.element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition }), - new Effect.Scale(effect.element, 100, { - scaleMode: { originalHeight: dims.height, originalWidth: dims.width }, - sync: true, scaleFrom: window.opera ? 1 : 0, transition: options.scaleTransition, restoreAfterFinish: true}) - ], Object.extend({ - beforeSetup: function(effect) { - effect.effects[0].element.setStyle({height: '0px'}).show(); - }, - afterFinishInternal: function(effect) { - effect.effects[0].element.undoClipping().undoPositioned().setStyle(oldStyle); - } - }, options) - ) - } - }); -}; - -Effect.Shrink = function(element) { - element = $(element); - var options = Object.extend({ - direction: 'center', - moveTransition: Effect.Transitions.sinoidal, - scaleTransition: Effect.Transitions.sinoidal, - opacityTransition: Effect.Transitions.none - }, arguments[1] || { }); - var oldStyle = { - top: element.style.top, - left: element.style.left, - height: element.style.height, - width: element.style.width, - opacity: element.getInlineOpacity() }; - - var dims = element.getDimensions(); - var moveX, moveY; - - switch (options.direction) { - case 'top-left': - moveX = moveY = 0; - break; - case 'top-right': - moveX = dims.width; - moveY = 0; - break; - case 'bottom-left': - moveX = 0; - moveY = dims.height; - break; - case 'bottom-right': - moveX = dims.width; - moveY = dims.height; - break; - case 'center': - moveX = dims.width / 2; - moveY = dims.height / 2; - break; - } - - return new Effect.Parallel( - [ new Effect.Opacity(element, { sync: true, to: 0.0, from: 1.0, transition: options.opacityTransition }), - new Effect.Scale(element, window.opera ? 1 : 0, { sync: true, transition: options.scaleTransition, restoreAfterFinish: true}), - new Effect.Move(element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition }) - ], Object.extend({ - beforeStartInternal: function(effect) { - effect.effects[0].element.makePositioned().makeClipping(); - }, - afterFinishInternal: function(effect) { - effect.effects[0].element.hide().undoClipping().undoPositioned().setStyle(oldStyle); } - }, options) - ); -}; - -Effect.Pulsate = function(element) { - element = $(element); - var options = arguments[1] || { }; - var oldOpacity = element.getInlineOpacity(); - var transition = options.transition || Effect.Transitions.sinoidal; - var reverser = function(pos){ return transition(1-Effect.Transitions.pulse(pos, options.pulses)) }; - reverser.bind(transition); - return new Effect.Opacity(element, - Object.extend(Object.extend({ duration: 2.0, from: 0, - afterFinishInternal: function(effect) { effect.element.setStyle({opacity: oldOpacity}); } - }, options), {transition: reverser})); -}; - -Effect.Fold = function(element) { - element = $(element); - var oldStyle = { - top: element.style.top, - left: element.style.left, - width: element.style.width, - height: element.style.height }; - element.makeClipping(); - return new Effect.Scale(element, 5, Object.extend({ - scaleContent: false, - scaleX: false, - afterFinishInternal: function(effect) { - new Effect.Scale(element, 1, { - scaleContent: false, - scaleY: false, - afterFinishInternal: function(effect) { - effect.element.hide().undoClipping().setStyle(oldStyle); - } }); - }}, arguments[1] || { })); -}; - -Effect.Morph = Class.create(Effect.Base, { - initialize: function(element) { - this.element = $(element); - if (!this.element) throw(Effect._elementDoesNotExistError); - var options = Object.extend({ - style: { } - }, arguments[1] || { }); - - if (!Object.isString(options.style)) this.style = $H(options.style); - else { - if (options.style.include(':')) - this.style = options.style.parseStyle(); - else { - this.element.addClassName(options.style); - this.style = $H(this.element.getStyles()); - this.element.removeClassName(options.style); - var css = this.element.getStyles(); - this.style = this.style.reject(function(style) { - return style.value == css[style.key]; - }); - options.afterFinishInternal = function(effect) { - effect.element.addClassName(effect.options.style); - effect.transforms.each(function(transform) { - effect.element.style[transform.style] = ''; - }); - } - } - } - this.start(options); - }, - - setup: function(){ - function parseColor(color){ - if (!color || ['rgba(0, 0, 0, 0)','transparent'].include(color)) color = '#ffffff'; - color = color.parseColor(); - return $R(0,2).map(function(i){ - return parseInt( color.slice(i*2+1,i*2+3), 16 ) - }); - } - this.transforms = this.style.map(function(pair){ - var property = pair[0], value = pair[1], unit = null; - - if (value.parseColor('#zzzzzz') != '#zzzzzz') { - value = value.parseColor(); - unit = 'color'; - } else if (property == 'opacity') { - value = parseFloat(value); - if (Prototype.Browser.IE && (!this.element.currentStyle.hasLayout)) - this.element.setStyle({zoom: 1}); - } else if (Element.CSS_LENGTH.test(value)) { - var components = value.match(/^([\+\-]?[0-9\.]+)(.*)$/); - value = parseFloat(components[1]); - unit = (components.length == 3) ? components[2] : null; - } - - var originalValue = this.element.getStyle(property); - return { - style: property.camelize(), - originalValue: unit=='color' ? parseColor(originalValue) : parseFloat(originalValue || 0), - targetValue: unit=='color' ? parseColor(value) : value, - unit: unit - }; - }.bind(this)).reject(function(transform){ - return ( - (transform.originalValue == transform.targetValue) || - ( - transform.unit != 'color' && - (isNaN(transform.originalValue) || isNaN(transform.targetValue)) - ) - ) - }); - }, - update: function(position) { - var style = { }, transform, i = this.transforms.length; - while(i--) - style[(transform = this.transforms[i]).style] = - transform.unit=='color' ? '#'+ - (Math.round(transform.originalValue[0]+ - (transform.targetValue[0]-transform.originalValue[0])*position)).toColorPart() + - (Math.round(transform.originalValue[1]+ - (transform.targetValue[1]-transform.originalValue[1])*position)).toColorPart() + - (Math.round(transform.originalValue[2]+ - (transform.targetValue[2]-transform.originalValue[2])*position)).toColorPart() : - (transform.originalValue + - (transform.targetValue - transform.originalValue) * position).toFixed(3) + - (transform.unit === null ? '' : transform.unit); - this.element.setStyle(style, true); - } -}); - -Effect.Transform = Class.create({ - initialize: function(tracks){ - this.tracks = []; - this.options = arguments[1] || { }; - this.addTracks(tracks); - }, - addTracks: function(tracks){ - tracks.each(function(track){ - track = $H(track); - var data = track.values().first(); - this.tracks.push($H({ - ids: track.keys().first(), - effect: Effect.Morph, - options: { style: data } - })); - }.bind(this)); - return this; - }, - play: function(){ - return new Effect.Parallel( - this.tracks.map(function(track){ - var ids = track.get('ids'), effect = track.get('effect'), options = track.get('options'); - var elements = [$(ids) || $$(ids)].flatten(); - return elements.map(function(e){ return new effect(e, Object.extend({ sync:true }, options)) }); - }).flatten(), - this.options - ); - } -}); - -Element.CSS_PROPERTIES = $w( - 'backgroundColor backgroundPosition borderBottomColor borderBottomStyle ' + - 'borderBottomWidth borderLeftColor borderLeftStyle borderLeftWidth ' + - 'borderRightColor borderRightStyle borderRightWidth borderSpacing ' + - 'borderTopColor borderTopStyle borderTopWidth bottom clip color ' + - 'fontSize fontWeight height left letterSpacing lineHeight ' + - 'marginBottom marginLeft marginRight marginTop markerOffset maxHeight '+ - 'maxWidth minHeight minWidth opacity outlineColor outlineOffset ' + - 'outlineWidth paddingBottom paddingLeft paddingRight paddingTop ' + - 'right textIndent top width wordSpacing zIndex'); - -Element.CSS_LENGTH = /^(([\+\-]?[0-9\.]+)(em|ex|px|in|cm|mm|pt|pc|\%))|0$/; - -String.__parseStyleElement = document.createElement('div'); -String.prototype.parseStyle = function(){ - var style, styleRules = $H(); - if (Prototype.Browser.WebKit) - style = new Element('div',{style:this}).style; - else { - String.__parseStyleElement.innerHTML = '
    '; - style = String.__parseStyleElement.childNodes[0].style; - } - - Element.CSS_PROPERTIES.each(function(property){ - if (style[property]) styleRules.set(property, style[property]); - }); - - if (Prototype.Browser.IE && this.include('opacity')) - styleRules.set('opacity', this.match(/opacity:\s*((?:0|1)?(?:\.\d*)?)/)[1]); - - return styleRules; -}; - -if (document.defaultView && document.defaultView.getComputedStyle) { - Element.getStyles = function(element) { - var css = document.defaultView.getComputedStyle($(element), null); - return Element.CSS_PROPERTIES.inject({ }, function(styles, property) { - styles[property] = css[property]; - return styles; - }); - }; -} else { - Element.getStyles = function(element) { - element = $(element); - var css = element.currentStyle, styles; - styles = Element.CSS_PROPERTIES.inject({ }, function(results, property) { - results[property] = css[property]; - return results; - }); - if (!styles.opacity) styles.opacity = element.getOpacity(); - return styles; - }; -}; - -Effect.Methods = { - morph: function(element, style) { - element = $(element); - new Effect.Morph(element, Object.extend({ style: style }, arguments[2] || { })); - return element; - }, - visualEffect: function(element, effect, options) { - element = $(element) - var s = effect.dasherize().camelize(), klass = s.charAt(0).toUpperCase() + s.substring(1); - new Effect[klass](element, options); - return element; - }, - highlight: function(element, options) { - element = $(element); - new Effect.Highlight(element, options); - return element; - } -}; - -$w('fade appear grow shrink fold blindUp blindDown slideUp slideDown '+ - 'pulsate shake puff squish switchOff dropOut').each( - function(effect) { - Effect.Methods[effect] = function(element, options){ - element = $(element); - Effect[effect.charAt(0).toUpperCase() + effect.substring(1)](element, options); - return element; - } - } -); - -$w('getInlineOpacity forceRerendering setContentZoom collectTextNodes collectTextNodesIgnoreClass getStyles').each( - function(f) { Effect.Methods[f] = Element[f]; } -); - -Element.addMethods(Effect.Methods); diff --git a/webroot/js/.svn/text-base/prototype-1.6.0.3.js.svn-base b/webroot/js/.svn/text-base/prototype-1.6.0.3.js.svn-base deleted file mode 100644 index 5753df9ceea62f7621df699fd3ce129dcc4edb01..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 29998 zcmV(*K;FL}iwFP!000001KoXXdmA~9;CKIuvO3pQWy_MC^vuo5aXe1qbbC9Av$1=+ z`((vimdbW@B$c*G^2;Qi-+lzZ7m&r0WGCs}yMCUTSS%6*K@bE$5Nxjn!Mh@#=F{6r z8vJ{5l^pepY%&ebi)55u=f%fnaFrHimXCw2)?ZtjttTsiXcP70;PK|>UpB=5{Vh03 zM#0fEom{5lG9QZySjWK4N&zoThqu8XE2l+vHk&4A!!($U2Wb&ZFVkR}7NauA&x2$f zyg4}DD5tmL`!MSZh-nMKy~>MVkWQ0qST=()O|hNn<2pSH%50i;g3IZ2(rLG^udiDZ z_4$vol@}LnLT%%#{kPU$S-DCIhQ?0tX(b5$K_u%0p(I+^ToJ|3i~PDwiw@Qaf`k1I z{1dFMM%USRkYBfw=``tI?q8+jY4H8`SSbj`$yIidO!J~O6OH#S#K)GXp57duN8#Zl zEs`(}c6N4xjjgzeZLqMjWXorw9X0zkJ^MMEcIG$Rn@ol&)ofd>e@y!y^F^IvCE0Ar z5&rzs@tfCrgw)rY{45)$N6C3oWF0|2AAnIZ?O#T1#J9CZEm~{TrX33~cYID>rO9+w zq@|jh-`*wDO8`B{`?C?iORtjQESaW+!BIL)`=Y~g@7;k_?Z0MeajU*k-Th$-pZ0I2 zf|~_fl+ZxVI1EmHmw+c}KReI*)kcz7x~G02a86~tC>&&0VcZQ*Pm$?QPs5%e@IBhB z?(E1$_07)nV&t^b^d$N5sz@%Nu2=z2ODySrc-C8c7IjZfj!sU>-r8>b^rTIno`o>< ze?K~W`zjkwVSTheoU~8YHp;Xw=43-ODo>7jYw^jNC@$9?wXvskG@0JMnvMHYTx#d? zuP6>a0WLxCGb_A-(jpaeJPvMxyOq1`m6hx~i1f;BNk(XK-U2qM)KIL_s+}q!1o0c=}=5G){9UJR46 zlrn|pz#b>g6jYof1;~t@U_2WRn}L`XvAU;O3XLD_MM-gi6IsUF*aSv?c=m_j(NHOAzHl(Gl6XRzAj*KmC#Qh+95kKj`{w3x5%AETv~iB zN%s7h-j=F2PDcLuQ!vesgt9Zf=mcW4X>b?INzyCJ%pOj9Lp5kLg9hw2>EU@pFEVTT zn*o8cm!;+b!5W+&EH0PzZ>^?+AB3U@U5a8FSXWi-DPDykYJv*lRV4^Qh|Ru3eTuS{ zTJCR!S}8pUw;Awk5h9yA`|1T+kqgy;z8SKxyXwpT2GqBzp?KH^O^7g=jqmMQeR zqh5_PGOJy%U#ynQZQQypl1W53sW~yjld~nTq8h58btblX)5>n7rrWeqCEjLtT&ikD zHPd8M>dsnG(8eq%pzhw8Sc6F)1UpK&6-)AR5jYSO%f`4dH3PoHG)roh%Eqb!cFtN_ zX!;mTBFdUIn^qIM&&H+LfTwKz=lE4I!?d{7Y+-G9zX;XxJR7G2)gV^Ahcopl zbi)l`RHx~445WjBOfu)*wn_3+)sJidup&kKQNa zi*&yz^1>j|YPB>D(@UYF1eyhuQZ~&&yQ-xW%%R+);2+TseJ3#Gb%uDsCxcpFC^ej3 z9jjb*TVK!ee3&NYtD>A*6_LFmE;}=(UW@1uSKvcwn5fp$N`~Q>9;6lA13Io8Z(`39>^A4XSAtN6a~K)x*RjbmJ8x{tzSDQxq6I$Y4DX z1P;YN)Xpa@!cXvB!TBT4#!=V|LTr17R8?&CA875!U9N_^B+y4csq&W9j_9rcf<3ed zlALt01L+BbW@f3;Z?@9J;uChoM6~B?j{1bndhW`A3QJC}(v?IDoBWc@O1}}`4FWh1 z^HHEG_d|l(5E?Z+CDEap2BH2iAE%2Z!IsNlaRn99>h-e-*y?IjnbdJUNRLq{?F3sE z(7mEaZkJ?|RT2!S>v7SBiUvr(Tqq- zuoTZ4>v;^{l!0J&8|6a!0RD%lx2D>5KZqYEQPll#5`$MFZpYoNo@Aj`kxqt5KaJWa z<$C)}t)ExF=QXzF>w&&D-Sqlw$flIlV#%v zy~VMs+5kEBN_3gN&Pu@w7PsyQhW;y;VoopB2Sz z&1|o_)BPpW_^|mh@RppdK{`xszifV{*(l9t?gRyE!Pe&HrZo&n=Q5ohQ=4e%fvKN_ zgc^qKoNY&9LDh1c96)!owYk;vQ)t_@(ppHO3Vm6RV2H8~;iuTu=TLIVxs`yduDhBp zXpur;+*@+4sbTidw1$6iw5Ph(z+zwiVSA~8xvd;8-rVUXuW1)REEpZze_kfjlzFvC z!LIhIbm|7^)QIFoI{oGN#VgV0?`cwyO1>e!Vh<6k@+KcoFY)^pD9!JZ!5|&T-RZI2 zjI{#1qMG{0p87utYrL#$(D5{QlZ|K7^j=MlQbE;0ZIl1g2)DIo;<&h#PQK}7TGn~I ziLC!1hsS&mnJXt3ILL;{=xmVicHK<-z_?Q(;7Ex2)G%Uxp0grNK5G9BH}Iu5$F{qy zF)3%w`}AV}X2KW^wGz=?<%5`$scDdw{RB;V;~t$B7E8)0fMTPyMBUcf`tFCF)y|_& zcTxPgd(t~;pPck!)MZXi9&LdV1BkW1#X)LXWMcXDli~hN+80~~9%AzU()mY3o*(6V zX3Qbl49}AO$0nRL|JN)X_iwc)2pCa)7Xa0t+vclo0|Zllv+uAG3sxB35?rhdHz?o*{G@sO|9tP9ca^>`gLZaDdQ?2dl072-Q-uUR|_FA0@cHm^K&iaW1fBd#x zPZG(j-n&3(%7Qe@L6oe(J+*gwtFSE`$kK`asbZoB(#s_bgD^B+MB~T7 zQ%~?RipBBbGSPts;mH~Jd``qaO<6Fdf~hVTQ^8mloKwNME-0v=&;=({ApWg0%B1(j zG085<*%=$}B$)~#jGKX!K_jMA8xNbHaTqH9vsMvN7AiGBx3*+Huy+a@bqZ%~?@g_U z_a|5J^<_3p19`Ngtf*(frtOkd5?EFvGf@sBj;;LxQD4_pOK>kln-Xyfa$x&~sbBG1 zF=VO#n6;Bs37mddCt{byU&7o|)`DU5RPgQ`tQpnAu*&0X`+{~%fGnKmX3)=PV`l&J zDJ1nl09ibDD0%>r@uqTPS9Y>14D1fo+pe6BU{3}~bGC%Ewx)k$gZg?3d?7(7;yQ-` z)mf8zB$u=OWbC6;CjNn#7E4&$Sn4X4CM@NGBhH1)1HG1S1H=eT^+^<|zO?Qn{}5K| z6KPzT%6?*VV7qiW5p-Cqs?x5PnfzmyA9U#zBR_61P}=TY=U8=W2mszK--gCf(Q42K z@ZON~hC6f~QJDkuIJqd71^o1+y$i80>(AO3nGYBR&@2lNVhTv%W1%c|436j|8(oC4 z)0q&_aQ;`{9iG7g&+dsWhoTpj>}lI>e>hI>(cbZqkrF{7R$&tZKX!ZIpqm(*o`Q+Q zTvV(*^N9lzXb~XTSHiFdPQ2>sgs`vWro<*_=bkN2 zp4N$v!VfzVBq)0|q5DM&7TyE=iV3EVPm!s~7-S2v9ar9klE#7_9X6KNra`%zQ z(?LBWAniI^J?UW9T?1Q(--ntmcs!#qyi7_V^e0JH*!x-pMHtbP70PA36UH&Ph@IGs zk0}^R17Xz<(qG;myvRqBdM13Q10f z17Z!+gNag$Ef|1zHV%LScFc%g;+wv@pGLWib?KA~R>`NrAm`^hLB`aO>_T5_t- zdnA!IV1pF+QbeEe73sBz-{2@xp@-FwOEqBCuX0c#K?E^2G0;i$Aqlvv8=D%fY5oiN zUtc6;iatMGMW}pqG8b*B!`+VCyXE}a(jG1=9?)R7E(h7o79)_^2-pHhgXFZIWYeUE z`kc?|JC;#-rc+Vlb$+dC@a<}l7G*y#7WIW{bGy?4^{p-BBK?lKdmI0!w;t2K-DKmR zy|~>Bzx%XxclzC@$9Jrv_;xbr$(sI38=~|yti^R87IIoFCJO;O6~H$5!mUO-&C2v; zK06zx|1ry_ViRNxPMi2ZhnF$H-IJTm&5e_rt@D$UUc27VL3S21Bs3cI*2p!_ybE1r z^SDNjX|~J$Mqj~fb2H?oC=(b}*Kjk~`m1Fx(L$_@+w!nmLpN%7L%J^;6vfgAEk&de zHtL&(vgt{PZAIPf`oJpRjH<{l@H$z{dye7m4g@On3T82X^cD7ZqePp?d4VVJrNuX8 z4Th*mP76yz1oDcq*4Z!_e~iqzF!OGiCd@E8X(5gN&aI_J_d`PvZG2Mn)*A94+}7;d zAG*!Xr@NExNpExG-&!Xd>-$N1J{%VtvjEziOnYlW9YVi0dZ}%#+!u+rtQ04WSEWibG!rpWMhPA`f=1qucQ`xxwJQ zD14p_hPNQKM?xIq!BHuLHuN!(4j8ngKz}$Jq*Zr;pYP}jjjjT>Zn(7x^8MFrdig+b z5Ouf7=43or01eFtH6L0xkd>?rR~ZPwGtq?()E*|~^uUJ&+kP+reg1;Py_jk8$nEt_ zz!xC+kl4^sG{`@f4{g7SI`a1u6L{fRpb3rSF{`SmFBw^3YUEk<-&UcUShhS+-wyWU zU>SexT$9i1#Q0vU=kWVvG}-1W{wbCYr&i%JEWCh1?V?^_Wm+=Nn2xM_=o#Vio}gza zd}jcl{!28xTI_KHZm-CATgd^^mevg6IyT*7d$mn#D#?b1 zb!3e@I;E=&RSdCA(R4MtIzPo`R_#K6e#^`wv68T#I}5Ix0Rw=4qT^OO7KLDTgTYcW zO{P0^U_iXWc<=)3^?9hFJ0w=8%ZBdDohvE=SC%s!W*KmLCfs;s3fQN{XkO4?V$CXK zTJNaL-r#0FslpG$s@$goU=?J>%%zSI)*()Ft4FcNORfir+9V&@e4n`q=Ck9pLv5hL zcVqE?(Md~`e|{9VRcqzgQJWYXBSz4Z6}ByFIfJL6XpH6A z6V+W+b#1>(KOapPd0J)w$l>hmIB1(6}XtM&kdw0NZi7;A!Iy zex{j#ABupn9o`Tq0>eMddJ}l@RvN`Ebr7Y|svb=(L*Kg<+xn0UvR*wx6Qi(?Ur@@p zYY>nKAW;lTCH87SHx3sF|!t#*oCNs~U;gw#n5 zoOq2<9x~N6^6|f9VH0cl#wm_`4H}XdnVfuO3ctQY@t4gvFkrA zCGY3$>H)b4YoG&(D%Z$S@Dmc*R{jA2$g4~6lYJ|N8Y^yj#N@)AO(^$>I2qr5GiorS zb!l?IXf%N32obaBkb90^^2@iO0KYDBPj--NV5!m18EDC)WT#6G)C}MOQ@0ex)kufR z71QcW>VSv&GkOlu=*z9}FPy2RhwHx=W?lYTFnJfkCaE~6=7{x&^J-PIm7274imAa! zFPL?xEUWNvyk+S~P33vq-0O5-aYVmWD(O9!L5ml^{N(+#j&ayemhPNE-+d^RZ$&pld&n6x1%zN&lm+aHx;YVT4E zT}L;l2Bc_Z#&o8=j8JSwj2Z?Nnmad2%b;T98{NI*D#t3-<2^dI?YL*zwJUCEZU;DQ zSvqV?y?C~HXPTfMNA@cJm|DoIR5QhSw*0TnnAq-RQZi|1}@3pTD%Hva#TI#0g_ao`{{bM9w; z6%v7%RHhD!;RmS#OYKTJdM1#)c4Uw7LWQ7<4HSkwMwj8tieuNeogbv))M%l!(%q}e zi+0x{{o~#W=Y#dI)jvrQEAwLdd?|xzzBKiy{S;qhCn)L20T^FV0Uc&ZXQ}0>HhML- z7N8%o;L~%_qR1{TowNuEhMk^+TbR0Q24`TPLQP%f?4yZT=x1VU-+&0;BzT5D;O|Y{ zJ2Gn&B8uU?Lur7BtkFNck)-I)Fw37U`FWQv{fZu5ZiEA`C^mYYfsLOh`9wQu$vcSl zq)b6(UuVNz5r^?;Z>cS}j!6^}5$jD7*Q5VR#$6otpq)GH9I!6(!D%0U_td!GI{N(7 zKs2dW)`Rd_Xzo_oryB+c9cGN+o+T#m(;t+Jrzvf{j`Nx9T)c*nl4;MsO6!msQ>MF` z&qBjGb3aRip@~PW!YqRLDfU?o7e8O6aBJ9Voe{Nugu3|#XH=9f%o1ib|9G0FvD%seGRsAlN^cY-K z#17N6V7;4vtV)A_w8xJDZNkhaO%Sx(!NEA7WP;5g9}jPXSxKo&|5K9WKUJbD0V$h? zWiZaCLWIFd7+h#?DL8w&2=b{W8lxtJ2twXeJ$?Tv&>8)wP7NYtkFd#-04F@_D|r7& zbTRc>!QLR5Ow&OCfqlV`d43^i{4(z&Wz1kBnV&%o8c*O&#vhhy!=2h4mRm9;E6H0O z@OPj>Qn3m*#U9C2VYaWqZVzTS?_Q34hkalOCGH9pVMO2ANxfOHDjHzbsna?wVC9#B z4eP#$zT8jp%VGq8-%o3fHM9|4cL$e+d{nRBI@=riGAKi#NlB9?McoBP-O1*5{Q(6g zoSVM~$%tdB4_oho>Q0Djk2`iplcYag6x)DX#8Q^7IuERFt>;5Hwi+)CLBlw3v@?u` z0oz63@0HF!r0(FvMaveuPC7e@38r1@Vo}ed3S4JG*v+Oj+LKOnRG*yU9;929IgsSe z>Cv^7v4Bf}^YwU`jonL_vJ_I}k}V{3OpGV$I0{Fs*PDF-crfcPQiH6xcm~|!&Dl8n zFDvb3F-->#nRc%=vk6u-9hnK?D4`2%-K#Kcz*?C#vq zs?t{c5>hUz0|km;R!P*LA}*gsHM~u#T9t*^ZbF;TmAoWUMbS-^c+^zI;-PkALop92U3+KZ=)=hV$;Ny(8!!(F*flj!&@neIyzEVUx3NtmX_oCYz4>2 zh8B&9a=QUsJRKN6?L zM6hx9+>1abz&9rymXYadew z-+wQ22I+O8a1`?JVxAbW?%X2Ds8dkL z&KW5w&}4+MvLZRB@>UeH<~x5baz7n>juB};RxvdR4?J>T;T|`Q^U93ENk1TK7?-zd zvJ-?v#ju)|z~_A{W3D&4US{QXknS(=2e2Ix6PVqiP~a&Vq-JT^-2Q#EjO!++G_xbk z@b9ZDs?L$Y&+{;?_9x4uvDBKXcYO#gD6U|qliEKEU2dvTx?CA19UD^TQai9S<~l!7 zbt!2_kx3ti&{p89Wk>pM>OOF zHT~hN%&t<)HIFsW5*7b)2NFgJrsDxGQxNbDiTvB>!HX1@%D%?>l&3dx>05qEWBVz! z!WKW464Con2 zc23aRDP+9K7^S9#(c1U^NN(gE7@;*C7l~Mh`8>PvxVUX$rq@U*o~$B6;R!OQoXT$ACO@@6!A+yW@a$M3>>H_!S-Ugqah1_1$J4k&D7 zm6*POTqT`glN>^VI<5DqAPJ_fkc2990XSclVt08VSGALOgsg;ccHYsBwbN0vYIaSv zI!u+ATO+JP+#pOfemb#Cmkv0SQ$TkhPl~*K46MzZpTZeJa+Mlb*1?(_tUrdX`Z|*U&^I0db#p|&7 z_=S9P&|W0C#9LJ!Utg!|-J)F%zH~R`Y+bvJ4JDtj0z8+v^zGbyf&oa@)XFlswn#+= zpF~H69!&C5B|a5vwY(koFN=Jf&q{i!O?^R^(Rd1vkcg%sOj|}d2HQ6q*Voq@kiKDK zRt!lk9B7dE8`V(k?w8|N8-LRuAw`$K2iJN4IZag~ozg(IAn^58c0-x*KkTUiaKzma5(?JaSn{qrr!Q;jiD=qWqmbnLjp?H@M5~&m8y)BG(_|pH3NEdiJn$`iiNs`RtKu#6GSRMt zcKu6f^vTTf2oq;MQJS$fdZFAhD+{0z~O^Xdt#G zxiBEXpAK=VU|;Ip4f-)%x7Xlh_eYMlA4Lqh&2WD_U1JXIDba9ee**>m$PaHbxB{DUKjqh zAzP+{4Y*$iZXVlC)cTdEs}Hj`{vqJt^OP(|UzX|mdwrM#fCvYN?LU&MgwpjkF@H__ zaylBK+%{Sv6yP`fYpuN&Dot&rPKe|3FkB$V*bQHh^0@)1nLSG}CR0syR?fg#VoD1I zvA>Op_ynPMv`?*4twR~w+;!Cun2b~TJe}Cg%d~-ODIW?%gE#p^F!GP{8Nu1FnAK7gf-5zJz<%8NquWm+pT$n#PnPb)Y|Q{DCR*#-Ua-Qyqr z`q#f~wRG#YD_rZBuKi}QZ*zdOPLCvEnstcKB< z^yjl3U^)=cvfyd(#Ciip!}0}DGsVn`#(kIku>TVZWh$?HHc&` zPvnCLmGUF{fvWkdBpc2Ofujw{Y*U!vP_4#TtGb3NE#f_V>Dc@Bls(>hm4oG0qT6L= z&)G4(3C@z7Z|_<4+B^9(a7xZ$iwT(o0G{?$R;ou<9*GroSY#I&Ft8|QXfZhU2mO-g zNx2rm2K||B+p!SlHyiP81Uvlav_DE>+UKKfNXU-KAG0`ilsmvn^ITkO=y-VsS+e&P zrgffKqdRg9n|UDb9-^2ox75V8mR#l80J8@O3JoEJmJqLRjt=%ac)?>F%qI6RU214o zIhqXV|Shu1vYZ25>d6 z8~!pjZps1p;$G(oSO@A)D#RDw$dL~}^=j|gM+*1w<4YAZ{#0>Y;$DM)@w^Gj|5-6_ z15@7=Hd(NMYZ%)lUMpD&xX3n>@oD8%f7)F!s}<|n;xMUE(SLRNo>dpQxmp*Bo%$C4 zd!7>WuM``G*%?fqr&?6-9NJp`N3|n{DH9g4LtpCpH+p`ig1jgX{Hc5dB$mZT{PMP! zkFjdR-?Q@S34SScWBhNksY{MAQ7s(O*gCYefLIz~Rl}}NP#&yz8#y*dl!hT24wLEi zm{JW@e{VRf_rBC&O6_dnueo;_iC@_|YBr&JZ9LZAR>f~o1Um;`H#!-TVl9Xo<$~v+ zXS(ul8_*`?kNwaYH6s*#lK?zV+)#?+2-|rw+Dk~7$6lQ-MqIS&4N0ZF$3^q`vzC^t zR&87NUbKg*R?F>3bFD@M+O`C>U=-$*nsY zrC?T7hk1mxe$wR)`1d` zrrI20$--?8tz}hqBUiwx;~_5UI1uMTarxXKRn`x*w!Sn zSRsyJC0s~iXq{{H)9fnMPmt&-=vKWdCG)Dt84Y_z6Lf@$79xHrB472314p^CRwRGF z(TbN~Xg|_FVkbko>@5?}3T`{p1zl7d*s;TuU0HsU$*N63x6-`l3}@StP=vFr9hp9B zA2_SP*8^_`UIx752hqAi8L94R;R+t}cKAFIWP&ulME=x=W?0MAJ)PDI+yC&mZ6%s7 zLJmFVeF#+`sn(}bxOHX)`ph&jKB(bOU&UFU6x>?(#nx@ z<-PN0@w?=Fu>PL)yMgSja_9nr3@cBSNA7ISG1O&59~sDO|wVApZ@V)M1Y!#th94Ij`zn8&v&B<`xOyU%;FUi3Chh+Z}}n&soA zABJ~$T%QL>84%gL&Z0A{@iXU$xvm(cL+7~{_bM?Qme-}ek&RV)$9r5y)^d;lP^9f6 z=O(h{h*VW+6#nf(4JKY;z`?FiZbhN<%9mQ6-yRHfeRgeJepa!DrbgXm@mE6bify-S z{q`4X5`7PGqk?HWrgV???!xcQsGgg)7=cj zxN4!)1km)F0pj+a?kgR>f4TpD|K;i1!kCAjViS2gq^6-rq`Bgd$9tZm`-t3Y36ueHx7qjFd4W0|&f_+!q zKv#g+l$^i;3lT<>w|9K}{^0p9$NRGQF%=*0|E4NFp^_Ib_m1~YkM>_29~{1wpMIcE z0_ef<@2BtgUx_(?`$B>Gi}jVt{z_%<-XFf$KRP;i`{U`s+oR+6zi_DkTXuN(hN1g6 zDtvkP;ulu>Z%!#Nm>S=v^X=99y&w7bB>~I_CsQF}&SvZpN>c(7&-|c3WVy*xbLf!%s=l15URCX1LN&Dj@VBw{ zeI8hF&6;jo+?B*T4xeH;jQqVGgm~z`gAYkM&GFU9XQ6XJ)~V#&+*Al(L(D)*r7jF^t|E*R?1@X4;Pu{U z;?m{IGfEQk+Qw-Ku^?_4q!^$iv?PT|cjH z2ZF5-7@VNhLoiYVw+GF~T;C@k_*MH{&|i^`@~bZzB`E~BSrIULTW&cLSME)xirr-- z!eTsN5y;9cf*L1(!>FXZAyQpG&s&@ZD3dC-vPsZ1G}-GhO3~SRSxVCTL%UV zirB`^^64}mbxh%%l@nZ2ls-2Dt+n-m;xGlJ`-c1^FEh%4H}(+Ha0H}X)1SMlm5$QX zV0QGMJ{3<5hv_b-8Z6#w8YYzse+(VbBVUQMcK>72UmI3qB#jR+nD-S4BSB6TAQI zD4&&%I@t_rWdNhJh5R(1)Q*VZ(y|h&+IY%TUpO@~xrKIiY_B{_?A@)*6+G8PGVzHW zC`bQs)g+p~2UWOFLek6rkuGty^NM*@ds|Y9HVs;#EB$6p*B(0rLHZlvUjOxO7qa5KB&thmh}O%3WHu`F=UA_geu_SY*#Pd4WEeQrhw})i z4Mq4PysHUY=g-s1>`^Li9dlVn-0o6eC_C@AC)JZ0k9kQ&9c8=E6|;mDDg`TE=nE{X zSm#2c#2D&{1+?(21lOUJQWIvMv1NBTZuG%*0l$>V7f5+3+~i zag@Ha8wM-1QfDs$UoRUR%hx4L#IyZMdV6L|5nH_~XJ;YNB8yg1UU-vEs`S08j(&ky z7RbHzNd7bx?N^6osSH_vWXm4ql<*8t=>pwE%4YP&}ELP z?^;_1UvPoxR$Wux3p$d9ifEV&UTG(~iEr#oY6=7UPotM2f+Jq~t?1m`quwnRCDnD$Tzc~GON4Vu@ImNW?#hqeER_m%IU29fXk9GX8RqSAE zw}&F#d@PS>c`2_B1tuE06ULs@oYAV@@GW13r&x8Xf^3b`v#xH-&YoLMcdr^kIKQ4} z=c0hk1$DFPB$1xa`_>WoC(+L`lZklnY!P(VpC*A{>bIbqqi1x`xD@hVqfxIo;U(vw z6YzYs+7k?*zzbY;X9X^2Ko#^Uz#ne*OokHH^D-=cVI0Sc%|zJgIr)3!>QyHF`0tK< z4!B~v%hNp%J6Mi00|nh06)2_4QOA*w>$F*usTA{hVs^kV;J5;dX^pHEK8xFPl~Q*%9NM56Tbqqq@M z?kyK`99vq&;2V(%D=MP!*@z5G*Qd*dVSJCQbQk@Jm~w^>dYJ?MZ#2p(jvh`>4(h0O z64(8+xQ^4btTQ`Jw815 zF`ja#%$o*Ni)ZXg}``~Xe?%RK3y{XSC8oYGi zSH2q(LNuWo47}2zi9h#n!E@xrMhy&OFjiW6p>;4fFSxX0`$aw+9_J5T5|f;p>w19(!4_WL^CK9^2KZ8dDgBIGas#Cu^4Il1GyZ4LX?( zr~k;(>lU7ik0wH=8{nXs!C->HjUL>``-9^DB`Q|V!#kEpMU6Wb@-Lg-hOwRAeHTLF z%M=NrH2F@j)!Ou=g4csGHy5?Zq-X4q`njhnNJBPAS~>mZGeLQ;v%Dk85Y}`y$@{)t z?_Z~m%w*b;g<=};Y6~20Zd1A(sP6>vQlT+%&5Z2&3<60=*|*9jBO7%f|Io=`_oTIZ zGFXe-kS{Jap&6VFOfZf*{LK_DT$q@nVT)O65n>0P-ehW=-d!8IT!Ij*!He~JxcHYzDbG zYsaUiHKu@iQ-Len*!^w1M4t@*0b$zNkQhO< zptx-;s8)VwqT-;cihHV7e97jiRAJEC&BOWtN9biX7^LISd}hIS@YG*E6k8Pg%%ZB# zhI#*ESnZ$4&5fW;{PU|a`0dJaLfqOvX_tfBtusn5;x5T*249^9YZWQ}v&LmO&mO@Y zKid76s-DxqmnmHP?n={QCsgC*YYrRjfE*OcSs!KYswk^&WT&HKz>suO7TU6kb3~Dn z+NbZch(&=9yGo*!xG-oj2C6dTc7y$CQdG5Mnio`>=k$rDppv|?cS=~lwuqj`V_!;~)q7H>f~tpX%!U9}rdp+*;KsnI z8?2pcE@zB7XN;27BUk1Ybr$RQ5XUTAQ8=Tz+6eWL4J9{<_#%Vez#UCwmxrFA~im`E6miuI2`=NA) zvR!wJUE0SD$ojg;zM>9?U+1c$q|^nqdZ;6$r0VyYy51oiHn?xavq>WF$J>5T$27(r z8tfcU@O>U2(!O2W!<@HynpAXfYI5ltdsQW@7zr-6dRXgXS>1T64J|^}*Sl7Oqd)2^ zUaBFhqto)Rxxc^(xz$&v?Xnf;}TI12ewVD|2VTs;Gyk_lwxe zgI}4oF5N}oERVVD=wF4)DlbRqF8`)mwerX>+^VVK5?i%7qxc323^l~TXMyw`o@Y0nYdCzyEAz`AZdq;;99>CjeqQFU zQE44PHlJWN}gIj)$t0tKciETr+-0=8QIl)bFNz1>A(U zb|3eg$2bM^L#(dYT`!DhO+b<3rQ=Zi6O|Q71?FFba}X?S+43NAd+6tRF%X;DG!4qz za+;37pEr|dKMRfw(&03L>vTeNaIJhI*Cey?MQ>DF)ZOd}1#dWn)c|fQa>!529A`J_ zK)dU;b6!_ai&UyZmKeZ3%$rCLTKS*M3z0TYJKL7I7^&z$Ej$FbpK+3}S%HR!qDq-d z5sbW)LNDgeNBVcLPrQ40Y+}Qy!bGcuDm+J3Q&+I9i!S(j6}48}w4@SzT%(xn2=oy% zgXFqNU8}K+EzQk=FHnl>^h1QdW#DgB;bZeT;Bjroe%(*6A$B-54;IOTxK8)9fc>9XR%{ORT7IE9EewSU$_jct}teg&Vs^C!MPZbKt619ojJG`QayoF z9yrh8{W(al)}^#^kn|$}r%q>L_ezV6v-~C)=ri!3Nbu?3>18s;S~8mhRI@>uHlRuX z-sS9U3XhlwX+FRQ5aBS2dMShRA|D|@?PZc9vQgtZNvN9Oq??nhn zVjCn{*%;ph7vygmSpctDRTC8OIT0KL+~P8cZnEv0V{9a^F9f^zW>(Ole>M!~iCU7& z*cj|hkaPhISnIGc`53l(7E0{vibm@Olt*-0-aY67u6oS{Cx68p}*c8B^|P_oLHWarUgKIXLVS_JdOXH;h3KkQ(kfqEQ}r0gN<_5k+cg~) ziYtfi3i>Bz(-@De&VOPDq&^6$M%2LMA)edLf_-#tMyw8E9B)zRW}TrYiPf|_9Mq++ zy((|1FN~*_;;Q+4wG@B&IK=OC5SD1nnmvG9zJy8p>^M|arvjc@RXXt&D! zWb}ii=@M&YE@#&(2+XYd;wu1ARRGthcm&r*a!RD!g?%?)>9-BzxxN=CcoYmwgz!fX_ZpF8j@4UQhg2uhv zY(UnQ6Ui{$|M{TjeklqU-UKX0Y)%wl1={h@TIWi~G+cyJ{vxk`HT+ z**pYF|4p>H{9|1a^QSGg`ambdJ^Qd67smT!{4dKaQpy>km#SQx{u9xDIvh%;7%W!t z>mB{l%N5Gt&b6s=M8A~teVKGLlo2F$9Q8VHZ`%Lp3!is3Q|nGXwGo3{UA1-Zrt*N6 zb+-*`f!db`(YCzxD}@3PTS)B9H=-Biu@Y?z1kaQ7vlgD@59?xVAiE& z`Ez<3Op~(%Ou`l#F`th6c)@&>+|YADD2@-|^87F#U%-J(a9#+CKS%Fo#j*z^UAulB zE3teoHsAMTBA4xDKnWr&03nSfgXopQ(q`VPrk=dZB0cYD+1pY=TOZUH{Z3H-8C-jF zS|@!n{G892DN7xyW+mJj8+2q95Nu7CuRY&j!XVp$ubr^_rrBhe`o4)ac`~q2+P^X% zXXbPDV_%5pkDZ#9gR`OfUi}F9v{FiiSo3j)(GxWvA@sktCB4v5*K#)X0Sz_s$|7{0 z_toRv)sJVxSy4-&kLfMugzMCNq*2y3r|P-mIpD{h?^c2pbHHW2Okbbs ze_Q6RkQn8i4ygH{l{ z0%vVnoP+5+?!()+Nr~swMN0Sm6vus6aU_a11n_4_B=uwVWUFf8>RtrGr0h zSJxMZe?It%*Tdo->)*|U7woL}W<9YiboK`Be+nfP7zU%PEFqGCy~I?`CU{y2Cj!TN z&tLCvpvPP&)6n#2|MmWhV|`lb;Td`#$}8BGdSvN;-n&-!c-RW>Q|RYd=88z3v{AOm z#tR;_0Z8mp_oF?N;z&Pk;%f6UTUC7uDRy4*wO()0t84)-mNd3-xm&5^LtN&uu&?x5 zm|ke1&@idfke^9AZzJMUCN&z5^w|DCupT}w`N~SolUp^8%=@mMN^C7pKWvtk45(eS zvX)p*>}gClrJGFQ=A^5(pG!HHkC}bl$B%fN@tl_hWm-9ds#$p&ubL$&VG~`R<3myS zt;t8uWrLOVXG!SyTHku9{YmTFyYKRK3QvBU=Wg|5K3yp9(JR;Z!n3^YHe^MVOk&EO z!ln<~R@CkSKJh-C3odbkln^|=XO&_nckmM2ubx!Z(n!FuMDCPAw4r}^0#{$fopvAh z@DcaYdL&q)22e~IMP-=M#JfEJXht!yyFm@MvpLlBj!OD9>FG0XUS^iP(Ie_S3&P1T z3z;@2%R;UP$KQ$3kmbvKO9HPfFAWFZL;I?u=Q%AIC6Wv6sYPY669nDx=@gt^&%$Ql z{1-lL*L@QIZS~}f+i+Eh1A00I-JLfAKv?Dl_*emYPhJ%l(9>z58UUc;Ssk<|3ed}X zKu@Ows1JY!&+4H4AOVs3+yOx3*r`%N0IK_hG}6KA?wj16_mg3Ilr!}Br~N%K3|-zr zGRyJ3Iy^kC`}Pyvhce$@s&~QVL(20PWbC=7aFn54i4OWtl(BhkF7?W}PvVItUEo*7 zFFM~i{;DK?wUZUjKb4bGYIPOY320?_CI_#YW#?Hc7q$16#`D|bOeA^Cx~UU70GAVtKY2m zwwLb;fZb;-DpM8Pxrt=p@^Y4f*GAT`k7$bel|EuVv8MgcsCNLHu&2P`WJ}GXcYbvv zjio)&b6*x?@15%_=F~17Jipbb@t0)14~a1V;Kz_po>x>Ny$(itfD&1}Wf>_RY*tGCv`^a3Jv$pX#poNOb$3EyFSi3yw)N`74z_h}uI zaW1(3(({N+-HZs~j*}5Y(xIsW+TngB?g;VRJInQ}nR|il8P%84s`BrC4a_Fvxu+nH z5(z|0QikS1kq|$@CKvG?jPF!lo8H-~xMz~Lt+=0RA{H1%wd1qfdM_~WT__n0j2v^q zxl3bOys~)BnbBr&JXh`^KRAocp0-zcF=~P*d*sY;wOUK>iTu~xW?sz9v2f$n;rlm@ z4(BEkbQV5J+BFW|zWe2vs#j~f=;&6Y>tVBdv^w7Z?Rf9~{$8WAL@R#Sr^xPm!0R#h z(i`C|Cx{4WM8COwPBxwfy(*i=!Ga5=3Kn}_m|fShMCx8qB)7`Ejbnu!`4tF0e@j?t zx3a!QPe)QZ6=auY%rzdP%C$p_bIiu#I78LjrQ!5#d3S)YTafTS6({D>MmyXe#*wl_Ec87 z+`j4(6Ve;JJbZ(%P`IoDBmD>;m`5M%2^}yc7U|);;~(E2{_;*N(#GLr`eTvLCXJ@G zcpGpKxhIrhD94KLk|Mb%lF4O5FZNdl`>$Uf?SqhLyvowy;3%C!{a;=~$uF<75`P}z z&qMX|CH{O#KNYB#2k)^oEAZy_EmZtz3yOY96NuQtg2!&b6RSW0`{@U_-e25;zd8l~ z0l)uamQT|Llbc6S`X(PB+WW8BFQn1lxPO@!@blo!k5F(hN-k3P{bKLk@xkHSMn}s< zFr{B4c%vRG5K*W&AIc& zUVgp_v7`mc-{4cpi3|`mN|{O2tr_QJW?;|MOJH_uwecx>F2k45z|~`b^Ojj+2Va|D zm#0r!n=N;tf%#-VL!nh=P|rC+>$ZqM!wV5W9~gol&3x zBrSM}8)+B^PlJDJ{l!6(+CLQ^B$jrP8|~0;uc&{R$M1{^ z1l7ySd^Q~XQl_f^a_`+i#NrsR)`%SYVaY0ml{;28z~9~_)5}^&HxuzyNBZL@cwa0V zQoA=0C}<9!9ZA3;HR$SF!w1TRvSQw(v9R8Kr@bh{_l z8@;vN&gYJ77q```oAWTW-fgQ)D(B_<&n<85onmaSpZq=@WLI%u{qzPC7#hDxK0+F# zf}X)Sqwd961Ok+ENiDM=DZv`g2Cd*&kOWvoKJ_7>WMxi=fBGGrJQxW{F%n`zsC?y= zgk@IJ6$#2iz=MA+lw1D=5>gdK4)^M1Xs)w+=Z5*;y)$I5%NmW%vwE7r1k^W;u@D|Y zCPS?5B`>}dt7jrX>GsVDOBn57p|1jl;#M5KDBs(Q_V31hsF7Ct8&46kg0U zi%pM~F8rz?Y5OGu>t$k{IY4yIr0ixrJ6#3bG*0Dh`AKYF#p9!IO=d#%uX?)r0wM&_ z!@tqUeTfWK*0B&~!2DEItJI>hb)^yqqHlYT@GZqKw5m8y8@P7?SNu3PBzIr7X5&n( z90+nh8Q(ROk5%9kS*`xavvCxjj6;Q>%R>&s_tYAY04hs}?~-3(9ccpG@XxqO(`vcb zQo(lqg|f^N30v*MGv=*uDlqZ`xb;SI>&;?rz4_C)Rn35h3B!AGAc8Xd2Tlo- zuhNxXB>KhQQc`gRe|tV>QfOZ(`Ans9)T*AD7|NVzsiGZjqFOr{ykG|fkj+jZ0x9TH zndyse_m{AF4p@p!22PqB^2IHE(ij|HCex7eY+Xa{AeoY}#oO);2AH4gW+E&Fp)4sN z@uXco1SKpgRyEfumbrE=n927q>bMU#!i#YH}@}P1CzSV1N=LK(Sy=H1g!5zAAw! zV-LKChVhhe$^qi2FJBm|4;)ELP0 z@V+EvSt9z;Vp`TJqs9X79Jk zmK2`c>8y#FlC?p7DP-JoCkVZ@WiktS%F}Uj5{~SoRU=3x4tE0AOeVk3O&!(f4)cC8 z+yHKf;++s^2@UP!20CSf8e!l1W8aT5N#T)vwZvKZNxQ7h;>i z-?5gE839}p2!roFZQY4K6}2)$aD?&qY_JnTolw;PXUaRcu|Do|pB^I;5y&%KH@y~D zFhy6;O|M~Tnb!CcJH5|+dK`71P=&u>0Pv{$*WNs2Y%_w67eHa_j=GO~y?P8MWjY(= zejM?!v5JY(q9y=&t7i+BOAmMXgAp&yWyVX5(o!R{daoasCV)xG67E2TCOK=sB2Ns9 zh_9>gS$OPWnXJ;iP5|T9|`nf?-PE-o-N!i5` zo>(tiaa=`YjezT=Qj5jEoQl?(l8y9|dcv2KX#BaR@dj(WfsHqy@dh-m@)f5(-W}OM z2?<%Wx}c77PZUIJ zG3?W*XGByo#XELb%!w$ytP+6WEm^>-sB9~tlz`FSRY^=8{2kn;f*;irtgJ0P?`^=t zNbk{HR1f_N-)PhzcABW8&T(VRb7fpH^MfMGg)SuzOu9_xy{G4)s$+ZfY*%@$=+#vp z1fpp|$>(_<7I+)B9jJQX(y0}}E_u~5GGa>*OT|BKKsFGuU&f6poWovCB40qvpdTAD3oj#)b@yqp=03wJ(%c|A(3J8>pK|^S& zu^$ObYS{C0 zk%Pzx-f_qah_*7~ybw!D?B=QMa?sU;p^#p|X2Dv9kH_nqVSR&qFc9^f23t;p(TJXr zgDNV)?}zAQupU2Z3m(H4OfF<@mug1AunQq3YOElIcF>bH8qrHhVQ;DKHg-=2Yw_+l zin{9?y%@WXccK4Jh4wq zuIy&e0EJXYsD8X{P9n)w5&8^G2}BqA!Bl|QmZk)f4eF5aV`3Yl5(qE!fb#;Wvn$bT zjJVx6*SumFI6XH&v8R6@doX#JO-b$ufs>NY@Q=w6-DqD3b>`%x5iWx?bp&WLoc{{{ z7WY8c_U44preVq&nuRRi4pqZ4UBmYBPz_b4D>=>`ti;PiMZFZ1s;!m+KDReIgL?$R zvJFPFatco^53>?N6L2?C^&$`gW)w1haEebe!}h`e#U8xcA5O}(e~JIKeS^oZ&&*eQ z;P~}q-F&tQ44>Og_8^};T9U??XU!wP=w$74_vHFyqqi<(_Sxr0LT3AxW&6W-5!O3d z(>2>ZAt0c(>S{_3UTJ^mL=n>UGZ5{w*mgfFW#KdIQgK9j=4Z8C$Dh$={46cK&rv%5 zEKIT(ZL-fovlbmiQEP2CJ`uYPcKSKm-8m^gcRTCz#NP z|BX+2Z7vTq33T0!-WpW~ssRyqJ5hJ_!=tr-eeUh@Lad79Ya!+mb}u9N<{Dv zdCzKJXY69nW6kN%$`Sq#^%RBXF6PFREg$!Kk*;e1%FRyx(p#RV0Bcvs%4;|p8xH9XO{voO2=#|i1{51Z4fh}i5ZzXZ8qW0LjaGpY z@&)KTC_FQ{Js|?CQBr)w2dMB23r@;0!Vfz|OH~MNx)muZG8D0vJ!7YE6t(DH_JZLc z*y@llp~NXY<>}l4KULvr&a{{IP-o-$1Nh2V&D4#K#hA%S2;i22OnZsl;*-DGv^3A@ zfN2CaS^&vLg)7t9zOC?&6sD)?x_!|IlWh7o6H6S|zbPisnuz^AGf5vGfSQ8vP0)j< zC=Y+$f9nXws`)u46@;SvS%y>X8L^mWcDzhR4&Np=m+kcS=*CO?@KAenQcj1-I7Ob# zi-D+C+;Vpha}&9OM}I+&Hgj~jC!r5fwC^wbbs81#6VXnnDpR_YP6e{2YX;Smv~;yW zolQlId9C5sKKNni!v?Rpx9)|39nD3q(6dFOfB16f>LbMY&ZX%b$ArcD5XW4{_0yyf zeY{o42D3rD1V68uR+`jZJ64G1Pi%PAHrOCcR@#YFwdcCi4$XisYC0Wx33^4g-jT@cq1bD#;@H&Zp}YdFz!s z|9>K(<)Y>5*qlD7zk1Ctoe7AUlP+cGH`oLo&M@xwp(4TPCX5^f!@qKziA ztww48H;=u}>+~(gZAF?dHSRyb2Spb#=JEih$hxd2)lvkSN0>?=a8MzS49jx~RI@NK zI@Q~<+Od6S;9GUf64cqP@j>YD z-S)4m+SB^^hpD!Y?H&Q$_YCK*-N)P=3nLQn%@p`GQtdBWc(`e+a}U#^wG!BxAIM<4 zp)Om9S>!aV65jG7(_qYI$XeD0He0mSQRpXw^+!77{11rZOoR##QQ+K*Bxx_h!({>M z=?k6IEFwV1$dOM`P8d0y~>Fsd(YBW94iiDR(yta&J zlLC#ev;}mhhy)2-$0RJ`UiUb8Tl|Aj41c)pPyejR{?nnRGsH^;!_r+X0 zfGYU~D7%0e$CVfaY<%jV`3j`Y)wZ?{Fx|ks>Z?}u4~wb;bmX)veAn%&MVShIg+v8c zu>thx-hd$FuL5T6-e8n_|31h(tZ#2u|C-xKol9J~hY?h+iVe8W3&3qaGf@sCXf$Fs z6$BF?syud%5EQSTMS~>9-RTX(GEGW)#lse0wD*IsH_pGZ&m(_Q0gc?s6Xgyw@L)I1Xt zf^SQF#s|h@cp|0sZ7;{rgYD+nG4$XS#&hn-s0VgeR`ioqLKYKdt}v)9W}R%W33)H| zV{S15#Fzc@VkF-ofrETLz2JsW1b9ThT3E+=I%E6WXgpJMtTWC_xbmCuL++IG>07Sp27cN>)Exliq4AxtyJivMD`H zEdAkB1Svoz5Gr8#G6%^tVcVDTw&J5LCebV|eDj>ReO9lwH*WXnCta;@nE>!*Pp^(K zPDMS=W71MQBW)@;a2Tc`T3(e;GO4k_{LtX=5Jw2aiJHwBQh$BTXv2hD$;@8vSd3F2^s^$ zdP2q{Q@E5;haG#7l2`S&V%RCjigTi9#1vf#ah&4T>zhYvKtui{eKSB;V4Me_x23d!(#$}P7Z_Bi=Zr`d;y`@JoR6}<|h}*iY zR;Hw$A?w6ul=O#EN8aHtqqW)=u#X}Vq9sw)NwKr6D4{zoDrHZ|Cxewxw@cNS>6g7& zz_YOTM{?78PkbS%>}WEmO|{oHzS@8A@*3Ajq;`g@qCVe0vkb7N!|2K#$E>=coh!T^ z9#x$K&?uD7dz^C=OQ$>IC4A&~`0i;x@u#d+jjE|+8A>{@MI|+1k`?@AS;_&C6}VT6((3cs~5#dby%w4>93CL zvREnv<}Zc*Finc3R)S(IC3@>1O1rckrc$I`(5pKZ1E^i=Aq>EuR8u6iB!lgEr$ugi z1$+~LDAK+!HX&vMt#(5pgQsG55?TOyl~6Gthk{2Lz-kC>5et zwdkd3RS_@Thg8>JMS=d3?%1h7oq+w?dki`Y;aPgoJzr4U_~p?nr&zxXt)$X7-uC#q zmiq{@-9j;=o@nBn=IETxn@xDceU{(oH+`tMNCsJ6ednhR$rhq#jv{;_sQTW|La0ii z_5-|QuYa)K7ZRz)uWBy4SayYs0T330Dj{*zVJQXBzvVXA307D2<|rRHk>mNwD6%cs z!bFK|2a7uO=UzChRNlquS{CMxewube7zAOkt0!F+A3|wI{d$v(Z^K?iR*a0Ulh^{y)URevj$QTwo*!Q)Kr2Ksz*AQ_}lSV z6Z)RZ=oX|MduA9ya?fzYw!OZ#7i4rtGCQ!aKfQ5rY&;4aXDczS_1l6BtmNJV-6R>E(1O7%pzXDAHk%Eiur!MMZ5(a z^C^lYY;wbS8O?WqOO3W!e3EX%r~|Fd;VW6EdP_e``w6@&#*NQll-%O0duM4d7RL5f z>U#s-n7OfIx*}R3oGZf^m3)Q2L1KP8HDC{3RS=41>o^;wgTpgntX-v*=f2;G9Vv$- ze8c^lv=2wE&7k%P@JHor0u{7OJx9;VxPRNkG=FDF|D)Efv2LV_SzV>a;v-d(@PSX! zg$i(Yz!EvO%_lWBLcQi)(yRLBeou$pG5Q?bDpF(_!S5iuDy58==^CJ-h6T%c(p1qc z;$(7ljtYg?W_f2K6)Y8`juHIqLd@W?SA9oD`>t8eagVnhguWpn%+XbY!8coM`Ξ zx}nuBEIq&ODzX@pc&q+ih6-CUtMch&o4!#9+y-x`~R;uSSXc|w8R#JFJbPvv)Yo}R>SgvHPMzn?ze zd-3zpyS*3to#1axS$4elT-~MqH&yn2|M-{pZ=rbWi7MMadLipQ{@<$X_5Q14Dtw~L zetD{4d7RX0 zr%H|>pcOpIg$A4po(MZU#uw|K7x_qelkD}u+s@#+Po?cN*Dam3rPi@0o#7l++r#~| zoXr_UAAUk_mF|W(TqvZ*_tnn!)2v@K_xoD6ru2vnB%a ze(+3?%Dq97N4D89y>$B~z11Be$?hChas4$t`#Cd0epxJ(%(qMBG;VfmEUz!K{-w^( zx=MwkbejB}-fr7Xx8^pjY3a^C^OFS`Tjcv0BneL$XfSvPyOD z%*7<@Lv9^jpcGu^LglNhNYC?|pcGr>bs5Yic=x}7ib_Kc{Q5E-2c!H7lGC51)9Y0H zM4d;j;F1Hp$`S}#%&#H7v1|ng(?GCx?shQDlYx9$Fcq~6*%wBDXQSjIWe-i_i{O*I zfTs?ywF(=CyPxozC=72#Pt#-o(UMS_7uiKNPKE@pWx463OH*j~fC$Ejnj%EVIT2zl zNQtW@aK(bqXH1qWui9L9K>B3t<}H-r+zta&FP&HN=;Gb@Zk*Bd@;7 zzU_ZPL}f8&!ay#Yn)@eL&YcX~FJ^W~xtL^Bi&{-Q&X|Fyo+EjJtCYjKr*1|l?LHaz z(-Lm&MR9E|C^nj!J2acl_$PTb7G_Aj*uZ$}yl+Au6yLVgAM%r8^|O3%%d6pU47m}j zCm#+$+IGMXNk5PCiTGs>^ex$pud{Zf(3pq?@Eb-7N+B}L#6Q1TkHtj>)t2cF8UY%t zC=NDinh{vlY%`9{8ouSI{9Zxj_XVhkp*om|l0}HfMw@yi-FYYQw>kR`F{!L5zqW4l zi)U2+`+Wi2Y7_)lPU;!RyWg-a3DZ4^e_xU^5jkH0xX_*i#S>BptDh&%K?53l+d{L9 zjBY9Y#eUUtq!mwT+kn)METuH|Uosfk0l%ZJ3P7hGT0`tp`f1rT3cqzr!Hohd{ zO`{&#)UxeCQZAeOI1o*f|8|+z9UjACL{G_70Mo)EG|lj%Z^^(tsDE(@9fj9lRL-_n6mMfOc!t0 zDfp5SjF4`L5NLXTAom8=h#GKP4F4<}aW_0Y#U`hxp|qMv`cs!&^us7dNO;+@b02{hpHOLCQDLx{I& z*chv(UOZj^{a@vUAa*uzoLo3JT`>Z5sH?vz+}8{2*CK&?>ZO2Z1_v4CD+5GE5MV19 zSg7~Ax*_7ge+o3Z9?}x~OGMapVAZgxvb$Qx)dNDsWxH(`*ChsM-0uC>WH{@8j2g1X zhPmLcaBwBB?(dp9s@U|7_$E)HAjPV+Ei)@cits8kv7*%-hJRdr_?II$R{@d3Lf&_1 zZ;7`+jjv@=?aIHXTAz-*Wi6X2WMOscL0eZ7Z_SB!&hI;;iY1-90}4g6Emwx7$EGd; zSXd8)6;kB4_eR{eY>+4TD)H^?a~4$#p0CSi(`X4&)(-_Si`ZoX87?t^yN@VGVmDyN z@M6Zq4!fqLifr6<5Xg#rkMscc-?1?J_irY{yhsc4*e%^^mfj0>{Tw_CuzLryG1&YB zM4*rt1Gr3{2gy|~@P>qd#ceQ5laFOfYL(KhpG>C$w|%}gt6!ot?hySKQHVv-xaX2L?5Vipi5T2bQ(OL@Z)1BZ+Ym1r_aY{4@5uB;_%fH%&zCQkxgwDm{CYGQWN^xBP%cqA$Ni zS*{N)Xc!iZMVE*X!P#wip1;}~xq2|{L}k@G z5N^L$_8fNrUI+_^uq4I~4>>y0;_d3eONsW4g{#R^?STtwkluGeEvG_kFSGv6vtp5) zgw1fdHOI)vUv+|I<1<&?3#${%6NEdfOQbn|Q%mSd=Y&DW*RM65R}S=Ab9&ou(}H*= zSACsoFE%01YeNWGCUDD@ZH(k z_OB{Jkq+-|3{5s19|F$J75L2EqCT{oCi1h}%0<>`Wqo$rf~uAdOuBy%do(oH9n@Y6 zj%E`$#Y0m7^hmM)zQ~0ZFT^NJZ3=TY-w1YyM7oxOJ5}y>A)i zJ0MD!JJltm=a3jz;-D1NHevO-pN}TPbegtXQ@Ba2F~U4HM^hmvEYCt6h4u2LqqP-Z zG#jDUl;_3G8d$2eBWh|%6*XMeYZwo&zYBXyzpFTIbzj#-HWhRGwCoqzL@@JU=kzom zS6F?Jo(uYyMSrK=?mT;X(x&>)6em228oqXoxRsBQ&Lz;9Lj1Vr$aWgZQwKFIm~~st zp7rpj3=#A|Hi1b?%_R>PA#d@*u;bw6{=4`4FZPc2Uj|Er9siV+m-anmbNFNxZ_~BF zJ%zTL5HK#4ufbaQyl9%xcu_$zv{kAtybSDB>%i26JgGR`0D zOvH1%ud0g-;h5T=&Ipif#S=>$+Xsgagb&A$9^lV&Vcd_t2L1%d)5YGob9Vl~9ukCO zcYt?G@ZzV+c_VWx?n7ip6gH-p5TK&JHek;gq?00rNAHD74UUxt_1sWlC74hM-WV23 zB`7cR*>C{YW55(Z?+7j6R??ph^VY0{^n25+pHjezhOG`-0Mhxa5FZNxWe7439Xz9C z0>Ge=Kv;ZK(F3ww3&-^?FEhq&0+tZq*ba^)#mWa)7z{*gh-0#@Wt@*N8X%q>4l;vD zkqhl{R1$=@hsV$i+Tjk39w0hv7Z92OylVoW2Ssvm0ct1CR04Mh1&JgUSRFsA7zzyk zM^E?>emp!s7q~)%IHs(V{;(0eg&?SjCn-QzV0-)p>l=Jm+4um#h~ES#M?k167Pq*c z0o4ec@?H@>>42`WL#&G@%ok(59?N1^Q+3m zno-~Kzi9@yR^mk%zK?@EH&$D77^QT&V8p$FEm6?+hLzpQvRhV0fY^>8s5Kkn^*F+b zS;bbC)mymq$Uwlu7ET(%+u&*7R#`Xq2eIs@6e1nnmNzc&&0e*N1AMaz{MT$CAG@Gg zokz+=^M)57v8p}*u2786rAs$^Rs^aH7~sCa*Q{^SoF-d#li$C_oU#rVPA;qa&{<|A zSvcLS?)~RotY(^eS0)d{4$_~BJ%EHWn47em88?jZMHJ6T{_2Q7YP@Mor;&X6IJ^P{ zN^})E>pF^-qF1bD7|9$5?TWjB*Y@;(nHSkVVMAMhK`jXt0ypy!z{(c6UrOZw_H&_~ zialTG#2_=h3V={6u7hZ+^_SM;xP><)9EPo0@NNxC>mpT%bWqpKtwC8_&dPi^o6gOD zq_mTk+;g3nE$wj8pgf6qFhD1}`WpQhP~Lu$;bOXRVMUkq@XvP`JX>vekxma;1){gu zu&Xt%vh*5!A`CPpTw{YS^I6dcpCW~ky9wM(!Ztfco0k*_TahhN5LFM~J{1^>0!xI#wCuS!7F&ah&awQo3#!%-!J8HT#XpP=SE4OpzbLB@v{k`=q*xmH^(N+Vm27F&*NXKO*N6{i^}%UJLfcO5t zd)7$1_9>i3GYBA;_#@-i&3+>x==l$^+}GPW6J!nh@vTB;ka@<^*dhX^TPuNJ$HNTs z5#wTvCCnQPe4vi=y}_W)LUya!XBAizY??=VboX0blyO=~ksrucQIw_xt}Z`D@9~?Z z@Yi7_t1d!JMW` Jb-2p<0RW4(sMG)e diff --git a/webroot/js/.svn/text-base/prototype.js.svn-base b/webroot/js/.svn/text-base/prototype.js.svn-base deleted file mode 100644 index 8613914b..00000000 --- a/webroot/js/.svn/text-base/prototype.js.svn-base +++ /dev/null @@ -1,4170 +0,0 @@ -/* Prototype JavaScript framework, version 1.6.0.1 - * (c) 2005-2007 Sam Stephenson - * - * Prototype is freely distributable under the terms of an MIT-style license. - * For details, see the Prototype web site: http://www.prototypejs.org/ - * - *--------------------------------------------------------------------------*/ - -var Prototype = { - Version: '1.6.0.1', - - Browser: { - IE: !!(window.attachEvent && !window.opera), - Opera: !!window.opera, - WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1, - Gecko: navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('KHTML') == -1, - MobileSafari: !!navigator.userAgent.match(/Apple.*Mobile.*Safari/) - }, - - BrowserFeatures: { - XPath: !!document.evaluate, - ElementExtensions: !!window.HTMLElement, - SpecificElementExtensions: - document.createElement('div').__proto__ && - document.createElement('div').__proto__ !== - document.createElement('form').__proto__ - }, - - ScriptFragment: ']*>([\\S\\s]*?)<\/script>', - JSONFilter: /^\/\*-secure-([\s\S]*)\*\/\s*$/, - - emptyFunction: function() { }, - K: function(x) { return x } -}; - -if (Prototype.Browser.MobileSafari) - Prototype.BrowserFeatures.SpecificElementExtensions = false; - - -/* Based on Alex Arnell's inheritance implementation. */ -var Class = { - create: function() { - var parent = null, properties = $A(arguments); - if (Object.isFunction(properties[0])) - parent = properties.shift(); - - function klass() { - this.initialize.apply(this, arguments); - } - - Object.extend(klass, Class.Methods); - klass.superclass = parent; - klass.subclasses = []; - - if (parent) { - var subclass = function() { }; - subclass.prototype = parent.prototype; - klass.prototype = new subclass; - parent.subclasses.push(klass); - } - - for (var i = 0; i < properties.length; i++) - klass.addMethods(properties[i]); - - if (!klass.prototype.initialize) - klass.prototype.initialize = Prototype.emptyFunction; - - klass.prototype.constructor = klass; - - return klass; - } -}; - -Class.Methods = { - addMethods: function(source) { - var ancestor = this.superclass && this.superclass.prototype; - var properties = Object.keys(source); - - if (!Object.keys({ toString: true }).length) - properties.push("toString", "valueOf"); - - for (var i = 0, length = properties.length; i < length; i++) { - var property = properties[i], value = source[property]; - if (ancestor && Object.isFunction(value) && - value.argumentNames().first() == "$super") { - var method = value, value = Object.extend((function(m) { - return function() { return ancestor[m].apply(this, arguments) }; - })(property).wrap(method), { - valueOf: function() { return method }, - toString: function() { return method.toString() } - }); - } - this.prototype[property] = value; - } - - return this; - } -}; - -var Abstract = { }; - -Object.extend = function(destination, source) { - for (var property in source) - destination[property] = source[property]; - return destination; -}; - -Object.extend(Object, { - inspect: function(object) { - try { - if (Object.isUndefined(object)) return 'undefined'; - if (object === null) return 'null'; - return object.inspect ? object.inspect() : object.toString(); - } catch (e) { - if (e instanceof RangeError) return '...'; - throw e; - } - }, - - toJSON: function(object) { - var type = typeof object; - switch (type) { - case 'undefined': - case 'function': - case 'unknown': return; - case 'boolean': return object.toString(); - } - - if (object === null) return 'null'; - if (object.toJSON) return object.toJSON(); - if (Object.isElement(object)) return; - - var results = []; - for (var property in object) { - var value = Object.toJSON(object[property]); - if (!Object.isUndefined(value)) - results.push(property.toJSON() + ': ' + value); - } - - return '{' + results.join(', ') + '}'; - }, - - toQueryString: function(object) { - return $H(object).toQueryString(); - }, - - toHTML: function(object) { - return object && object.toHTML ? object.toHTML() : String.interpret(object); - }, - - keys: function(object) { - var keys = []; - for (var property in object) - keys.push(property); - return keys; - }, - - values: function(object) { - var values = []; - for (var property in object) - values.push(object[property]); - return values; - }, - - clone: function(object) { - return Object.extend({ }, object); - }, - - isElement: function(object) { - return object && object.nodeType == 1; - }, - - isArray: function(object) { - return object && object.constructor === Array; - }, - - isHash: function(object) { - return object instanceof Hash; - }, - - isFunction: function(object) { - return typeof object == "function"; - }, - - isString: function(object) { - return typeof object == "string"; - }, - - isNumber: function(object) { - return typeof object == "number"; - }, - - isUndefined: function(object) { - return typeof object == "undefined"; - } -}); - -Object.extend(Function.prototype, { - argumentNames: function() { - var names = this.toString().match(/^[\s\(]*function[^(]*\((.*?)\)/)[1].split(",").invoke("strip"); - return names.length == 1 && !names[0] ? [] : names; - }, - - bind: function() { - if (arguments.length < 2 && Object.isUndefined(arguments[0])) return this; - var __method = this, args = $A(arguments), object = args.shift(); - return function() { - return __method.apply(object, args.concat($A(arguments))); - } - }, - - bindAsEventListener: function() { - var __method = this, args = $A(arguments), object = args.shift(); - return function(event) { - return __method.apply(object, [event || window.event].concat(args)); - } - }, - - curry: function() { - if (!arguments.length) return this; - var __method = this, args = $A(arguments); - return function() { - return __method.apply(this, args.concat($A(arguments))); - } - }, - - delay: function() { - var __method = this, args = $A(arguments), timeout = args.shift() * 1000; - return window.setTimeout(function() { - return __method.apply(__method, args); - }, timeout); - }, - - wrap: function(wrapper) { - var __method = this; - return function() { - return wrapper.apply(this, [__method.bind(this)].concat($A(arguments))); - } - }, - - methodize: function() { - if (this._methodized) return this._methodized; - var __method = this; - return this._methodized = function() { - return __method.apply(null, [this].concat($A(arguments))); - }; - } -}); - -Function.prototype.defer = Function.prototype.delay.curry(0.01); - -Date.prototype.toJSON = function() { - return '"' + this.getUTCFullYear() + '-' + - (this.getUTCMonth() + 1).toPaddedString(2) + '-' + - this.getUTCDate().toPaddedString(2) + 'T' + - this.getUTCHours().toPaddedString(2) + ':' + - this.getUTCMinutes().toPaddedString(2) + ':' + - this.getUTCSeconds().toPaddedString(2) + 'Z"'; -}; - -var Try = { - these: function() { - var returnValue; - - for (var i = 0, length = arguments.length; i < length; i++) { - var lambda = arguments[i]; - try { - returnValue = lambda(); - break; - } catch (e) { } - } - - return returnValue; - } -}; - -RegExp.prototype.match = RegExp.prototype.test; - -RegExp.escape = function(str) { - return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); -}; - -/*--------------------------------------------------------------------------*/ - -var PeriodicalExecuter = Class.create({ - initialize: function(callback, frequency) { - this.callback = callback; - this.frequency = frequency; - this.currentlyExecuting = false; - - this.registerCallback(); - }, - - registerCallback: function() { - this.timer = setInterval(this.onTimerEvent.bind(this), this.frequency * 1000); - }, - - execute: function() { - this.callback(this); - }, - - stop: function() { - if (!this.timer) return; - clearInterval(this.timer); - this.timer = null; - }, - - onTimerEvent: function() { - if (!this.currentlyExecuting) { - try { - this.currentlyExecuting = true; - this.execute(); - } finally { - this.currentlyExecuting = false; - } - } - } -}); -Object.extend(String, { - interpret: function(value) { - return value == null ? '' : String(value); - }, - specialChar: { - '\b': '\\b', - '\t': '\\t', - '\n': '\\n', - '\f': '\\f', - '\r': '\\r', - '\\': '\\\\' - } -}); - -Object.extend(String.prototype, { - gsub: function(pattern, replacement) { - var result = '', source = this, match; - replacement = arguments.callee.prepareReplacement(replacement); - - while (source.length > 0) { - if (match = source.match(pattern)) { - result += source.slice(0, match.index); - result += String.interpret(replacement(match)); - source = source.slice(match.index + match[0].length); - } else { - result += source, source = ''; - } - } - return result; - }, - - sub: function(pattern, replacement, count) { - replacement = this.gsub.prepareReplacement(replacement); - count = Object.isUndefined(count) ? 1 : count; - - return this.gsub(pattern, function(match) { - if (--count < 0) return match[0]; - return replacement(match); - }); - }, - - scan: function(pattern, iterator) { - this.gsub(pattern, iterator); - return String(this); - }, - - truncate: function(length, truncation) { - length = length || 30; - truncation = Object.isUndefined(truncation) ? '...' : truncation; - return this.length > length ? - this.slice(0, length - truncation.length) + truncation : String(this); - }, - - strip: function() { - return this.replace(/^\s+/, '').replace(/\s+$/, ''); - }, - - stripTags: function() { - return this.replace(/<\/?[^>]+>/gi, ''); - }, - - stripScripts: function() { - return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), ''); - }, - - extractScripts: function() { - var matchAll = new RegExp(Prototype.ScriptFragment, 'img'); - var matchOne = new RegExp(Prototype.ScriptFragment, 'im'); - return (this.match(matchAll) || []).map(function(scriptTag) { - return (scriptTag.match(matchOne) || ['', ''])[1]; - }); - }, - - evalScripts: function() { - return this.extractScripts().map(function(script) { return eval(script) }); - }, - - escapeHTML: function() { - var self = arguments.callee; - self.text.data = this; - return self.div.innerHTML; - }, - - unescapeHTML: function() { - var div = new Element('div'); - div.innerHTML = this.stripTags(); - return div.childNodes[0] ? (div.childNodes.length > 1 ? - $A(div.childNodes).inject('', function(memo, node) { return memo+node.nodeValue }) : - div.childNodes[0].nodeValue) : ''; - }, - - toQueryParams: function(separator) { - var match = this.strip().match(/([^?#]*)(#.*)?$/); - if (!match) return { }; - - return match[1].split(separator || '&').inject({ }, function(hash, pair) { - if ((pair = pair.split('='))[0]) { - var key = decodeURIComponent(pair.shift()); - var value = pair.length > 1 ? pair.join('=') : pair[0]; - if (value != undefined) value = decodeURIComponent(value); - - if (key in hash) { - if (!Object.isArray(hash[key])) hash[key] = [hash[key]]; - hash[key].push(value); - } - else hash[key] = value; - } - return hash; - }); - }, - - toArray: function() { - return this.split(''); - }, - - succ: function() { - return this.slice(0, this.length - 1) + - String.fromCharCode(this.charCodeAt(this.length - 1) + 1); - }, - - times: function(count) { - return count < 1 ? '' : new Array(count + 1).join(this); - }, - - camelize: function() { - var parts = this.split('-'), len = parts.length; - if (len == 1) return parts[0]; - - var camelized = this.charAt(0) == '-' - ? parts[0].charAt(0).toUpperCase() + parts[0].substring(1) - : parts[0]; - - for (var i = 1; i < len; i++) - camelized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1); - - return camelized; - }, - - capitalize: function() { - return this.charAt(0).toUpperCase() + this.substring(1).toLowerCase(); - }, - - underscore: function() { - return this.gsub(/::/, '/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{1}_#{2}').gsub(/-/,'_').toLowerCase(); - }, - - dasherize: function() { - return this.gsub(/_/,'-'); - }, - - inspect: function(useDoubleQuotes) { - var escapedString = this.gsub(/[\x00-\x1f\\]/, function(match) { - var character = String.specialChar[match[0]]; - return character ? character : '\\u00' + match[0].charCodeAt().toPaddedString(2, 16); - }); - if (useDoubleQuotes) return '"' + escapedString.replace(/"/g, '\\"') + '"'; - return "'" + escapedString.replace(/'/g, '\\\'') + "'"; - }, - - toJSON: function() { - return this.inspect(true); - }, - - unfilterJSON: function(filter) { - return this.sub(filter || Prototype.JSONFilter, '#{1}'); - }, - - isJSON: function() { - var str = this; - if (str.blank()) return false; - str = this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, ''); - return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str); - }, - - evalJSON: function(sanitize) { - var json = this.unfilterJSON(); - try { - if (!sanitize || json.isJSON()) return eval('(' + json + ')'); - } catch (e) { } - throw new SyntaxError('Badly formed JSON string: ' + this.inspect()); - }, - - include: function(pattern) { - return this.indexOf(pattern) > -1; - }, - - startsWith: function(pattern) { - return this.indexOf(pattern) === 0; - }, - - endsWith: function(pattern) { - var d = this.length - pattern.length; - return d >= 0 && this.lastIndexOf(pattern) === d; - }, - - empty: function() { - return this == ''; - }, - - blank: function() { - return /^\s*$/.test(this); - }, - - interpolate: function(object, pattern) { - return new Template(this, pattern).evaluate(object); - } -}); - -if (Prototype.Browser.WebKit || Prototype.Browser.IE) Object.extend(String.prototype, { - escapeHTML: function() { - return this.replace(/&/g,'&').replace(//g,'>'); - }, - unescapeHTML: function() { - return this.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>'); - } -}); - -String.prototype.gsub.prepareReplacement = function(replacement) { - if (Object.isFunction(replacement)) return replacement; - var template = new Template(replacement); - return function(match) { return template.evaluate(match) }; -}; - -String.prototype.parseQuery = String.prototype.toQueryParams; - -Object.extend(String.prototype.escapeHTML, { - div: document.createElement('div'), - text: document.createTextNode('') -}); - -with (String.prototype.escapeHTML) div.appendChild(text); - -var Template = Class.create({ - initialize: function(template, pattern) { - this.template = template.toString(); - this.pattern = pattern || Template.Pattern; - }, - - evaluate: function(object) { - if (Object.isFunction(object.toTemplateReplacements)) - object = object.toTemplateReplacements(); - - return this.template.gsub(this.pattern, function(match) { - if (object == null) return ''; - - var before = match[1] || ''; - if (before == '\\') return match[2]; - - var ctx = object, expr = match[3]; - var pattern = /^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/; - match = pattern.exec(expr); - if (match == null) return before; - - while (match != null) { - var comp = match[1].startsWith('[') ? match[2].gsub('\\\\]', ']') : match[1]; - ctx = ctx[comp]; - if (null == ctx || '' == match[3]) break; - expr = expr.substring('[' == match[3] ? match[1].length : match[0].length); - match = pattern.exec(expr); - } - - return before + String.interpret(ctx); - }.bind(this)); - } -}); -Template.Pattern = /(^|.|\r|\n)(#\{(.*?)\})/; - -var $break = { }; - -var Enumerable = { - each: function(iterator, context) { - var index = 0; - iterator = iterator.bind(context); - try { - this._each(function(value) { - iterator(value, index++); - }); - } catch (e) { - if (e != $break) throw e; - } - return this; - }, - - eachSlice: function(number, iterator, context) { - iterator = iterator ? iterator.bind(context) : Prototype.K; - var index = -number, slices = [], array = this.toArray(); - while ((index += number) < array.length) - slices.push(array.slice(index, index+number)); - return slices.collect(iterator, context); - }, - - all: function(iterator, context) { - iterator = iterator ? iterator.bind(context) : Prototype.K; - var result = true; - this.each(function(value, index) { - result = result && !!iterator(value, index); - if (!result) throw $break; - }); - return result; - }, - - any: function(iterator, context) { - iterator = iterator ? iterator.bind(context) : Prototype.K; - var result = false; - this.each(function(value, index) { - if (result = !!iterator(value, index)) - throw $break; - }); - return result; - }, - - collect: function(iterator, context) { - iterator = iterator ? iterator.bind(context) : Prototype.K; - var results = []; - this.each(function(value, index) { - results.push(iterator(value, index)); - }); - return results; - }, - - detect: function(iterator, context) { - iterator = iterator.bind(context); - var result; - this.each(function(value, index) { - if (iterator(value, index)) { - result = value; - throw $break; - } - }); - return result; - }, - - findAll: function(iterator, context) { - iterator = iterator.bind(context); - var results = []; - this.each(function(value, index) { - if (iterator(value, index)) - results.push(value); - }); - return results; - }, - - grep: function(filter, iterator, context) { - iterator = iterator ? iterator.bind(context) : Prototype.K; - var results = []; - - if (Object.isString(filter)) - filter = new RegExp(filter); - - this.each(function(value, index) { - if (filter.match(value)) - results.push(iterator(value, index)); - }); - return results; - }, - - include: function(object) { - if (Object.isFunction(this.indexOf)) - if (this.indexOf(object) != -1) return true; - - var found = false; - this.each(function(value) { - if (value == object) { - found = true; - throw $break; - } - }); - return found; - }, - - inGroupsOf: function(number, fillWith) { - fillWith = Object.isUndefined(fillWith) ? null : fillWith; - return this.eachSlice(number, function(slice) { - while(slice.length < number) slice.push(fillWith); - return slice; - }); - }, - - inject: function(memo, iterator, context) { - iterator = iterator.bind(context); - this.each(function(value, index) { - memo = iterator(memo, value, index); - }); - return memo; - }, - - invoke: function(method) { - var args = $A(arguments).slice(1); - return this.map(function(value) { - return value[method].apply(value, args); - }); - }, - - max: function(iterator, context) { - iterator = iterator ? iterator.bind(context) : Prototype.K; - var result; - this.each(function(value, index) { - value = iterator(value, index); - if (result == null || value >= result) - result = value; - }); - return result; - }, - - min: function(iterator, context) { - iterator = iterator ? iterator.bind(context) : Prototype.K; - var result; - this.each(function(value, index) { - value = iterator(value, index); - if (result == null || value < result) - result = value; - }); - return result; - }, - - partition: function(iterator, context) { - iterator = iterator ? iterator.bind(context) : Prototype.K; - var trues = [], falses = []; - this.each(function(value, index) { - (iterator(value, index) ? - trues : falses).push(value); - }); - return [trues, falses]; - }, - - pluck: function(property) { - var results = []; - this.each(function(value) { - results.push(value[property]); - }); - return results; - }, - - reject: function(iterator, context) { - iterator = iterator.bind(context); - var results = []; - this.each(function(value, index) { - if (!iterator(value, index)) - results.push(value); - }); - return results; - }, - - sortBy: function(iterator, context) { - iterator = iterator.bind(context); - return this.map(function(value, index) { - return {value: value, criteria: iterator(value, index)}; - }).sort(function(left, right) { - var a = left.criteria, b = right.criteria; - return a < b ? -1 : a > b ? 1 : 0; - }).pluck('value'); - }, - - toArray: function() { - return this.map(); - }, - - zip: function() { - var iterator = Prototype.K, args = $A(arguments); - if (Object.isFunction(args.last())) - iterator = args.pop(); - - var collections = [this].concat(args).map($A); - return this.map(function(value, index) { - return iterator(collections.pluck(index)); - }); - }, - - size: function() { - return this.toArray().length; - }, - - inspect: function() { - return '#'; - } -}; - -Object.extend(Enumerable, { - map: Enumerable.collect, - find: Enumerable.detect, - select: Enumerable.findAll, - filter: Enumerable.findAll, - member: Enumerable.include, - entries: Enumerable.toArray, - every: Enumerable.all, - some: Enumerable.any -}); -function $A(iterable) { - if (!iterable) return []; - if (iterable.toArray) return iterable.toArray(); - var length = iterable.length || 0, results = new Array(length); - while (length--) results[length] = iterable[length]; - return results; -} - -if (Prototype.Browser.WebKit) { - function $A(iterable) { - if (!iterable) return []; - if (!(Object.isFunction(iterable) && iterable == '[object NodeList]') && - iterable.toArray) return iterable.toArray(); - var length = iterable.length || 0, results = new Array(length); - while (length--) results[length] = iterable[length]; - return results; - } -} - -Array.from = $A; - -Object.extend(Array.prototype, Enumerable); - -if (!Array.prototype._reverse) Array.prototype._reverse = Array.prototype.reverse; - -Object.extend(Array.prototype, { - _each: function(iterator) { - for (var i = 0, length = this.length; i < length; i++) - iterator(this[i]); - }, - - clear: function() { - this.length = 0; - return this; - }, - - first: function() { - return this[0]; - }, - - last: function() { - return this[this.length - 1]; - }, - - compact: function() { - return this.select(function(value) { - return value != null; - }); - }, - - flatten: function() { - return this.inject([], function(array, value) { - return array.concat(Object.isArray(value) ? - value.flatten() : [value]); - }); - }, - - without: function() { - var values = $A(arguments); - return this.select(function(value) { - return !values.include(value); - }); - }, - - reverse: function(inline) { - return (inline !== false ? this : this.toArray())._reverse(); - }, - - reduce: function() { - return this.length > 1 ? this : this[0]; - }, - - uniq: function(sorted) { - return this.inject([], function(array, value, index) { - if (0 == index || (sorted ? array.last() != value : !array.include(value))) - array.push(value); - return array; - }); - }, - - intersect: function(array) { - return this.uniq().findAll(function(item) { - return array.detect(function(value) { return item === value }); - }); - }, - - clone: function() { - return [].concat(this); - }, - - size: function() { - return this.length; - }, - - inspect: function() { - return '[' + this.map(Object.inspect).join(', ') + ']'; - }, - - toJSON: function() { - var results = []; - this.each(function(object) { - var value = Object.toJSON(object); - if (!Object.isUndefined(value)) results.push(value); - }); - return '[' + results.join(', ') + ']'; - } -}); - -// use native browser JS 1.6 implementation if available -if (Object.isFunction(Array.prototype.forEach)) - Array.prototype._each = Array.prototype.forEach; - -if (!Array.prototype.indexOf) Array.prototype.indexOf = function(item, i) { - i || (i = 0); - var length = this.length; - if (i < 0) i = length + i; - for (; i < length; i++) - if (this[i] === item) return i; - return -1; -}; - -if (!Array.prototype.lastIndexOf) Array.prototype.lastIndexOf = function(item, i) { - i = isNaN(i) ? this.length : (i < 0 ? this.length + i : i) + 1; - var n = this.slice(0, i).reverse().indexOf(item); - return (n < 0) ? n : i - n - 1; -}; - -Array.prototype.toArray = Array.prototype.clone; - -function $w(string) { - if (!Object.isString(string)) return []; - string = string.strip(); - return string ? string.split(/\s+/) : []; -} - -if (Prototype.Browser.Opera){ - Array.prototype.concat = function() { - var array = []; - for (var i = 0, length = this.length; i < length; i++) array.push(this[i]); - for (var i = 0, length = arguments.length; i < length; i++) { - if (Object.isArray(arguments[i])) { - for (var j = 0, arrayLength = arguments[i].length; j < arrayLength; j++) - array.push(arguments[i][j]); - } else { - array.push(arguments[i]); - } - } - return array; - }; -} -Object.extend(Number.prototype, { - toColorPart: function() { - return this.toPaddedString(2, 16); - }, - - succ: function() { - return this + 1; - }, - - times: function(iterator) { - $R(0, this, true).each(iterator); - return this; - }, - - toPaddedString: function(length, radix) { - var string = this.toString(radix || 10); - return '0'.times(length - string.length) + string; - }, - - toJSON: function() { - return isFinite(this) ? this.toString() : 'null'; - } -}); - -$w('abs round ceil floor').each(function(method){ - Number.prototype[method] = Math[method].methodize(); -}); -function $H(object) { - return new Hash(object); -}; - -var Hash = Class.create(Enumerable, (function() { - - function toQueryPair(key, value) { - if (Object.isUndefined(value)) return key; - return key + '=' + encodeURIComponent(String.interpret(value)); - } - - return { - initialize: function(object) { - this._object = Object.isHash(object) ? object.toObject() : Object.clone(object); - }, - - _each: function(iterator) { - for (var key in this._object) { - var value = this._object[key], pair = [key, value]; - pair.key = key; - pair.value = value; - iterator(pair); - } - }, - - set: function(key, value) { - return this._object[key] = value; - }, - - get: function(key) { - return this._object[key]; - }, - - unset: function(key) { - var value = this._object[key]; - delete this._object[key]; - return value; - }, - - toObject: function() { - return Object.clone(this._object); - }, - - keys: function() { - return this.pluck('key'); - }, - - values: function() { - return this.pluck('value'); - }, - - index: function(value) { - var match = this.detect(function(pair) { - return pair.value === value; - }); - return match && match.key; - }, - - merge: function(object) { - return this.clone().update(object); - }, - - update: function(object) { - return new Hash(object).inject(this, function(result, pair) { - result.set(pair.key, pair.value); - return result; - }); - }, - - toQueryString: function() { - return this.map(function(pair) { - var key = encodeURIComponent(pair.key), values = pair.value; - - if (values && typeof values == 'object') { - if (Object.isArray(values)) - return values.map(toQueryPair.curry(key)).join('&'); - } - return toQueryPair(key, values); - }).join('&'); - }, - - inspect: function() { - return '#'; - }, - - toJSON: function() { - return Object.toJSON(this.toObject()); - }, - - clone: function() { - return new Hash(this); - } - } -})()); - -Hash.prototype.toTemplateReplacements = Hash.prototype.toObject; -Hash.from = $H; -var ObjectRange = Class.create(Enumerable, { - initialize: function(start, end, exclusive) { - this.start = start; - this.end = end; - this.exclusive = exclusive; - }, - - _each: function(iterator) { - var value = this.start; - while (this.include(value)) { - iterator(value); - value = value.succ(); - } - }, - - include: function(value) { - if (value < this.start) - return false; - if (this.exclusive) - return value < this.end; - return value <= this.end; - } -}); - -var $R = function(start, end, exclusive) { - return new ObjectRange(start, end, exclusive); -}; - -var Ajax = { - getTransport: function() { - return Try.these( - function() {return new XMLHttpRequest()}, - function() {return new ActiveXObject('Msxml2.XMLHTTP')}, - function() {return new ActiveXObject('Microsoft.XMLHTTP')} - ) || false; - }, - - activeRequestCount: 0 -}; - -Ajax.Responders = { - responders: [], - - _each: function(iterator) { - this.responders._each(iterator); - }, - - register: function(responder) { - if (!this.include(responder)) - this.responders.push(responder); - }, - - unregister: function(responder) { - this.responders = this.responders.without(responder); - }, - - dispatch: function(callback, request, transport, json) { - this.each(function(responder) { - if (Object.isFunction(responder[callback])) { - try { - responder[callback].apply(responder, [request, transport, json]); - } catch (e) { } - } - }); - } -}; - -Object.extend(Ajax.Responders, Enumerable); - -Ajax.Responders.register({ - onCreate: function() { Ajax.activeRequestCount++ }, - onComplete: function() { Ajax.activeRequestCount-- } -}); - -Ajax.Base = Class.create({ - initialize: function(options) { - this.options = { - method: 'post', - asynchronous: true, - contentType: 'application/x-www-form-urlencoded', - encoding: 'UTF-8', - parameters: '', - evalJSON: true, - evalJS: true - }; - Object.extend(this.options, options || { }); - - this.options.method = this.options.method.toLowerCase(); - - if (Object.isString(this.options.parameters)) - this.options.parameters = this.options.parameters.toQueryParams(); - else if (Object.isHash(this.options.parameters)) - this.options.parameters = this.options.parameters.toObject(); - } -}); - -Ajax.Request = Class.create(Ajax.Base, { - _complete: false, - - initialize: function($super, url, options) { - $super(options); - this.transport = Ajax.getTransport(); - this.request(url); - }, - - request: function(url) { - this.url = url; - this.method = this.options.method; - var params = Object.clone(this.options.parameters); - - if (!['get', 'post'].include(this.method)) { - // simulate other verbs over post - params['_method'] = this.method; - this.method = 'post'; - } - - this.parameters = params; - - if (params = Object.toQueryString(params)) { - // when GET, append parameters to URL - if (this.method == 'get') - this.url += (this.url.include('?') ? '&' : '?') + params; - else if (/Konqueror|Safari|KHTML/.test(navigator.userAgent)) - params += '&_='; - } - - try { - var response = new Ajax.Response(this); - if (this.options.onCreate) this.options.onCreate(response); - Ajax.Responders.dispatch('onCreate', this, response); - - this.transport.open(this.method.toUpperCase(), this.url, - this.options.asynchronous); - - if (this.options.asynchronous) this.respondToReadyState.bind(this).defer(1); - - this.transport.onreadystatechange = this.onStateChange.bind(this); - this.setRequestHeaders(); - - this.body = this.method == 'post' ? (this.options.postBody || params) : null; - this.transport.send(this.body); - - /* Force Firefox to handle ready state 4 for synchronous requests */ - if (!this.options.asynchronous && this.transport.overrideMimeType) - this.onStateChange(); - - } - catch (e) { - this.dispatchException(e); - } - }, - - onStateChange: function() { - var readyState = this.transport.readyState; - if (readyState > 1 && !((readyState == 4) && this._complete)) - this.respondToReadyState(this.transport.readyState); - }, - - setRequestHeaders: function() { - var headers = { - 'X-Requested-With': 'XMLHttpRequest', - 'X-Prototype-Version': Prototype.Version, - 'Accept': 'text/javascript, text/html, application/xml, text/xml, */*' - }; - - if (this.method == 'post') { - headers['Content-type'] = this.options.contentType + - (this.options.encoding ? '; charset=' + this.options.encoding : ''); - - /* Force "Connection: close" for older Mozilla browsers to work - * around a bug where XMLHttpRequest sends an incorrect - * Content-length header. See Mozilla Bugzilla #246651. - */ - if (this.transport.overrideMimeType && - (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0,2005])[1] < 2005) - headers['Connection'] = 'close'; - } - - // user-defined headers - if (typeof this.options.requestHeaders == 'object') { - var extras = this.options.requestHeaders; - - if (Object.isFunction(extras.push)) - for (var i = 0, length = extras.length; i < length; i += 2) - headers[extras[i]] = extras[i+1]; - else - $H(extras).each(function(pair) { headers[pair.key] = pair.value }); - } - - for (var name in headers) - this.transport.setRequestHeader(name, headers[name]); - }, - - success: function() { - var status = this.getStatus(); - return !status || (status >= 200 && status < 300); - }, - - getStatus: function() { - try { - return this.transport.status || 0; - } catch (e) { return 0 } - }, - - respondToReadyState: function(readyState) { - var state = Ajax.Request.Events[readyState], response = new Ajax.Response(this); - - if (state == 'Complete') { - try { - this._complete = true; - (this.options['on' + response.status] - || this.options['on' + (this.success() ? 'Success' : 'Failure')] - || Prototype.emptyFunction)(response, response.headerJSON); - } catch (e) { - this.dispatchException(e); - } - - var contentType = response.getHeader('Content-type'); - if (this.options.evalJS == 'force' - || (this.options.evalJS && contentType - && contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))) - this.evalResponse(); - } - - try { - (this.options['on' + state] || Prototype.emptyFunction)(response, response.headerJSON); - Ajax.Responders.dispatch('on' + state, this, response, response.headerJSON); - } catch (e) { - this.dispatchException(e); - } - - if (state == 'Complete') { - // avoid memory leak in MSIE: clean up - this.transport.onreadystatechange = Prototype.emptyFunction; - } - }, - - getHeader: function(name) { - try { - return this.transport.getResponseHeader(name) || null; - } catch (e) { return null } - }, - - evalResponse: function() { - try { - return eval((this.transport.responseText || '').unfilterJSON()); - } catch (e) { - this.dispatchException(e); - } - }, - - dispatchException: function(exception) { - (this.options.onException || Prototype.emptyFunction)(this, exception); - Ajax.Responders.dispatch('onException', this, exception); - } -}); - -Ajax.Request.Events = - ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete']; - -Ajax.Response = Class.create({ - initialize: function(request){ - this.request = request; - var transport = this.transport = request.transport, - readyState = this.readyState = transport.readyState; - - if((readyState > 2 && !Prototype.Browser.IE) || readyState == 4) { - this.status = this.getStatus(); - this.statusText = this.getStatusText(); - this.responseText = String.interpret(transport.responseText); - this.headerJSON = this._getHeaderJSON(); - } - - if(readyState == 4) { - var xml = transport.responseXML; - this.responseXML = Object.isUndefined(xml) ? null : xml; - this.responseJSON = this._getResponseJSON(); - } - }, - - status: 0, - statusText: '', - - getStatus: Ajax.Request.prototype.getStatus, - - getStatusText: function() { - try { - return this.transport.statusText || ''; - } catch (e) { return '' } - }, - - getHeader: Ajax.Request.prototype.getHeader, - - getAllHeaders: function() { - try { - return this.getAllResponseHeaders(); - } catch (e) { return null } - }, - - getResponseHeader: function(name) { - return this.transport.getResponseHeader(name); - }, - - getAllResponseHeaders: function() { - return this.transport.getAllResponseHeaders(); - }, - - _getHeaderJSON: function() { - var json = this.getHeader('X-JSON'); - if (!json) return null; - json = decodeURIComponent(escape(json)); - try { - return json.evalJSON(this.request.options.sanitizeJSON); - } catch (e) { - this.request.dispatchException(e); - } - }, - - _getResponseJSON: function() { - var options = this.request.options; - if (!options.evalJSON || (options.evalJSON != 'force' && - !(this.getHeader('Content-type') || '').include('application/json')) || - this.responseText.blank()) - return null; - try { - return this.responseText.evalJSON(options.sanitizeJSON); - } catch (e) { - this.request.dispatchException(e); - } - } -}); - -Ajax.Updater = Class.create(Ajax.Request, { - initialize: function($super, container, url, options) { - this.container = { - success: (container.success || container), - failure: (container.failure || (container.success ? null : container)) - }; - - options = Object.clone(options); - var onComplete = options.onComplete; - options.onComplete = (function(response, json) { - this.updateContent(response.responseText); - if (Object.isFunction(onComplete)) onComplete(response, json); - }).bind(this); - - $super(url, options); - }, - - updateContent: function(responseText) { - var receiver = this.container[this.success() ? 'success' : 'failure'], - options = this.options; - - if (!options.evalScripts) responseText = responseText.stripScripts(); - - if (receiver = $(receiver)) { - if (options.insertion) { - if (Object.isString(options.insertion)) { - var insertion = { }; insertion[options.insertion] = responseText; - receiver.insert(insertion); - } - else options.insertion(receiver, responseText); - } - else receiver.update(responseText); - } - } -}); - -Ajax.PeriodicalUpdater = Class.create(Ajax.Base, { - initialize: function($super, container, url, options) { - $super(options); - this.onComplete = this.options.onComplete; - - this.frequency = (this.options.frequency || 2); - this.decay = (this.options.decay || 1); - - this.updater = { }; - this.container = container; - this.url = url; - - this.start(); - }, - - start: function() { - this.options.onComplete = this.updateComplete.bind(this); - this.onTimerEvent(); - }, - - stop: function() { - this.updater.options.onComplete = undefined; - clearTimeout(this.timer); - (this.onComplete || Prototype.emptyFunction).apply(this, arguments); - }, - - updateComplete: function(response) { - if (this.options.decay) { - this.decay = (response.responseText == this.lastText ? - this.decay * this.options.decay : 1); - - this.lastText = response.responseText; - } - this.timer = this.onTimerEvent.bind(this).delay(this.decay * this.frequency); - }, - - onTimerEvent: function() { - this.updater = new Ajax.Updater(this.container, this.url, this.options); - } -}); -function $(element) { - if (arguments.length > 1) { - for (var i = 0, elements = [], length = arguments.length; i < length; i++) - elements.push($(arguments[i])); - return elements; - } - if (Object.isString(element)) - element = document.getElementById(element); - return Element.extend(element); -} - -if (Prototype.BrowserFeatures.XPath) { - document._getElementsByXPath = function(expression, parentElement) { - var results = []; - var query = document.evaluate(expression, $(parentElement) || document, - null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); - for (var i = 0, length = query.snapshotLength; i < length; i++) - results.push(Element.extend(query.snapshotItem(i))); - return results; - }; -} - -/*--------------------------------------------------------------------------*/ - -if (!window.Node) var Node = { }; - -if (!Node.ELEMENT_NODE) { - // DOM level 2 ECMAScript Language Binding - Object.extend(Node, { - ELEMENT_NODE: 1, - ATTRIBUTE_NODE: 2, - TEXT_NODE: 3, - CDATA_SECTION_NODE: 4, - ENTITY_REFERENCE_NODE: 5, - ENTITY_NODE: 6, - PROCESSING_INSTRUCTION_NODE: 7, - COMMENT_NODE: 8, - DOCUMENT_NODE: 9, - DOCUMENT_TYPE_NODE: 10, - DOCUMENT_FRAGMENT_NODE: 11, - NOTATION_NODE: 12 - }); -} - -(function() { - var element = this.Element; - this.Element = function(tagName, attributes) { - attributes = attributes || { }; - tagName = tagName.toLowerCase(); - var cache = Element.cache; - if (Prototype.Browser.IE && attributes.name) { - tagName = '<' + tagName + ' name="' + attributes.name + '">'; - delete attributes.name; - return Element.writeAttribute(document.createElement(tagName), attributes); - } - if (!cache[tagName]) cache[tagName] = Element.extend(document.createElement(tagName)); - return Element.writeAttribute(cache[tagName].cloneNode(false), attributes); - }; - Object.extend(this.Element, element || { }); -}).call(window); - -Element.cache = { }; - -Element.Methods = { - visible: function(element) { - return $(element).style.display != 'none'; - }, - - toggle: function(element) { - element = $(element); - Element[Element.visible(element) ? 'hide' : 'show'](element); - return element; - }, - - hide: function(element) { - $(element).style.display = 'none'; - return element; - }, - - show: function(element) { - $(element).style.display = ''; - return element; - }, - - remove: function(element) { - element = $(element); - element.parentNode.removeChild(element); - return element; - }, - - update: function(element, content) { - element = $(element); - if (content && content.toElement) content = content.toElement(); - if (Object.isElement(content)) return element.update().insert(content); - content = Object.toHTML(content); - element.innerHTML = content.stripScripts(); - content.evalScripts.bind(content).defer(); - return element; - }, - - replace: function(element, content) { - element = $(element); - if (content && content.toElement) content = content.toElement(); - else if (!Object.isElement(content)) { - content = Object.toHTML(content); - var range = element.ownerDocument.createRange(); - range.selectNode(element); - content.evalScripts.bind(content).defer(); - content = range.createContextualFragment(content.stripScripts()); - } - element.parentNode.replaceChild(content, element); - return element; - }, - - insert: function(element, insertions) { - element = $(element); - - if (Object.isString(insertions) || Object.isNumber(insertions) || - Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML))) - insertions = {bottom:insertions}; - - var content, insert, tagName, childNodes; - - for (position in insertions) { - content = insertions[position]; - position = position.toLowerCase(); - insert = Element._insertionTranslations[position]; - - if (content && content.toElement) content = content.toElement(); - if (Object.isElement(content)) { - insert(element, content); - continue; - } - - content = Object.toHTML(content); - - tagName = ((position == 'before' || position == 'after') - ? element.parentNode : element).tagName.toUpperCase(); - - childNodes = Element._getContentFromAnonymousElement(tagName, content.stripScripts()); - - if (position == 'top' || position == 'after') childNodes.reverse(); - childNodes.each(insert.curry(element)); - - content.evalScripts.bind(content).defer(); - } - - return element; - }, - - wrap: function(element, wrapper, attributes) { - element = $(element); - if (Object.isElement(wrapper)) - $(wrapper).writeAttribute(attributes || { }); - else if (Object.isString(wrapper)) wrapper = new Element(wrapper, attributes); - else wrapper = new Element('div', wrapper); - if (element.parentNode) - element.parentNode.replaceChild(wrapper, element); - wrapper.appendChild(element); - return wrapper; - }, - - inspect: function(element) { - element = $(element); - var result = '<' + element.tagName.toLowerCase(); - $H({'id': 'id', 'className': 'class'}).each(function(pair) { - var property = pair.first(), attribute = pair.last(); - var value = (element[property] || '').toString(); - if (value) result += ' ' + attribute + '=' + value.inspect(true); - }); - return result + '>'; - }, - - recursivelyCollect: function(element, property) { - element = $(element); - var elements = []; - while (element = element[property]) - if (element.nodeType == 1) - elements.push(Element.extend(element)); - return elements; - }, - - ancestors: function(element) { - return $(element).recursivelyCollect('parentNode'); - }, - - descendants: function(element) { - return $(element).getElementsBySelector("*"); - }, - - firstDescendant: function(element) { - element = $(element).firstChild; - while (element && element.nodeType != 1) element = element.nextSibling; - return $(element); - }, - - immediateDescendants: function(element) { - if (!(element = $(element).firstChild)) return []; - while (element && element.nodeType != 1) element = element.nextSibling; - if (element) return [element].concat($(element).nextSiblings()); - return []; - }, - - previousSiblings: function(element) { - return $(element).recursivelyCollect('previousSibling'); - }, - - nextSiblings: function(element) { - return $(element).recursivelyCollect('nextSibling'); - }, - - siblings: function(element) { - element = $(element); - return element.previousSiblings().reverse().concat(element.nextSiblings()); - }, - - match: function(element, selector) { - if (Object.isString(selector)) - selector = new Selector(selector); - return selector.match($(element)); - }, - - up: function(element, expression, index) { - element = $(element); - if (arguments.length == 1) return $(element.parentNode); - var ancestors = element.ancestors(); - return Object.isNumber(expression) ? ancestors[expression] : - Selector.findElement(ancestors, expression, index); - }, - - down: function(element, expression, index) { - element = $(element); - if (arguments.length == 1) return element.firstDescendant(); - return Object.isNumber(expression) ? element.descendants()[expression] : - element.select(expression)[index || 0]; - }, - - previous: function(element, expression, index) { - element = $(element); - if (arguments.length == 1) return $(Selector.handlers.previousElementSibling(element)); - var previousSiblings = element.previousSiblings(); - return Object.isNumber(expression) ? previousSiblings[expression] : - Selector.findElement(previousSiblings, expression, index); - }, - - next: function(element, expression, index) { - element = $(element); - if (arguments.length == 1) return $(Selector.handlers.nextElementSibling(element)); - var nextSiblings = element.nextSiblings(); - return Object.isNumber(expression) ? nextSiblings[expression] : - Selector.findElement(nextSiblings, expression, index); - }, - - select: function() { - var args = $A(arguments), element = $(args.shift()); - return Selector.findChildElements(element, args); - }, - - adjacent: function() { - var args = $A(arguments), element = $(args.shift()); - return Selector.findChildElements(element.parentNode, args).without(element); - }, - - identify: function(element) { - element = $(element); - var id = element.readAttribute('id'), self = arguments.callee; - if (id) return id; - do { id = 'anonymous_element_' + self.counter++ } while ($(id)); - element.writeAttribute('id', id); - return id; - }, - - readAttribute: function(element, name) { - element = $(element); - if (Prototype.Browser.IE) { - var t = Element._attributeTranslations.read; - if (t.values[name]) return t.values[name](element, name); - if (t.names[name]) name = t.names[name]; - if (name.include(':')) { - return (!element.attributes || !element.attributes[name]) ? null : - element.attributes[name].value; - } - } - return element.getAttribute(name); - }, - - writeAttribute: function(element, name, value) { - element = $(element); - var attributes = { }, t = Element._attributeTranslations.write; - - if (typeof name == 'object') attributes = name; - else attributes[name] = Object.isUndefined(value) ? true : value; - - for (var attr in attributes) { - name = t.names[attr] || attr; - value = attributes[attr]; - if (t.values[attr]) name = t.values[attr](element, value); - if (value === false || value === null) - element.removeAttribute(name); - else if (value === true) - element.setAttribute(name, name); - else element.setAttribute(name, value); - } - return element; - }, - - getHeight: function(element) { - return $(element).getDimensions().height; - }, - - getWidth: function(element) { - return $(element).getDimensions().width; - }, - - classNames: function(element) { - return new Element.ClassNames(element); - }, - - hasClassName: function(element, className) { - if (!(element = $(element))) return; - var elementClassName = element.className; - return (elementClassName.length > 0 && (elementClassName == className || - new RegExp("(^|\\s)" + className + "(\\s|$)").test(elementClassName))); - }, - - addClassName: function(element, className) { - if (!(element = $(element))) return; - if (!element.hasClassName(className)) - element.className += (element.className ? ' ' : '') + className; - return element; - }, - - removeClassName: function(element, className) { - if (!(element = $(element))) return; - element.className = element.className.replace( - new RegExp("(^|\\s+)" + className + "(\\s+|$)"), ' ').strip(); - return element; - }, - - toggleClassName: function(element, className) { - if (!(element = $(element))) return; - return element[element.hasClassName(className) ? - 'removeClassName' : 'addClassName'](className); - }, - - // removes whitespace-only text node children - cleanWhitespace: function(element) { - element = $(element); - var node = element.firstChild; - while (node) { - var nextNode = node.nextSibling; - if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) - element.removeChild(node); - node = nextNode; - } - return element; - }, - - empty: function(element) { - return $(element).innerHTML.blank(); - }, - - descendantOf: function(element, ancestor) { - element = $(element), ancestor = $(ancestor); - var originalAncestor = ancestor; - - if (element.compareDocumentPosition) - return (element.compareDocumentPosition(ancestor) & 8) === 8; - - if (element.sourceIndex && !Prototype.Browser.Opera) { - var e = element.sourceIndex, a = ancestor.sourceIndex, - nextAncestor = ancestor.nextSibling; - if (!nextAncestor) { - do { ancestor = ancestor.parentNode; } - while (!(nextAncestor = ancestor.nextSibling) && ancestor.parentNode); - } - if (nextAncestor) return (e > a && e < nextAncestor.sourceIndex); - } - - while (element = element.parentNode) - if (element == originalAncestor) return true; - return false; - }, - - scrollTo: function(element) { - element = $(element); - var pos = element.cumulativeOffset(); - window.scrollTo(pos[0], pos[1]); - return element; - }, - - getStyle: function(element, style) { - element = $(element); - style = style == 'float' ? 'cssFloat' : style.camelize(); - var value = element.style[style]; - if (!value) { - var css = document.defaultView.getComputedStyle(element, null); - value = css ? css[style] : null; - } - if (style == 'opacity') return value ? parseFloat(value) : 1.0; - return value == 'auto' ? null : value; - }, - - getOpacity: function(element) { - return $(element).getStyle('opacity'); - }, - - setStyle: function(element, styles) { - element = $(element); - var elementStyle = element.style, match; - if (Object.isString(styles)) { - element.style.cssText += ';' + styles; - return styles.include('opacity') ? - element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]) : element; - } - for (var property in styles) - if (property == 'opacity') element.setOpacity(styles[property]); - else - elementStyle[(property == 'float' || property == 'cssFloat') ? - (Object.isUndefined(elementStyle.styleFloat) ? 'cssFloat' : 'styleFloat') : - property] = styles[property]; - - return element; - }, - - setOpacity: function(element, value) { - element = $(element); - element.style.opacity = (value == 1 || value === '') ? '' : - (value < 0.00001) ? 0 : value; - return element; - }, - - getDimensions: function(element) { - element = $(element); - var display = $(element).getStyle('display'); - if (display != 'none' && display != null) // Safari bug - return {width: element.offsetWidth, height: element.offsetHeight}; - - // All *Width and *Height properties give 0 on elements with display none, - // so enable the element temporarily - var els = element.style; - var originalVisibility = els.visibility; - var originalPosition = els.position; - var originalDisplay = els.display; - els.visibility = 'hidden'; - els.position = 'absolute'; - els.display = 'block'; - var originalWidth = element.clientWidth; - var originalHeight = element.clientHeight; - els.display = originalDisplay; - els.position = originalPosition; - els.visibility = originalVisibility; - return {width: originalWidth, height: originalHeight}; - }, - - makePositioned: function(element) { - element = $(element); - var pos = Element.getStyle(element, 'position'); - if (pos == 'static' || !pos) { - element._madePositioned = true; - element.style.position = 'relative'; - // Opera returns the offset relative to the positioning context, when an - // element is position relative but top and left have not been defined - if (window.opera) { - element.style.top = 0; - element.style.left = 0; - } - } - return element; - }, - - undoPositioned: function(element) { - element = $(element); - if (element._madePositioned) { - element._madePositioned = undefined; - element.style.position = - element.style.top = - element.style.left = - element.style.bottom = - element.style.right = ''; - } - return element; - }, - - makeClipping: function(element) { - element = $(element); - if (element._overflow) return element; - element._overflow = Element.getStyle(element, 'overflow') || 'auto'; - if (element._overflow !== 'hidden') - element.style.overflow = 'hidden'; - return element; - }, - - undoClipping: function(element) { - element = $(element); - if (!element._overflow) return element; - element.style.overflow = element._overflow == 'auto' ? '' : element._overflow; - element._overflow = null; - return element; - }, - - cumulativeOffset: function(element) { - var valueT = 0, valueL = 0; - do { - valueT += element.offsetTop || 0; - valueL += element.offsetLeft || 0; - element = element.offsetParent; - } while (element); - return Element._returnOffset(valueL, valueT); - }, - - positionedOffset: function(element) { - var valueT = 0, valueL = 0; - do { - valueT += element.offsetTop || 0; - valueL += element.offsetLeft || 0; - element = element.offsetParent; - if (element) { - if (element.tagName == 'BODY') break; - var p = Element.getStyle(element, 'position'); - if (p == 'relative' || p == 'absolute') break; - } - } while (element); - return Element._returnOffset(valueL, valueT); - }, - - absolutize: function(element) { - element = $(element); - if (element.getStyle('position') == 'absolute') return; - // Position.prepare(); // To be done manually by Scripty when it needs it. - - var offsets = element.positionedOffset(); - var top = offsets[1]; - var left = offsets[0]; - var width = element.clientWidth; - var height = element.clientHeight; - - element._originalLeft = left - parseFloat(element.style.left || 0); - element._originalTop = top - parseFloat(element.style.top || 0); - element._originalWidth = element.style.width; - element._originalHeight = element.style.height; - - element.style.position = 'absolute'; - element.style.top = top + 'px'; - element.style.left = left + 'px'; - element.style.width = width + 'px'; - element.style.height = height + 'px'; - return element; - }, - - relativize: function(element) { - element = $(element); - if (element.getStyle('position') == 'relative') return; - // Position.prepare(); // To be done manually by Scripty when it needs it. - - element.style.position = 'relative'; - var top = parseFloat(element.style.top || 0) - (element._originalTop || 0); - var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0); - - element.style.top = top + 'px'; - element.style.left = left + 'px'; - element.style.height = element._originalHeight; - element.style.width = element._originalWidth; - return element; - }, - - cumulativeScrollOffset: function(element) { - var valueT = 0, valueL = 0; - do { - valueT += element.scrollTop || 0; - valueL += element.scrollLeft || 0; - element = element.parentNode; - } while (element); - return Element._returnOffset(valueL, valueT); - }, - - getOffsetParent: function(element) { - if (element.offsetParent) return $(element.offsetParent); - if (element == document.body) return $(element); - - while ((element = element.parentNode) && element != document.body) - if (Element.getStyle(element, 'position') != 'static') - return $(element); - - return $(document.body); - }, - - viewportOffset: function(forElement) { - var valueT = 0, valueL = 0; - - var element = forElement; - do { - valueT += element.offsetTop || 0; - valueL += element.offsetLeft || 0; - - // Safari fix - if (element.offsetParent == document.body && - Element.getStyle(element, 'position') == 'absolute') break; - - } while (element = element.offsetParent); - - element = forElement; - do { - if (!Prototype.Browser.Opera || element.tagName == 'BODY') { - valueT -= element.scrollTop || 0; - valueL -= element.scrollLeft || 0; - } - } while (element = element.parentNode); - - return Element._returnOffset(valueL, valueT); - }, - - clonePosition: function(element, source) { - var options = Object.extend({ - setLeft: true, - setTop: true, - setWidth: true, - setHeight: true, - offsetTop: 0, - offsetLeft: 0 - }, arguments[2] || { }); - - // find page position of source - source = $(source); - var p = source.viewportOffset(); - - // find coordinate system to use - element = $(element); - var delta = [0, 0]; - var parent = null; - // delta [0,0] will do fine with position: fixed elements, - // position:absolute needs offsetParent deltas - if (Element.getStyle(element, 'position') == 'absolute') { - parent = element.getOffsetParent(); - delta = parent.viewportOffset(); - } - - // correct by body offsets (fixes Safari) - if (parent == document.body) { - delta[0] -= document.body.offsetLeft; - delta[1] -= document.body.offsetTop; - } - - // set position - if (options.setLeft) element.style.left = (p[0] - delta[0] + options.offsetLeft) + 'px'; - if (options.setTop) element.style.top = (p[1] - delta[1] + options.offsetTop) + 'px'; - if (options.setWidth) element.style.width = source.offsetWidth + 'px'; - if (options.setHeight) element.style.height = source.offsetHeight + 'px'; - return element; - } -}; - -Element.Methods.identify.counter = 1; - -Object.extend(Element.Methods, { - getElementsBySelector: Element.Methods.select, - childElements: Element.Methods.immediateDescendants -}); - -Element._attributeTranslations = { - write: { - names: { - className: 'class', - htmlFor: 'for' - }, - values: { } - } -}; - -if (Prototype.Browser.Opera) { - Element.Methods.getStyle = Element.Methods.getStyle.wrap( - function(proceed, element, style) { - switch (style) { - case 'left': case 'top': case 'right': case 'bottom': - if (proceed(element, 'position') === 'static') return null; - case 'height': case 'width': - // returns '0px' for hidden elements; we want it to return null - if (!Element.visible(element)) return null; - - // returns the border-box dimensions rather than the content-box - // dimensions, so we subtract padding and borders from the value - var dim = parseInt(proceed(element, style), 10); - - if (dim !== element['offset' + style.capitalize()]) - return dim + 'px'; - - var properties; - if (style === 'height') { - properties = ['border-top-width', 'padding-top', - 'padding-bottom', 'border-bottom-width']; - } - else { - properties = ['border-left-width', 'padding-left', - 'padding-right', 'border-right-width']; - } - return properties.inject(dim, function(memo, property) { - var val = proceed(element, property); - return val === null ? memo : memo - parseInt(val, 10); - }) + 'px'; - default: return proceed(element, style); - } - } - ); - - Element.Methods.readAttribute = Element.Methods.readAttribute.wrap( - function(proceed, element, attribute) { - if (attribute === 'title') return element.title; - return proceed(element, attribute); - } - ); -} - -else if (Prototype.Browser.IE) { - $w('positionedOffset getOffsetParent viewportOffset').each(function(method) { - Element.Methods[method] = Element.Methods[method].wrap( - function(proceed, element) { - element = $(element); - var position = element.getStyle('position'); - if (position != 'static') return proceed(element); - element.setStyle({ position: 'relative' }); - var value = proceed(element); - element.setStyle({ position: position }); - return value; - } - ); - }); - - Element.Methods.getStyle = function(element, style) { - element = $(element); - style = (style == 'float' || style == 'cssFloat') ? 'styleFloat' : style.camelize(); - var value = element.style[style]; - if (!value && element.currentStyle) value = element.currentStyle[style]; - - if (style == 'opacity') { - if (value = (element.getStyle('filter') || '').match(/alpha\(opacity=(.*)\)/)) - if (value[1]) return parseFloat(value[1]) / 100; - return 1.0; - } - - if (value == 'auto') { - if ((style == 'width' || style == 'height') && (element.getStyle('display') != 'none')) - return element['offset' + style.capitalize()] + 'px'; - return null; - } - return value; - }; - - Element.Methods.setOpacity = function(element, value) { - function stripAlpha(filter){ - return filter.replace(/alpha\([^\)]*\)/gi,''); - } - element = $(element); - var currentStyle = element.currentStyle; - if ((currentStyle && !currentStyle.hasLayout) || - (!currentStyle && element.style.zoom == 'normal')) - element.style.zoom = 1; - - var filter = element.getStyle('filter'), style = element.style; - if (value == 1 || value === '') { - (filter = stripAlpha(filter)) ? - style.filter = filter : style.removeAttribute('filter'); - return element; - } else if (value < 0.00001) value = 0; - style.filter = stripAlpha(filter) + - 'alpha(opacity=' + (value * 100) + ')'; - return element; - }; - - Element._attributeTranslations = { - read: { - names: { - 'class': 'className', - 'for': 'htmlFor' - }, - values: { - _getAttr: function(element, attribute) { - return element.getAttribute(attribute, 2); - }, - _getAttrNode: function(element, attribute) { - var node = element.getAttributeNode(attribute); - return node ? node.value : ""; - }, - _getEv: function(element, attribute) { - attribute = element.getAttribute(attribute); - return attribute ? attribute.toString().slice(23, -2) : null; - }, - _flag: function(element, attribute) { - return $(element).hasAttribute(attribute) ? attribute : null; - }, - style: function(element) { - return element.style.cssText.toLowerCase(); - }, - title: function(element) { - return element.title; - } - } - } - }; - - Element._attributeTranslations.write = { - names: Object.clone(Element._attributeTranslations.read.names), - values: { - checked: function(element, value) { - element.checked = !!value; - }, - - style: function(element, value) { - element.style.cssText = value ? value : ''; - } - } - }; - - Element._attributeTranslations.has = {}; - - $w('colSpan rowSpan vAlign dateTime accessKey tabIndex ' + - 'encType maxLength readOnly longDesc').each(function(attr) { - Element._attributeTranslations.write.names[attr.toLowerCase()] = attr; - Element._attributeTranslations.has[attr.toLowerCase()] = attr; - }); - - (function(v) { - Object.extend(v, { - href: v._getAttr, - src: v._getAttr, - type: v._getAttr, - action: v._getAttrNode, - disabled: v._flag, - checked: v._flag, - readonly: v._flag, - multiple: v._flag, - onload: v._getEv, - onunload: v._getEv, - onclick: v._getEv, - ondblclick: v._getEv, - onmousedown: v._getEv, - onmouseup: v._getEv, - onmouseover: v._getEv, - onmousemove: v._getEv, - onmouseout: v._getEv, - onfocus: v._getEv, - onblur: v._getEv, - onkeypress: v._getEv, - onkeydown: v._getEv, - onkeyup: v._getEv, - onsubmit: v._getEv, - onreset: v._getEv, - onselect: v._getEv, - onchange: v._getEv - }); - })(Element._attributeTranslations.read.values); -} - -else if (Prototype.Browser.Gecko && /rv:1\.8\.0/.test(navigator.userAgent)) { - Element.Methods.setOpacity = function(element, value) { - element = $(element); - element.style.opacity = (value == 1) ? 0.999999 : - (value === '') ? '' : (value < 0.00001) ? 0 : value; - return element; - }; -} - -else if (Prototype.Browser.WebKit) { - Element.Methods.setOpacity = function(element, value) { - element = $(element); - element.style.opacity = (value == 1 || value === '') ? '' : - (value < 0.00001) ? 0 : value; - - if (value == 1) - if(element.tagName == 'IMG' && element.width) { - element.width++; element.width--; - } else try { - var n = document.createTextNode(' '); - element.appendChild(n); - element.removeChild(n); - } catch (e) { } - - return element; - }; - - // Safari returns margins on body which is incorrect if the child is absolutely - // positioned. For performance reasons, redefine Element#cumulativeOffset for - // KHTML/WebKit only. - Element.Methods.cumulativeOffset = function(element) { - var valueT = 0, valueL = 0; - do { - valueT += element.offsetTop || 0; - valueL += element.offsetLeft || 0; - if (element.offsetParent == document.body) - if (Element.getStyle(element, 'position') == 'absolute') break; - - element = element.offsetParent; - } while (element); - - return Element._returnOffset(valueL, valueT); - }; -} - -if (Prototype.Browser.IE || Prototype.Browser.Opera) { - // IE and Opera are missing .innerHTML support for TABLE-related and SELECT elements - Element.Methods.update = function(element, content) { - element = $(element); - - if (content && content.toElement) content = content.toElement(); - if (Object.isElement(content)) return element.update().insert(content); - - content = Object.toHTML(content); - var tagName = element.tagName.toUpperCase(); - - if (tagName in Element._insertionTranslations.tags) { - $A(element.childNodes).each(function(node) { element.removeChild(node) }); - Element._getContentFromAnonymousElement(tagName, content.stripScripts()) - .each(function(node) { element.appendChild(node) }); - } - else element.innerHTML = content.stripScripts(); - - content.evalScripts.bind(content).defer(); - return element; - }; -} - -if (document.createElement('div').outerHTML) { - Element.Methods.replace = function(element, content) { - element = $(element); - - if (content && content.toElement) content = content.toElement(); - if (Object.isElement(content)) { - element.parentNode.replaceChild(content, element); - return element; - } - - content = Object.toHTML(content); - var parent = element.parentNode, tagName = parent.tagName.toUpperCase(); - - if (Element._insertionTranslations.tags[tagName]) { - var nextSibling = element.next(); - var fragments = Element._getContentFromAnonymousElement(tagName, content.stripScripts()); - parent.removeChild(element); - if (nextSibling) - fragments.each(function(node) { parent.insertBefore(node, nextSibling) }); - else - fragments.each(function(node) { parent.appendChild(node) }); - } - else element.outerHTML = content.stripScripts(); - - content.evalScripts.bind(content).defer(); - return element; - }; -} - -Element._returnOffset = function(l, t) { - var result = [l, t]; - result.left = l; - result.top = t; - return result; -}; - -Element._getContentFromAnonymousElement = function(tagName, html) { - var div = new Element('div'), t = Element._insertionTranslations.tags[tagName]; - if (t) { - div.innerHTML = t[0] + html + t[1]; - t[2].times(function() { div = div.firstChild }); - } else div.innerHTML = html; - return $A(div.childNodes); -}; - -Element._insertionTranslations = { - before: function(element, node) { - element.parentNode.insertBefore(node, element); - }, - top: function(element, node) { - element.insertBefore(node, element.firstChild); - }, - bottom: function(element, node) { - element.appendChild(node); - }, - after: function(element, node) { - element.parentNode.insertBefore(node, element.nextSibling); - }, - tags: { - TABLE: ['', '
    ', 1], - TBODY: ['', '
    ', 2], - TR: ['', '
    ', 3], - TD: ['
    ', '
    ', 4], - SELECT: ['', 1] - } -}; - -(function() { - Object.extend(this.tags, { - THEAD: this.tags.TBODY, - TFOOT: this.tags.TBODY, - TH: this.tags.TD - }); -}).call(Element._insertionTranslations); - -Element.Methods.Simulated = { - hasAttribute: function(element, attribute) { - attribute = Element._attributeTranslations.has[attribute] || attribute; - var node = $(element).getAttributeNode(attribute); - return node && node.specified; - } -}; - -Element.Methods.ByTag = { }; - -Object.extend(Element, Element.Methods); - -if (!Prototype.BrowserFeatures.ElementExtensions && - document.createElement('div').__proto__) { - window.HTMLElement = { }; - window.HTMLElement.prototype = document.createElement('div').__proto__; - Prototype.BrowserFeatures.ElementExtensions = true; -} - -Element.extend = (function() { - if (Prototype.BrowserFeatures.SpecificElementExtensions) - return Prototype.K; - - var Methods = { }, ByTag = Element.Methods.ByTag; - - var extend = Object.extend(function(element) { - if (!element || element._extendedByPrototype || - element.nodeType != 1 || element == window) return element; - - var methods = Object.clone(Methods), - tagName = element.tagName, property, value; - - // extend methods for specific tags - if (ByTag[tagName]) Object.extend(methods, ByTag[tagName]); - - for (property in methods) { - value = methods[property]; - if (Object.isFunction(value) && !(property in element)) - element[property] = value.methodize(); - } - - element._extendedByPrototype = Prototype.emptyFunction; - return element; - - }, { - refresh: function() { - // extend methods for all tags (Safari doesn't need this) - if (!Prototype.BrowserFeatures.ElementExtensions) { - Object.extend(Methods, Element.Methods); - Object.extend(Methods, Element.Methods.Simulated); - } - } - }); - - extend.refresh(); - return extend; -})(); - -Element.hasAttribute = function(element, attribute) { - if (element.hasAttribute) return element.hasAttribute(attribute); - return Element.Methods.Simulated.hasAttribute(element, attribute); -}; - -Element.addMethods = function(methods) { - var F = Prototype.BrowserFeatures, T = Element.Methods.ByTag; - - if (!methods) { - Object.extend(Form, Form.Methods); - Object.extend(Form.Element, Form.Element.Methods); - Object.extend(Element.Methods.ByTag, { - "FORM": Object.clone(Form.Methods), - "INPUT": Object.clone(Form.Element.Methods), - "SELECT": Object.clone(Form.Element.Methods), - "TEXTAREA": Object.clone(Form.Element.Methods) - }); - } - - if (arguments.length == 2) { - var tagName = methods; - methods = arguments[1]; - } - - if (!tagName) Object.extend(Element.Methods, methods || { }); - else { - if (Object.isArray(tagName)) tagName.each(extend); - else extend(tagName); - } - - function extend(tagName) { - tagName = tagName.toUpperCase(); - if (!Element.Methods.ByTag[tagName]) - Element.Methods.ByTag[tagName] = { }; - Object.extend(Element.Methods.ByTag[tagName], methods); - } - - function copy(methods, destination, onlyIfAbsent) { - onlyIfAbsent = onlyIfAbsent || false; - for (var property in methods) { - var value = methods[property]; - if (!Object.isFunction(value)) continue; - if (!onlyIfAbsent || !(property in destination)) - destination[property] = value.methodize(); - } - } - - function findDOMClass(tagName) { - var klass; - var trans = { - "OPTGROUP": "OptGroup", "TEXTAREA": "TextArea", "P": "Paragraph", - "FIELDSET": "FieldSet", "UL": "UList", "OL": "OList", "DL": "DList", - "DIR": "Directory", "H1": "Heading", "H2": "Heading", "H3": "Heading", - "H4": "Heading", "H5": "Heading", "H6": "Heading", "Q": "Quote", - "INS": "Mod", "DEL": "Mod", "A": "Anchor", "IMG": "Image", "CAPTION": - "TableCaption", "COL": "TableCol", "COLGROUP": "TableCol", "THEAD": - "TableSection", "TFOOT": "TableSection", "TBODY": "TableSection", "TR": - "TableRow", "TH": "TableCell", "TD": "TableCell", "FRAMESET": - "FrameSet", "IFRAME": "IFrame" - }; - if (trans[tagName]) klass = 'HTML' + trans[tagName] + 'Element'; - if (window[klass]) return window[klass]; - klass = 'HTML' + tagName + 'Element'; - if (window[klass]) return window[klass]; - klass = 'HTML' + tagName.capitalize() + 'Element'; - if (window[klass]) return window[klass]; - - window[klass] = { }; - window[klass].prototype = document.createElement(tagName).__proto__; - return window[klass]; - } - - if (F.ElementExtensions) { - copy(Element.Methods, HTMLElement.prototype); - copy(Element.Methods.Simulated, HTMLElement.prototype, true); - } - - if (F.SpecificElementExtensions) { - for (var tag in Element.Methods.ByTag) { - var klass = findDOMClass(tag); - if (Object.isUndefined(klass)) continue; - copy(T[tag], klass.prototype); - } - } - - Object.extend(Element, Element.Methods); - delete Element.ByTag; - - if (Element.extend.refresh) Element.extend.refresh(); - Element.cache = { }; -}; - -document.viewport = { - getDimensions: function() { - var dimensions = { }; - var B = Prototype.Browser; - $w('width height').each(function(d) { - var D = d.capitalize(); - dimensions[d] = (B.WebKit && !document.evaluate) ? self['inner' + D] : - (B.Opera) ? document.body['client' + D] : document.documentElement['client' + D]; - }); - return dimensions; - }, - - getWidth: function() { - return this.getDimensions().width; - }, - - getHeight: function() { - return this.getDimensions().height; - }, - - getScrollOffsets: function() { - return Element._returnOffset( - window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft, - window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop); - } -}; -/* Portions of the Selector class are derived from Jack Slocum’s DomQuery, - * part of YUI-Ext version 0.40, distributed under the terms of an MIT-style - * license. Please see http://www.yui-ext.com/ for more information. */ - -var Selector = Class.create({ - initialize: function(expression) { - this.expression = expression.strip(); - this.compileMatcher(); - }, - - shouldUseXPath: function() { - if (!Prototype.BrowserFeatures.XPath) return false; - - var e = this.expression; - - // Safari 3 chokes on :*-of-type and :empty - if (Prototype.Browser.WebKit && - (e.include("-of-type") || e.include(":empty"))) - return false; - - // XPath can't do namespaced attributes, nor can it read - // the "checked" property from DOM nodes - if ((/(\[[\w-]*?:|:checked)/).test(this.expression)) - return false; - - return true; - }, - - compileMatcher: function() { - if (this.shouldUseXPath()) - return this.compileXPathMatcher(); - - var e = this.expression, ps = Selector.patterns, h = Selector.handlers, - c = Selector.criteria, le, p, m; - - if (Selector._cache[e]) { - this.matcher = Selector._cache[e]; - return; - } - - this.matcher = ["this.matcher = function(root) {", - "var r = root, h = Selector.handlers, c = false, n;"]; - - while (e && le != e && (/\S/).test(e)) { - le = e; - for (var i in ps) { - p = ps[i]; - if (m = e.match(p)) { - this.matcher.push(Object.isFunction(c[i]) ? c[i](m) : - new Template(c[i]).evaluate(m)); - e = e.replace(m[0], ''); - break; - } - } - } - - this.matcher.push("return h.unique(n);\n}"); - eval(this.matcher.join('\n')); - Selector._cache[this.expression] = this.matcher; - }, - - compileXPathMatcher: function() { - var e = this.expression, ps = Selector.patterns, - x = Selector.xpath, le, m; - - if (Selector._cache[e]) { - this.xpath = Selector._cache[e]; return; - } - - this.matcher = ['.//*']; - while (e && le != e && (/\S/).test(e)) { - le = e; - for (var i in ps) { - if (m = e.match(ps[i])) { - this.matcher.push(Object.isFunction(x[i]) ? x[i](m) : - new Template(x[i]).evaluate(m)); - e = e.replace(m[0], ''); - break; - } - } - } - - this.xpath = this.matcher.join(''); - Selector._cache[this.expression] = this.xpath; - }, - - findElements: function(root) { - root = root || document; - if (this.xpath) return document._getElementsByXPath(this.xpath, root); - return this.matcher(root); - }, - - match: function(element) { - this.tokens = []; - - var e = this.expression, ps = Selector.patterns, as = Selector.assertions; - var le, p, m; - - while (e && le !== e && (/\S/).test(e)) { - le = e; - for (var i in ps) { - p = ps[i]; - if (m = e.match(p)) { - // use the Selector.assertions methods unless the selector - // is too complex. - if (as[i]) { - this.tokens.push([i, Object.clone(m)]); - e = e.replace(m[0], ''); - } else { - // reluctantly do a document-wide search - // and look for a match in the array - return this.findElements(document).include(element); - } - } - } - } - - var match = true, name, matches; - for (var i = 0, token; token = this.tokens[i]; i++) { - name = token[0], matches = token[1]; - if (!Selector.assertions[name](element, matches)) { - match = false; break; - } - } - - return match; - }, - - toString: function() { - return this.expression; - }, - - inspect: function() { - return "#"; - } -}); - -Object.extend(Selector, { - _cache: { }, - - xpath: { - descendant: "//*", - child: "/*", - adjacent: "/following-sibling::*[1]", - laterSibling: '/following-sibling::*', - tagName: function(m) { - if (m[1] == '*') return ''; - return "[local-name()='" + m[1].toLowerCase() + - "' or local-name()='" + m[1].toUpperCase() + "']"; - }, - className: "[contains(concat(' ', @class, ' '), ' #{1} ')]", - id: "[@id='#{1}']", - attrPresence: function(m) { - m[1] = m[1].toLowerCase(); - return new Template("[@#{1}]").evaluate(m); - }, - attr: function(m) { - m[1] = m[1].toLowerCase(); - m[3] = m[5] || m[6]; - return new Template(Selector.xpath.operators[m[2]]).evaluate(m); - }, - pseudo: function(m) { - var h = Selector.xpath.pseudos[m[1]]; - if (!h) return ''; - if (Object.isFunction(h)) return h(m); - return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m); - }, - operators: { - '=': "[@#{1}='#{3}']", - '!=': "[@#{1}!='#{3}']", - '^=': "[starts-with(@#{1}, '#{3}')]", - '$=': "[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']", - '*=': "[contains(@#{1}, '#{3}')]", - '~=': "[contains(concat(' ', @#{1}, ' '), ' #{3} ')]", - '|=': "[contains(concat('-', @#{1}, '-'), '-#{3}-')]" - }, - pseudos: { - 'first-child': '[not(preceding-sibling::*)]', - 'last-child': '[not(following-sibling::*)]', - 'only-child': '[not(preceding-sibling::* or following-sibling::*)]', - 'empty': "[count(*) = 0 and (count(text()) = 0 or translate(text(), ' \t\r\n', '') = '')]", - 'checked': "[@checked]", - 'disabled': "[@disabled]", - 'enabled': "[not(@disabled)]", - 'not': function(m) { - var e = m[6], p = Selector.patterns, - x = Selector.xpath, le, v; - - var exclusion = []; - while (e && le != e && (/\S/).test(e)) { - le = e; - for (var i in p) { - if (m = e.match(p[i])) { - v = Object.isFunction(x[i]) ? x[i](m) : new Template(x[i]).evaluate(m); - exclusion.push("(" + v.substring(1, v.length - 1) + ")"); - e = e.replace(m[0], ''); - break; - } - } - } - return "[not(" + exclusion.join(" and ") + ")]"; - }, - 'nth-child': function(m) { - return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ", m); - }, - 'nth-last-child': function(m) { - return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ", m); - }, - 'nth-of-type': function(m) { - return Selector.xpath.pseudos.nth("position() ", m); - }, - 'nth-last-of-type': function(m) { - return Selector.xpath.pseudos.nth("(last() + 1 - position()) ", m); - }, - 'first-of-type': function(m) { - m[6] = "1"; return Selector.xpath.pseudos['nth-of-type'](m); - }, - 'last-of-type': function(m) { - m[6] = "1"; return Selector.xpath.pseudos['nth-last-of-type'](m); - }, - 'only-of-type': function(m) { - var p = Selector.xpath.pseudos; return p['first-of-type'](m) + p['last-of-type'](m); - }, - nth: function(fragment, m) { - var mm, formula = m[6], predicate; - if (formula == 'even') formula = '2n+0'; - if (formula == 'odd') formula = '2n+1'; - if (mm = formula.match(/^(\d+)$/)) // digit only - return '[' + fragment + "= " + mm[1] + ']'; - if (mm = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b - if (mm[1] == "-") mm[1] = -1; - var a = mm[1] ? Number(mm[1]) : 1; - var b = mm[2] ? Number(mm[2]) : 0; - predicate = "[((#{fragment} - #{b}) mod #{a} = 0) and " + - "((#{fragment} - #{b}) div #{a} >= 0)]"; - return new Template(predicate).evaluate({ - fragment: fragment, a: a, b: b }); - } - } - } - }, - - criteria: { - tagName: 'n = h.tagName(n, r, "#{1}", c); c = false;', - className: 'n = h.className(n, r, "#{1}", c); c = false;', - id: 'n = h.id(n, r, "#{1}", c); c = false;', - attrPresence: 'n = h.attrPresence(n, r, "#{1}"); c = false;', - attr: function(m) { - m[3] = (m[5] || m[6]); - return new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}"); c = false;').evaluate(m); - }, - pseudo: function(m) { - if (m[6]) m[6] = m[6].replace(/"/g, '\\"'); - return new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;').evaluate(m); - }, - descendant: 'c = "descendant";', - child: 'c = "child";', - adjacent: 'c = "adjacent";', - laterSibling: 'c = "laterSibling";' - }, - - patterns: { - // combinators must be listed first - // (and descendant needs to be last combinator) - laterSibling: /^\s*~\s*/, - child: /^\s*>\s*/, - adjacent: /^\s*\+\s*/, - descendant: /^\s/, - - // selectors follow - tagName: /^\s*(\*|[\w\-]+)(\b|$)?/, - id: /^#([\w\-\*]+)(\b|$)/, - className: /^\.([\w\-\*]+)(\b|$)/, - pseudo: -/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/, - attrPresence: /^\[([\w]+)\]/, - attr: /\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/ - }, - - // for Selector.match and Element#match - assertions: { - tagName: function(element, matches) { - return matches[1].toUpperCase() == element.tagName.toUpperCase(); - }, - - className: function(element, matches) { - return Element.hasClassName(element, matches[1]); - }, - - id: function(element, matches) { - return element.id === matches[1]; - }, - - attrPresence: function(element, matches) { - return Element.hasAttribute(element, matches[1]); - }, - - attr: function(element, matches) { - var nodeValue = Element.readAttribute(element, matches[1]); - return Selector.operators[matches[2]](nodeValue, matches[3]); - } - }, - - handlers: { - // UTILITY FUNCTIONS - // joins two collections - concat: function(a, b) { - for (var i = 0, node; node = b[i]; i++) - a.push(node); - return a; - }, - - // marks an array of nodes for counting - mark: function(nodes) { - for (var i = 0, node; node = nodes[i]; i++) - node._counted = true; - return nodes; - }, - - unmark: function(nodes) { - for (var i = 0, node; node = nodes[i]; i++) - node._counted = undefined; - return nodes; - }, - - // mark each child node with its position (for nth calls) - // "ofType" flag indicates whether we're indexing for nth-of-type - // rather than nth-child - index: function(parentNode, reverse, ofType) { - parentNode._counted = true; - if (reverse) { - for (var nodes = parentNode.childNodes, i = nodes.length - 1, j = 1; i >= 0; i--) { - var node = nodes[i]; - if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++; - } - } else { - for (var i = 0, j = 1, nodes = parentNode.childNodes; node = nodes[i]; i++) - if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++; - } - }, - - // filters out duplicates and extends all nodes - unique: function(nodes) { - if (nodes.length == 0) return nodes; - var results = [], n; - for (var i = 0, l = nodes.length; i < l; i++) - if (!(n = nodes[i])._counted) { - n._counted = true; - results.push(Element.extend(n)); - } - return Selector.handlers.unmark(results); - }, - - // COMBINATOR FUNCTIONS - descendant: function(nodes) { - var h = Selector.handlers; - for (var i = 0, results = [], node; node = nodes[i]; i++) - h.concat(results, node.getElementsByTagName('*')); - return results; - }, - - child: function(nodes) { - var h = Selector.handlers; - for (var i = 0, results = [], node; node = nodes[i]; i++) { - for (var j = 0, child; child = node.childNodes[j]; j++) - if (child.nodeType == 1 && child.tagName != '!') results.push(child); - } - return results; - }, - - adjacent: function(nodes) { - for (var i = 0, results = [], node; node = nodes[i]; i++) { - var next = this.nextElementSibling(node); - if (next) results.push(next); - } - return results; - }, - - laterSibling: function(nodes) { - var h = Selector.handlers; - for (var i = 0, results = [], node; node = nodes[i]; i++) - h.concat(results, Element.nextSiblings(node)); - return results; - }, - - nextElementSibling: function(node) { - while (node = node.nextSibling) - if (node.nodeType == 1) return node; - return null; - }, - - previousElementSibling: function(node) { - while (node = node.previousSibling) - if (node.nodeType == 1) return node; - return null; - }, - - // TOKEN FUNCTIONS - tagName: function(nodes, root, tagName, combinator) { - var uTagName = tagName.toUpperCase(); - var results = [], h = Selector.handlers; - if (nodes) { - if (combinator) { - // fastlane for ordinary descendant combinators - if (combinator == "descendant") { - for (var i = 0, node; node = nodes[i]; i++) - h.concat(results, node.getElementsByTagName(tagName)); - return results; - } else nodes = this[combinator](nodes); - if (tagName == "*") return nodes; - } - for (var i = 0, node; node = nodes[i]; i++) - if (node.tagName.toUpperCase() === uTagName) results.push(node); - return results; - } else return root.getElementsByTagName(tagName); - }, - - id: function(nodes, root, id, combinator) { - var targetNode = $(id), h = Selector.handlers; - if (!targetNode) return []; - if (!nodes && root == document) return [targetNode]; - if (nodes) { - if (combinator) { - if (combinator == 'child') { - for (var i = 0, node; node = nodes[i]; i++) - if (targetNode.parentNode == node) return [targetNode]; - } else if (combinator == 'descendant') { - for (var i = 0, node; node = nodes[i]; i++) - if (Element.descendantOf(targetNode, node)) return [targetNode]; - } else if (combinator == 'adjacent') { - for (var i = 0, node; node = nodes[i]; i++) - if (Selector.handlers.previousElementSibling(targetNode) == node) - return [targetNode]; - } else nodes = h[combinator](nodes); - } - for (var i = 0, node; node = nodes[i]; i++) - if (node == targetNode) return [targetNode]; - return []; - } - return (targetNode && Element.descendantOf(targetNode, root)) ? [targetNode] : []; - }, - - className: function(nodes, root, className, combinator) { - if (nodes && combinator) nodes = this[combinator](nodes); - return Selector.handlers.byClassName(nodes, root, className); - }, - - byClassName: function(nodes, root, className) { - if (!nodes) nodes = Selector.handlers.descendant([root]); - var needle = ' ' + className + ' '; - for (var i = 0, results = [], node, nodeClassName; node = nodes[i]; i++) { - nodeClassName = node.className; - if (nodeClassName.length == 0) continue; - if (nodeClassName == className || (' ' + nodeClassName + ' ').include(needle)) - results.push(node); - } - return results; - }, - - attrPresence: function(nodes, root, attr) { - if (!nodes) nodes = root.getElementsByTagName("*"); - var results = []; - for (var i = 0, node; node = nodes[i]; i++) - if (Element.hasAttribute(node, attr)) results.push(node); - return results; - }, - - attr: function(nodes, root, attr, value, operator) { - if (!nodes) nodes = root.getElementsByTagName("*"); - var handler = Selector.operators[operator], results = []; - for (var i = 0, node; node = nodes[i]; i++) { - var nodeValue = Element.readAttribute(node, attr); - if (nodeValue === null) continue; - if (handler(nodeValue, value)) results.push(node); - } - return results; - }, - - pseudo: function(nodes, name, value, root, combinator) { - if (nodes && combinator) nodes = this[combinator](nodes); - if (!nodes) nodes = root.getElementsByTagName("*"); - return Selector.pseudos[name](nodes, value, root); - } - }, - - pseudos: { - 'first-child': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) { - if (Selector.handlers.previousElementSibling(node)) continue; - results.push(node); - } - return results; - }, - 'last-child': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) { - if (Selector.handlers.nextElementSibling(node)) continue; - results.push(node); - } - return results; - }, - 'only-child': function(nodes, value, root) { - var h = Selector.handlers; - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (!h.previousElementSibling(node) && !h.nextElementSibling(node)) - results.push(node); - return results; - }, - 'nth-child': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, formula, root); - }, - 'nth-last-child': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, formula, root, true); - }, - 'nth-of-type': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, formula, root, false, true); - }, - 'nth-last-of-type': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, formula, root, true, true); - }, - 'first-of-type': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, "1", root, false, true); - }, - 'last-of-type': function(nodes, formula, root) { - return Selector.pseudos.nth(nodes, "1", root, true, true); - }, - 'only-of-type': function(nodes, formula, root) { - var p = Selector.pseudos; - return p['last-of-type'](p['first-of-type'](nodes, formula, root), formula, root); - }, - - // handles the an+b logic - getIndices: function(a, b, total) { - if (a == 0) return b > 0 ? [b] : []; - return $R(1, total).inject([], function(memo, i) { - if (0 == (i - b) % a && (i - b) / a >= 0) memo.push(i); - return memo; - }); - }, - - // handles nth(-last)-child, nth(-last)-of-type, and (first|last)-of-type - nth: function(nodes, formula, root, reverse, ofType) { - if (nodes.length == 0) return []; - if (formula == 'even') formula = '2n+0'; - if (formula == 'odd') formula = '2n+1'; - var h = Selector.handlers, results = [], indexed = [], m; - h.mark(nodes); - for (var i = 0, node; node = nodes[i]; i++) { - if (!node.parentNode._counted) { - h.index(node.parentNode, reverse, ofType); - indexed.push(node.parentNode); - } - } - if (formula.match(/^\d+$/)) { // just a number - formula = Number(formula); - for (var i = 0, node; node = nodes[i]; i++) - if (node.nodeIndex == formula) results.push(node); - } else if (m = formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b - if (m[1] == "-") m[1] = -1; - var a = m[1] ? Number(m[1]) : 1; - var b = m[2] ? Number(m[2]) : 0; - var indices = Selector.pseudos.getIndices(a, b, nodes.length); - for (var i = 0, node, l = indices.length; node = nodes[i]; i++) { - for (var j = 0; j < l; j++) - if (node.nodeIndex == indices[j]) results.push(node); - } - } - h.unmark(nodes); - h.unmark(indexed); - return results; - }, - - 'empty': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) { - // IE treats comments as element nodes - if (node.tagName == '!' || (node.firstChild && !node.innerHTML.match(/^\s*$/))) continue; - results.push(node); - } - return results; - }, - - 'not': function(nodes, selector, root) { - var h = Selector.handlers, selectorType, m; - var exclusions = new Selector(selector).findElements(root); - h.mark(exclusions); - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (!node._counted) results.push(node); - h.unmark(exclusions); - return results; - }, - - 'enabled': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (!node.disabled) results.push(node); - return results; - }, - - 'disabled': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (node.disabled) results.push(node); - return results; - }, - - 'checked': function(nodes, value, root) { - for (var i = 0, results = [], node; node = nodes[i]; i++) - if (node.checked) results.push(node); - return results; - } - }, - - operators: { - '=': function(nv, v) { return nv == v; }, - '!=': function(nv, v) { return nv != v; }, - '^=': function(nv, v) { return nv.startsWith(v); }, - '$=': function(nv, v) { return nv.endsWith(v); }, - '*=': function(nv, v) { return nv.include(v); }, - '~=': function(nv, v) { return (' ' + nv + ' ').include(' ' + v + ' '); }, - '|=': function(nv, v) { return ('-' + nv.toUpperCase() + '-').include('-' + v.toUpperCase() + '-'); } - }, - - matchElements: function(elements, expression) { - var matches = new Selector(expression).findElements(), h = Selector.handlers; - h.mark(matches); - for (var i = 0, results = [], element; element = elements[i]; i++) - if (element._counted) results.push(element); - h.unmark(matches); - return results; - }, - - findElement: function(elements, expression, index) { - if (Object.isNumber(expression)) { - index = expression; expression = false; - } - return Selector.matchElements(elements, expression || '*')[index || 0]; - }, - - findChildElements: function(element, expressions) { - var exprs = expressions.join(','); - expressions = []; - exprs.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, function(m) { - expressions.push(m[1].strip()); - }); - var results = [], h = Selector.handlers; - for (var i = 0, l = expressions.length, selector; i < l; i++) { - selector = new Selector(expressions[i].strip()); - h.concat(results, selector.findElements(element)); - } - return (l > 1) ? h.unique(results) : results; - } -}); - -if (Prototype.Browser.IE) { - // IE returns comment nodes on getElementsByTagName("*"). - // Filter them out. - Selector.handlers.concat = function(a, b) { - for (var i = 0, node; node = b[i]; i++) - if (node.tagName !== "!") a.push(node); - return a; - }; -} - -function $$() { - return Selector.findChildElements(document, $A(arguments)); -} -var Form = { - reset: function(form) { - $(form).reset(); - return form; - }, - - serializeElements: function(elements, options) { - if (typeof options != 'object') options = { hash: !!options }; - else if (Object.isUndefined(options.hash)) options.hash = true; - var key, value, submitted = false, submit = options.submit; - - var data = elements.inject({ }, function(result, element) { - if (!element.disabled && element.name) { - key = element.name; value = $(element).getValue(); - if (value != null && (element.type != 'submit' || (!submitted && - submit !== false && (!submit || key == submit) && (submitted = true)))) { - if (key in result) { - // a key is already present; construct an array of values - if (!Object.isArray(result[key])) result[key] = [result[key]]; - result[key].push(value); - } - else result[key] = value; - } - } - return result; - }); - - return options.hash ? data : Object.toQueryString(data); - } -}; - -Form.Methods = { - serialize: function(form, options) { - return Form.serializeElements(Form.getElements(form), options); - }, - - getElements: function(form) { - return $A($(form).getElementsByTagName('*')).inject([], - function(elements, child) { - if (Form.Element.Serializers[child.tagName.toLowerCase()]) - elements.push(Element.extend(child)); - return elements; - } - ); - }, - - getInputs: function(form, typeName, name) { - form = $(form); - var inputs = form.getElementsByTagName('input'); - - if (!typeName && !name) return $A(inputs).map(Element.extend); - - for (var i = 0, matchingInputs = [], length = inputs.length; i < length; i++) { - var input = inputs[i]; - if ((typeName && input.type != typeName) || (name && input.name != name)) - continue; - matchingInputs.push(Element.extend(input)); - } - - return matchingInputs; - }, - - disable: function(form) { - form = $(form); - Form.getElements(form).invoke('disable'); - return form; - }, - - enable: function(form) { - form = $(form); - Form.getElements(form).invoke('enable'); - return form; - }, - - findFirstElement: function(form) { - var elements = $(form).getElements().findAll(function(element) { - return 'hidden' != element.type && !element.disabled; - }); - var firstByIndex = elements.findAll(function(element) { - return element.hasAttribute('tabIndex') && element.tabIndex >= 0; - }).sortBy(function(element) { return element.tabIndex }).first(); - - return firstByIndex ? firstByIndex : elements.find(function(element) { - return ['input', 'select', 'textarea'].include(element.tagName.toLowerCase()); - }); - }, - - focusFirstElement: function(form) { - form = $(form); - form.findFirstElement().activate(); - return form; - }, - - request: function(form, options) { - form = $(form), options = Object.clone(options || { }); - - var params = options.parameters, action = form.readAttribute('action') || ''; - if (action.blank()) action = window.location.href; - options.parameters = form.serialize(true); - - if (params) { - if (Object.isString(params)) params = params.toQueryParams(); - Object.extend(options.parameters, params); - } - - if (form.hasAttribute('method') && !options.method) - options.method = form.method; - - return new Ajax.Request(action, options); - } -}; - -/*--------------------------------------------------------------------------*/ - -Form.Element = { - focus: function(element) { - $(element).focus(); - return element; - }, - - select: function(element) { - $(element).select(); - return element; - } -}; - -Form.Element.Methods = { - serialize: function(element) { - element = $(element); - if (!element.disabled && element.name) { - var value = element.getValue(); - if (value != undefined) { - var pair = { }; - pair[element.name] = value; - return Object.toQueryString(pair); - } - } - return ''; - }, - - getValue: function(element) { - element = $(element); - var method = element.tagName.toLowerCase(); - return Form.Element.Serializers[method](element); - }, - - setValue: function(element, value) { - element = $(element); - var method = element.tagName.toLowerCase(); - Form.Element.Serializers[method](element, value); - return element; - }, - - clear: function(element) { - $(element).value = ''; - return element; - }, - - present: function(element) { - return $(element).value != ''; - }, - - activate: function(element) { - element = $(element); - try { - element.focus(); - if (element.select && (element.tagName.toLowerCase() != 'input' || - !['button', 'reset', 'submit'].include(element.type))) - element.select(); - } catch (e) { } - return element; - }, - - disable: function(element) { - element = $(element); - element.blur(); - element.disabled = true; - return element; - }, - - enable: function(element) { - element = $(element); - element.disabled = false; - return element; - } -}; - -/*--------------------------------------------------------------------------*/ - -var Field = Form.Element; -var $F = Form.Element.Methods.getValue; - -/*--------------------------------------------------------------------------*/ - -Form.Element.Serializers = { - input: function(element, value) { - switch (element.type.toLowerCase()) { - case 'checkbox': - case 'radio': - return Form.Element.Serializers.inputSelector(element, value); - default: - return Form.Element.Serializers.textarea(element, value); - } - }, - - inputSelector: function(element, value) { - if (Object.isUndefined(value)) return element.checked ? element.value : null; - else element.checked = !!value; - }, - - textarea: function(element, value) { - if (Object.isUndefined(value)) return element.value; - else element.value = value; - }, - - select: function(element, index) { - if (Object.isUndefined(index)) - return this[element.type == 'select-one' ? - 'selectOne' : 'selectMany'](element); - else { - var opt, value, single = !Object.isArray(index); - for (var i = 0, length = element.length; i < length; i++) { - opt = element.options[i]; - value = this.optionValue(opt); - if (single) { - if (value == index) { - opt.selected = true; - return; - } - } - else opt.selected = index.include(value); - } - } - }, - - selectOne: function(element) { - var index = element.selectedIndex; - return index >= 0 ? this.optionValue(element.options[index]) : null; - }, - - selectMany: function(element) { - var values, length = element.length; - if (!length) return null; - - for (var i = 0, values = []; i < length; i++) { - var opt = element.options[i]; - if (opt.selected) values.push(this.optionValue(opt)); - } - return values; - }, - - optionValue: function(opt) { - // extend element because hasAttribute may not be native - return Element.extend(opt).hasAttribute('value') ? opt.value : opt.text; - } -}; - -/*--------------------------------------------------------------------------*/ - -Abstract.TimedObserver = Class.create(PeriodicalExecuter, { - initialize: function($super, element, frequency, callback) { - $super(callback, frequency); - this.element = $(element); - this.lastValue = this.getValue(); - }, - - execute: function() { - var value = this.getValue(); - if (Object.isString(this.lastValue) && Object.isString(value) ? - this.lastValue != value : String(this.lastValue) != String(value)) { - this.callback(this.element, value); - this.lastValue = value; - } - } -}); - -Form.Element.Observer = Class.create(Abstract.TimedObserver, { - getValue: function() { - return Form.Element.getValue(this.element); - } -}); - -Form.Observer = Class.create(Abstract.TimedObserver, { - getValue: function() { - return Form.serialize(this.element); - } -}); - -/*--------------------------------------------------------------------------*/ - -Abstract.EventObserver = Class.create({ - initialize: function(element, callback) { - this.element = $(element); - this.callback = callback; - - this.lastValue = this.getValue(); - if (this.element.tagName.toLowerCase() == 'form') - this.registerFormCallbacks(); - else - this.registerCallback(this.element); - }, - - onElementEvent: function() { - var value = this.getValue(); - if (this.lastValue != value) { - this.callback(this.element, value); - this.lastValue = value; - } - }, - - registerFormCallbacks: function() { - Form.getElements(this.element).each(this.registerCallback, this); - }, - - registerCallback: function(element) { - if (element.type) { - switch (element.type.toLowerCase()) { - case 'checkbox': - case 'radio': - Event.observe(element, 'click', this.onElementEvent.bind(this)); - break; - default: - Event.observe(element, 'change', this.onElementEvent.bind(this)); - break; - } - } - } -}); - -Form.Element.EventObserver = Class.create(Abstract.EventObserver, { - getValue: function() { - return Form.Element.getValue(this.element); - } -}); - -Form.EventObserver = Class.create(Abstract.EventObserver, { - getValue: function() { - return Form.serialize(this.element); - } -}); -if (!window.Event) var Event = { }; - -Object.extend(Event, { - KEY_BACKSPACE: 8, - KEY_TAB: 9, - KEY_RETURN: 13, - KEY_ESC: 27, - KEY_LEFT: 37, - KEY_UP: 38, - KEY_RIGHT: 39, - KEY_DOWN: 40, - KEY_DELETE: 46, - KEY_HOME: 36, - KEY_END: 35, - KEY_PAGEUP: 33, - KEY_PAGEDOWN: 34, - KEY_INSERT: 45, - - cache: { }, - - relatedTarget: function(event) { - var element; - switch(event.type) { - case 'mouseover': element = event.fromElement; break; - case 'mouseout': element = event.toElement; break; - default: return null; - } - return Element.extend(element); - } -}); - -Event.Methods = (function() { - var isButton; - - if (Prototype.Browser.IE) { - var buttonMap = { 0: 1, 1: 4, 2: 2 }; - isButton = function(event, code) { - return event.button == buttonMap[code]; - }; - - } else if (Prototype.Browser.WebKit) { - isButton = function(event, code) { - switch (code) { - case 0: return event.which == 1 && !event.metaKey; - case 1: return event.which == 1 && event.metaKey; - default: return false; - } - }; - - } else { - isButton = function(event, code) { - return event.which ? (event.which === code + 1) : (event.button === code); - }; - } - - return { - isLeftClick: function(event) { return isButton(event, 0) }, - isMiddleClick: function(event) { return isButton(event, 1) }, - isRightClick: function(event) { return isButton(event, 2) }, - - element: function(event) { - var node = Event.extend(event).target; - return Element.extend(node.nodeType == Node.TEXT_NODE ? node.parentNode : node); - }, - - findElement: function(event, expression) { - var element = Event.element(event); - if (!expression) return element; - var elements = [element].concat(element.ancestors()); - return Selector.findElement(elements, expression, 0); - }, - - pointer: function(event) { - return { - x: event.pageX || (event.clientX + - (document.documentElement.scrollLeft || document.body.scrollLeft)), - y: event.pageY || (event.clientY + - (document.documentElement.scrollTop || document.body.scrollTop)) - }; - }, - - pointerX: function(event) { return Event.pointer(event).x }, - pointerY: function(event) { return Event.pointer(event).y }, - - stop: function(event) { - Event.extend(event); - event.preventDefault(); - event.stopPropagation(); - event.stopped = true; - } - }; -})(); - -Event.extend = (function() { - var methods = Object.keys(Event.Methods).inject({ }, function(m, name) { - m[name] = Event.Methods[name].methodize(); - return m; - }); - - if (Prototype.Browser.IE) { - Object.extend(methods, { - stopPropagation: function() { this.cancelBubble = true }, - preventDefault: function() { this.returnValue = false }, - inspect: function() { return "[object Event]" } - }); - - return function(event) { - if (!event) return false; - if (event._extendedByPrototype) return event; - - event._extendedByPrototype = Prototype.emptyFunction; - var pointer = Event.pointer(event); - Object.extend(event, { - target: event.srcElement, - relatedTarget: Event.relatedTarget(event), - pageX: pointer.x, - pageY: pointer.y - }); - return Object.extend(event, methods); - }; - - } else { - Event.prototype = Event.prototype || document.createEvent("HTMLEvents").__proto__; - Object.extend(Event.prototype, methods); - return Prototype.K; - } -})(); - -Object.extend(Event, (function() { - var cache = Event.cache; - - function getEventID(element) { - if (element._eventID) return element._eventID; - arguments.callee.id = arguments.callee.id || 1; - return element._eventID = ++arguments.callee.id; - } - - function getDOMEventName(eventName) { - if (eventName && eventName.include(':')) return "dataavailable"; - return eventName; - } - - function getCacheForID(id) { - return cache[id] = cache[id] || { }; - } - - function getWrappersForEventName(id, eventName) { - var c = getCacheForID(id); - return c[eventName] = c[eventName] || []; - } - - function createWrapper(element, eventName, handler) { - var id = getEventID(element); - var c = getWrappersForEventName(id, eventName); - if (c.pluck("handler").include(handler)) return false; - - var wrapper = function(event) { - if (!Event || !Event.extend || - (event.eventName && event.eventName != eventName)) - return false; - - Event.extend(event); - handler.call(element, event); - }; - - wrapper.handler = handler; - c.push(wrapper); - return wrapper; - } - - function findWrapper(id, eventName, handler) { - var c = getWrappersForEventName(id, eventName); - return c.find(function(wrapper) { return wrapper.handler == handler }); - } - - function destroyWrapper(id, eventName, handler) { - var c = getCacheForID(id); - if (!c[eventName]) return false; - c[eventName] = c[eventName].without(findWrapper(id, eventName, handler)); - } - - function destroyCache() { - for (var id in cache) - for (var eventName in cache[id]) - cache[id][eventName] = null; - } - - if (window.attachEvent) { - window.attachEvent("onunload", destroyCache); - } - - return { - observe: function(element, eventName, handler) { - element = $(element); - var name = getDOMEventName(eventName); - - var wrapper = createWrapper(element, eventName, handler); - if (!wrapper) return element; - - if (element.addEventListener) { - element.addEventListener(name, wrapper, false); - } else { - element.attachEvent("on" + name, wrapper); - } - - return element; - }, - - stopObserving: function(element, eventName, handler) { - element = $(element); - var id = getEventID(element), name = getDOMEventName(eventName); - - if (!handler && eventName) { - getWrappersForEventName(id, eventName).each(function(wrapper) { - element.stopObserving(eventName, wrapper.handler); - }); - return element; - - } else if (!eventName) { - Object.keys(getCacheForID(id)).each(function(eventName) { - element.stopObserving(eventName); - }); - return element; - } - - var wrapper = findWrapper(id, eventName, handler); - if (!wrapper) return element; - - if (element.removeEventListener) { - element.removeEventListener(name, wrapper, false); - } else { - element.detachEvent("on" + name, wrapper); - } - - destroyWrapper(id, eventName, handler); - - return element; - }, - - fire: function(element, eventName, memo) { - element = $(element); - if (element == document && document.createEvent && !element.dispatchEvent) - element = document.documentElement; - - var event; - if (document.createEvent) { - event = document.createEvent("HTMLEvents"); - event.initEvent("dataavailable", true, true); - } else { - event = document.createEventObject(); - event.eventType = "ondataavailable"; - } - - event.eventName = eventName; - event.memo = memo || { }; - - if (document.createEvent) { - element.dispatchEvent(event); - } else { - element.fireEvent(event.eventType, event); - } - - return Event.extend(event); - } - }; -})()); - -Object.extend(Event, Event.Methods); - -Element.addMethods({ - fire: Event.fire, - observe: Event.observe, - stopObserving: Event.stopObserving -}); - -Object.extend(document, { - fire: Element.Methods.fire.methodize(), - observe: Element.Methods.observe.methodize(), - stopObserving: Element.Methods.stopObserving.methodize(), - loaded: false -}); - -(function() { - /* Support for the DOMContentLoaded event is based on work by Dan Webb, - Matthias Miller, Dean Edwards and John Resig. */ - - var timer; - - function fireContentLoadedEvent() { - if (document.loaded) return; - if (timer) window.clearInterval(timer); - document.fire("dom:loaded"); - document.loaded = true; - } - - if (document.addEventListener) { - if (Prototype.Browser.WebKit) { - timer = window.setInterval(function() { - if (/loaded|complete/.test(document.readyState)) - fireContentLoadedEvent(); - }, 0); - - Event.observe(window, "load", fireContentLoadedEvent); - - } else { - document.addEventListener("DOMContentLoaded", - fireContentLoadedEvent, false); - } - - } else { - document.write("