Security

Reply
Occasional Contributor II
Posts: 37
Registered: ‎03-15-2011

Escape Smarty interface quotes.

Hi,

 

I am running into some trouble that I think may be caused by some double quotes being added to an if statement within the Guest Self Registration portal. The issue I believe is that the addition of these double quotes is breaking some java script futher down the page.

 

The If statment is the standard statusCodes check for Cisco contollers:

{if $statusCode == 1}
 {nwa_icontext type=info}
  **INSERT ERROR MESSAGE HERE**
 {/nwa_icontext}
{/if}

 Which is interpreted on the html page as:

<div class="nwaError">
"
 **INSERT ERROR MESSAGE HERE **
"
</div>

 How do I remove those double quotes?

Occasional Contributor II
Posts: 37
Registered: ‎03-15-2011

Re: Escape Smarty interface quotes.

hmmm... I have done some more digging and it appears that the addition of the double quotes is just a Chrome Inspect Element thing....

 

however when ?statusCode=5 is appended to the URL this issue still occurs.

 

Any ideas?

Aruba
Posts: 113
Registered: ‎11-21-2011

Re: Escape Smarty interface quotes.

What is the issue you are seeing?

Search Airheads
Showing results for 
Search instead for 
Did you mean: