From 534355baa0b53c69e9787b56d3b3e63fc90bd7a6 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 1 Aug 2015 13:35:55 -0400 Subject: [PATCH] CRM-15918 - Remove auction and touchstone files --- tools/sql/civiauction_sample.mysql | 80 ------ tools/templates/CRM/Auction/Form/Auction.tpl | 61 ----- tools/templates/CRM/Auction/Form/Item.tpl | 53 ---- .../CRM/Auction/Form/ItemAccount.tpl | 52 ---- .../CRM/Auction/Form/SearchAuction.tpl | 72 ----- .../templates/CRM/Auction/Form/SearchItem.tpl | 53 ---- .../templates/CRM/Auction/Page/DashBoard.tpl | 26 -- tools/templates/CRM/Auction/Page/Item.tpl | 89 ------ tools/templates/CRM/Auction/Page/Manage.tpl | 86 ------ .../templates/CRM/Auction/Page/ManageItem.tpl | 97 ------- .../Form/Search/AdvancedSearchPane.tpl | 34 --- tools/xml/schema/Auction/Auction.xml | 134 --------- tools/xml/schema/Auction/Bid.xml | 100 ------- tools/xml/schema/Auction/Item.xml | 258 ------------------ tools/xml/schema/Auction/files.xml | 8 - 15 files changed, 1203 deletions(-) delete mode 100644 tools/sql/civiauction_sample.mysql delete mode 100644 tools/templates/CRM/Auction/Form/Auction.tpl delete mode 100644 tools/templates/CRM/Auction/Form/Item.tpl delete mode 100644 tools/templates/CRM/Auction/Form/ItemAccount.tpl delete mode 100644 tools/templates/CRM/Auction/Form/SearchAuction.tpl delete mode 100644 tools/templates/CRM/Auction/Form/SearchItem.tpl delete mode 100644 tools/templates/CRM/Auction/Page/DashBoard.tpl delete mode 100644 tools/templates/CRM/Auction/Page/Item.tpl delete mode 100644 tools/templates/CRM/Auction/Page/Manage.tpl delete mode 100644 tools/templates/CRM/Auction/Page/ManageItem.tpl delete mode 100644 tools/templates/CRM/Touchstone/Form/Search/AdvancedSearchPane.tpl delete mode 100644 tools/xml/schema/Auction/Auction.xml delete mode 100644 tools/xml/schema/Auction/Bid.xml delete mode 100644 tools/xml/schema/Auction/Item.xml delete mode 100644 tools/xml/schema/Auction/files.xml diff --git a/tools/sql/civiauction_sample.mysql b/tools/sql/civiauction_sample.mysql deleted file mode 100644 index 36763ba418..0000000000 --- a/tools/sql/civiauction_sample.mysql +++ /dev/null @@ -1,80 +0,0 @@ --- +--------------------------------------------------------------------+ --- | CiviCRM version 3.2 | --- +--------------------------------------------------------------------+ --- | Copyright CiviCRM LLC (c) 2004-2015 | --- +--------------------------------------------------------------------+ --- | This file is a part of CiviCRM. | --- | | --- | CiviCRM is free software; you can copy, modify, and distribute it | --- | under the terms of the GNU Affero General Public License | --- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | --- | | --- | CiviCRM is distributed in the hope that it will be useful, but | --- | WITHOUT ANY WARRANTY; without even the implied warranty of | --- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | --- | See the GNU Affero General Public License for more details. | --- | | --- | You should have received a copy of the GNU Affero General Public | --- | License and the CiviCRM Licensing Exception along | --- | with this program; if not, contact CiviCRM LLC | --- | at info[AT]civicrm[DOT]org. If you have questions about the | --- | GNU Affero General Public License or the licensing of CiviCRM, | --- | see the CiviCRM license FAQ at http://civicrm.org/licensing | --- +--------------------------------------------------------------------+ --- phpMyAdmin SQL Dump --- version 2.11.3deb1ubuntu1.1 --- http://www.phpmyadmin.net --- --- Host: localhost --- Generation Time: Jan 27, 2009 at 04:02 PM --- Server version: 5.0.51 --- PHP Version: 5.2.4-2ubuntu5.4 - -SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; - --- --- Create Donors / Bidders. --- - -INSERT INTO `civicrm_contact` (`contact_type`, `sort_name`, `display_name`, `first_name`, `last_name`) -VALUES -('Individual', 'Mouse Micky', 'Mouse Micky', 'Mickey', 'Mouse'); - -SELECT @donorID := id FROM `civicrm_contact` where `display_name` like 'Mouse Micky'; - -INSERT INTO `civicrm_contact` (`contact_type`, `sort_name`, `display_name`, `first_name`, `last_name`) -VALUES -('Individual', 'Doo Scooby', 'Doo Scooby', 'Scooby', 'Doo'); - -SELECT @bidderID := id FROM `civicrm_contact` where `display_name` like 'Doo Scooby'; - --- --- data for Auction --- - -INSERT INTO `civicrm_auction` (`id`, `title`, `description`, `start_date`, `end_date`, `item_start_date`, `item_end_date`, `is_approval_needed`, `is_item_groups`, `max_items`, `max_items_user`, `event_id`, `donor_profile_id`, `is_active`) VALUES -(1, 'collectibles', 'collectibles such as stamps, coins, classic cars, fine art, and luxury real estate', NULL, NULL, NULL, NULL, 0, 0, NULL, NULL, 1, 2, 1), -(2, 'toys', '

