This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
developers:changes_to_note:templates:start [2012/09/25 20:36] jonyo [main_page/listing_classified.tpl and listing_auction.tpl 5.2.0] |
developers:changes_to_note:templates:start [2014/09/25 16:55] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== System & Module Template Changes ====== | + | ====== System & Module Template Changes |
- | With regard to system or module template files, we [Geodesic Developers] try to avoid making huge changes since we know a lot of you have customized system and module templates. | + | **Page has MOVED!** |
- | + | ||
- | ===== To 4.0.4 ===== | + | |
- | There are a few slight changes to how some of the existing "core events" | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | You will need to make the following changes to bring your template to be compatible with 4.0.4. | + | |
- | + | ||
- | **Find**:< | + | |
- | + | ||
- | **Replace with**: | + | |
- | <code html> | + | |
- | {foreach from=$show_classifieds.addonData item=addonRows} | + | |
- | {foreach from=$addonRows item=addonText} | + | |
- | <td style=" | + | |
- | {$addonText} | + | |
- | </ | + | |
- | {/ | + | |
- | {/ | + | |
- | {/ | + | |
- | + | ||
- | + | ||
- | + | ||
- | Then in the same file: | + | |
- | + | ||
- | **Find**:< | + | |
- | {$addons_header} | + | |
- | {/ | + | |
- | + | ||
- | **Replace with**: | + | |
- | <code html>{if $addonHeadings} | + | |
- | {foreach from=$addonHeadings item=aHeadings} | + | |
- | {foreach from=$aHeadings item=addonHeading} | + | |
- | <td class=" | + | |
- | style=" | + | |
- | {$addonHeading.text} | + | |
- | </ | + | |
- | {/ | + | |
- | {/ | + | |
- | {/ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | You will need to make the following changes to bring your template to be compatible with 4.0.4. | + | |
- | + | ||
- | **Find**:< | + | |
- | + | ||
- | **Replace with**: | + | |
- | <code html>{if $tpl_vars.addonHeaders} | + | |
- | {foreach from=$tpl_vars.addonHeaders item=header} | + | |
- | {foreach from=$aHeaders item=header} | + | |
- | < | + | |
- | {$header.text} | + | |
- | </ | + | |
- | {/ | + | |
- | {/ | + | |
- | {/ | + | |
- | + | ||
- | + | ||
- | Further down in that same file: | + | |
- | + | ||
- | **Find**:< | + | |
- | + | ||
- | **Replace with**: | + | |
- | <code html> | + | |
- | {foreach from=$aCols item=addonColumn} | + | |
- | < | + | |
- | {$addonColumn} | + | |
- | </ | + | |
- | {/ | + | |
- | {/ | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | You will need to make the following changes to bring your template to be compatible with 4.0.4. | + | |
- | + | ||
- | **Find**:< | + | |
- | + | ||
- | **Replace with**: | + | |
- | <code html>{if $addonPlanInfo} | + | |
- | {* Exit out of the table, so each addon can do things it's own way, and not | + | |
- | worry about changes to the addons if this template ever gets converted | + | |
- | to use no tables *} | + | |
- | </ | + | |
- | {$addonPlanInfo} | + | |
- | <table cellpadding=" | + | |
- | {/ | + | |
- | + | ||
- | ===== To 4.1.0 ===== | + | |
- | + | ||
- | Note the following changes in 4.1.0. | + | |
- | + | ||
- | ==== Category Browsing Templates 4.1.0 ==== | + | |
- | + | ||
- | All templates relating to category browsing have changed, as below. Note the inclusion of two, new, " | + | |
- | + | ||
- | **These files:** | + | |
- | *system/ | + | |
- | *system/ | + | |
- | **Have been replaced by:** | + | |
- | *system/ | + | |
- | *system/ | + | |
- | **And newly joining the party are:** | + | |
- | *system/ | + | |
- | *system/ | + | |
- | *system/ | + | |
- | *system/ | + | |
- | *system/ | + | |
- | + | ||
- | ==== Image Upload Templates 4.1.0 ==== | + | |
- | + | ||
- | The image upload page during listing details | + | |
- | + | ||
- | **Modified/ | + | |
- | * **system/ | + | |
- | * **external/ | + | |
- | * **external/ | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Added ability for order items to specify error message. | + | |
- | + | ||
- | **Find**: | + | |
- | <code html> | + | |
- | {foreach from=$orderItemFields item=f} | + | |
- | < | + | |
- | {if $f.type == ' | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | {else} | + | |
- | < | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | **Replace with**: | + | |
- | <code html> | + | |
- | {foreach from=$orderItemFields item=f} | + | |
- | < | + | |
- | {if $f.type == ' | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | {else} | + | |
- | < | + | |
- | < | + | |
- | {$f.value} | + | |
- | {if $f.error} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to allow things to be added to listing details easier. | + | |
- | <code html> | + | |
- | {if $moreDetails} | + | |
- | {* Allow addons to insert stuff right below | + | |
- | the description field. *} | + | |
- | {foreach from=$moreDetails item=' | + | |
- | {if $details.full} | + | |
- | {$details.full} | + | |
- | {else} | + | |
- | < | + | |
- | <td class=" | + | |
- | {$details.label} | + | |
- | {if $details.error} | + | |
- | < | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | <td class=" | + | |
- | {$details.value} | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | {/if} | + | |
- | </ | + | |
- | **Replace with**: | + | |
- | <code html> | + | |
- | {if $moreDetails} | + | |
- | {* Allow addons to insert stuff right below | + | |
- | the description field. *} | + | |
- | {foreach from=$moreDetails item=' | + | |
- | {if $details.section_head} | + | |
- | {* Allow adding a section head above the next contents *} | + | |
- | < | + | |
- | < | + | |
- | {$details.section_head} | + | |
- | </ | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $details.full} | + | |
- | {$details.full} | + | |
- | {elseif $details.pre || $details.label || $details.value || $details.error} | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | {$details.label} | + | |
- | {if $details.error} | + | |
- | < | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | < | + | |
- | {$details.value} | + | |
- | </ | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | In the same file, there is also new code to allow things to be added at the bottom of the page. For this, **Find**: | + | |
- | <code html> | + | |
- | {if $display_description_last_in_form && ($editCheck || $field_config.editable_description_field)} | + | |
- | {include file=" | + | |
- | {/if} | + | |
- | </ | + | |
- | And **Replace with**: | + | |
- | <code html> | + | |
- | {if $display_description_last_in_form && ($editCheck || $field_config.editable_description_field)} | + | |
- | {include file=" | + | |
- | {/if} | + | |
- | {if $moreDetailsEnd} | + | |
- | {* Allow addons to insert stuff at the very end. *} | + | |
- | {foreach from=$moreDetailsEnd item=' | + | |
- | {if $details.section_head} | + | |
- | {* Allow adding a section head above the next contents *} | + | |
- | < | + | |
- | < | + | |
- | {$details.section_head} | + | |
- | </ | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $details.full} | + | |
- | {$details.full} | + | |
- | {elseif $details.pre || $details.label || $details.value || $details.error} | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | {$details.label} | + | |
- | {if $details.error} | + | |
- | < | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | < | + | |
- | {$details.value} | + | |
- | </ | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Added new "quick search" | + | |
- | + | ||
- | In that file, **Find:** | + | |
- | <code html> | + | |
- | <td colspan=" | + | |
- | {$messages.505} | + | |
- | </ | + | |
- | </ | + | |
- | <tr class=" | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | <td colspan=" | + | |
- | {$messages.505} | + | |
- | </ | + | |
- | </ | + | |
- | < | + | |
- | <td colspan=" | + | |
- | <form method=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | <tr class=" | + | |
- | Then later in the same file, **Find:** | + | |
- | <code html> | + | |
- | < | + | |
- | <td class=" | + | |
- | </ | + | |
- | {/ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | < | + | |
- | <td class=" | + | |
- | {if $q} | + | |
- | {$messages.500662} | + | |
- | {else} | + | |
- | {$messages.511} | + | |
- | {/if} | + | |
- | </ | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | ==== system/ | + | |
- | Typo in variable name used fixed, **find:** | + | |
- | <code html>{if $payment_choice.radio_box} | + | |
- | {$payment_choice.help_box} | + | |
- | {else}</ | + | |
- | **Replace with:** | + | |
- | <code html>{if $payment_choice.radio_box} | + | |
- | {$payment_choice.radio_box} | + | |
- | {else}</ | + | |
- | + | ||
- | Then, near bottom of the same template file, before the end </ | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | </ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $payment_choice.user_agreement.box} | + | |
- | {$payment_choice.user_agreement.box} | + | |
- | {elseif $payment_choice.user_agreement} | + | |
- | {include file=" | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | ===== To 4.1.1 ===== | + | |
- | + | ||
- | Template changes found in version 4.1.1. | + | |
- | + | ||
- | **Note: | + | |
- | + | ||
- | We've double triple verified the changes in 4.1.1, and **only the templates noted below actually have changes**, any files not mentioned below do not have any changes going from 4.1.0 to 4.1.1 even if they received a Rev number bump. | + | |
- | + | ||
- | ==== geo_templates/ | + | |
- | + | ||
- | This is technically not a template file, but a CSS file for upload images page. Note the changes below made to make the image description " | + | |
- | + | ||
- | At the end of the file, **add**: | + | |
- | <code html> | + | |
- | /* The box the title label and value are in */ | + | |
- | white-space: | + | |
- | }</ | + | |
- | + | ||
- | ==== geo_templates/ | + | |
- | + | ||
- | There are a few changes to fix issues relating to the column sorting, see below for changes needed. | + | |
- | + | ||
- | **Find**: | + | |
- | <code html> {if $cfg.sort_links}< | + | |
- | {$headers.num_bids.text} | + | |
- | {if $cfg.sort_links}</ | + | |
- | + | ||
- | **Replace with**: | + | |
- | <code html> | + | |
- | {* num_bids is not a sortable option -- there are never sort links *} | + | |
- | {$headers.num_bids.text} | + | |
- | </ | + | |
- | That's not the only change in this file: | + | |
- | + | ||
- | In that same file, **find**: | + | |
- | <code html> | + | |
- | <td style=" | + | |
- | <a href=" | + | |
- | {if $l.full_image_tag} | + | |
- | {$l.image} | + | |
- | {else} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | **Replace with**: | + | |
- | <code html> | + | |
- | {if $cfg.cols.image} | + | |
- | <td style=" | + | |
- | + | ||
- | {if $l.full_image_tag} | + | |
- | {* most likely using geoImage:: | + | |
- | {$l.image} | + | |
- | {else} | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | ==== geo_templates/ | + | |
- | + | ||
- | Changes needed in order to make the image " | + | |
- | + | ||
- | **Find**: | + | |
- | <code html> | + | |
- | <span class=" | + | |
- | </ | + | |
- | **Replace with**: | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | <span class=" | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ===== To 4.1.2 ===== | + | |
- | + | ||
- | Note the following changes made in 4.1.2 | + | |
- | + | ||
- | ==== addons/ | + | |
- | This file changed drastically to add ability for user to cancel recurring billing payments for storefront subscriptions. | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | Corrected a misspelled variable name. The textarea of this form must send its data as c[senders_comment**s**], | + | |
- | + | ||
- | Line 38 changes from: | + | |
- | <code php>< | + | |
- | to: | + | |
- | <code php>< | + | |
- | + | ||
- | ==== system/ | + | |
- | 2 changes made in this file to allow order items to add " | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $details.section_head} | + | |
- | {* Allow adding a section head above the next contents *} | + | |
- | < | + | |
- | < | + | |
- | {$details.section_head} | + | |
- | </ | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $details.full} | + | |
- | </ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $details.section_head} | + | |
- | {* Allow adding a section head above the next contents *} | + | |
- | < | + | |
- | < | + | |
- | {$details.section_head} | + | |
- | </ | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $details.section_desc} | + | |
- | {* Allow adding a section description as well *} | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $details.full} | + | |
- | </ | + | |
- | There are 2 places in the file that the above modification is made. Be sure to apply the changes to both locations. | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | We made two new variables available to this template. They are not used by default, but are available for use if desired: | + | |
- | < | + | |
- | {$num_unread_messages} | + | |
- | and | + | |
- | {$num_open_feedbacks} //(auctions only) | + | |
- | </ | + | |
- | + | ||
- | As the names suggest, these are integers that hold the number of unread messages and open feedbacks the current user has. | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Added //{strip}// around the play and pause links to remove extra white-space from the output, in order to fix a problem in IE that made the buttons not spaced properly. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <a href=" | + | |
- | <a href=" | + | |
- | <span class=" | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | <a href=" | + | |
- | <a href=" | + | |
- | <span class=" | + | |
- | + | ||
- | ===== To 4.1.3 ===== | + | |
- | + | ||
- | Changes made in version 4.1.3. | + | |
- | + | ||
- | ==== system/ | + | |
- | Change made to get rid of possible javascript error. | + | |
- | <code html>< | + | |
- | **Replace with:** | + | |
- | <code html>< | + | |
- | + | ||
- | ===== To 5.0 ===== | + | |
- | Take note of the following changes to template files made in 5.0.0. | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | File changed location, it is now located in the directory **system/ | + | |
- | + | ||
- | Also, changed 2 of the template variable names: | + | |
- | + | ||
- | * **$titleLimit** changed to **$titleCharLimit** | + | |
- | * **$descLimit** changed to **$descriptionCharLimit** | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | To fix the links when browsing affiliate pages, the following changes were needed: | + | |
- | + | ||
- | **Find:** (this will be in 2 locations within the template) | + | |
- | <code html> | + | |
- | **Replace** both occurrences with: | + | |
- | <code html> | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Change to how listing results are called. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **Replace With:** | + | |
- | <code html> | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Make some changes to improve usability when the user has to use the legacy uploader because of missing Flash player: | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | ==== system/ | + | |
- | Made changes so that if the max allowed chars for the description is 0, it does not display the description input field on the standard uploader. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | < | + | |
- | < | + | |
- | <div class=" | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $imgMaxTitleLength} | + | |
- | < | + | |
- | < | + | |
- | {else} | + | |
- | < | + | |
- | <br /><br /> | + | |
- | {/if} | + | |
- | <div class=" | + | |
- | + | ||
- | ==== system/ | + | |
- | Made changes so that if the max allowed chars for the description is 0, it does not display the description input field on the legacy uploader. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | < | + | |
- | {/ | + | |
- | + | ||
- | Then later in the file: | + | |
- | **Find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | < | + | |
- | {/ | + | |
- | + | ||
- | And finally, last change for this file: | + | |
- | **Find:** | + | |
- | <code html> | + | |
- | < | + | |
- | </ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | The changes are too many to give exact " | + | |
- | + | ||
- | Changed up how the optional fields are displayed, for the new feature to display the optional site-wide fields that "add cost" right below the other cost fields on the listing detail collection | + | |
- | + | ||
- | The currency type drop-down has changed: | + | |
- | + | ||
- | We have also changed how the pre & post currency javascript works: | + | |
- | + | ||
- | The javascript function **check_buy_now_only()** has changed, need to make all references to it use **geoListing.check_buy_now_only()**. | + | |
- | + | ||
- | The fields to use variable names have all changed, to use syntax similar to **$fields-> | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to this file to stop using the so-called CJAX library, instead using Scriptaculous to allow editing the paypal e-mail. | + | |
- | + | ||
- | ==== external file locations changed 5.0 ==== | + | |
- | + | ||
- | In order to make template sets a little more organized, the following file locations have changed: | + | |
- | + | ||
- | ^ Old Location ^ Moved To ^ | + | |
- | | external/ | + | |
- | | external/ | + | |
- | | external/ | + | |
- | | external/ | + | |
- | + | ||
- | + | ||
- | ===== To 5.0.1 ===== | + | |
- | + | ||
- | Note the following changes to template files in 5.0.1. | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Added column width on category modules to make it work better when there are multiple columns. | + | |
- | + | ||
- | **Find:** <code html> | + | |
- | <li class=" | + | |
- | </ | + | |
- | **Replace with:** <code html> | + | |
- | <li class=" | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Made the admin edit/delete buttons use {external} so they reference images in the template set. | + | |
- | + | ||
- | **Find:** <code html>< | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html>< | + | |
- | + | ||
- | Also a little further down, **Find:** | + | |
- | <code html>< | + | |
- | **Replace With:** | + | |
- | <code html>< | + | |
- | + | ||
- | Also changed references to full classifieds URL to use the relative file name instead. | + | |
- | + | ||
- | **Find:** | + | |
- | < | + | |
- | **replace with:** < | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Added a couple of spaces in the options, to make them more readable: | + | |
- | + | ||
- | **Find:** | + | |
- | < | + | |
- | **replace with:** < | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changed parts that collect listing details that are added by addons such as Pedigree Tree addon, so they display even when there are no mapping fields to display. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {* | + | |
- | {foreach from=$moreDetailsEnd 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 $details.section_desc} | + | |
- | {* Allow adding a section description as well *} | + | |
- | <p class=" | + | |
- | {/ | + | |
- | {if $details.full} | + | |
- | {$details.full} | + | |
- | {elseif $details.pre || $details.label || $details.value || $details.error} | + | |
- | < | + | |
- | < | + | |
- | {$details.value} | + | |
- | {if $details.error} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | {/ | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | <div class=" | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html> | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $moreDetailsEnd} | + | |
- | {* Allow addons to insert stuff at the very end. *} | + | |
- | <br /> | + | |
- | <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} | + | |
- | {/ | + | |
- | </ | + | |
- | {/if} | + | |
- | <div class=" | + | |
- | </ | + | |
- | + | ||
- | ===== To 5.0.2 ===== | + | |
- | + | ||
- | Note the following changes to template files in 5.0.2. | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Fixed a couple of bugs involving conflicting or incorrect variable names: | + | |
- | + | ||
- | **Find:** <code html> | + | |
- | + | ||
- | **Replace with:** <code html> | + | |
- | + | ||
- | **Find:** <code html>{if $label}< | + | |
- | + | ||
- | **Replace with:** <code html>{if $fieldLabel}< | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | incorrect variable name used in multiple places. replace all occurrences of **$price_plan** with **$pricePlan** | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Added line to make the WYSIWYG editor not automatically add < | + | |
- | + | ||
- | **Find:** | + | |
- | < | + | |
- | **Replace With:** | + | |
- | < | + | |
- | forced_root_block : '', | + | |
- | + | ||
- | content_css: | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes needed for W3C compliance (extra </a> tag). | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $l.full_image_tag} | + | |
- | {$l.image} | + | |
- | {else} | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | </ | + | |
- | **Replace With:** | + | |
- | <code html> | + | |
- | {if $l.full_image_tag} | + | |
- | {$l.image} | + | |
- | {else} | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | ==== module/ | + | |
- | Made changes to add new Addon hook, which allows addons to add to the title displayed by the title module. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> {/if} | + | |
- | {if $page_number > 1}</code> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> {/if} | + | |
- | {if $addonText} | + | |
- | {$addonText} | + | |
- | {/if} | + | |
- | {if $page_number > 1}</ | + | |
- | + | ||
- | ===== To 5.0.3 ===== | + | |
- | Changes below are made for 5.0.3. | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | Minor change to fix over-lapping on payment page on smaller screen resolutions. | + | |
- | **Find:** | + | |
- | <code css> | + | |
- | { | + | |
- | position: | + | |
- | top: | + | |
- | margin-left: | + | |
- | font-weight: | + | |
- | }</ | + | |
- | **Replace with:** | + | |
- | <code css> | + | |
- | { | + | |
- | margin-left: | + | |
- | font-weight: | + | |
- | }</ | + | |
- | + | ||
- | Change to make category lists go to the next line correctly on the less common CSS classes used for some of the category lists. | + | |
- | **Find** | + | |
- | <code css># | + | |
- | clear: both; | + | |
- | height: 0; | + | |
- | font-size: 0; | + | |
- | line-height: | + | |
- | display: none; | + | |
- | }</ | + | |
- | **Replace With:** | + | |
- | <code css># | + | |
- | clear: both; | + | |
- | height: 0; | + | |
- | font-size: 0; | + | |
- | line-height: | + | |
- | }</ | + | |
- | + | ||
- | Then further down, **Find:** | + | |
- | <code css># | + | |
- | clear: both; | + | |
- | height: 0; | + | |
- | font-size: 0; | + | |
- | line-height: | + | |
- | display: none; | + | |
- | }</ | + | |
- | **Replace with:** | + | |
- | <code css># | + | |
- | clear: both; | + | |
- | height: 0; | + | |
- | font-size: 0; | + | |
- | line-height: | + | |
- | }</ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Fix broken " | + | |
- | **Find:** | + | |
- | <code php> | + | |
- | **Replace with:** | + | |
- | <code php> | + | |
- | + | ||
- | Re-apply changes to listing URL that were inadvertently un-done with new 5.0 design: | + | |
- | + | ||
- | **Find:** (will occur in 2 places in the file, need to find/ | + | |
- | <code php> | + | |
- | **Replace: | + | |
- | <code php> | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | On last step of cart checkout, where it shows success/ | + | |
- | + | ||
- | **Find:** | + | |
- | <code php> | + | |
- | <br /> | + | |
- | <div class=" | + | |
- | <a href=" | + | |
- | {$my_account_link} | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | **Replace With:** | + | |
- | <code php> | + | |
- | <br /> | + | |
- | {if $logged_in} | + | |
- | <div class=" | + | |
- | <a href=" | + | |
- | {$my_account_link} | + | |
- | </ | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | ==== addon/ | + | |
- | + | ||
- | Replaced all text that was hardcoded into storefront " | + | |
- | + | ||
- | ===== To 5.1 ===== | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | New field added for new feature, listing tags. To add new field, **find:** | + | |
- | <code html>{if $moreDetails}</ | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html> | + | |
- | {if $fields-> | + | |
- | <div class=" | + | |
- | < | + | |
- | + | ||
- | {if !$editCheck && !$fields-> | + | |
- | {$session_variables.tags} | + | |
- | {else} | + | |
- | < | + | |
- | < | + | |
- | {/if} | + | |
- | {$tags_help_link} | + | |
- | {if $error_msgs.tags} | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $moreDetails} | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | Added new column for listing tags. | + | |
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | {if count($headers.optionals) > 0}</ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | {if $cfg.cols.tags} | + | |
- | < | + | |
- | {$headers.tags.text} | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if count($headers.optionals) > 0}</ | + | |
- | Then, further down the file, **find:** | + | |
- | <code html> | + | |
- | **Replace With:** | + | |
- | <code html> | + | |
- | <td class=" | + | |
- | {if $l.tags} | + | |
- | {include file=' | + | |
- | {/ | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {section name=optionals start=1 loop=21}</ | + | |
- | + | ||
- | ==== system/ | + | |
- | File has been split up into 3 different template files, each one is for a different style used for the image block. | + | |
- | * system/ | + | |
- | * system/ | + | |
- | * system/ | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | New CSS classes added for front page changes. | + | |
- | <code css># | + | |
- | overflow: hidden; | + | |
- | padding: 0 3px 0 10px; | + | |
- | }</ | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code css># | + | |
- | overflow: hidden; | + | |
- | padding: 0 3px 0 10px; | + | |
- | } | + | |
- | + | ||
- | # | + | |
- | overflow: hidden; | + | |
- | padding: 0 10px; | + | |
- | } | + | |
- | + | ||
- | # | + | |
- | border-bottom: | + | |
- | }</ | + | |
- | + | ||
- | Then a little further down, new CSS class for left side added. | + | |
- | + | ||
- | <code css># | + | |
- | # | + | |
- | width: 200px; | + | |
- | float: left; | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code css># | + | |
- | # | + | |
- | width: 200px; | + | |
- | float: left; | + | |
- | } | + | |
- | + | ||
- | # | + | |
- | /* Used in alternate front page */ | + | |
- | width: 350px; | + | |
- | float: left; | + | |
- | font-size: 10px; | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | Changes to how categories are displayed to improve the layout when using multiple columns. | + | |
- | + | ||
- | **Find:** | + | |
- | <code css>/* ######### CATEGORIES STYLES ######### */ | + | |
- | #categories { | + | |
- | margin: 0; | + | |
- | padding: 0; | + | |
- | } | + | |
- | + | ||
- | #categories li.element { | + | |
- | list-style: | + | |
- | display: inline-block; | + | |
- | float: left; | + | |
- | font-weight: | + | |
- | padding: 5px 0; | + | |
- | margin: 0; | + | |
- | } | + | |
- | + | ||
- | #categories li.clr { | + | |
- | clear: both; | + | |
- | height: 0; | + | |
- | font-size: 0; | + | |
- | line-height: | + | |
- | } | + | |
- | + | ||
- | # | + | |
- | margin: 0; | + | |
- | padding: 0; | + | |
- | } | + | |
- | + | ||
- | # | + | |
- | list-style: | + | |
- | text-align: | + | |
- | } | + | |
- | + | ||
- | # | + | |
- | display: block; | + | |
- | padding: 5px; | + | |
- | font-size: 12px; | + | |
- | font-weight: | + | |
- | background: | + | |
- | border-top: | + | |
- | border-bottom: | + | |
- | text-decoration: | + | |
- | float: left; | + | |
- | margin-left: | + | |
- | } | + | |
- | + | ||
- | + | ||
- | # | + | |
- | clear: both; | + | |
- | height: 0; | + | |
- | font-size: 0; | + | |
- | line-height: | + | |
- | } | + | |
- | + | ||
- | # | + | |
- | margin: 0; | + | |
- | padding: 0 0 0 10px; | + | |
- | } | + | |
- | + | ||
- | # | + | |
- | list-style: | + | |
- | text-align: | + | |
- | padding: 1px 0; | + | |
- | } | + | |
- | </ | + | |
- | **Replace With:** | + | |
- | <code css>/* ######### CATEGORIES STYLES ######### */ | + | |
- | + | ||
- | div.category_column { | + | |
- | float: left; | + | |
- | } | + | |
- | div.category_column ul { | + | |
- | margin: 0; | + | |
- | padding: 0; | + | |
- | } | + | |
- | + | ||
- | div.category_column ul li.element { | + | |
- | list-style: | + | |
- | font-weight: | + | |
- | padding: 5px 0; | + | |
- | margin: 0; | + | |
- | } | + | |
- | + | ||
- | div.category_column ul li.element img { | + | |
- | /* Make category image line up good */ | + | |
- | vertical-align: | + | |
- | } | + | |
- | div.category_column.main_classified_navigation ul li.element { | + | |
- | /* specific to main classified navigation */ | + | |
- | padding: 5px; | + | |
- | background: | + | |
- | border-top: | + | |
- | border-bottom: | + | |
- | } | + | |
- | + | ||
- | div# | + | |
- | /* add background image but only on alternate front page */ | + | |
- | background: | + | |
- | } | + | |
- | div# | + | |
- | background: | + | |
- | } | + | |
- | + | ||
- | div.category_column ul.sub_categories li.element { | + | |
- | /* specific to sub-categories */ | + | |
- | font-weight: | + | |
- | padding: 3px; | + | |
- | margin: 0px 0px 0px 20px; | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | Then further down in the file, **find:** | + | |
- | <code css># | + | |
- | { | + | |
- | font-weight: | + | |
- | font-size: 14px; | + | |
- | color: #4987c5; | + | |
- | }</ | + | |
- | **replace with:** | + | |
- | <code css># | + | |
- | { | + | |
- | font-weight: | + | |
- | font-size: 16px; | + | |
- | color: #4987c5; | + | |
- | } | + | |
- | div.category_column ul.sub_categories span.category_title { | + | |
- | /* Sub-categories are not bolded */ | + | |
- | font-weight: | + | |
- | font-size: 12px; | + | |
- | }</ | + | |
- | + | ||
- | Changes for the new social network links on front page. **Find:** | + | |
- | <code css>/* ######### LISTING RESULTS STYLES ######### */</ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code css> | + | |
- | font-size: .8em; | + | |
- | } | + | |
- | + | ||
- | /* Social network links */ | + | |
- | + | ||
- | ul.social_links { | + | |
- | + | ||
- | } | + | |
- | ul.social_links li.element { | + | |
- | list-style: | + | |
- | color: #4987c5; | + | |
- | font-size: 14px; | + | |
- | font-weight: | + | |
- | border: none; | + | |
- | margin: 0; | + | |
- | padding: 0; | + | |
- | float: left; | + | |
- | clear: left; | + | |
- | } | + | |
- | + | ||
- | ul.social_links li.element img { | + | |
- | /* Make category image line up good */ | + | |
- | vertical-align: | + | |
- | } | + | |
- | + | ||
- | /* ######### LISTING RESULTS STYLES ######### */</ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to allow combining stuff into the category breadcrumb. | + | |
- | + | ||
- | **Find (2 locations in file):** | + | |
- | <code html> | + | |
- | {if $string_tree or $array_tree} | + | |
- | <ul id=" | + | |
- | {if $array_tree} | + | |
- | <li class=" | + | |
- | <li class=" | + | |
- | {foreach from=$array_tree item=cat name=tree} | + | |
- | {if not $smarty.foreach.tree.last}< | + | |
- | {$cat.category_name} | + | |
- | {if not $smarty.foreach.tree.last}</ | + | |
- | </ | + | |
- | {/ | + | |
- | {else} | + | |
- | <li class=" | + | |
- | {* is that anything like string cheese? " | + | |
- | {/if} | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | **Replace both places with:** | + | |
- | <code html> | + | |
- | <ul id=" | + | |
- | {if $category_tree_pre} | + | |
- | {* Allow outside sources add to category tree *} | + | |
- | {$category_tree_pre} | + | |
- | {/if} | + | |
- | {if $array_tree} | + | |
- | <li class=" | + | |
- | <li class=" | + | |
- | {foreach from=$array_tree item=cat name=tree} | + | |
- | {if not $smarty.foreach.tree.last}< | + | |
- | {$cat.category_name} | + | |
- | {if not $smarty.foreach.tree.last}</ | + | |
- | </ | + | |
- | {/ | + | |
- | {elseif $string_tree} | + | |
- | <li class=" | + | |
- | {* is that anything like string cheese? " | + | |
- | {/if} | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | Changes to improve category layout when using multiple category columns. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {foreach from=$categories item=cat name=block} | + | |
- | {if $smarty.foreach.block.index % $category_columns == 0} | + | |
- | + | ||
- | {/ | + | |
- | + | ||
- | <li class=" | + | |
- | <a href=" | + | |
- | {if $cat.category_image}< | + | |
- | < | + | |
- | {$cat.category_name} | + | |
- | {if $cat.category_count}{$cat.category_count}{/ | + | |
- | {if $cat.new_ad_icon}{$cat.new_ad_icon}{/ | + | |
- | </ | + | |
- | </ | + | |
- | {if $show_descriptions} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | + | ||
- | {if ($smarty.foreach.block.index % $category_columns == ($category_columns - 1)) or $smarty.foreach.block.last} | + | |
- | < | + | |
- | {/ | + | |
- | {/ | + | |
- | </ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | <ul class=" | + | |
- | {foreach from=$cats item=cat} | + | |
- | < | + | |
- | {if $cat.category_image}< | + | |
- | < | + | |
- | < | + | |
- | {$cat.category_name} | + | |
- | </ | + | |
- | {/ | + | |
- | {if $cat.category_count}< | + | |
- | {if $cat.new_ad_icon}{$cat.new_ad_icon}{/ | + | |
- | {if $show_descriptions} | + | |
- | < | + | |
- | {/ | + | |
- | {if $cat.sub_categories} | + | |
- | < | + | |
- | {foreach from=$cat.sub_categories item=sub_cat} | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | {$sub_cat.category_name|fromDB} | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | ==== system/ | + | |
- | Made change so that category image is referenced using external instead of directly. | + | |
- | + | ||
- | **Find: | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html>< | + | |
- | + | ||
- | ==== system/ | + | |
- | Added code so that the username/ | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <input type=" | + | |
- | ... | + | |
- | <input type=" | + | |
- | ... | + | |
- | <input type=" | + | |
- | + | ||
- | **Replace With:** | + | |
- | + | ||
- | <code html> | + | |
- | <input type=" | + | |
- | ... | + | |
- | <input type=" | + | |
- | ... | + | |
- | <input type=" | + | |
- | + | ||
- | + | ||
- | + | ||
- | ==== module/ - all category navigation modules 5.1 ==== | + | |
- | + | ||
- | Consolidated all category navigation modules to use the same shared template **modules/ | + | |
- | + | ||
- | In addition, the layout has been improved for category navigation modules so that it displays better when displaying sub-categories. | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Changes have been made to allow displaying newest ad links as buttons instead of links. | + | |
- | + | ||
- | <code html>{if $buttonStyle} | + | |
- | <a href=" | + | |
- | {else} | + | |
- | <div class=" | + | |
- | {/if} | + | |
- | {$label} | + | |
- | {if !$buttonStyle} | + | |
- | </ | + | |
- | {else} | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | ===== To 5.1.1 ===== | + | |
- | + | ||
- | ==== Use of @ucwords 5.1.1 ==== | + | |
- | + | ||
- | The goal in the built-in templates, is to use as little PHP inside templates as possible, including using PHP functions to filter text((Since the trial demos use security mode, such use of PHP would be blocked in trial demos.)). | + | |
- | + | ||
- | Find:< | + | |
- | Replace with: <code html> | + | |
- | + | ||
- | The change will be made to all places it is found, in the files listed: | + | |
- | * module/ | + | |
- | * system/ | + | |
- | * system/ | + | |
- | * system/ | + | |
- | * system/ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Change needed so that on the full images page, it does not show the link to " | + | |
- | + | ||
- | In the file, **find: | + | |
- | < | + | |
- | **Replace with: | + | |
- | < | + | |
- | < | + | |
- | {/ | + | |
- | + | ||
- | ===== To 5.1.2 ===== | + | |
- | + | ||
- | ==== external/ | + | |
- | Changes so that login box are slightly wider, to accommodate using new reCAPTCHA option for security image. | + | |
- | + | ||
- | **Find:** | + | |
- | <code css> | + | |
- | clear: both; | + | |
- | width: 610px; | + | |
- | margin: 20px auto; | + | |
- | }</ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code css> | + | |
- | clear: both; | + | |
- | width: 650px; | + | |
- | margin: 20px auto; | + | |
- | }</ | + | |
- | + | ||
- | Then later in the file, **Find:** | + | |
- | <code css># | + | |
- | width: 300px; | + | |
- | float: left; | + | |
- | }</ | + | |
- | **Replace With:** | + | |
- | <code css># | + | |
- | width: 340px; | + | |
- | float: left; | + | |
- | }</ | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | Added admin-editable text to the "reset form" button: | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <input type=" | + | |
- | </ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | <input type=" | + | |
- | </ | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Added new addon hook to let addons add to the search box. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | < | + | |
- | {if $hidden_fields}</ | + | |
- | **Replace With:** | + | |
- | <code html> | + | |
- | {if $addonExtra} | + | |
- | {foreach from=$addonExtra item=addonContents} | + | |
- | < | + | |
- | {/ | + | |
- | {/if} | + | |
- | < | + | |
- | {if $hidden_fields}</ | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Added new addon hook to let addons prepend text in title module. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {$addonTextPre}</ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to make feeds more optimized. | + | |
- | + | ||
- | **Find: | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html> | + | |
- | {process_listing listing=$listing}</ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to make feeds more optimized. | + | |
- | + | ||
- | **Find: | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html> | + | |
- | {process_listing listing=$listing}</ | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Made a change to the listing details collection page so that the " | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | <h1 class=" | + | |
- | + | ||
- | {if $fields-> | + | |
- | <div class=" | + | |
- | < | + | |
- | + | ||
- | {if $editCheck || $fields-> | + | |
- | < | + | |
- | size=" | + | |
- | maxlength=" | + | |
- | value=" | + | |
- | {else} | + | |
- | {$session_variables.url_link_1} | + | |
- | {/if} | + | |
- | + | ||
- | {if $error_msgs.url_link_1} | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if $fields-> | + | |
- | <div class=" | + | |
- | < | + | |
- | + | ||
- | {if $editCheck || $fields-> | + | |
- | < | + | |
- | size=" | + | |
- | maxlength=" | + | |
- | value=" | + | |
- | {else} | + | |
- | {$session_variables.url_link_2} | + | |
- | {/if} | + | |
- | + | ||
- | {if $error_msgs.url_link_2} | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if $fields-> | + | |
- | <div class=" | + | |
- | < | + | |
- | + | ||
- | {if $editCheck | + | |
- | < | + | |
- | size=" | + | |
- | maxlength=" | + | |
- | value=" | + | |
- | {else} | + | |
- | {$session_variables.url_link_3} | + | |
- | {/if} | + | |
- | + | ||
- | {if $error_msgs.url_link_3} | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | + | ||
- | {if $is_ent} | + | |
- | {foreach from=$opt_field_info item=opt_info key=i} | + | |
- | {if $opt_info.field-> | + | |
- | {if !$add_cost_at_top} | + | |
- | {* Adds cost, and does not have set to display cost | + | |
- | optional fields at " | + | |
- | < | + | |
- | < | + | |
- | + | ||
- | < | + | |
- | {if $editCheck || $opt_info.field-> | + | |
- | < | + | |
- | size=" | + | |
- | maxlength=" | + | |
- | value=" | + | |
- | {else} | + | |
- | {$opt_info.value|displayPrice:'':'' | + | |
- | {/ | + | |
- | {if $opt_info.error} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | {elseif $opt_info.field-> | + | |
- | < | + | |
- | < | + | |
- | + | ||
- | {if $field_config.use_filters && $opt_info.filter_assoc} | + | |
- | {* Using filters for this field *} | + | |
- | {$opt_info.value} | + | |
- | {elseif !$editCheck && !$opt_info.field-> | + | |
- | {* Editing, and can edit is off, so just display *} | + | |
- | {$opt_info.value} | + | |
- | {elseif $opt_info.field-> | + | |
- | {* Text input (text, number, or url) *} | + | |
- | < | + | |
- | size=" | + | |
- | maxlength=" | + | |
- | value=" | + | |
- | {elseif $opt_info.field-> | + | |
- | {* textarea type *} | + | |
- | < | + | |
- | {elseif $opt_info.field-> | + | |
- | {* dropdown *} | + | |
- | < | + | |
- | {assign var=" | + | |
- | {foreach from=$optional_types.$i item=" | + | |
- | {* " | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {if $opt_info.other_box} | + | |
- | {* other box for dropdown *} | + | |
- | & | + | |
- | < | + | |
- | value=" | + | |
- | class=" | + | |
- | size=" | + | |
- | maxlength=" | + | |
- | {/ | + | |
- | {/ | + | |
- | + | ||
- | {if $opt_info.error} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | {/if} | + | |
- | + | ||
- | {include file=" | + | |
- | + | ||
- | {if $display_description_last_in_form && ($editCheck || $fields-> | + | |
- | {include file=" | + | |
- | {/if} | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {* capture this next bit into a smarty variable, so that it can be not shown if there' | + | |
- | {capture assign=additionalInfo} | + | |
- | {if $fields-> | + | |
- | <div class=" | + | |
- | < | + | |
- | + | ||
- | {if $editCheck || $fields-> | + | |
- | < | + | |
- | size=" | + | |
- | maxlength=" | + | |
- | value=" | + | |
- | {else} | + | |
- | {$session_variables.url_link_1} | + | |
- | {/if} | + | |
- | + | ||
- | {if $error_msgs.url_link_1} | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if $fields-> | + | |
- | <div class=" | + | |
- | < | + | |
- | + | ||
- | {if $editCheck || $fields-> | + | |
- | < | + | |
- | size=" | + | |
- | maxlength=" | + | |
- | value=" | + | |
- | {else} | + | |
- | {$session_variables.url_link_2} | + | |
- | {/if} | + | |
- | + | ||
- | {if $error_msgs.url_link_2} | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if $fields-> | + | |
- | <div class=" | + | |
- | < | + | |
- | + | ||
- | {if $editCheck || $fields-> | + | |
- | < | + | |
- | size=" | + | |
- | maxlength=" | + | |
- | value=" | + | |
- | {else} | + | |
- | {$session_variables.url_link_3} | + | |
- | {/if} | + | |
- | + | ||
- | {if $error_msgs.url_link_3} | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | + | ||
- | {if $is_ent} | + | |
- | {foreach from=$opt_field_info item=opt_info key=i} | + | |
- | {if $opt_info.field-> | + | |
- | {if !$add_cost_at_top} | + | |
- | {* Adds cost, and does not have set to display cost | + | |
- | optional fields at " | + | |
- | < | + | |
- | < | + | |
- | + | ||
- | < | + | |
- | {if $editCheck || $opt_info.field-> | + | |
- | < | + | |
- | size=" | + | |
- | maxlength=" | + | |
- | value=" | + | |
- | {else} | + | |
- | {$opt_info.value|displayPrice:'':'' | + | |
- | {/ | + | |
- | {if $opt_info.error} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | {elseif $opt_info.field-> | + | |
- | < | + | |
- | < | + | |
- | + | ||
- | {if $field_config.use_filters && $opt_info.filter_assoc} | + | |
- | {* Using filters for this field *} | + | |
- | {$opt_info.value} | + | |
- | {elseif !$editCheck && !$opt_info.field-> | + | |
- | {* Editing, and can edit is off, so just display *} | + | |
- | {$opt_info.value} | + | |
- | {elseif $opt_info.field-> | + | |
- | {* Text input (text, number, or url) *} | + | |
- | < | + | |
- | size=" | + | |
- | maxlength=" | + | |
- | value=" | + | |
- | {elseif $opt_info.field-> | + | |
- | {* textarea type *} | + | |
- | < | + | |
- | {elseif $opt_info.field-> | + | |
- | {* dropdown *} | + | |
- | < | + | |
- | {assign var=" | + | |
- | {foreach from=$optional_types.$i item=" | + | |
- | {* " | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {if $opt_info.other_box} | + | |
- | {* other box for dropdown *} | + | |
- | & | + | |
- | < | + | |
- | value=" | + | |
- | class=" | + | |
- | size=" | + | |
- | maxlength=" | + | |
- | {/ | + | |
- | {/ | + | |
- | + | ||
- | {if $opt_info.error} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | {/if} | + | |
- | + | ||
- | {include file=" | + | |
- | + | ||
- | {if $display_description_last_in_form && ($editCheck || $fields-> | + | |
- | {include file=" | + | |
- | {/if} | + | |
- | {/ | + | |
- | + | ||
- | {if $additionalInfo|strip:'' | + | |
- | <div class=" | + | |
- | <h1 class=" | + | |
- | {$additionalInfo} | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | ===== To 5.1.3 ===== | + | |
- | ==== system/ | + | |
- | + | ||
- | Made a change to capture the category tree into a smarty var, instead of running the whole code for it twice: | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $tree_display_mode == 1 or $tree_display_mode == 2} | + | |
- | {if $string_tree or $array_tree or $category_tree_pre} | + | |
- | <ul id=" | + | |
- | {if $category_tree_pre} | + | |
- | {* Allow outside sources add to category tree *} | + | |
- | {$category_tree_pre} | + | |
- | {/if} | + | |
- | {if $array_tree} | + | |
- | <li class=" | + | |
- | <li class=" | + | |
- | {foreach from=$array_tree item=cat name=tree} | + | |
- | {if not $smarty.foreach.tree.last}< | + | |
- | {$cat.category_name} | + | |
- | {if not $smarty.foreach.tree.last}</ | + | |
- | </ | + | |
- | {/ | + | |
- | {elseif $string_tree} | + | |
- | <li class=" | + | |
- | {* is that anything like string cheese? " | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {capture assign=category_breadcrumb} | + | |
- | {if $string_tree or $array_tree or $category_tree_pre} | + | |
- | <ul id=" | + | |
- | {if $category_tree_pre} | + | |
- | {* Allow outside sources add to category tree *} | + | |
- | {$category_tree_pre} | + | |
- | {/if} | + | |
- | {if $array_tree} | + | |
- | <li class=" | + | |
- | <li class=" | + | |
- | {foreach from=$array_tree item=cat name=tree} | + | |
- | {if not $smarty.foreach.tree.last}< | + | |
- | {$cat.category_name} | + | |
- | {if not $smarty.foreach.tree.last}</ | + | |
- | </ | + | |
- | {/ | + | |
- | {elseif $string_tree} | + | |
- | <li class=" | + | |
- | {* is that anything like string cheese? " | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | + | ||
- | {if $tree_display_mode == 1 or $tree_display_mode == 2} | + | |
- | {$category_breadcrumb} | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | then at the bottom of the file, make this change: | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $tree_display_mode == 0 or $tree_display_mode == 2} | + | |
- | {if $string_tree or $array_tree or $category_tree_pre} | + | |
- | <ul id=" | + | |
- | {if $category_tree_pre} | + | |
- | {* Allow outside sources add to category tree *} | + | |
- | {$category_tree_pre} | + | |
- | {/if} | + | |
- | {if $array_tree} | + | |
- | <li class=" | + | |
- | <li class=" | + | |
- | {foreach from=$array_tree item=cat name=tree} | + | |
- | {if not $smarty.foreach.tree.last}< | + | |
- | {$cat.category_name} | + | |
- | {if not $smarty.foreach.tree.last}</ | + | |
- | </ | + | |
- | {/ | + | |
- | {elseif $string_tree} | + | |
- | <li class=" | + | |
- | {* is that anything like string cheese? " | + | |
- | {/if} | + | |
- | </ | + | |
- | {/if} | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $tree_display_mode == 0 or $tree_display_mode == 2} | + | |
- | {$category_breadcrumb} | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | ===== To 5.1.4 ===== | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | Change needed to remove bullets from appearing for the " | + | |
- | + | ||
- | **Find:** | + | |
- | <code css># | + | |
- | clear: both; | + | |
- | height: 0; | + | |
- | font-size: 0; | + | |
- | line-height: | + | |
- | }</ | + | |
- | **Replace With:** | + | |
- | <code css># | + | |
- | clear: both; | + | |
- | list-style: none; | + | |
- | height: 0; | + | |
- | font-size: 0; | + | |
- | line-height: | + | |
- | }</ | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | **NOTE: | + | |
- | + | ||
- | Problem was fixed with the relative location of background image for title bars, affecting the standard image uploader. | + | |
- | + | ||
- | **Find:** | + | |
- | <code css> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code css> | + | |
- | + | ||
- | Few lines down in same file, **Find:** | + | |
- | <code css> | + | |
- | **Replace with:** | + | |
- | <code css> | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Fixed {$listing_tags_list} to not link. Change the file contents to be like this: | + | |
- | <code html>{* $Rev: 20434 $ *} | + | |
- | + | ||
- | {foreach from=$listing_tags_array item=tag name=tagList}{$tag|replace:' | + | |
- | </ | + | |
- | + | ||
- | ===== To 5.1.5 ===== | + | |
- | **Note:** Version 5.1.5 is not released yet, so the changes noted below are subject to change and be added to before 5.1.5 is released. | + | |
- | ==== system/ | + | |
- | + | ||
- | These changes apply to both **gallery.tpl** and **filmstrip.tpl**. | + | |
- | + | ||
- | **Find: | + | |
- | action.stop(); | + | |
- | window.open(this.href); | + | |
- | });</ | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code javascript> | + | |
- | if (!this.href.startsWith(' | + | |
- | // | + | |
- | return; | + | |
- | } | + | |
- | window.open(this.href); | + | |
- | action.stop(); | + | |
- | });</ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to make the CVV image link use {external ...} so that it points to the correct location. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html>< | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html>< | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Two of the table headers were swapped and in the wrong order | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <td class=" | + | |
- | <td class=" | + | |
- | <td class=" | + | |
- | <td class=" | + | |
- | </ | + | |
- | + | ||
- | **Replace With:** | + | |
- | + | ||
- | <code html> | + | |
- | <td class=" | + | |
- | <td class=" | + | |
- | <td class=" | + | |
- | <td class=" | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Fixed issue when there is " | + | |
- | + | ||
- | **Find:** | + | |
- | <code html>{if $q.other} {$messages.500659} <input class=" | + | |
- | **Replace with:** | + | |
- | <code html>{if $q.other} {$messages.500659} <input class=" | + | |
- | + | ||
- | + | ||
- | ===== To 5.2 ===== | + | |
- | ==== system/ | + | |
- | + | ||
- | Change to allow displaying category description under each category when placing a listing. | + | |
- | **Find:** | + | |
- | <code html> | + | |
- | {if $display_cat_image ne 0 AND $cat.category_image ne "" | + | |
- | < | + | |
- | {/ | + | |
- | < | + | |
- | </ | + | |
- | **Replace With:** | + | |
- | <code html> | + | |
- | {if $display_cat_image ne 0 AND $cat.category_image ne "" | + | |
- | < | + | |
- | {/ | + | |
- | < | + | |
- | {if $display_cat_description && $cat.description} | + | |
- | <p class=" | + | |
- | {/ | + | |
- | </ | + | |
- | + | ||
- | ==== main_page/ | + | |
- | + | ||
- | Added ability to have the edit and delete buttons show on the listing details page, just like they are already displayed when browsing category browsing. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $can_edit} | + | |
- | <a href=" | + | |
- | {/if} | + | |
- | {if $can_delete} | + | |
- | <a onclick=" | + | |
- | {/if} | + | |
- | {foreach from=$addonActionButtons item=btn} | + | |
- | {$btn} | + | |
- | {/ | + | |
- | </ | + | |
- | + | ||
- | There is new Youtube videos that require a new section to be added to both **listing_classified.tpl** and **listing_auction.tpl**. | + | |
- | <code html>< | + | |
- | <h2 class=" | + | |
- | + | ||
- | {$image_block} | + | |
- | </ | + | |
- | **Replace with:** | + | |
- | <code html>{if $offsite_videos_block} | + | |
- | <div class=" | + | |
- | <h2 class=" | + | |
- | + | ||
- | {$offsite_videos_block} | + | |
- | </ | + | |
- | <div class=" | + | |
- | {/if} | + | |
- | + | ||
- | {if $image_block} | + | |
- | <div class=" | + | |
- | <h2 class=" | + | |
- | + | ||
- | {$image_block} | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | The new Public Questions / Answers functionality requires an addition to both of these templates, as well. Insert the following code wherever you'd like the Public Questions area to appear: | + | |
- | + | ||
- | < | + | |
- | <h1 class=" | + | |
- | {if $publicQuestions} | + | |
- | {foreach from=$publicQuestions item=q key=question_id} | + | |
- | {if $q.answer !== false} | + | |
- | <div class=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | {if $can_delete}< | + | |
- | < | + | |
- | {$q.question} | + | |
- | </ | + | |
- | < | + | |
- | {$q.answer} | + | |
- | </ | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | {else} | + | |
- | <div class=" | + | |
- | {/if} | + | |
- | </ | + | |
- | ==== system/ | + | |
- | + | ||
- | Added new section to display order details on the cart success/ | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html> | + | |
- | {if $cart_items} | + | |
- | < | + | |
- | <h1 class=" | + | |
- | {include file=' | + | |
- | <div class=" | + | |
- | </ | + | |
- | <br /> | + | |
- | {/if} | + | |
- | + | ||
- | {if $logged_in}</ | + | |
- | + | ||
- | Changes to make the cart display in the admin panel. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html>{if $logged_in}</ | + | |
- | **Replace With:** | + | |
- | <code html>{if $logged_in&& | + | |
- | ==== module/ | + | |
- | + | ||
- | Added ability to show " | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | < | + | |
- | < | + | |
- | {if $l.caption} | + | |
- | < | + | |
- | {/ | + | |
- | {if $l.price != ' | + | |
- | < | + | |
- | {/ | + | |
- | {if $l.type} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html> | + | |
- | < | + | |
- | < | + | |
- | {if $l.caption} | + | |
- | < | + | |
- | {/ | + | |
- | {if $l.price != ' | + | |
- | < | + | |
- | {/ | + | |
- | {if $l.type} | + | |
- | < | + | |
- | {/ | + | |
- | {if $l.sold_image} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | Also made a change to allow W3C validation when the result table is empty and the "empty message" | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {foreachelse} | + | |
- | {* returned no results *} | + | |
- | {if $resultset_empty_message} | + | |
- | < | + | |
- | < | + | |
- | <div class=" | + | |
- | {$resultset_empty_message} | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {foreachelse} | + | |
- | {* returned no results *} | + | |
- | < | + | |
- | < | + | |
- | {if $resultset_empty_message} | + | |
- | <div class=" | + | |
- | {$resultset_empty_message} | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | The design of both of these listing tables has changed extensively. Columns have been consolidated, | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to allow cart to be used in admin panel. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html>< | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html>< | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | Changes to allow cart to be used in admin panel. | + | |
- | + | ||
- | **Find:** <code js>var geoListing = {</ | + | |
- | **Replace With: | + | |
- | + | ||
- | inAdmin : false, | + | |
- | </ | + | |
- | Then later in the same file, **Find:** | + | |
- | <code js> new Ajax.Autocompleter(' | + | |
- | **Replace With:** | + | |
- | <code js> var pre = (geoListing.inAdmin)? | + | |
- | new Ajax.Autocompleter(' | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Change to template var name to make it consistent with other templates. | + | |
- | + | ||
- | ==== system/ | + | |
- | Changes to allow cart to be used in admin panel. | + | |
- | + | ||
- | **Find** every occurrence of: < | + | |
- | And replace each with < | + | |
- | + | ||
- | Also **find** every occurrence of: | + | |
- | + | ||
- | < | + | |
- | + | ||
- | Replace each with: | + | |
- | < | + | |
- | + | ||
- | Also **find:** | + | |
- | <code html> | + | |
- | **replace with:** | + | |
- | <code html> | + | |
- | {if $in_admin} | + | |
- | < | + | |
- | {else} | + | |
- | {$messages.500715} | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | Then, **find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $in_admin} | + | |
- | < | + | |
- | {else} | + | |
- | {$messages.500714} | + | |
- | {/if} | + | |
- | </ | + | |
- | ==== system/ | + | |
- | Changes to fix reference to image place-holder when it is not needed. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | onsubmit=" | + | |
- | {/ | + | |
- | {if $uploading_image || $uploading_image_placeholder} | + | |
- | < | + | |
- | loadingAnim = new Image(); | + | |
- | loadingAnim.src = ' | + | |
- | </ | + | |
- | {/if} | + | |
- | {/if} | + | |
- | <!-- <input type=" | + | |
- | + | ||
- | {if $uploading_image} | + | |
- | <div class=" | + | |
- | <img id=" | + | |
- | </ | + | |
- | {/ | + | |
- | **Replace With:** | + | |
- | <code html> | + | |
- | onsubmit=" | + | |
- | {/ | + | |
- | {/if} | + | |
- | <!-- <input type=" | + | |
- | + | ||
- | {if $uploading_image} | + | |
- | <div class=" | + | |
- | <img id=" | + | |
- | </ | + | |
- | {/ | + | |
- | Also changes for new " | + | |
- | **Find:** | + | |
- | <code html>< | + | |
- | **Replace with:** | + | |
- | <code html>{if !$noscript}< | + | |
- | <p class=" | + | |
- | {if !$noscript}</ | + | |
- | ==== system/ | + | |
- | Changes to allow cart to be used in the admin panel. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html>< | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html>< | + | |
- | + | ||
- | Later in the same file, **Find:** | + | |
- | <code html>< | + | |
- | **Replace with:** | + | |
- | <code html>< | + | |
- | + | ||
- | Also changes to allow upload images to be part of a " | + | |
- | ==== system/ | + | |
- | Changes to allow cart to be used in the admin panel. | + | |
- | + | ||
- | **Find:** | + | |
- | < | + | |
- | **Replace with:** | + | |
- | < | + | |
- | geoUH.ajaxUrl = "{if $in_admin}../ | + | |
- | + | ||
- | A few lines down, **find:** | + | |
- | < | + | |
- | **Replace with:** | + | |
- | < | + | |
- | + | ||
- | Then **find:** | + | |
- | < | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | + | ||
- | **Replace with:** | + | |
- | < | + | |
- | ' | + | |
- | ' | + | |
- | ' | + | |
- | ' | + | |
- | + | ||
- | Then **find:** | + | |
- | < | + | |
- | **replace with:** | + | |
- | < | + | |
- | geoUH.userId = {$userId}; | + | |
- | geoUH.adminId = {$adminId}; | + | |
- | </ | + | |
- | + | ||
- | Also changes to add new " | + | |
- | < | + | |
- | // | + | |
- | // | + | |
- | lightUpBox.registerHideCallback (geoUH.tempHideUpload); | + | |
- | lightUpBox.registerShowCallback (geoUH.tempShowUpload); | + | |
- | }</ | + | |
- | **Replace with:** | + | |
- | < | + | |
- | // | + | |
- | // | + | |
- | lightUpBox.registerHideCallback (geoUH.tempHideUpload); | + | |
- | lightUpBox.registerShowCallback (geoUH.tempShowUpload); | + | |
- | } | + | |
- | // | + | |
- | // | + | |
- | //place after instructions are shown/ | + | |
- | geoUtil.instrBtns.registerCallbacks (geoUH.tempHideUpload, | + | |
- | ==== system/ | + | |
- | Changes to allow cart to be used in admin panel. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html>< | + | |
- | **Replace with:** | + | |
- | <code html>< | + | |
- | //< | + | |
- | geoListing.inAdmin={if $in_admin}true{else}false{/ | + | |
- | //]]> | + | |
- | </ | + | |
- | + | ||
- | <form action=" | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | Changes to allow cart to be used in admin panel. | + | |
- | + | ||
- | **Find:** | + | |
- | <code js> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code js> | + | |
- | ajaxUrl : " | + | |
- | + | ||
- | //the flash URL, used when initing the swfu</ | + | |
- | + | ||
- | Then later in file, **find:** | + | |
- | <code js> | + | |
- | **replace with:** | + | |
- | <code js> | + | |
- | adminId : 0,</ | + | |
- | + | ||
- | Then, find all occurrences of: | + | |
- | < | + | |
- | And replace each one with: | + | |
- | < | + | |
- | + | ||
- | In same file, **find:** | + | |
- | < | + | |
- | + | ||
- | **Replace with:** | + | |
- | < | + | |
- | ' | + | |
- | ' | + | |
- | ' | + | |
- | },</ | + | |
- | + | ||
- | Then **find each occurrence: | + | |
- | < | + | |
- | **Replace each one with:** | + | |
- | < | + | |
- | adminId : geoUH.adminId</ | + | |
- | + | ||
- | In same file, further changes made to add " | + | |
- | + | ||
- | **Find:** | + | |
- | <code js> | + | |
- | **Replace with:** | + | |
- | <code js> | + | |
- | if ($(' | + | |
- | $(' | + | |
- | } | + | |
- | if ($(' | + | |
- | //hide legacy button | + | |
- | $(' | + | |
- | } | + | |
- | + | ||
- | //Find the " | + | |
- | + | ||
- | Then later in the file, **find:** | + | |
- | <code js> }, | + | |
- | + | ||
- | /** | + | |
- | * Moves new/edit image box to the given image slot, uses a move animation if | + | |
- | * the box is already visible, or just moves it then uses a fade in animation | + | |
- | * if the box starts out hidden. | + | |
- | */ | + | |
- | moveTo : function (position) {</ | + | |
- | **replace with:** | + | |
- | <code js> }, | + | |
- | + | ||
- | /** | + | |
- | * Fixes the position of the image upload box | + | |
- | */ | + | |
- | fixUploadPosition : function () { | + | |
- | if (geoUH.currentEditPosition) { | + | |
- | geoUH.moveTo(geoUH.currentEditPosition); | + | |
- | } else if (geoUH.currentUploadSpot) { | + | |
- | geoUH.moveTo(geoUH.currentUploadSpot); | + | |
- | } | + | |
- | }, | + | |
- | + | ||
- | /** | + | |
- | * Moves new/edit image box to the given image slot, uses a move animation if | + | |
- | * the box is already visible, or just moves it then uses a fade in animation | + | |
- | * if the box starts out hidden. | + | |
- | */ | + | |
- | moveTo : function (position) {</ | + | |
- | ==== Template variable changes for cart_url 5.2.0 ==== | + | |
- | + | ||
- | Changes to allow cart to be used in the admin panel. | + | |
- | + | ||
- | In each of these files: | + | |
- | * system/ | + | |
- | * system/ | + | |
- | * system/ | + | |
- | * system/ | + | |
- | + | ||
- | Changes to allow cart to be used in admin panel. | + | |
- | + | ||
- | In the file, find every occurrence of: | + | |
- | < | + | |
- | And replace each with: | + | |
- | < | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to get rid of empty image boxes when using legacy image uploader. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | Remove that code from the template. | + | |
- | + | ||
- | Changes to template vars, as part of changing how image upload page is structured, to add youtube video. | + | |
- | + | ||
- | **Find:** | + | |
- | < | + | |
- | **Replace with:** | + | |
- | < | + | |
- | + | ||
- | **Find:** | + | |
- | < | + | |
- | **replace with:** | + | |
- | < | + | |
- | ==== system/ | + | |
- | + | ||
- | Changes to allow Oodle feed to handle location data with invalid chars in it. | + | |
- | + | ||
- | **Find:** | + | |
- | <code xml> | + | |
- | {if $listing.location_city}< | + | |
- | {if $listing.location_state}< | + | |
- | {if $listing.location_zip}< | + | |
- | {if $listing.location_country}< | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code xml> | + | |
- | {if $listing.location_city}< | + | |
- | {if $listing.location_state}< | + | |
- | {if $listing.location_zip}< | + | |
- | {if $listing.location_country}< | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to template vars, as part of changing how image upload page is structured, to add youtube video. | + | |
- | + | ||
- | **Find:** | + | |
- | < | + | |
- | **Replace with:** | + | |
- | < | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | Added new CSS for show instructions button, added during new media collection page. | + | |
- | + | ||
- | **Add to file:** | + | |
- | <code css> | + | |
- | .show_instructions_button { | + | |
- | /* The instructions button for each section on media collection page */ | + | |
- | color: #666666; | + | |
- | }</ | + | |
- | + | ||
- | Also added new CSS for displaying the video block. | + | |
- | + | ||
- | **Add to file:** | + | |
- | <code css>/ | + | |
- | div.offsite_video { | + | |
- | display: inline-block; | + | |
- | margin: 5px; | + | |
- | padding: 15px; | + | |
- | border: 3px solid #eaeaea; | + | |
- | } | + | |
- | + | ||
- | div.offsite_videos_container { | + | |
- | text-align: | + | |
- | padding-bottom: | + | |
- | }</ | + | |
- | ==== external/ | + | |
- | + | ||
- | **NOTE: | + | |
- | + | ||
- | Minor change to CSS to prevent jumpiness in new " | + | |
- | + | ||
- | **Find:** | + | |
- | <code css># | + | |
- | /* overall containter for " | + | |
- | margin-top: | + | |
- | }</ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code css># | + | |
- | /* overall containter for " | + | |
- | + | ||
- | }</ | + | |
- | + | ||
- | + | ||
- | ===== To 5.2.1 ===== | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Fix to make legacy image uploader work properly on new media collection page. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html>< | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html>< | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | Few tweaks to JS that should make it slightly more stable. | + | |
- | + | ||
- | **Find:** | + | |
- | <code js> | + | |
- | //keep traveling up the DOM until we get to the parent form | + | |
- | formElem = formElem.up(); | + | |
- | }</ | + | |
- | **Replace With:** | + | |
- | <code js> | + | |
- | + | ||
- | Further down, **Find:** | + | |
- | <code js> | + | |
- | geoUH.swfu = null;</ | + | |
- | **Replace with:** | + | |
- | <code js> | + | |
- | // | + | |
- | geoUH.swfu = null; | + | |
- | if (!geoUH.doingSomething(' | + | |
- | //we are hiding before init is finished loading, since we just destroyed it, | + | |
- | // | + | |
- | // | + | |
- | geoUH.doNothing(); | + | |
- | }</ | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | We missed 2 classes that needed to be moved to secondary theme styles, for the instructions button added during media collection step. | + | |
- | + | ||
- | **Find:** | + | |
- | <code css> | + | |
- | .show_instructions_button: | + | |
- | border: 1px solid #a7c1dd; | + | |
- | background: | + | |
- | color: #3c70ac; | + | |
- | text-decoration: | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | **Remove that code (it is moved to secondary theme styles)** | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | We missed 2 classes that needed to be moved to secondary theme styles, for the instructions button added during media collection step. | + | |
- | + | ||
- | **Find:** | + | |
- | <code css> | + | |
- | .mini_button: | + | |
- | .editor_ok_button: | + | |
- | .edit: | + | |
- | .edit: | + | |
- | .preview: | + | |
- | .preview: | + | |
- | {</ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code css> | + | |
- | .mini_button: | + | |
- | .editor_ok_button: | + | |
- | .edit: | + | |
- | .edit: | + | |
- | .preview: | + | |
- | .preview: | + | |
- | h2.title a.show_instructions_button: | + | |
- | h2.title a.show_instructions_button: | + | |
- | {</ | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | In this file, we change the order of the tags to fix W3C validation error. | + | |
- | + | ||
- | ===== To 5.2.2 ===== | + | |
- | + | ||
- | ==== system/ | + | |
- | Changes required to make sure the media collection page is being submitted (so that it does not process media just from hitting refresh). | + | |
- | + | ||
- | **Find: | + | |
- | < | + | |
- | <br /><br /> | + | |
- | <a href=" | + | |
- | </ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | < | + | |
- | < | + | |
- | <br /><br /> | + | |
- | <a href=" | + | |
- | </ | + | |
- | + | ||
- | ==== main_page/ | + | |
- | + | ||
- | We made some changes to the default listing details templates to make the Sharing addon buttons more W3C-compliant, | + | |
- | + | ||
- | **Change this:** | + | |
- | <code html> | + | |
- | <h1 class=" | + | |
- | <span class=" | + | |
- | {$title} | + | |
- | {if $can_edit} | + | |
- | <a href=" | + | |
- | {/if} | + | |
- | {if $can_delete} | + | |
- | <a onclick=" | + | |
- | {/if} | + | |
- | {foreach from=$addonActionButtons item=btn} | + | |
- | {$btn} | + | |
- | {/ | + | |
- | </ | + | |
- | </ | + | |
- | **To this:** | + | |
- | <code html> | + | |
- | <h1 class=" | + | |
- | + | ||
- | <div class=" | + | |
- | {if $can_edit} | + | |
- | <a href=" | + | |
- | {/if} | + | |
- | {if $can_delete} | + | |
- | <a onclick=" | + | |
- | {/if} | + | |
- | {foreach from=$addonActionButtons item=btn} | + | |
- | {$btn} | + | |
- | {/ | + | |
- | </ | + | |
- | <div class=" | + | |
- | <br /> | + | |
- | </ | + | |
- | + | ||
- | ===== To 5.2.4 ===== | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | Change to get rid of mis-alignment of new image upload box. **Find:** | + | |
- | <code javascript> | + | |
- | var moveY = (movePosition.top * 1) - 10;</ | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code javascript> | + | |
- | // | + | |
- | var moveX = (movePosition.left * 1); | + | |
- | var moveY = (movePosition.top * 1);</ | + | |
- | ===== To 6.0.0 ===== | + | |
- | + | ||
- | ==== Main Changes ==== | + | |
- | + | ||
- | Below is a list of changes most sites will need to do because of the new version of Smarty 3.1.5, regardless of whether they customize system or module templates. | + | |
- | + | ||
- | * In **main_page/ | + | |
- | * Convert any places that embed PHP in templates (using {php} or {php_include} tags), to use alternate methods. | + | |
- | * The new version of Smarty is much more **strict**, after updating to version 6.0 we recommend to go through your site and check for any errors. | + | |
- | ==== system/ | + | |
- | Change to add the edit price button for when working on cart in admin panel. | + | |
- | + | ||
- | **Find: | + | |
- | {if $item.canEdit} | + | |
- | <a href=" | + | |
- | {/ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if !$allFree && $item.canAdminEditPrice && $in_admin} | + | |
- | <a href=" | + | |
- | {/if} | + | |
- | {if $item.canEdit} | + | |
- | <a href=" | + | |
- | {/ | + | |
- | + | ||
- | Changes for added features in admin-side cart, to allow " | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $in_admin && !$view_only && $item.needAdminApproval} | + | |
- | <br /> | + | |
- | < | + | |
- | < | + | |
- | {$messages.500947} {$admin_auto_approve_help} | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | Changes to allow costs of 0 to be replaced by a string: | + | |
- | + | ||
- | **Find: | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | + | ||
- | ==== Template variable changes for cart_url 6.0.0 ==== | + | |
- | + | ||
- | Changes to allow cart to be used in the admin panel (A few changes that were missed in 5.2.0). | + | |
- | + | ||
- | In each of these files: | + | |
- | * system/ | + | |
- | * system/ | + | |
- | * system/ | + | |
- | + | ||
- | Changes to allow cart to be used in admin panel. | + | |
- | + | ||
- | In the file, find every occurrence of: | + | |
- | < | + | |
- | And replace each with: | + | |
- | < | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes for added features in admin-side cart, to allow " | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | {foreach from=$items key=k item=item} | + | |
- | {include file=" | + | |
- | {foreachelse} | + | |
- | {assign var=' | + | |
- | <div class=" | + | |
- | < | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | {if !$view_only && $no_use_checkout ne 1} | + | |
- | <div class=" | + | |
- | < | + | |
- | </ | + | |
- | {/ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {assign var=' | + | |
- | + | ||
- | {foreach from=$items key=k item=item} | + | |
- | {include file=" | + | |
- | {foreachelse} | + | |
- | {assign var=' | + | |
- | <div class=" | + | |
- | < | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | {if !$view_only && $no_use_checkout ne 1} | + | |
- | <div class=" | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | {/if} | + | |
- | {if !$view_only}</ | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Fix cart link on payment page in new admin cart. | + | |
- | + | ||
- | **Find:** | + | |
- | < | + | |
- | **Replace with:** | + | |
- | < | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Add a " | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | <a href=" | + | |
- | {$my_account_link} | + | |
- | </ | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | <a href=" | + | |
- | {$my_account_link} | + | |
- | </ | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $in_admin && $user.id} | + | |
- | <div class=" | + | |
- | <a href=" | + | |
- | Recently Created Orders | + | |
- | </ | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Removed the parts that display the e-mail address, in the list of black-listed users. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {*< | + | |
- | + | ||
- | Later in the file, **find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with**: | + | |
- | <code html> | + | |
- | {* < | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Removed the parts that display the e-mail address, in the list of invited users. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {*< | + | |
- | + | ||
- | Later in the file, **find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with**: | + | |
- | <code html> | + | |
- | {* < | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes needed for Smarty 3.0, to remove the added newline, and also changes to allow 0.00 to be replaced with string (new setting specified by admin). | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $onlyPost}{$post}{elseif $number === false}-{else}{$pre}{$number}{if $post} {$post}{/ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html>{* $Rev: 21976 $ *}{strip} | + | |
- | {if $replace} | + | |
- | {$replaceTxt} | + | |
- | {elseif $onlyPost} | + | |
- | {$post} | + | |
- | {elseif $number === false} | + | |
- | - | + | |
- | {else} | + | |
- | {$pre}{$number}{if $post} {$post}{/ | + | |
- | {/if} | + | |
- | {/ | + | |
- | + | ||
- | Note that the rev # shown at the top may be different. | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | The file have been removed. | + | |
- | + | ||
- | To replace this template, a new template has been created, at: | + | |
- | + | ||
- | **system/ | + | |
- | + | ||
- | The new template is totally different than the old one, as it uses the common browsing sub-templates to display listing results. | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes for numeric category questions. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html>{if $question.type == ' | + | |
- | **Replace With:** | + | |
- | <code html>{if $question.type == ' | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes for numeric category questions. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | {elseif $q.type == ' | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | {elseif $q.type == ' | + | |
- | + | ||
- | Further in the file, changes to allow multiple selections for category drop-downs. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | < | + | |
- | {foreach from=$q.options item=opt}< | + | |
- | </ | + | |
- | {if $q.other} {$messages.500659} <input class=" | + | |
- | {/ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | < | + | |
- | < | + | |
- | {foreach $q.options as $opt} | + | |
- | {if $opt} | + | |
- | < | + | |
- | {/ | + | |
- | {/ | + | |
- | </ | + | |
- | < | + | |
- | + | ||
- | {if $q.other}< | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | Then back up on the page some, changes to allow site-wide optionals to have multiple dropdown values selected, and also to add " | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | {elseif $field.type == " | + | |
- | < | + | |
- | {elseif $field.type == " | + | |
- | < | + | |
- | {foreach from=$field.dropdown item=option} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $field.other_box} | + | |
- | {$messages.1458} <input type=" | + | |
- | {/ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | {elseif $field.type==' | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | {elseif $field.type == ' | + | |
- | < | + | |
- | {elseif $field.type == ' | + | |
- | < | + | |
- | < | + | |
- | {foreach $field.dropdown as $val} | + | |
- | {if $val.value} | + | |
- | < | + | |
- | {/ | + | |
- | {/ | + | |
- | </ | + | |
- | < | + | |
- | + | ||
- | {if $field.other_box}< | + | |
- | </ | + | |
- | {/ | + | |
- | ==== external/ | + | |
- | Changes to allow multiple selections for category question dropdowns, and CSS for new calendar date picker. | + | |
- | + | ||
- | **Add to End:** | + | |
- | <code css> | + | |
- | + | ||
- | /* ###### Multi-select search question check-boxes ####### | + | |
- | + | ||
- | div.multiselect { | + | |
- | display: inline-block; | + | |
- | } | + | |
- | + | ||
- | div.multiselect ul { | + | |
- | margin: 0px; | + | |
- | padding: 0px; | + | |
- | } | + | |
- | + | ||
- | div.multiselect ul li { | + | |
- | list-style: | + | |
- | float: left; | + | |
- | padding: 0px 10px 0px 0px; | + | |
- | } | + | |
- | div.multiselect .or_field { | + | |
- | text-align: | + | |
- | } | + | |
- | + | ||
- | /* ############ | + | |
- | + | ||
- | ul.tabList { | + | |
- | list-style: | + | |
- | margin: 0px 0px 0px 10px; | + | |
- | padding: 0px; | + | |
- | z-index: 2; | + | |
- | } | + | |
- | + | ||
- | ul.tabList li { | + | |
- | background: | + | |
- | border-top: | + | |
- | border-left: | + | |
- | border-right: | + | |
- | border-bottom: | + | |
- | padding: 10px 15px 8px 15px; | + | |
- | color: #818181; | + | |
- | text-decoration: | + | |
- | display: inline-block; | + | |
- | margin: 0px 1px; | + | |
- | cursor: pointer; | + | |
- | font-size: 11px; | + | |
- | font-weight: | + | |
- | margin-bottom: | + | |
- | /* Give round corners on all modern updated browsers */ | + | |
- | border-top-left-radius: | + | |
- | border-top-right-radius: | + | |
- | } | + | |
- | /* Hover effects on primary_theme_styles.css */ | + | |
- | + | ||
- | div.tabContents { | + | |
- | clear: both; | + | |
- | border: 5px solid #eaeaea; | + | |
- | padding: 5px; | + | |
- | z-index: 1; | + | |
- | } | + | |
- | + | ||
- | /* ############ | + | |
- | + | ||
- | div.calendar | + | |
- | { | + | |
- | font-size: smaller; | + | |
- | color: #000; | + | |
- | } | + | |
- | + | ||
- | div.calendar.popup | + | |
- | { | + | |
- | margin-left: | + | |
- | margin-top: | + | |
- | z-index: 1006; | + | |
- | } | + | |
- | + | ||
- | div.calendar td.button | + | |
- | { | + | |
- | /* Un-do the normal button stuff */ | + | |
- | border: inherit; | + | |
- | background: | + | |
- | color: inherit; | + | |
- | height: auto; | + | |
- | font-weight: | + | |
- | font-size: 12px; | + | |
- | display: table-cell; | + | |
- | } | + | |
- | + | ||
- | div.calendar table | + | |
- | { | + | |
- | background-color: | + | |
- | border: 1px solid #aaa; | + | |
- | border-collapse: | + | |
- | } | + | |
- | + | ||
- | div.calendar thead { | + | |
- | background-color: | + | |
- | } | + | |
- | + | ||
- | div.calendar td, | + | |
- | div.calendar th | + | |
- | { | + | |
- | padding: 3px; | + | |
- | text-align: | + | |
- | } | + | |
- | + | ||
- | div.calendar td.title | + | |
- | { | + | |
- | font-weight: | + | |
- | } | + | |
- | + | ||
- | div.calendar th | + | |
- | { | + | |
- | background: | + | |
- | border-bottom: | + | |
- | border-top: | + | |
- | font-weight: | + | |
- | color: #555; | + | |
- | } | + | |
- | + | ||
- | div.calendar tr.days td { | + | |
- | width: 2em; | + | |
- | color: #555; | + | |
- | text-align: | + | |
- | cursor: pointer; | + | |
- | } | + | |
- | + | ||
- | div.calendar tr.days td:hover, | + | |
- | div.calendar td.button: | + | |
- | { | + | |
- | background-color: | + | |
- | cursor: pointer; | + | |
- | } | + | |
- | + | ||
- | div.calendar tr.days td:active | + | |
- | div.calendar td.button: | + | |
- | { | + | |
- | background-color: | + | |
- | } | + | |
- | + | ||
- | div.calendar tr.days td.selected | + | |
- | { | + | |
- | font-weight: | + | |
- | background-color: | + | |
- | color: #000; | + | |
- | } | + | |
- | + | ||
- | div.calendar tr.days td.today | + | |
- | { | + | |
- | font-weight: | + | |
- | color: #D50000; | + | |
- | } | + | |
- | + | ||
- | div.calendar tr.days td.otherDay | + | |
- | { | + | |
- | color: #bbb; | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | Change to improve the layout of the My Account Links module. | + | |
- | + | ||
- | **Find:** | + | |
- | <code css> | + | |
- | h1.subtitle { | + | |
- | background: | + | |
- | font-size: 14px; | + | |
- | font-weight: | + | |
- | margin: 1px 0px; | + | |
- | padding: 5px 0px 5px 3px; | + | |
- | border-top: | + | |
- | border-bottom: | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code css> | + | |
- | h1.subtitle { | + | |
- | background: | + | |
- | font-size: 14px; | + | |
- | font-weight: | + | |
- | margin: 1px 0px; | + | |
- | padding: 5px 0px 5px 3px; | + | |
- | border-top: | + | |
- | border-bottom: | + | |
- | } | + | |
- | + | ||
- | .my_account_links_inactive h1.subtitle { | + | |
- | margin: 0px; | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Change to improve the layout of the My Account Links module. (removed an extra line break) | + | |
- | **Find:** | + | |
- | <code html> | + | |
- | {if count($orderItemLinks) > 0} | + | |
- | < | + | |
- | {foreach from=$orderItemLinks item=itemLink} | + | |
- | {if $itemLink.icon||$itemLink.label} | + | |
- | <li class=" | + | |
- | {if $itemLink.link} | + | |
- | <a href=" | + | |
- | {else} | + | |
- | < | + | |
- | {/ | + | |
- | {if $itemLink.icon} | + | |
- | {$itemLink.icon} | + | |
- | {/ | + | |
- | {$itemLink.label} | + | |
- | + | ||
- | {if !$itemLink.link}</ | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | </ | + | |
- | <br /> | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html> | + | |
- | {if count($orderItemLinks) > 0} | + | |
- | < | + | |
- | {foreach from=$orderItemLinks item=itemLink} | + | |
- | {if $itemLink.icon||$itemLink.label} | + | |
- | <li class=" | + | |
- | {if $itemLink.link} | + | |
- | <a href=" | + | |
- | {else} | + | |
- | < | + | |
- | {/ | + | |
- | {if $itemLink.icon} | + | |
- | {$itemLink.icon} | + | |
- | {/ | + | |
- | {$itemLink.label} | + | |
- | + | ||
- | {if !$itemLink.link}</ | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | Allow the mini-cart display at the top of the module to use different text when there is only 1 item in the cart: | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {$cartItemCount} {$messages.500648} | + | |
- | </ | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html> | + | |
- | {$cartItemCount} {if $cartItemCount == 1}{$messages.501015}{else}{$messages.500648}{/ | + | |
- | </ | + | |
- | ==== system/ | + | |
- | + | ||
- | Changes to allow searching by multiple site wide optional values on optional drop-downs. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | < | + | |
- | < | + | |
- | {if $o.type == " | + | |
- | {$messages.1440} <input name=' | + | |
- | {$messages.1441} <input name=' | + | |
- | {elseif $o.type == " | + | |
- | < | + | |
- | {elseif $o.type == " | + | |
- | < | + | |
- | {foreach from=$o.dropdown item=val} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | {if $o.other_box} | + | |
- | {$messages.1458} <input type=' | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | < | + | |
- | < | + | |
- | {if $o.type == ' | + | |
- | {$messages.1440} <input name=' | + | |
- | {$messages.1441} <input name=' | + | |
- | {elseif $o.type==' | + | |
- | {$messages.501040} <input name=' | + | |
- | {$messages.501041} <input name=' | + | |
- | {elseif $o.type == ' | + | |
- | < | + | |
- | {elseif $o.type == ' | + | |
- | < | + | |
- | < | + | |
- | {foreach $o.dropdown as $val} | + | |
- | {if $val.value} | + | |
- | < | + | |
- | {/ | + | |
- | {/ | + | |
- | </ | + | |
- | < | + | |
- | + | ||
- | {if $o.other_box}< | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | Changes to remove older non-used functionality that was only used back when templates were saved in the database. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $custom_template_id} | + | |
- | < | + | |
- | {/if} | + | |
- | <input type=' | + | |
- | </ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | <input type=' | + | |
- | </ | + | |
- | ==== system/ | + | |
- | + | ||
- | Changes to allow check-box for auto-approving items in admin panel. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | < | + | |
- | {$messages.500313}: | + | |
- | {* (Current Balance: < | + | |
- | </ | + | |
- | + | ||
- | <input type=" | + | |
- | </ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {$messages.500313}: | + | |
- | {* (Current Balance: < | + | |
- | </ | + | |
- | + | ||
- | <input type=" | + | |
- | + | ||
- | ==== system/ | + | |
- | Changes for " | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $l.icons.buy_now}< | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | Changes to add new addon hook. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | </ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {$addons_bottom} | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | Changes to add new addon hook. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {foreach from=$orderItemFields item=f} | + | |
- | <div class=" | + | |
- | {if $f.type == ' | + | |
- | < | + | |
- | < | + | |
- | {else} | + | |
- | < | + | |
- | {$f.value} | + | |
- | {/ | + | |
- | {if $f.error} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | {/ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {foreach $orderItemFields as $f} | + | |
- | <div class=" | + | |
- | {if $f.type == ' | + | |
- | < | + | |
- | < | + | |
- | {else} | + | |
- | < | + | |
- | {$f.value} | + | |
- | {/ | + | |
- | {if $f.error} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | {/if} | + | |
- | {if count($addonFields) > 0} | + | |
- | {foreach $addonFields as $addon => $addonField} | + | |
- | {foreach $addonField as $f} | + | |
- | < | + | |
- | {if $f.type == ' | + | |
- | < | + | |
- | < | + | |
- | {else} | + | |
- | < | + | |
- | {$f.value} | + | |
- | {/ | + | |
- | {if $f.error} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | {/ | + | |
- | {/ | + | |
- | + | ||
- | Changes to only show message if demo is enabled. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | {/ | + | |
- | + | ||
- | **Replace With:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | {/ | + | |
- | ==== external/ | + | |
- | Changes for having " | + | |
- | <code css>/ | + | |
- | ul.tabList li:hover, | + | |
- | ul.tabList li.activeTab { | + | |
- | background: | + | |
- | border: 1px solid #4987C5; | + | |
- | padding-bottom: | + | |
- | border-bottom: | + | |
- | color: #ffffff; | + | |
- | } | + | |
- | ul.tabList li.activeTab { | + | |
- | background: | + | |
- | border: 2px solid #eaeaea; | + | |
- | padding: 9px 14px 13px 14px; | + | |
- | border-bottom: | + | |
- | color: #4987C5; | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes for having " | + | |
- | + | ||
- | Pretty much entire file is changed, replace old file with contents from new file. | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Changes to make items in my account links with the text blank, not show. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | < | + | |
- | {if $listItem.link} | + | |
- | < | + | |
- | {else} | + | |
- | < | + | |
- | {/ | + | |
- | {if $listItem.icon} | + | |
- | {$listItem.icon} | + | |
- | {/ | + | |
- | {$listItem.label} | + | |
- | {if !$listItem.link} | + | |
- | </ | + | |
- | {else} | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $listItem.icon||$listItem.label} | + | |
- | < | + | |
- | {if $listItem.link} | + | |
- | < | + | |
- | {else} | + | |
- | < | + | |
- | {/ | + | |
- | {if $listItem.icon} | + | |
- | {$listItem.icon} | + | |
- | {/ | + | |
- | {$listItem.label} | + | |
- | {if !$listItem.link} | + | |
- | </ | + | |
- | {else} | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | {/ | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | < | + | |
- | {if $itemLink.link} | + | |
- | < | + | |
- | {else} | + | |
- | < | + | |
- | {/ | + | |
- | {if $itemLink.icon} | + | |
- | {$itemLink.icon} | + | |
- | {/ | + | |
- | {$itemLink.label} | + | |
- | + | ||
- | {if !$itemLink.link}</ | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $itemLink.icon||$itemLink.label} | + | |
- | < | + | |
- | {if $itemLink.link} | + | |
- | < | + | |
- | {else} | + | |
- | < | + | |
- | {/ | + | |
- | {if $itemLink.icon} | + | |
- | {$itemLink.icon} | + | |
- | {/ | + | |
- | {$itemLink.label} | + | |
- | + | ||
- | {if !$itemLink.link}</ | + | |
- | </ | + | |
- | {/ | + | |
- | {/ | + | |
- | + | ||
- | **find:** | + | |
- | <code html> | + | |
- | < | + | |
- | {if $gatewayLink.link} | + | |
- | < | + | |
- | {else} | + | |
- | < | + | |
- | {/ | + | |
- | {if $gatewayLink.icon}{$gatewayLink.icon}{/ | + | |
- | {$gatewayLink.label} | + | |
- | + | ||
- | {if !$gatewayLink.link}</ | + | |
- | </ | + | |
- | {/ | + | |
- | **replace with:** | + | |
- | <code html> | + | |
- | {if $gatewayLink.icon||$gatewayLink.label} | + | |
- | < | + | |
- | {if $gatewayLink.link} | + | |
- | < | + | |
- | {else} | + | |
- | < | + | |
- | {/ | + | |
- | {if $gatewayLink.icon}{$gatewayLink.icon}{/ | + | |
- | {$gatewayLink.label} | + | |
- | + | ||
- | {if !$gatewayLink.link}</ | + | |
- | </ | + | |
- | {/ | + | |
- | {/ | + | |
- | + | ||
- | **find:** | + | |
- | <code html> | + | |
- | < | + | |
- | {if $listItem.link} | + | |
- | <a href=" | + | |
- | {else} | + | |
- | < | + | |
- | {/ | + | |
- | {if $listItem.icon} | + | |
- | {$listItem.icon} | + | |
- | {/ | + | |
- | + | ||
- | {$listItem.label} | + | |
- | + | ||
- | {if !$listItem.link} | + | |
- | </ | + | |
- | {else} | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | **replace with:** | + | |
- | <code html> | + | |
- | {if $listItem.icon||$listItem.label} | + | |
- | < | + | |
- | {if $listItem.link} | + | |
- | < | + | |
- | {else} | + | |
- | < | + | |
- | {/ | + | |
- | {if $listItem.icon} | + | |
- | {$listItem.icon} | + | |
- | {/ | + | |
- | + | ||
- | {$listItem.label} | + | |
- | + | ||
- | {if !$listItem.link} | + | |
- | </ | + | |
- | {else} | + | |
- | </ | + | |
- | {/ | + | |
- | </ | + | |
- | {/if} | + | |
- | {/ | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Changes for bug 148 to allow category tree prefix to be used for category tree module. | + | |
- | + | ||
- | **find:** | + | |
- | <code html> | + | |
- | **replace with:** | + | |
- | <code html> | + | |
- | {if !$fallback_tree_display && $categories}</ | + | |
- | Further down, **find:** | + | |
- | <code html> | + | |
- | **replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Several changes for reverse auctions. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | < | + | |
- | + | ||
- | {if ($editCheck && $sell_type == 2)} | + | |
- | {if $field_config.allow_standard && $field_config.allow_dutch && !$pricePlan.buy_now_only} | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | {elseif $field_config.allow_standard && ($pricePlan.buy_now_only || !$field_config.allow_dutch)} | + | |
- | < | + | |
- | {elseif $field_config.allow_dutch} | + | |
- | < | + | |
- | {else} | + | |
- | < | + | |
- | < | + | |
- | {if $field_config.allow_dutch} | + | |
- | < | + | |
- | {/ | + | |
- | </ | + | |
- | {/ | + | |
- | {$auction_type_help_link} | + | |
- | {else} | + | |
- | {if $session_variables.auction_type == 2} | + | |
- | {$messages.102838} | + | |
- | {else} | + | |
- | {$messages.102837} | + | |
- | {/ | + | |
- | {/ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | < | + | |
- | + | ||
- | {if $editCheck} | + | |
- | {if $field_config.allow_standard && $pricePlan.buy_now_only} | + | |
- | {* Buy now only! Can only be " | + | |
- | < | + | |
- | {elseif $auction_choices_count> | + | |
- | {* We know there is more than one choice, so show selection *} | + | |
- | < | + | |
- | {if $field_config.allow_standard}< | + | |
- | {if $field_config.allow_dutch}< | + | |
- | {if $allow_reverse}< | + | |
- | </ | + | |
- | {elseif $field_config.allow_standard} | + | |
- | < | + | |
- | {elseif $field_config.allow_dutch} | + | |
- | < | + | |
- | {elseif $allow_reverse} | + | |
- | < | + | |
- | {/ | + | |
- | {$auction_type_help_link} | + | |
- | {else} | + | |
- | {if $session_variables.auction_type==1} | + | |
- | {$messages.102837} | + | |
- | {elseif $session_variables.auction_type==2} | + | |
- | {$messages.102838} | + | |
- | {elseif $session_variables.auction_type==3} | + | |
- | {$messages.500977} | + | |
- | {/ | + | |
- | {/ | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **replace with:** | + | |
- | <code html> | + | |
- | {if $allow_reverse}< | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | id=" | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | id=" | + | |
- | + | ||
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | Change to handle the new way the " | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if count($fields-> | + | |
- | {$messages.1340} | + | |
- | < | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $fields-> | + | |
- | {$messages.1340} | + | |
- | < | + | |
- | < | + | |
- | {/if} | + | |
- | </ | + | |
- | ==== system/ | + | |
- | + | ||
- | Added the ability to show the 3 URL listing fields, if they' | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | <label class=" | + | |
- | {$ad-> | + | |
- | </ | + | |
- | </ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | <label class=" | + | |
- | {$ad-> | + | |
- | </ | + | |
- | + | ||
- | {if $ad-> | + | |
- | <div class=" | + | |
- | <label class=" | + | |
- | {$ad-> | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $ad-> | + | |
- | <div class=" | + | |
- | <label class=" | + | |
- | {$ad-> | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $ad-> | + | |
- | <div class=" | + | |
- | <label class=" | + | |
- | {$ad-> | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | Major changes and re-writing, as part of bug 32 (reverse auction integration), | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to text used to add reverse auctions. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes for integrating reverse auctions. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {*standard auction*} | + | |
- | < | + | |
- | < | + | |
- | {else}</ | + | |
- | **replace with:** | + | |
- | <code html> | + | |
- | {*standard or reverse auction*} | + | |
- | < | + | |
- | {if $auc.maxbid} | + | |
- | {$auc.maxbid} {if $auc.type==1}{$messages.501012}{else}{$messages.501013}{/ | + | |
- | {else} | + | |
- | - | + | |
- | {/ | + | |
- | </ | + | |
- | < | + | |
- | {else}</ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Added CSS classes specific to each header column. Many changes; see the default version of the file for specifics. | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to make it possible to set ID for category dropdown element. | + | |
- | + | ||
- | **find:** | + | |
- | <code html>< | + | |
- | + | ||
- | **replace with:** | + | |
- | <code html>< | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | The shared module template **module/ | + | |
- | + | ||
- | So that all the " | + | |
- | <code html> | + | |
- | Replace with: | + | |
- | <code html> | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | The shared module template **module/ | + | |
- | + | ||
- | So that all the " | + | |
- | <code html> | + | |
- | Replace with: | + | |
- | <code html> | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Fixed issue where title= was twice for the renew and upgrade links. | + | |
- | + | ||
- | **Find:** | + | |
- | <codd html> | + | |
- | {if $listing.show_upgrade_link}< | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $listing.show_upgrade_link}< | + | |
- | ==== Invoices 6.0.0 ==== | + | |
- | + | ||
- | Re-did the file structure for Invoices, to unify them between the admin and front end, and add a print-friendly version to the front end. | + | |
- | + | ||
- | The following files have been **REMOVED: | + | |
- | * external/ | + | |
- | * system/ | + | |
- | * system/ | + | |
- | * admin/ | + | |
- | + | ||
- | And the following files have been **ADDED**: | + | |
- | * external/ | + | |
- | * system/ | + | |
- | * system/ | + | |
- | * system/ | + | |
- | * system/ | + | |
- | * system/ | + | |
- | * system/ | + | |
- | + | ||
- | ===== To 6.0.2 ===== | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Change to use the correct variable name for the featured pic header. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | Fix problem with title link within module. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to make client-side WYSIWYG stuff work better in admin panel, so that WYSIWYG editor in admin-side cart will work. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | if (geoWysiwyg.tinyLoaded) { | + | |
- | return false; | + | |
- | } | + | |
- | geoWysiwyg.tinyLoaded = true; | + | |
- | + | ||
- | + | ||
- | tinyMCE.init({</ | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | }); | + | |
- | + | ||
- | //when page is loaded, init the editor | + | |
- | Event.observe(window,' | + | |
- | //load tiny mce | + | |
- | geoWysiwyg.editors = $$(' | + | |
- | + | ||
- | if (getCookie(' | + | |
- | //now restore values, un-doing any damage that might have been done... | + | |
- | geoWysiwyg.toggleTinyEditors(); | + | |
- | } | + | |
- | });</ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | }); | + | |
- | + | ||
- | {if $inAdmin} | + | |
- | geoWysiwyg.editors = $$(' | + | |
- | {/if} | + | |
- | + | ||
- | return true; | + | |
- | }; | + | |
- | + | ||
- | {if !$inAdmin} | + | |
- | //load tiny right away when not in admin | + | |
- | geoWysiwyg.loadTiny(); | + | |
- | + | ||
- | //when page is loaded, init the editor | + | |
- | Event.observe(window,' | + | |
- | //load tiny mce | + | |
- | geoWysiwyg.editors = $$(' | + | |
- | + | ||
- | if (geoUtil.getCookie(' | + | |
- | //now restore values, un-doing any damage that might have been done... | + | |
- | geoWysiwyg.toggleTinyEditors(); | + | |
- | } | + | |
- | }); | + | |
- | {/ | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to make links on anon data step work during listing placement in admin panel. | + | |
- | + | ||
- | **find:** | + | |
- | <code html> | + | |
- | + | ||
- | **replace with:** | + | |
- | <code html> | + | |
- | + | ||
- | + | ||
- | ===== To 6.0.3 ===== | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Added conditionals to prevent the featured table' | + | |
- | + | ||
- | Find all occurrences of **{if $headers.FIELDNAME.reorder != ##}** and replace with **{if $cfg.sort_links && $headers.FIELDNAME.reorder != ##}** -- FIELDNAME and ## will vary for each field | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | On advanced search, does not make sense to use "ends in 24 hours" option for sites that only use classifieds, | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | **Replace with:** | + | |
- | <code html> | + | |
- | <div class=" | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | {/ | + | |
- | + | ||
- | + | ||
- | ===== To 6.0.4 ===== | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Added a missing quote mark: | + | |
- | **Find**: | + | |
- | <code html>< | + | |
- | + | ||
- | **Replace With**: | + | |
- | <code html>< | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | There were a few places we missed when making all cart templates use the same common variable names. | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | There were a few places we missed when making all cart templates use the same common variable names. | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Changes to add the " | + | |
- | + | ||
- | **Find:** | + | |
- | <code html>{if $show_classifieds&& | + | |
- | <ul class=" | + | |
- | <li id=" | + | |
- | <li id=" | + | |
- | </ | + | |
- | {/if} | + | |
- | + | ||
- | {if $show_classifieds} | + | |
- | {if $show_auctions}< | + | |
- | **Replace with:** | + | |
- | <code html>{if $show_classifieds&& | + | |
- | <ul class=" | + | |
- | {if $display_all_tab_browsing}< | + | |
- | <li id=" | + | |
- | <li id=" | + | |
- | </ | + | |
- | + | ||
- | <div class=" | + | |
- | <div id=" | + | |
- | {/if} | + | |
- | + | ||
- | {if $show_classifieds} | + | |
- | {if $show_auctions&& | + | |
- | + | ||
- | Later down, **find:** | + | |
- | <code html> | + | |
- | {if $show_auctions}</ | + | |
- | {/if} | + | |
- | + | ||
- | {if $show_auctions} | + | |
- | {if $show_classifieds}< | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $show_auctions}</ | + | |
- | {/if} | + | |
- | + | ||
- | {if $show_auctions} | + | |
- | {if $show_classifieds&& | + | |
- | + | ||
- | Then near bottom, **find:** | + | |
- | <code html>{if $pagination} | + | |
- | {$messages.757} {$pagination} | + | |
- | {/ | + | |
- | **Replace with:** | + | |
- | <code html>{if $show_classifieds&& | + | |
- | </ | + | |
- | {/if} | + | |
- | {if $pagination} | + | |
- | {$messages.757} {$pagination} | + | |
- | {/ | + | |
- | + | ||
- | ==== module/ | + | |
- | + | ||
- | Fix to correct too many table cells being written when number of ads shown is less than total number of columns. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $l@last && $l@iteration%$module.module_number_of_columns!=0} | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $l@last && $l@iteration%$module.module_number_of_columns!=0 && $l@iteration > $module.module_number_of_columns} | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ===== To 6.0.6 ===== | + | |
- | + | ||
- | Added a new CSS selector to fix a page that was using the same ID twice. Changes are in the next two files: | + | |
- | + | ||
- | ==== external/ | + | |
- | + | ||
- | **Find:** | + | |
- | <code css> | + | |
- | # | + | |
- | overflow: hidden; | + | |
- | padding: 0 0 0 10px; | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code css> | + | |
- | # | + | |
- | overflow: hidden; | + | |
- | padding: 0 0 0 10px; | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if !$view_only}< | + | |
- | + | ||
- | {if !$view_only}< | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if !$view_only}< | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Revert an earlier change to the way titles are escaped | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {$listing.title|fromDB|truncate: | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {$listing.title|fromDB|truncate: | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Fix for optional fields sometimes not appearing | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | {if $additionalInfo|strip:'' | + | |
- | </ | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | {if $additionalInfo|strip:'' | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ===== To 7.0.0 ===== | + | |
- | + | ||
- | Added pagination to display of large numbers of category-specific price plans | + | |
- | + | ||
- | ==== 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 new region structures | + | |
- | + | ||
- | **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 with:** | + | |
- | <code html> | + | |
- | {if $cfg.cols.zip} | + | |
- | <td class=" | + | |
- | {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> | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ===== To 7.1.0 ===== | + | |
- | + | ||
- | ==== 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}< | + | |
- | + | ||
- | ==== system/ | + | |
- | + | ||
- | Change to add " | + | |
- | + | ||
- | **Find: (at the top)** | + | |
- | <code html> | + | |
- | + | ||
- | <br /></ | + | |
- | + | ||
- | Directly **AFTER** that, **ADD**: | + | |
- | <code html>{if $display_browse_view_links} | + | |
- | <div class=" | + | |
- | <a href=" | + | |
- | </ | + | |
- | {/if} | + | |
- | </ | + | |
- | + | ||
- | Changes for gallery view, and to make it include sub-template rather than output pre-rendered templates. | + | |
- | + | ||
- | **Find:** | + | |
- | <code html> | + | |
- | + | ||
- | **Replace with:** | + | |
- | <code html> | + | |
- | listings=$featured_classifieds.listings | + | |
- | no_listings=$featured_classifieds.no_listings | + | |
- | addon_headers=$featured_classifieds.addon_headers | + | |
- | 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 | + | |
- | addon_headers=$classified_browse_result.addon_headers | + | |
- | 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 | + | |
- | addon_headers=$featured_auctions.addon_headers | + | |
- | 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 | + | |
- | addon_headers=$auction_browse_result.addon_headers | + | |
- | cfg=$auction_browse_result.cfg | + | |
- | headers=$auction_browse_result.headers}</ | + | |
- | + | ||
- | ==== 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=' | + | |
- | </ | + |