This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
playground:playground [2018/11/08 08:57] wikieditor |
playground:playground [2018/11/08 10:08] wikieditor |
||
---|---|---|---|
Line 23: | Line 23: | ||
{else} | {else} | ||
var auction_currency=''; | var auction_currency=''; | ||
- | {/if}</code>\\ | + | {/if}</code> |
\\ | \\ | ||
- | * File components/com_rbids/templates/default/js/t_javascript_maps.tpl, at line 15 | + | * File components/com_rbids/templates/default/js/t_javascript_maps.tpl, at line 15 |
replace: <code>{if ($googleMapX && $googleMapY)}</code>\\ | replace: <code>{if ($googleMapX && $googleMapY)}</code>\\ | ||
with: <code>{if (!empty($googleMapX) && !empty($googleMapY))}</code> | with: <code>{if (!empty($googleMapX) && !empty($googleMapY))}</code> | ||
\\ | \\ | ||
- | + | * File components/com_rbids/templates/default/t_listauctions.tpl, at lines 43-44 | |
- | + | replace: <code>{assign var = auction value = `$auction_rows[auctionsloop]`} | |
- | + | {assign var = index value = `$smarty.section.auctionsloop.rownum`}</code>\\ | |
- | + | with: <code>{assign var = auction value = $auction_rows[auctionsloop]} | |
- | + | {assign var = index value = $smarty.section.auctionsloop.rownum}</code> | |
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_listauctions.tpl, at line 58 | ||
+ | replace: <code>{include file='elements/lists/t_listauctions_cell.tpl' auction=`$auction` index=`$index`}</code>\\ | ||
+ | with: <code>{include file='elements/lists/t_listauctions_cell.tpl' auction=$auction index=$index}</code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_listauctions.tpl, at line 66 | ||
+ | replace: <code>{include file='elements/lists/t_listauctions_cell.tpl' auction=`$auction` index=`$index`}</code>\\ | ||
+ | with: <code> {include file='elements/lists/t_listauctions_cell.tpl' auction=$auction index=$index}</code> | ||
+ | \\ | ||
+ | * File components/com_rbids/templates/default/elements/lists/t_listauctions_cell.tpl, at line 100 | ||
+ | replace: <code><span style = "font-size: 24px;text-align: right;">{printprice price=$auction->max_price currency=$auction->currency}</span></code>\\ | ||
+ | with: <code><span style = "font-size: 24px;text-align: right;">{printprice price=$auction->max_price auction=$auction currency=$auction->currency}</span></code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/elements/lists/t_listauctions_cell.tpl, at line 108 | ||
+ | replace: <code>{"COM_RBIDS_WINNING_BID"|translate}: {printprice price=$auction->get('winning_bid') currency=$auction->currency}</code>\\ | ||
+ | with: <code>{"COM_RBIDS_WINNING_BID"|translate}: {printprice price=$auction->get('winning_bid') auction=$auction currency=$auction->currency}</code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/elements/lists/t_listauctions_cell.tpl, at line 111 | ||
+ | replace: <code>{"COM_RBIDS_BEST_BID"|translate}: {printprice price=$auction->get('lowest_bid') currency=$auction->currency}</code>\\ | ||
+ | with: <code>{"COM_RBIDS_BEST_BID"|translate}: {printprice price=$auction->get('lowest_bid') auction=$auction currency=$auction->currency}</code> | ||
+ | \\ | ||
+ | * File components/com_rbids/templates/default/t_auctiondetails.tpl, at line 5 | ||
+ | replace: <code>{if $payment_items_header} </code>\\ | ||
+ | with: <code>{if !empty($payment_items_header)} </code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_auctiondetails.tpl, at line 217 | ||
+ | replace: <code>{if !$auction->expired && !$auction->close_offer && $auction->extended_counter>0} </code>\\ | ||
+ | with: <code>{if empty($auction->expired) && !$auction->close_offer && $auction->extended_counter>0} </code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_auctiondetails.tpl, at line 231 | ||
+ | replace: <code>{printprice currency=$auction->currency price=$auction->max_price} </code>\\ | ||
+ | with: <code>{printprice currency=$auction->currency auction=$auction price=$auction->max_price}</code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_auctiondetails.tpl, at line 249 | ||
+ | replace: <code>{printprice price=$auction->get('lowest_bid') currency=$auction->currency} </code>\\ | ||
+ | with: <code>{printprice price=$auction->get('lowest_bid') auction=$auction currency=$auction->currency}</code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_auctiondetails.tpl, at line 311 | ||
+ | replace: <code>{if $cfg->google_key && $cfg->map_in_auction_details &&(($auction->googlex && $auction->googley)||($user->googleMaps_x && $user->googleMaps_y)) } </code>\\ | ||
+ | with: <code>{if $cfg->google_key && $cfg->map_in_auction_details &&(($auction->googlex && $auction->googley)||($auctioneer->googleMaps_x && $auctioneer->googleMaps_y)) } </code> | ||
+ | \\ | ||
+ | * File components/com_rbids/templates/default/elements/auctiondetail/t_bid.tpl, at line 18 | ||
+ | replace: <code> alt = "bid" {$disable_bids}/> {$auction->currency}  </code>\\ | ||
+ | with: <code> alt = "bid"/> {$auction->currency}  </code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/elements/auctiondetail/t_bid.tpl, at line 57 | ||
+ | replace: <code><input type = "checkbox" class = "inputbox" name = "agreement" value = "1" {$disable_bids} /> </code>\\ | ||
+ | with: <code><input type = "checkbox" class = "inputbox" name = "agreement" value = "1"/> </code> | ||
+ | \\ | ||
+ | * Same file file components/com_rbids/templates/default/elements/auctiondetail/t_bid.tpl, at line 67 | ||
+ | replace: <code><input type = "submit" name = "send" value = "{'COM_RBIDS_SEND_BID'|translate}" class = " btn button" {$disable_bids}/> </code>\\ | ||
+ | with: <code><input type = "submit" name = "send" value = "{'COM_RBIDS_SEND_BID'|translate}" class = " btn button"/> </code> | ||
+ | \\ | ||
+ | * File components/com_rbids/templates/default/t_myuserdetails.tpl, at line 17 | ||
+ | replace: <code><input type="hidden" name="return" value="{$return}"/> </code>\\ | ||
+ | with: <code>{*<input type="hidden" name="return" value="{$return}"/>*} </code> | ||
+ | \\ | ||
+ | * File components/com_rbids/templates/default/t_mybids.tpl, at lines 23-24 | ||
+ | replace: <code>{assign var = auction value = `$auction_rows[auctionsloop]`} | ||
+ | {assign var = index value = `$smarty.section.auctionsloop.rownum`} </code>\\ | ||
+ | with: <code>{assign var = auction value = $auction_rows[auctionsloop]} | ||
+ | {assign var = index value = $smarty.section.auctionsloop.rownum} </code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_mybids.tpl, at line 34 | ||
+ | replace: <code>{include file='elements/lists/t_listauctions_cell.tpl' auction=`$auction_rows[auctionsloop]` index=`$smarty.section.auctionsloop.rownum`} </code>\\ | ||
+ | with: <code>{include file='elements/lists/t_listauctions_cell.tpl' auction=$auction_rows[auctionsloop] index=$smarty.section.auctionsloop.rownum} </code> | ||
+ | \\ | ||
+ | * File components/com_rbids/templates/default/t_mywonbids.tpl, at lines 23-24 | ||
+ | replace: <code>{assign var = auction value = `$auction_rows[auctionsloop]`} | ||
+ | {assign var = index value = `$smarty.section.auctionsloop.rownum`}</code>\\ | ||
+ | with: <code>{assign var = auction value = $auction_rows[auctionsloop]} | ||
+ | {assign var = index value = $smarty.section.auctionsloop.rownum}</code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_mywonbids.tpl, at line 34 | ||
+ | replace: <code>{include file='elements/lists/t_listauctions_cell.tpl' auction=`$auction_rows[auctionsloop]` index=`$smarty.section.auctionsloop.rownum`}</code>\\ | ||
+ | with: <code>{include file='elements/lists/t_listauctions_cell.tpl' auction=$auction_rows[auctionsloop] index=$smarty.section.auctionsloop.rownum}</code> | ||
+ | \\ | ||
+ | * File components/com_rbids/templates/default/t_categories.tpl, at line 51 | ||
+ | replace: <code>{assign var="index" value=`$smarty.section.category.rownum`}</code>\\ | ||
+ | with: <code>{assign var="index" value=$smarty.section.category.rownum}</code> | ||
+ | \\ | ||
+ | * File components/com_rbids/templates/default/t_mywatchlist.tpl, at lines 40-41 | ||
+ | replace: <code>{assign var = auction value = `$auction_rows[auctionsloop]`} | ||
+ | {assign var = index value = `$smarty.section.auctionsloop.rownum`}</code>\\ | ||
+ | with: <code>{assign var = auction value = $auction_rows[auctionsloop]} | ||
+ | {assign var = index value = $smarty.section.auctionsloop.rownum}</code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_mywatchlist.tpl, at line 51 | ||
+ | replace: <code>{include file='elements/lists/t_listauctions_cell.tpl' auction=`$auction_rows[auctionsloop]` index=`$smarty.section.auctionsloop.rownum`}</code>\\ | ||
+ | with: <code>{include file='elements/lists/t_listauctions_cell.tpl' auction=$auction_rows[auctionsloop] index=$smarty.section.auctionsloop.rownum}</code> | ||
+ | \\ | ||
+ | * File components/com_rbids/templates/default/t_editauction.tpl, at line 8 | ||
+ | replace: <code>{if $payment_items_header}</code>\\ | ||
+ | with: <code>{if !empty($payment_items_header)}</code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_editauction.tpl, at line 21 | ||
+ | replace: <code><input type="hidden" name="oldid" value="{$oldid}"/></code>\\ | ||
+ | with: <code><input type="hidden" name="oldid" value="{$oldid|default: 0}"/></code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_editauction.tpl, at line 255 | ||
+ | replace: <code>{printprice price=$auction->max_price currency=$auction->currency}</code>\\ | ||
+ | with: <code>{printprice price=$auction->max_price auction=$auction currency=$auction->currency}</code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_editauction.tpl, at line 266 | ||
+ | replace: <code>{printprice price=$auction->max_price currency=$auction->currency}</code>\\ | ||
+ | with: <code>{printprice price=$auction->max_price auction=$auction currency=$auction->currency}</code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_editauction.tpl, at line 270 | ||
+ | replace: <code>{printprice price=$cfg->set_default_max_price currency=$auction->currency}</code>\\ | ||
+ | with: <code>{printprice price=$cfg->set_default_max_price auction=$auction currency=$auction->currency}</code> | ||
+ | \\ | ||
+ | * File components/com_rbids/templates/default/t_myauctions.tpl, at line 18 | ||
+ | replace: <code>{include file='elements/filter_button.tpl' label="COM_RBIDS_MY_AUCTIONS_TAB_PUBLISHED_OFFERS"|translate}</code>\\ | ||
+ | with: <code>{include file='elements/filter_button.tpl' filter='published' label="COM_RBIDS_MY_AUCTIONS_TAB_PUBLISHED_OFFERS"|translate}</code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_myauctions.tpl, at lines 38-39 | ||
+ | replace: <code>{assign var = auction value = `$auction_rows[auctionsloop]`} | ||
+ | {assign var = index value = `$smarty.section.auctionsloop.rownum`}</code>\\ | ||
+ | with: <code>{assign var = auction value = $auction_rows[auctionsloop]} | ||
+ | {assign var = index value = $smarty.section.auctionsloop.rownum}</code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_myauctions.tpl, at line 49 | ||
+ | replace: <code>{include file='elements/lists/t_listauctions_cell.tpl' auction=`$auction_rows[auctionsloop]` index=`$smarty.section.auctionsloop.rownum`}</code>\\ | ||
+ | with: <code>{include file='elements/lists/t_listauctions_cell.tpl' auction=$auction_rows[auctionsloop] index=$smarty.section.auctionsloop.rownum}</code> | ||
+ | \\ | ||
+ | * File components/com_rbids/templates/default/elements/auctiondetail/t_tab_maps.tpl, at lines 1-5 | ||
+ | replace: <code>{if $cfg->google_key && $cfg->map_in_auction_details &&(($auction->googlex && $auction->googley)||($user->googleMaps_x && $user->googleMaps_y)) } | ||
+ | {if ($auction->googlex && $auction->googley)} | ||
+ | {include file='js/t_javascript_maps.tpl' googleMapX=$auction->googlex googleMapY=$auction->googley} | ||
+ | {elseif ($user->googleMaps_x && $user->googleMaps_y)} | ||
+ | {include file='js/t_javascript_maps.tpl' googleMapX=$user->googleMaps_x googleMapY=$user->googleMaps_y}</code>\\ | ||
+ | with: <code>{if $cfg->google_key && $cfg->map_in_auction_details &&(($auction->googlex && $auction->googley)||($auctioneer->googleMaps_x && $auctioneer->googleMaps_y)) } | ||
+ | {if ($auction->googlex && $auction->googley)} | ||
+ | {include file='js/t_javascript_maps.tpl' googleMapX=$auction->googlex googleMapY=$auction->googley} | ||
+ | {elseif ($auctioneer->googleMaps_x && $auctioneer->googleMaps_y)} | ||
+ | {include file='js/t_javascript_maps.tpl' googleMapX=$auctioneer->googleMaps_x googleMapY=$auctioneer->googleMaps_y}</code> | ||
+ | \\ | ||
+ | * File components/com_rbids/templates/default/t_googlemap.tpl, at line 2 | ||
+ | replace: <code>{if ($googleX!="" && $googleY!="") || $cfg->google_key!="" }</code>\\ | ||
+ | with: <code>{if ($googleMapX!="" && $googleMapY!="") || $cfg->google_key!="" }</code> | ||
+ | \\ | ||
+ | * File components/com_rbids/templates/default/t_userdetails.tpl, at line 74 | ||
+ | replace: <code>{if $cfg->allowpaypal && !$cfg->hide_contact}</code>\\ | ||
+ | with: <code>{if $cfg->allow_paypal && !$cfg->hide_contact}</code> | ||
+ | \\ | ||
+ | * Same file components/com_rbids/templates/default/t_userdetails.tpl, at lines 86-88 | ||
+ | replace: <code>{foreach from=$user->activity_domains item=item name=item} | ||
+ | <a href = '{$links->getAuctionListRoute($item->aucLinkFilterCatIdUserId)}'>{$item->catname}</a>{if !$smarty.foreach.item.last}, {/if} | ||
+ | {/foreach}</code>\\ | ||
+ | with: <code>{if $user->activity_domains|is_array} | ||
+ | {foreach from=$user->activity_domains item=item name=item} | ||
+ | <a href = '{$links->getAuctionListRoute($item->aucLinkFilterCatIdUserId)}'>{$item->catname}</a>{if !$smarty.foreach.item.last}, {/if} | ||
+ | {/foreach} | ||
+ | {else} | ||
+ | {$user->activity_domains} | ||
+ | {/if}</code> |