Nice and Cutiest toys, Children love to have one.........

', NULL, NULL, NULL, NULL, 0, 1, 12, 2, NULL, NULL, 1); - -SELECT @auctionCollectID := id FROM `civicrm_auction` where `title` like 'collectibles'; -SELECT @auctionToysID := id FROM `civicrm_auction` where `title` like 'toys'; - --- --- data for Auction Items --- - -INSERT INTO `civicrm_auction_item` (`auction_id`, `donor_id`, `auction_item_type_id`, `title`, `description`, `url`, `sku`, `options`, `image`, `quantity`, `retail_value`, `min_bid_value`, `min_bid_increment`, `buy_now_value`, `bid_start_date`, `bid_end_date`, `is_active`, `is_group`, `parent_id`, `creator_id`, `created_date`, `approver_id`, `approval_date`) VALUES -(@auctionCollectID, @donorID, 3, 'coins', '

Frequently collected coins include those that were in circulation for only a brief time, coins minted with errors, or especially beautiful or historically interesting pieces.

', NULL, NULL, NULL, NULL, 5, 60.00, 15.00, 3.00, 55.00, NOW(), DATE_ADD(NOW(), INTERVAL 2 DAY), 1, 0, NULL, NULL, NULL, NULL, '2009-01-22 14:48:58'), -(@auctionCollectID, @donorID, 2, 'Stamps', '

Collections such as covers (envelopes or packages with stamps on them).

', NULL, NULL, NULL, NULL, 200, 500.00, 600.00, 50.00, 700.00, NOW(), DATE_ADD(NOW(), INTERVAL 2 DAY), 1, 0, NULL, @donorID, '2009-01-27 14:27:28', NULL, NULL), -(@auctionCollectID, @donorID, 1, 'Classic car', '

Term frequently used to describe an older car, but the exact meaning is subject to differences in opinion.

', NULL, NULL, NULL, NULL, 25, 3000.00, 2800.00, 100.00, 3500.00, NOW(), DATE_ADD(NOW(), INTERVAL 2 DAY), 1, 0, NULL, @donorID, '2009-01-27 15:56:49', NULL, NULL), - -(@auctionToysID, @donorID, 3, 'Tom Cat', '

The Most Dangerous but Sweet Friend of Jerry in the World

', NULL, NULL, NULL, NULL, 12, 65.00, 20.00, 4.50, 62.00, NOW(), DATE_ADD(NOW(), INTERVAL 2 DAY), 1, 0, NULL, @donorID, '2009-01-27 15:56:49', NULL, NULL), -(@auctionToysID, @donorID, 3, 'Jerry Mouse', '

The Most Mischievous in the Universe.

