Jump to content

Smarty sprintf does not work


Aegidius

Recommended Posts

Hello :)

 

I have this line in my template

<input id="privacy_checkbox" type="checkbox">{l s='I have read and accept the %1$sprivacy terms%2$s.' sprintf=['<a href="'|cat:$link->getCmsLink(6)|cat:'" style="text-decoration: underline;">', '</a>']}

but it does not perform the replacements.

Can you please help me?

 

Thank you!

 

Egidio

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...