This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
designers:changes_to_note [2013/01/15 18:34] jonyo [system/order_items/shared/listing_collect_details.tpl 7.1] |
designers:changes_to_note [2014/09/25 16:55] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Changes to Note ====== | ====== Changes to Note ====== | ||
- | This page documents every system and module template change, to make it easier for those that have customized system and module templates. We rarely make changes to main_page templates, but when we do, we will note those here as well as in the full update instructions for that version update. | + | **Starting with 7.0.0**, all template changes are documented in the [[http://home.jonathanfoote.com/ |
- | + | ||
- | With regard to system or module | + | |
+ | This page documents every system or module template change (and rarely main_page templates), made in versions from **4.0.4 to 7.0.0**. | ||
===== To 4.0.4 ===== | ===== To 4.0.4 ===== | ||
There are a few slight changes to how some of the existing "core events" | There are a few slight changes to how some of the existing "core events" | ||
Line 2173: | Line 2172: | ||
**Find:** | **Find:** | ||
- | <code html>< | + | <code html>< |
**Replace With:** | **Replace With:** | ||
Line 4208: | Line 4207: | ||
</ | </ | ||
+ | ===== Newer Versions ===== | ||
- | ===== To 7.0.0 ===== | + | As mentioned at the top of this page: |
- | Added pagination to display of large numbers of category-specific price plans | + | We no longer maintain this page. **Instead**, each new version has a changelog |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | <h2 class=" | + | |
- | <p class=" | + | |
- | + | ||
- | {foreach from=$categories item=c} | + | |
- | <h1 class=" | + | |
- | {foreach from=$c.rows item=r} | + | |
- | <div class=" | + | |
- | < | + | |
- | {$r.value} | + | |
- | </ | + | |
- | {/ | + | |
- | {/ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | {if $pagination}< | + | |
- | <h2 class=" | + | |
- | <p class=" | + | |
- | + | ||
- | {foreach from=$categories item=c} | + | |
- | <h1 class=" | + | |
- | {foreach from=$c.rows item=r} | + | |
- | <div class=" | + | |
- | < | + | |
- | {$r.value} | + | |
- | </ | + | |
- | {/ | + | |
- | {/ | + | |
- | {if $pagination}{$pagination}{/ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Updated to reflect | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <option {if $o.sel}selected=" | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | <option {if $o.sel}selected=" | + | |
- | </ | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Updated to reflect new region structures | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $cfg.cols.state&& | + | |
- | <span class=" | + | |
- | < | + | |
- | {$l.state} | + | |
- | {if $headers.state.text}< | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $cfg.cols.zip&& | + | |
- | <span class=" | + | |
- | < | + | |
- | {$l.zip} | + | |
- | {if $headers.state.text}< | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if $cfg.cols.country&& | + | |
- | <span class=" | + | |
- | < | + | |
- | {$l.country} | + | |
- | <br /> | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {for $level=1 to $cfg.maxLocationDepth} | + | |
- | {$col = " | + | |
- | {if $cfg.cols.$col} | + | |
- | <span class=" | + | |
- | < | + | |
- | {$l.$col} | + | |
- | <br /> | + | |
- | {/if} | + | |
- | {/for} | + | |
- | + | ||
- | {if $cfg.cols.zip&& | + | |
- | <span class=" | + | |
- | < | + | |
- | {$l.zip} | + | |
- | {if $headers.zip.text}< | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | + | ||
- | + | ||
- | {if $cfg.cols.location_breadcrumb&& | + | |
- | <span class=" | + | |
- | < | + | |
- | {$l.location_breadcrumb} | + | |
- | <br /> | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Updated to reflect new region structures | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $cfg.cols.state} | + | |
- | <td class=" | + | |
- | {if $cfg.sort_links}< | + | |
- | {$headers.state.text} | + | |
- | {if $cfg.sort_links}</ | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if $cfg.cols.zip} | + | |
- | <td class=" | + | |
- | {if $cfg.sort_links}< | + | |
- | {$headers.zip.text} | + | |
- | {if $cfg.sort_links}</ | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if $cfg.cols.country} | + | |
- | <td class=" | + | |
- | {if $cfg.sort_links}< | + | |
- | {$headers.country.text} | + | |
- | {if $cfg.sort_links}</ | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | </ | + | |
- | + | ||
- | **Replace | + | |
- | <code html> | + | |
- | {if $cfg.cols.zip} | + | |
- | <td class="browse_table_column_header_zip{if $cfg.sort_links && $headers.zip.reorder != 41} sorted_by{/ | + | |
- | {if $cfg.sort_links}< | + | |
- | {$headers.zip.text} | + | |
- | {if $cfg.sort_links}</ | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | + | ||
- | {for $level=1 to $cfg.maxLocationDepth} | + | |
- | {$col = " | + | |
- | {if $cfg.cols.$col} | + | |
- | <td class=" | + | |
- | {$headers.{$col}.text} | + | |
- | </ | + | |
- | {/if} | + | |
- | {/for} | + | |
- | + | ||
- | {if $cfg.cols.location_breadcrumb} | + | |
- | <td class=" | + | |
- | {$headers.location_breadcrumb.text} | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $cfg.cols.state} | + | |
- | <td class=" | + | |
- | {if $l.state}{$l.state}{else}{$cfg.empty}{/ | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if $cfg.cols.zip} | + | |
- | <td class=" | + | |
- | {if $l.zip}{$l.zip}{else}{$cfg.empty}{/ | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if $cfg.cols.country} | + | |
- | <td class=" | + | |
- | {if $l.country}{$l.country}{else}{$cfg.empty}{/ | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html> | + | |
- | {if $cfg.cols.zip} | + | |
- | <td class=" | + | |
- | {if $l.zip}{$l.zip}{else}{$cfg.empty}{/ | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {for $level=1 to $cfg.maxLocationDepth} | + | |
- | {$col = " | + | |
- | {if $cfg.cols.$col} | + | |
- | <td class=" | + | |
- | {if $l.$col}{$l.$col}{else}{$cfg.empty}{/ | + | |
- | </ | + | |
- | {/if} | + | |
- | {/for} | + | |
- | + | ||
- | + | ||
- | {if $cfg.cols.location_breadcrumb} | + | |
- | <td class=" | + | |
- | {if $l.location_breadcrumb}{$l.location_breadcrumb}{else}{$cfg.empty}{/ | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Updated to reflect new region structures | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | <label class=" | + | |
- | {$states} | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | <label class=" | + | |
- | {$states} | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Updated to reflect new region structures | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $fields-> | + | |
- | <div class=" | + | |
- | <label for=" | + | |
- | {if $error_msgs.city} | + | |
- | <span class=" | + | |
- | {/if} | + | |
- | + | ||
- | {if $editCheck || $fields-> | + | |
- | < | + | |
- | maxlength=" | + | |
- | value=" | + | |
- | {else} | + | |
- | {$session_variables.city} | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | + | ||
- | {capture name=" | + | |
- | {if $fields-> | + | |
- | <div class=" | + | |
- | < | + | |
- | {if $error_msgs.country} | + | |
- | < | + | |
- | {/if} | + | |
- | {$country_html} | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | + | ||
- | {if $country_field_isFancy} | + | |
- | {$country_field} | + | |
- | {/if} | + | |
- | + | ||
- | {if $fields-> | + | |
- | <div class=" | + | |
- | <label for=" | + | |
- | {if $error_msgs.state} | + | |
- | <span class=" | + | |
- | {/if} | + | |
- | {$state_html} | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $region_selector && ($editCheck || $fields-> | + | |
- | <div class=" | + | |
- | {if $error_msgs.location} | + | |
- | <span class=" | + | |
- | {/if} | + | |
- | {$region_selector} | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if $fields-> | + | |
- | <div class=" | + | |
- | <label for=" | + | |
- | {if $error_msgs.city} | + | |
- | <span class=" | + | |
- | {/if} | + | |
- | + | ||
- | {if $editCheck || $fields-> | + | |
- | < | + | |
- | maxlength=" | + | |
- | value=" | + | |
- | {else} | + | |
- | {$session_variables.city} | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | Changes to structure of mapping fields | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $fields-> | + | |
- | $fields-> | + | |
- | $fields-> | + | |
- | <br /> | + | |
- | <div class=" | + | |
- | <h2 class=" | + | |
- | <p class=" | + | |
- | + | ||
- | {if $fields-> | + | |
- | <div class=" | + | |
- | < | + | |
- | < | + | |
- | {if $error_msgs.mapping_address} | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $fields-> | + | |
- | <div class=" | + | |
- | < | + | |
- | < | + | |
- | {if $error_msgs.mapping_city} | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | {capture name=" | + | |
- | {if $fields-> | + | |
- | <div class=" | + | |
- | < | + | |
- | {$mapping_country_dropdown} | + | |
- | {if $error_msgs.mapping_country} | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | {if $country_field_isFancy} | + | |
- | {$mapping_country_field} | + | |
- | {/if} | + | |
- | + | ||
- | {if $fields-> | + | |
- | <div class=" | + | |
- | < | + | |
- | {$mapping_state_dropdown} | + | |
- | {if $error_msgs.mapping_state} | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $fields-> | + | |
- | <div class=" | + | |
- | < | + | |
- | < | + | |
- | {if $error_msgs.mapping_zip} | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | {if !$country_field_isFancy} | + | |
- | {$mapping_country_field} | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $fields-> | + | |
- | <br /> | + | |
- | <div class=" | + | |
- | <h2 class=" | + | |
- | <p class=" | + | |
- | + | ||
- | <div class=" | + | |
- | < | + | |
- | < | + | |
- | {if $error_msgs.mapping_location} | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Updated to reflect new region structures | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $use_zip_distance_calculator || $queryFields.state || $queryFields.city || $queryFields.country || $show_optionals || $addonCriteria} | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $region_selector || $use_zip_distance_calculator || $queryFields.state || $queryFields.city || $queryFields.country || $show_optionals || $addonCriteria} | + | |
- | </ | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $queryFields.state || $queryFields.city || $queryFields.country} | + | |
- | <h1 class=" | + | |
- | {/if} | + | |
- | {if $queryFields.state} | + | |
- | <div class=" | + | |
- | <label class=" | + | |
- | < | + | |
- | {foreach from=$states item=s} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {$tooltip.4} | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $queryFields.city} | + | |
- | <div class=" | + | |
- | <label for=" | + | |
- | <input type=" | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $queryFields.country} | + | |
- | <div class=" | + | |
- | <label class=" | + | |
- | < | + | |
- | {foreach from=$countries item=c} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {$tooltip.5} | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $region_selector || $queryFields.city} | + | |
- | <h1 class=" | + | |
- | {/if} | + | |
- | {if $region_selector} | + | |
- | <div class=" | + | |
- | {$region_selector} | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $queryFields.city} | + | |
- | <div class=" | + | |
- | <label for=" | + | |
- | <input type=" | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Updated to reflect new region structures | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $rc-> | + | |
- | <div class=" | + | |
- | <label class=" | + | |
- | <input type=" | + | |
- | {if $showCheckboxes}< | + | |
- | {if $error.city}< | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $rc-> | + | |
- | <div class=" | + | |
- | <label class=" | + | |
- | {$region} | + | |
- | {if $showCheckboxes}< | + | |
- | {if $error.country}< | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $rc-> | + | |
- | <div class=" | + | |
- | <label class=" | + | |
- | {$subRegion} | + | |
- | {if $showCheckboxes}< | + | |
- | {if $error.state}< | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $regionSelector} | + | |
- | <div class=" | + | |
- | {$regionSelector} | + | |
- | {if $showCheckboxes}< | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if $rc-> | + | |
- | <div class=" | + | |
- | <label class=" | + | |
- | <input type=" | + | |
- | {if $showCheckboxes}< | + | |
- | {if $error.city}< | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | **Remove: | + | |
- | + | ||
- | <code html> | + | |
- | {if $rc-> | + | |
- | <div class=" | + | |
- | <label class=" | + | |
- | {$region} | + | |
- | {if $showCheckboxes}< | + | |
- | {if $error.country}< | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | ===== To 7.0.1 ===== | + | |
- | + | ||
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Fix to add missing close span tag. **Find: | + | |
- | < | + | |
- | < | + | |
- | {$l.$col} | + | |
- | < | + | |
- | {/ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | < | + | |
- | < | + | |
- | {$l.$col} | + | |
- | < | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | ===== To 7.0.2 ===== | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to add < | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <tr class=" | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | < | + | |
- | <tr class=" | + | |
- | + | ||
- | Further down, **find**: | + | |
- | <code html> | + | |
- | {/if} | + | |
- | + | ||
- | {* ---------END HEADER ROW--------- *} | + | |
- | + | ||
- | {foreach from=$listings item=l key=id name=set}</ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {* ---------END HEADER ROW--------- *} | + | |
- | < | + | |
- | {foreach from=$listings item=l key=id name=set}</ | + | |
- | + | ||
- | Then further down still, **find:** | + | |
- | <code html> | + | |
- | + | ||
- | + | ||
- | </ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | Added new CSS to the end of the file: | + | |
- | <code css> | + | |
- | /* ******* Region Selectors ******** */ | + | |
- | + | ||
- | .region_selector { | + | |
- | display: inline-block; | + | |
- | } | + | |
- | + | ||
- | .region_label { | + | |
- | width: auto; | + | |
- | } | + | |
- | + | ||
- | .region_scalar_name { | + | |
- | height: 38px; | + | |
- | margin-top: | + | |
- | font-weight: | + | |
- | display: inline-block; | + | |
- | } | + | |
- | + | ||
- | .onlyRegionOnLevel, | + | |
- | .region_scalar_label, | + | |
- | .region_scalar_name, | + | |
- | select.field.onlyRegionOnLevel, | + | |
- | #breadcrumb li.onlyRegionOnLevel | + | |
- | { | + | |
- | display: none; | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Corrected links going to the wrong place, and changed their variable names to match. | + | |
- | + | ||
- | Change both instances of **{$current_category_url}** to **{$parent_category_url}** | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Added a label, and moved various styles to CSS classes. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | </ | + | |
- | **Replace With:** | + | |
- | <code html> | + | |
- | <label class=" | + | |
- | <div class=" | + | |
- | </ | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | {if $fake.use_label}< | + | |
- | </ | + | |
- | **Replace With:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | {if $fake.use_label}< | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Add styling for single-region levels, and move some styles to CSS classes | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | {if $level.use_label}< | + | |
- | + | ||
- | {if $isScalarLevel} | + | |
- | {* This is the only region on this level -- Print the region' | + | |
- | <span class=" | + | |
- | </ | + | |
- | **Replace With:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | {if $level.use_label}< | + | |
- | + | ||
- | {if $isScalarLevel} | + | |
- | {* This is the only region on this level -- Print the region' | + | |
- | <span class=" | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Fixed a bug relating to saving a blank value in the input field. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | if (data.email) { | + | |
- | element.update(data.email); | + | |
- | } | + | |
- | </ | + | |
- | **Replace With:** | + | |
- | <code html> | + | |
- | if (data.email && data.email.length > 0) { | + | |
- | element.update(data.email); | + | |
- | } else { | + | |
- | element.update('' | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | ===== To 7.0.3 ===== | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Fixed the security image not appearing on the JIT page in some cases | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {elseif !$allow_user_pass} | + | |
- | <p style=" | + | |
- | <p style=" | + | |
- | </ | + | |
- | **Replace With:** | + | |
- | <code html> | + | |
- | {elseif !$allow_user_pass} | + | |
- | <p style=" | + | |
- | <form action=" | + | |
- | {if $errorMsg}< | + | |
- | {$securityImageHTML} | + | |
- | <p style=" | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ==== [Storefront Addon] main_page/ | + | |
- | + | ||
- | Removed the JavaScript alert from form submissions (it was causing errors in Internet Explorer) and replaced it with text that appears directly on the page. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $storefront_welcome_note} | + | |
- | <div class=" | + | |
- | {$storefront_welcome_note} | + | |
- | <div class=" | + | |
- | </ | + | |
- | <br /> | + | |
- | {/if} | + | |
- | </ | + | |
- | **Replace With:** | + | |
- | <code html> | + | |
- | {if $updateResult} | + | |
- | <div class=" | + | |
- | {$updateResult} | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if $storefront_welcome_note} | + | |
- | <div class=" | + | |
- | {$storefront_welcome_note} | + | |
- | <div class=" | + | |
- | </ | + | |
- | <br /> | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Added an EULA form. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | <a href=" | + | |
- | </ | + | |
- | </ | + | |
- | **Replace With:** | + | |
- | <code html> | + | |
- | <form action=" | + | |
- | {if $use_eula} | + | |
- | {* user agreement field *} | + | |
- | + | ||
- | <div class=" | + | |
- | {if $error}< | + | |
- | <p style=" | + | |
- | + | ||
- | {if $eula_type == " | + | |
- | < | + | |
- | {elseif $eula_type == " | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | <div class=" | + | |
- | <input type=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Change to not show HTML in category names in the page title. Replace all **{$category_name}** or **{$category_title}** with **{$category_name|strip_tags: | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes for bug 625 to make it show search by zip when zipsearch addon not installed. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | Then further down, **find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | Then also **find:** | + | |
- | <code html> | + | |
- | + | ||
- | **replace with:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | + | ||
- | {if $show_optionals || $addonCriteria}</ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes for bug 627, **find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html>< | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes for bug 627, **find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html>< | + | |
- | ===== To 7.1.0 ===== | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | First, **template re-named** to **system/ | + | |
- | + | ||
- | Changes to add " | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | < | + | |
- | {$l.title} | + | |
- | </ | + | |
- | {if $l.icons.verified}< | + | |
- | {if $l.icons.buy_now}< | + | |
- | {if $l.icons.reserve_met}< | + | |
- | {if $l.icons.no_reserve}< | + | |
- | + | ||
- | {if $l.icons.attention_getter}< | + | |
- | + | ||
- | **Replace with: ** | + | |
- | <code html> | + | |
- | + | ||
- | < | + | |
- | {$l.title} | + | |
- | </ | + | |
- | {if $l.icons.verified && $cfg.icons.verified}< | + | |
- | {if $l.icons.buy_now && $cfg.icons.buy_now}< | + | |
- | {if $l.icons.reserve_met && $cfg.icons.reserve_met}< | + | |
- | {if $l.icons.reserve_not_met && $cfg.icons.reserve_not_met}< | + | |
- | {if $l.icons.no_reserve && $cfg.icons.no_reserve}< | + | |
- | + | ||
- | {if $l.icons.attention_getter && $l.attention_getter_url}< | + | |
- | + | ||
- | Changes to the variable name, to use $listing instead of generic $l, since the browsing sub-template is now part of main_page templates (part of bug 441) need to make the variable name be more obvious. | + | |
- | + | ||
- | **Find ALL places that have:** < | + | |
- | **Replace ALL places with:** < | + | |
- | + | ||
- | More changes for bug 441, this time to make it load up main page sub-template. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $main_page_grid_sub_template} | + | |
- | {include file=$main_page_grid_sub_template g_type=' | + | |
- | {else}</ | + | |
- | + | ||
- | Then further down, **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | </ | + | |
- | + | ||
- | Further, **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | <tr class=" | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $main_page_grid_sub_template} | + | |
- | {include file=$main_page_grid_sub_template g_type=' | + | |
- | {else} | + | |
- | <tr class=" | + | |
- | + | ||
- | Still further, **find:** | + | |
- | <code html> | + | |
- | {/ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {/if} | + | |
- | {/ | + | |
- | + | ||
- | Changes for bug 661. | + | |
- | **Find:** | + | |
- | <code html> | + | |
- | <td class=" | + | |
- | {if $cfg.sort_links}< | + | |
- | {$headers.title.text} | + | |
- | {if $cfg.sort_links}</ | + | |
- | {if $cfg.description_under_title}< | + | |
- | </ | + | |
- | {/ | + | |
- | **Change to:** | + | |
- | <code html> | + | |
- | <td class=" | + | |
- | {if $cfg.sort_links}< | + | |
- | {$headers.title.text} | + | |
- | {if $cfg.sort_links}</ | + | |
- | {if $cfg.description_under_title}< | + | |
- | </ | + | |
- | {elseif $cfg.cols.icons} | + | |
- | <td class=" | + | |
- | {/ | + | |
- | + | ||
- | Then further, **Find:** | + | |
- | <code html> | + | |
- | </ | + | |
- | {/ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | </ | + | |
- | {elseif $cfg.cols.icons} | + | |
- | < | + | |
- | {if $listing.icons.sold && $cfg.icons.sold}< | + | |
- | {if $listing.icons.verified && $cfg.icons.verified}< | + | |
- | {if $listing.icons.buy_now && $cfg.icons.buy_now}< | + | |
- | {if $listing.icons.reserve_met && $cfg.icons.reserve_met}< | + | |
- | {if $listing.icons.reserve_not_met && $cfg.icons.reserve_not_met}< | + | |
- | {if $listing.icons.no_reserve && $cfg.icons.no_reserve}< | + | |
- | + | ||
- | {if $listing.icons.attention_getter}< | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | Changes for bug 577, **find:** | + | |
- | < | + | |
- | **Replace with:** | + | |
- | < | + | |
- | ==== system/ | + | |
- | + | ||
- | Change to add " | + | |
- | + | ||
- | **Find: (at the top)** | + | |
- | <code html> | + | |
- | + | ||
- | <br /></ | + | |
- | + | ||
- | Directly **AFTER** that, **ADD**: | + | |
- | <code html> | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | Changes for gallery view, and to make it include sub-template rather | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | listings=$featured_classifieds.listings | + | |
- | no_listings=$featured_classifieds.no_listings | + | |
- | addonHeaders=$featured_classifieds.addonHeaders | + | |
- | cfg=$featured_classifieds.cfg | + | |
- | headers=$featured_classifieds.headers}</ | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | listings=$classified_browse_result.listings | + | |
- | no_listings=$classified_browse_result.no_listings | + | |
- | addonHeaders=$classified_browse_result.addonHeaders | + | |
- | cfg=$classified_browse_result.cfg | + | |
- | headers=$classified_browse_result.headers}</ | + | |
- | + | ||
- | **find:** | + | |
- | <code html> | + | |
- | **replace with:** | + | |
- | <code html> | + | |
- | listings=$featured_auctions.listings | + | |
- | no_listings=$featured_auctions.no_listings | + | |
- | addonHeaders=$featured_auctions.addonHeaders | + | |
- | cfg=$featured_auctions.cfg | + | |
- | headers=$featured_auctions.headers}</ | + | |
- | + | ||
- | **find:** | + | |
- | <code html> | + | |
- | **replace with:** | + | |
- | <code html> | + | |
- | listings=$auction_browse_result.listings | + | |
- | no_listings=$auction_browse_result.no_listings | + | |
- | addonHeaders=$auction_browse_result.addonHeaders | + | |
- | cfg=$auction_browse_result.cfg | + | |
- | headers=$auction_browse_result.headers}</ | + | |
- | + | ||
- | Fix to not close divs when tabs are turned off using beta setting. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | Then similar change further down, **find**: | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | Changes for Bug 684, **Find:** | + | |
- | <code html>< | + | |
- | **Replace with: | + | |
- | {addon tag_type=' | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to bring the "all/ | + | |
- | + | ||
- | Due to the huge amount of changes, rather than attempting to give " | + | |
- | + | ||
- | **Not changed - TOP:** | + | |
- | <code html> | + | |
- | + | ||
- | **Not changed - BOTTOM:** | + | |
- | <code html> | + | |
- | {/if} | + | |
- | + | ||
- | {if $pagination} | + | |
- | {$messages.757} {$pagination} | + | |
- | {/ | + | |
- | + | ||
- | Everything between the TOP listed above and BOTTOM listed above, has changed. | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to bring the " | + | |
- | + | ||
- | Due to the huge amount of changes, rather than attempting to give " | + | |
- | + | ||
- | **Not changed - TOP:** | + | |
- | <code html> | + | |
- | + | ||
- | **Not changed - BOTTOM:** | + | |
- | <code html> | + | |
- | {/if} | + | |
- | + | ||
- | {if $pagination} | + | |
- | {$messages.757} {$pagination} | + | |
- | {/ | + | |
- | + | ||
- | Everything between the TOP listed above and BOTTOM listed above, has changed. | + | |
- | ==== system/ | + | |
- | + | ||
- | Changes to bring gallery view and sorting to browsing tags. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html>< | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | <div class=" | + | |
- | + | ||
- | Then, **find** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | ==== module/ | + | |
- | + | ||
- | Changes to use a shared gallery view template. | + | |
- | <code html>{if $module.module_display_header_row} | + | |
- | <div class=" | + | |
- | <h1 class=" | + | |
- | </ | + | |
- | {/if} | + | |
- | <div class=" | + | |
- | {include file=' | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes for bug 512 | + | |
- | + | ||
- | **Find:** | + | |
- | <code html>< | + | |
- | **Replace with:** | + | |
- | <code html>< | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Changes for bug 441 (rename listing_set.tpl to grid_view.tpl) | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Changes for bug 441 to make it easy for someone to use a different browsing mode for pic modules. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | NOTE: Affiliate browsing is being deprecated, replaced by storefront module. | + | |
- | + | ||
- | Changes for bug 441, renaming listing_set.tpl to grid_view.tpl. | + | |
- | + | ||
- | **Find:** | + | |
- | < | + | |
- | + | ||
- | **Replace with:** | + | |
- | < | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes for bug 441, renaming listing_set.tpl to grid_view.tpl. | + | |
- | + | ||
- | **Find (There will be 2 places with this exact line):** | + | |
- | < | + | |
- | + | ||
- | **Replace BOTH places with:** | + | |
- | < | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes for bug 441, to add different browsing views. | + | |
- | + | ||
- | **Find:** | + | |
- | < | + | |
- | + | ||
- | **Replace with:** | + | |
- | < | + | |
- | + | ||
- | <div class=" | + | |
- | + | ||
- | <div class=" | + | |
- | + | ||
- | Then a little further, **find:** | + | |
- | < | + | |
- | + | ||
- | Replace with: | + | |
- | < | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes for bug 441, renaming listing_set.tpl to grid_view.tpl. | + | |
- | + | ||
- | **Find:** | + | |
- | < | + | |
- | + | ||
- | **Replace with:** | + | |
- | < | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | All 3 files in this folder are very heavily modified for bug 577, both to make them work with jQuery, and to make sure they work when they appear multiple times on the page for different listings (so that they can work on browsing pages if desired). | + | |
- | + | ||
- | The changes are so much, it is almost a complete re-write, the find/ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Moved to folder **system/ | + | |
- | + | ||
- | Also, **find:** | + | |
- | <code html>< | + | |
- | {foreach from=$images item=image}</ | + | |
- | **replace with:** | + | |
- | <code html>< | + | |
- | {foreach $images as $image}</ | + | |
- | + | ||
- | Then, **find** | + | |
- | <code html> | + | |
- | < | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | < | + | |
- | + | ||
- | ==== system/ | + | |
- | Moved to folder **system/ | + | |
- | + | ||
- | Also, **find:** | + | |
- | <code html>< | + | |
- | **Replace with:** | + | |
- | <code html>< | + | |
- | + | ||
- | Then **Remove entire section: | + | |
- | <code html> | + | |
- | <script type=" | + | |
- | //< | + | |
- | //do some fancy scrolling | + | |
- | Event.observe(window,' | + | |
- | var linkBox = $(' | + | |
- | if (linkBox && typeof geoUtil.clickImageBlockLargeLink == ' | + | |
- | linkBox.observe(' | + | |
- | } | + | |
- | }); | + | |
- | + | ||
- | //]]> | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Updated to use new date format setting. | + | |
- | + | ||
- | **Find**: | + | |
- | <code html> | + | |
- | {$invoice.invoice_date|date_format} | + | |
- | </ | + | |
- | and | + | |
- | <code html> | + | |
- | {$invoice.invoice_due_date|date_format} | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {$invoice.invoice_date|format_date: | + | |
- | </ | + | |
- | and | + | |
- | <code html> | + | |
- | {$invoice.invoice_due_date|format_date: | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to reduce duplicate code, moved some common template code into a sub-template. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {foreach from=$moreDetails item=' | + | |
- | {if $details.section_head} | + | |
- | {* Allow adding a section head above the next contents *} | + | |
- | {* Close the <div class=" | + | |
- | < | + | |
- | {* TODO: Add way to add main title vs. sub-title! *} | + | |
- | < | + | |
- | {* </ | + | |
- | {/if} | + | |
- | {if $details.section_desc} | + | |
- | {* Allow adding a section description as well *} | + | |
- | <p class=" | + | |
- | {/if} | + | |
- | {if $details.full} | + | |
- | {$details.full} | + | |
- | {elseif $details.pre || $details.label || $details.value || $details.error} | + | |
- | < | + | |
- | < | + | |
- | {$details.value} | + | |
- | {if $details.error} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | {/ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {include file=' | + | |
- | {/if}</ | + | |
- | + | ||
- | Then further down, **Find:** | + | |
- | <code html> | + | |
- | {* Allow addons to insert stuff at the very end. *} | + | |
- | < | + | |
- | <div class=" | + | |
- | {foreach from=$moreDetailsEnd item=' | + | |
- | {if $details.section_head} | + | |
- | {* Allow adding a section head above the next contents *} | + | |
- | {if !$smarty.foreach.moreDetailsEndLoop.first}</ | + | |
- | + | ||
- | <h1 class=" | + | |
- | {/if} | + | |
- | {if $details.section_desc} | + | |
- | {* Allow adding a section description as well *} | + | |
- | <p class=" | + | |
- | {/if} | + | |
- | {if $details.full} | + | |
- | {$details.full} | + | |
- | {elseif $details.pre || $details.label || $details.value || $details.error} | + | |
- | < | + | |
- | < | + | |
- | {$details.value} | + | |
- | {if $details.error} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {* Allow addons to insert stuff at the very end. *} | + | |
- | <br /> | + | |
- | <div class=" | + | |
- | {include file=' | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | Part of bug 405, add ability to show stuff under location section. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {$session_variables.zip_code} | + | |
- | {/if} | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {$session_variables.zip_code} | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if $moreDetailsLocation} | + | |
- | {include file=' | + | |
- | {/ | + | |
- | + | ||
- | + | ||
- | For bug 688, **find:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | < | + | |
- | {include file=" | + | |
- | </ | + | |
- | {/ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $currency_count> | + | |
- | <div class=" | + | |
- | < | + | |
- | {/if} | + | |
- | {include file=" | + | |
- | {if $currency_count> | + | |
- | {/ | + | |
- | ==== system/ | + | |
- | Changes for bug 145, to use jQuery instead of prototype; and changes for bug 405, to allow additional regions to work. Changes are too extensive to give find/replace. | + | |
- | ==== system/ | ||
- | Changes for bug 145, to use jQuery instead of prototype; and changes for bug 405, to allow additional regions to work. Changes are too extensive to give find/ |