', NULL, NULL, NULL, NULL, 14, 55.00, 23.00, 3.00, 50.00, NOW(), DATE_ADD(NOW(), INTERVAL 2 DAY), 1, 0, NULL, @donorID, '2009-04-03 22:16:48', NULL, NULL); - - -INSERT INTO `civicrm_auction_bid` (`contact_id`, `auction_item_id`, `bid_value`, `quantity`, `bid_date`, `is_active`, `is_winner`, `quantity_won`, `contribution_id`) VALUES -(@bidderID, 1, 12.00, 1, DATE_ADD(NOW(), INTERVAL 30 MINUTE), 1, 0, NULL, NULL), -(@bidderID, 2, 100.00, 1, DATE_ADD(NOW(), INTERVAL 30 MINUTE), 1, 0, NULL, NULL), -(@bidderID, 3, 1500.00, 1, DATE_ADD(NOW(), INTERVAL 30 MINUTE), 1, 0, NULL, NULL), -(@bidderID, 4, 45.00, 1, DATE_ADD(NOW(), INTERVAL 30 MINUTE), 1, 0, NULL, NULL), -(@bidderID, 5, 30.00, 1, DATE_ADD(NOW(), INTERVAL 30 MINUTE), 1, 0, NULL, NULL); diff --git a/tools/templates/CRM/Auction/Form/Auction.tpl b/tools/templates/CRM/Auction/Form/Auction.tpl deleted file mode 100644 index d501084db5..0000000000 --- a/tools/templates/CRM/Auction/Form/Auction.tpl +++ /dev/null @@ -1,61 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.6 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM is distributed in the hope that it will be useful, but | - | WITHOUT ANY WARRANTY; without even the implied warranty of | - | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | - | See the GNU Affero General Public License for more details. | - | | - | You should have received a copy of the GNU Affero General Public | - | License and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -
-
{ts}Auction Information{/ts} - - - - - - - - - - - - - - - - - - - -
{$form.title.label}{$form.title.html}
{$form.description.label}{$form.description.html}
{$form.start_date.label}{$form.start_date.html}
 {include file="CRM/common/calendar/desc.tpl" trigger=trigger_event_1 doTime=1} - {include file="CRM/common/calendar/body.tpl" dateVar=start_date offset=3 doTime=1 trigger=trigger_event_1 ampm=1}
{$form.end_date.label}{$form.end_date.html}
 {include file="CRM/common/calendar/desc.tpl" trigger=trigger_event_2 doTime=1} - {include file="CRM/common/calendar/body.tpl" dateVar=end_date offset=3 doTime=1 trigger=trigger_event_2 ampm=1}
{$form.item_start_date.label}{$form.item_start_date.html}
 {include file="CRM/common/calendar/desc.tpl" trigger=trigger_event_3 doTime=1} - {include file="CRM/common/calendar/body.tpl" dateVar=item_start_date offset=3 doTime=1 trigger=trigger_event_3 ampm=1}
{$form.item_end_date.label}{$form.item_end_date.html}
 {include file="CRM/common/calendar/desc.tpl" trigger=trigger_event_4 doTime=1} - {include file="CRM/common/calendar/body.tpl" dateVar=item_end_date offset=3 doTime=1 trigger=trigger_event_4 ampm=1}
{$form.max_items.label}{$form.max_items.html|crmReplace:class:four}
-
{$form.max_items_user.label}{$form.max_items_user.html|crmReplace:class:four}
- -
 {$form.is_item_approval.html} {$form.is_item_approval.label}
-
 {$form.is_item_groups.html} {$form.is_item_groups.label}
-
 {$form.is_active.html} {$form.is_active.label}
  
-
-
{$form.buttons.html}
-
-
-
diff --git a/tools/templates/CRM/Auction/Form/Item.tpl b/tools/templates/CRM/Auction/Form/Item.tpl deleted file mode 100644 index e73ad5f4c2..0000000000 --- a/tools/templates/CRM/Auction/Form/Item.tpl +++ /dev/null @@ -1,53 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.6 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM is distributed in the hope that it will be useful, but | - | WITHOUT ANY WARRANTY; without even the implied warranty of | - | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | - | See the GNU Affero General Public License for more details. | - | | - | You should have received a copy of the GNU Affero General Public | - | License and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -
-
{ts}Item Information{/ts} - - - - - - - - - - -
{ts}Auction{/ts}{$auctionTitle}
{ts}Donor{/ts}{$donorName}
{$form.title.label}{$form.title.html}
{$form.description.label}{$form.description.html}
{$form.url.label}{$form.url.html}
{$form.auction_item_type_id.label}{$form.auction_item_type_id.html}
{$form.quantity.label}{$form.quantity.html|crmReplace:class:four}
-
{$form.retail_value.label}{$form.retail_value.html|crmReplace:class:four}
-
{$form.min_bid_value.label}{$form.min_bid_value.html|crmReplace:class:four}
-
{$form.min_bid_increment.label}{$form.min_bid_increment.html|crmReplace:class:four}
-
{$form.buy_now_value.label}{$form.buy_now_value.html|crmReplace:class:four}
- -
 {$form.is_group.html} {$form.is_group.label}
