Skip to main content

Double Quote and Semi-Colon in Code

11 years 9 months ago #189602 by Ed_Hika
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6

Hello, there.

Good morning!

This is not a high priority - because the code runs fine.

In /components/com_hikashop/views/checkout/view.html.php, there are a lot of double quotes (") followed by semi-colons (;). For instance,
Code:
window.hikashop.ready( function(){ ";

and
Code:
var mySlide_".$method->payment_type.'_'.$method->payment_id." = new Fx.Slide('hikashop_credit_card_".$method->payment_type.'_'.$method->payment_id."'); "; if(!$show){ $js.=" mySlide_".$method->payment_type.'_'.$method->payment_id.".hide(); var hikashop_last_opened_slide = null; "; }else{ $js.=" var hikashop_last_opened_slide = mySlide_".$method->payment_type.'_'.$method->payment_id."; ";

What is the significance of these?

Thanks.

Take care!

Please Log in or Create an account to join the conversation.

11 years 9 months ago #189605 by Jerome
Hi,

Seriously ?

php.net/manual/en/language.basic-syntax.phpmode.php

A string can contain carriage return.
Please use an editor with a good syntax coloration feature.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: Ed_Hika

Please Log in or Create an account to join the conversation.

Time to create page: 0.039 seconds
Powered by Kunena Forum