Double Quote and Semi-Colon in Code

  • Posts: 109
  • Thank you received: 5
9 years 9 months ago #189602

-- 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,

window.hikashop.ready( function(){
";

and
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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 9 months ago #189605

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
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.056 seconds
Powered by Kunena Forum