-
 {$form.is_active.html} {$form.is_active.label}
  
- -{include file="CRM/Form/attachment.tpl" context="pcpCampaign"} - -
-
{$form.buttons.html}
-
-
-
diff --git a/tools/templates/CRM/Auction/Form/ItemAccount.tpl b/tools/templates/CRM/Auction/Form/ItemAccount.tpl deleted file mode 100644 index d7838151be..0000000000 --- a/tools/templates/CRM/Auction/Form/ItemAccount.tpl +++ /dev/null @@ -1,52 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.6 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM is distributed in the hope that it will be useful, but | - | WITHOUT ANY WARRANTY; without even the implied warranty of | - | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | - | See the GNU Affero General Public License for more details. | - | | - | You should have received a copy of the GNU Affero General Public | - | License and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -{* Displays account creation and donors profile form. *} -{if $action EQ 1} -
- {ts}Adding your auction items is simple. Fill in some basic information below, which will allow you to manage your items page.{/ts} -
-{/if} - -{if $profileDisplay} -
-
-
{ts}Profile{/ts}
-

{ts}Profile is not configured with Email address.{/ts}

-
-
-{else} -
-{include file="CRM/common/CMSUser.tpl"} -{include file="CRM/UF/Form/Block.tpl" fields=$fields} -{if $isCaptcha} -{include file='CRM/common/ReCAPTCHA.tpl'} -{/if} -
-
-
{$form.buttons.html}
-
-
-{/if} diff --git a/tools/templates/CRM/Auction/Form/SearchAuction.tpl b/tools/templates/CRM/Auction/Form/SearchAuction.tpl deleted file mode 100644 index b04e5650d5..0000000000 --- a/tools/templates/CRM/Auction/Form/SearchAuction.tpl +++ /dev/null @@ -1,72 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.6 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM is distributed in the hope that it will be useful, but | - | WITHOUT ANY WARRANTY; without even the implied warranty of | - | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | - | See the GNU Affero General Public License for more details. | - | | - | You should have received a copy of the GNU Affero General Public | - | License and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -
-
{ts}Find Auctions{/ts} - - - - - - - - - - -
{$form.title.label}{$form.title.html|crmReplace:class:twenty} -
- {ts}Complete OR partial Auction name.{/ts} -
-
{$form.auctionsByDates.html}
-
 {$form.buttons.html}
- - - - - - - - - -
{$form.start_date.label} {$form.start_date.html}  -  {include file="CRM/common/calendar/desc.tpl" trigger=trigger_search_member_1} - {include file="CRM/common/calendar/body.tpl" dateVar=start_date startDate=startYear endDate=endYear offset=5 trigger=trigger_search_member_1} -
{$form.end_date.label} {$form.end_date.html}  -  {include file="CRM/common/calendar/desc.tpl" trigger=trigger_search_member_2} - {include file="CRM/common/calendar/body.tpl" dateVar=end_date startDate=startYear endDate=endYear offset=5 trigger=trigger_search_member_2} -
-
-
-
- -{include file="CRM/common/showHide.tpl"} - -{literal} - -{/literal} diff --git a/tools/templates/CRM/Auction/Form/SearchItem.tpl b/tools/templates/CRM/Auction/Form/SearchItem.tpl deleted file mode 100644 index ab01ac9fa7..0000000000 --- a/tools/templates/CRM/Auction/Form/SearchItem.tpl +++ /dev/null @@ -1,53 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.6 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM is distributed in the hope that it will be useful, but | - | WITHOUT ANY WARRANTY; without even the implied warranty of | - | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | - | See the GNU Affero General Public License for more details. | - | | - | You should have received a copy of the GNU Affero General Public | - | License and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -
-
{ts}Find Items{/ts} - - - - - - - - - - - - - -
{$form.title.label}{$form.title.html|crmReplace:class:twenty} -
- {ts}Complete OR partial Item name.{/ts} -
-
{$form.buttons.html}   
{$form.start_date.label} {$form.start_date.html}  -  {include file="CRM/common/calendar/desc.tpl" trigger=trigger_search_member_1} - {include file="CRM/common/calendar/body.tpl" dateVar=start_date startDate=startYear endDate=endYear offset=5 trigger=trigger_search_member_1} - {$form.end_date.label} {$form.end_date.html}  -  {include file="CRM/common/calendar/desc.tpl" trigger=trigger_search_member_2} - {include file="CRM/common/calendar/body.tpl" dateVar=end_date startDate=startYear endDate=endYear offset=5 trigger=trigger_search_member_2} -
-
-
diff --git a/tools/templates/CRM/Auction/Page/DashBoard.tpl b/tools/templates/CRM/Auction/Page/DashBoard.tpl deleted file mode 100644 index 2b1213e06c..0000000000 --- a/tools/templates/CRM/Auction/Page/DashBoard.tpl +++ /dev/null @@ -1,26 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.6 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM is distributed in the hope that it will be useful, but | - | WITHOUT ANY WARRANTY; without even the implied warranty of | - | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | - | See the GNU Affero General Public License for more details. | - | | - | You should have received a copy of the GNU Affero General Public | - | License and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -{* Auction DashBoard (launch page) *} diff --git a/tools/templates/CRM/Auction/Page/Item.tpl b/tools/templates/CRM/Auction/Page/Item.tpl deleted file mode 100644 index b1a90590d2..0000000000 --- a/tools/templates/CRM/Auction/Page/Item.tpl +++ /dev/null @@ -1,89 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.6 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM is distributed in the hope that it will be useful, but | - | WITHOUT ANY WARRANTY; without even the implied warranty of | - | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | - | See the GNU Affero General Public License for more details. | - | | - | You should have received a copy of the GNU Affero General Public | - | License and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -{if $manageItemURL} - » {ts}Manage Items{/ts} -
-
-{/if} - -{include file="CRM/Auction/Form/SearchItem.tpl"} - -{if $rows} -
- {strip} - {include file="CRM/common/pager.tpl" location="top"} - {include file="CRM/common/pagerAToZ.tpl} - - - - - - - - - - {foreach from=$rows item=row} - - - - - - - - - {/foreach} -
{ts}Item{/ts}{ts}Max Bid{/ts}{ts}Buy Now Price{/ts}{ts}Retail Value{/ts}{ts}Bidding Ends On{/ts}
{$row.title}{$row.max_bid|crmMoney}{if $row.buy_now_value}{$row.buy_now_value|crmMoney}  » buy now{/if}{$row.retail_value|crmMoney}{$row.bid_end_date|crmDate}
- {include file="CRM/common/pager.tpl" location="bottom"} - {/strip} - -
-{else} - {if $isSearch eq 1} -
-
-
- {capture assign=browseURL}{crmURL p='civicrm/auction/manage' q="reset=1"}{/capture} -
- {ts}No available Auctions match your search criteria. Suggestions:{/ts} -
-
    -
  • {ts}Check your spelling.{/ts}
  • -
  • {ts}Try a different spelling or use fewer letters.{/ts}
  • -
  • {ts}Make sure you have enough privileges in the access control system.{/ts}
  • -
- {ts 1=$browseURL}Or you can browse all available Current Auctions.{/ts} -
-
-
- {else} -
-
-
-
{ts 1=$newAuctionURL}There are no auctions created yet. You can add one.{/ts}
-
-
- {/if} -{/if} diff --git a/tools/templates/CRM/Auction/Page/Manage.tpl b/tools/templates/CRM/Auction/Page/Manage.tpl deleted file mode 100644 index 9a89545013..0000000000 --- a/tools/templates/CRM/Auction/Page/Manage.tpl +++ /dev/null @@ -1,86 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.6 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM is distributed in the hope that it will be useful, but | - | WITHOUT ANY WARRANTY; without even the implied warranty of | - | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | - | See the GNU Affero General Public License for more details. | - | | - | You should have received a copy of the GNU Affero General Public | - | License and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -{capture assign=newAuctionURL}{crmURL p="civicrm/admin/auction/add" q="action=add&reset=1"}{/capture} -» {ts}New Auction{/ts} -

-{include file="CRM/Auction/Form/SearchAuction.tpl"} - -{if $rows} -
- {strip} - {include file="CRM/common/pager.tpl" location="top"} - {include file="CRM/common/pagerAToZ.tpl} - - - - - - - - - - {foreach from=$rows item=row} - - - - - - - - - {/foreach} -
{ts}Auction{/ts}{ts}Public?{/ts}{ts}Starts{/ts}{ts}Ends{/ts}{ts}Active?{/ts}
{$row.title}  ({ts}ID:{/ts} {$row.id}){if $row.is_public eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}{$row.start_date|crmDate}{$row.end_date|crmDate}{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}{$row.action}
- {include file="CRM/common/pager.tpl" location="bottom"} - {/strip} - -
-{else} - {if $isSearch eq 1} -
-
-
- {capture assign=browseURL}{crmURL p='civicrm/auction/manage' q="reset=1"}{/capture} -
- {ts}No available Auctions match your search criteria. Suggestions:{/ts} -
-
    -
  • {ts}Check your spelling.{/ts}
  • -
  • {ts}Try a different spelling or use fewer letters.{/ts}
  • -
  • {ts}Make sure you have enough privileges in the access control system.{/ts}
  • -
- {ts 1=$browseURL}Or you can browse all available Current Auctions.{/ts} -
-
-
- {else} -
-
-
-
{ts 1=$newAuctionURL}There are no auctions created yet. You can add one.{/ts}
-
-
- {/if} -{/if} diff --git a/tools/templates/CRM/Auction/Page/ManageItem.tpl b/tools/templates/CRM/Auction/Page/ManageItem.tpl deleted file mode 100644 index fd3c370714..0000000000 --- a/tools/templates/CRM/Auction/Page/ManageItem.tpl +++ /dev/null @@ -1,97 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.6 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM is distributed in the hope that it will be useful, but | - | WITHOUT ANY WARRANTY; without even the implied warranty of | - | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | - | See the GNU Affero General Public License for more details. | - | | - | You should have received a copy of the GNU Affero General Public | - | License and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -
-
{ts}Add Item{/ts}
-
{ts}Preview Items{/ts}
-
-{include file="CRM/Auction/Form/SearchItem.tpl"} - -{if $rows} -
- {strip} - {include file="CRM/common/pager.tpl" location="top"} - {include file="CRM/common/pagerAToZ.tpl} - - - - - - - - - - - - - - - {foreach from=$rows item=row} - - - - - - - - - - - - - - {/foreach} -
{ts}Donor{/ts}{ts}Item{/ts}{ts}Description{/ts}{ts}Auction Type{/ts}{ts}Quantity{/ts}{ts}Retail Value{/ts}{ts}Buy Now Value{/ts}{ts}Min Bid Value{/ts}{ts}Min Bid Increment{/ts}{ts}Approved?{/ts}
{$row.donorName}{$row.title}  ({ts}ID:{/ts} {$row.id}){$row.description}{$row.auction_type}{$row.quantity}{$row.retail_value}{$row.buy_now_value}{$row.min_bid_value}{$row.min_bid_increment}{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}{$row.action}
- {include file="CRM/common/pager.tpl" location="bottom"} - {/strip} - -
-{else} - {if $isSearch eq 1} -
-
-
- {capture assign=browseURL}{crmURL p='civicrm/auction/manage' q="reset=1"}{/capture} -
- {ts}No available Auctions match your search criteria. Suggestions:{/ts} -
-
    -
  • {ts}Check your spelling.{/ts}
  • -
  • {ts}Try a different spelling or use fewer letters.{/ts}
  • -
  • {ts}Make sure you have enough privileges in the access control system.{/ts}
  • -
- {ts 1=$browseURL}Or you can browse all available Current Auctions.{/ts} -
-
-
- {else} -
-
-
-
{ts 1=$newAuctionURL}There are no auctions created yet. You can add one.{/ts}
-
-
- {/if} -{/if} diff --git a/tools/templates/CRM/Touchstone/Form/Search/AdvancedSearchPane.tpl b/tools/templates/CRM/Touchstone/Form/Search/AdvancedSearchPane.tpl deleted file mode 100644 index 6a4c8f83ea..0000000000 --- a/tools/templates/CRM/Touchstone/Form/Search/AdvancedSearchPane.tpl +++ /dev/null @@ -1,34 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | CiviCRM version 4.6 | - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | - +--------------------------------------------------------------------+ - | This file is a part of CiviCRM. | - | | - | CiviCRM is free software; you can copy, modify, and distribute it | - | under the terms of the GNU Affero General Public License | - | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | - | | - | CiviCRM is distributed in the hope that it will be useful, but | - | WITHOUT ANY WARRANTY; without even the implied warranty of | - | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | - | See the GNU Affero General Public License for more details. | - | | - | You should have received a copy of the GNU Affero General Public | - | License and the CiviCRM Licensing Exception along | - | with this program; if not, contact CiviCRM LLC | - | at info[AT]civicrm[DOT]org. If you have questions about the | - | GNU Affero General Public License or the licensing of CiviCRM, | - | see the CiviCRM license FAQ at http://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -
-
- - - - -
-
-
diff --git a/tools/xml/schema/Auction/Auction.xml b/tools/xml/schema/Auction/Auction.xml deleted file mode 100644 index 10adfdcd49..0000000000 --- a/tools/xml/schema/Auction/Auction.xml +++ /dev/null @@ -1,134 +0,0 @@ - - - - CRM/Auction - Auction - civicrm_auction - 3.0 - - id - int unsigned - true - Auction ID - 3.0 - - - id - true - - - title - auction_title - varchar - true - Auction Title - 255 - true - Auction Title (e.g. Fall Auction Dinner) - 3.0 - - - description - text - auction_description - Auction Description - textarea - 8 - 60 - true - Full description of auction. Text and html allowed. - 3.0 - - - start_date - datetime - auction_start_date - Auction Start Date - Date and time the auction starts. - 3.0 - - - end_date - datetime - auction_end_date - Auction End Date - Date and time the auction ends. May be NULL if no defined end date/time - 3.0 - - - item_start_date - datetime - Item registration Start Date - Date and time that users can add item. - 3.0 - - - item_end_date - datetime - Item registration End Date - Date and time that item registration ends. May be NULL if no defined end date/time - 3.0 - - - is_approval_needed - boolean - Do items need to be approved? - 0 - If true all items needs to be approved before appearing on the auction pages. - 3.0 - - - is_item_groups - boolean - Can items be grouped? - 0 - If true multiple items can be consolidated into one item group. - 3.0 - - - max_items - int unsigned - Max Auction items - NULL - Maximum number of items that can be added to the auction. - 3.0 - - - max_items_user - int unsigned - NULL - Maximum number of items that can be added to the auction per user. - 3.0 - - - event_id - int unsigned - Event this auction is linked to - 3.0 - - - event_id -
civicrm_event
- id - SET NULL - - - donor_profile_id - int unsigned - Profile to be used for donor account creation. - 3.0 - - - donor_profile_id - civicrm_uf_group
- id - SET NULL -
- - is_active - boolean - 0 - Is this Auction enabled or disabled/cancelled? - 3.0 - - diff --git a/tools/xml/schema/Auction/Bid.xml b/tools/xml/schema/Auction/Bid.xml deleted file mode 100644 index d1aaa7567d..0000000000 --- a/tools/xml/schema/Auction/Bid.xml +++ /dev/null @@ -1,100 +0,0 @@ - - - - CRM/Auction - Bid - civicrm_auction_bid - auction item bids. - 3.0 - - id - int unsigned - true - primary key - 3.0 - - - id - true - - - contact_id - int unsigned - true - FK to civicrm_contact, who bid on this item - 3.0 - - - contact_id -
civicrm_contact
- id - 3.0 - CASCADE - - - auction_item_id - int unsigned - true - FK to civicrm_auction_item - 3.0 - - - auction_item_id - civicrm_auction_item
- id - 3.0 - CASCADE -
- - bid_value - Price - decimal - Amount bid per item. - 3.0 - - - quantity - int unsigned - Number of items bid on. - 3.0 - - - bid_date - datetime - Date and time the bid was made. - 3.0 - - - is_active - boolean - 0 - Is this bid active or disabled/cancelled? - 3.0 - - - is_winner - boolean - 0 - Is this bid the winning bid - 3.0 - - - quantity_won - int unsigned - Number of items this bid won. - 3.0 - - - contribution_id - int unsigned - FK to contribution table. - 3.0 - - - contribution_id - civicrm_contribution
- id - 3.0 - SET NULL -
- diff --git a/tools/xml/schema/Auction/Item.xml b/tools/xml/schema/Auction/Item.xml deleted file mode 100644 index fb2ecba729..0000000000 --- a/tools/xml/schema/Auction/Item.xml +++ /dev/null @@ -1,258 +0,0 @@ - - - - CRM/Auction - Item - stores item information for an auction - civicrm_auction_item - 3.0 - - id - int unsigned - true - 3.0 - - - id - true - - - auction_id - int unsigned - true - FK to civicrm_auction for this item - 3.0 - - - auction_id -
civicrm_auction
- id - 3.0 - CASCADE - - - donor_id - int unsigned - true - FK to civicrm_contact, who donated this item - 3.0 - - - donor_id - civicrm_contact
- id - 3.0 - CASCADE -
- - auction_item_type_id - int unsigned - Auction Item Type ID - 0 - Auction Type ID.Implicit FK to civicrm_option_value where option_group = auction_item_type. - 3.0 - - - index_auction_item_type_id - auction_item_type_id - 3.0 - - - auction_item_category_id - int unsigned - Auction Item Category ID - 0 - Auction Category ID.Implicit FK to civicrm_option_value where option_group = auction_item_. - 3.0 - - - index_auction_item_category_id - auction_item_category_id - 3.0 - - - title - Item Name - varchar - 255 - true - true - true - Required item title - 3.0 - - - description - Description - text - true - Optional description of the product/premium. - 3.0 - - - note - Special Note - text - true - Optional specific instructions / restrictions regarding this item. - 3.0 - - - lot_number - Lot Number - varchar - 50 - true - lot numbers associated with this item. could be a range. automatically computed. - 3.0 - - - url - varchar - 128 - true - optional URL of website to associate with item. - 1.1 - - - sku - SKU - varchar - 50 - true - Optional product sku or code. - 3.0 - - - options - Options - text - true - Store comma-delimited list of color, size, etc. options for the product. - 3.0 - - - image - Image - varchar - 255 - Full or relative URL to uploaded image - fullsize. - 3.0 - - - quantity - Quantity - int unsigned - Number of Units available. - 3.0 - - - retail_value - Price - decimal - Retail value of item. - 3.0 - - - min_bid_value - Minimum Bid - decimal - Minimum bid allowed for this item. - 3.0 - - - min_bid_increment - Minimum Bid Increment - decimal - Minimum bid increment allowed for this item. - 3.0 - - - buy_now_value - Buy Now Value - decimal - The amount that the item can be bought for immediately - 3.0 - - - bid_start_date - datetime - Bid Start Date - Date and time bidding starts. - 3.0 - - - bid_end_date - datetime - Bid End Date - Date and time bidding ends. - 3.0 - - - is_active - boolean - 0 - true - Is this item active/approved and available - 3.0 - - - is_group - boolean - 0 - Does this item group other items? - 3.0 - - - parent_id - int unsigned - FK to civicrm_auction_item, if this item is part of an item group - 3.0 - - - parent_id - civicrm_auction_item
- id - 3.0 - SET NULL -
- - creator_id - int unsigned - FK to civicrm_contact, who created this item - 3.0 - - - creator_id - civicrm_contact
- id - 3.0 - SET NULL -
- - created_date - datetime - Date and time when item was created. - 3.0 - - - approver_id - int unsigned - FK to civicrm_contact, who approvedthis item - 3.0 - - - approver_id - civicrm_contact
- id - 3.0 - SET NULL -
- - approval_date - datetime - approval_date - Date and time the item was approved. - 3.0 - - diff --git a/tools/xml/schema/Auction/files.xml b/tools/xml/schema/Auction/files.xml deleted file mode 100644 index a1dfbaff6f..0000000000 --- a/tools/xml/schema/Auction/files.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - -- 2.25.1