__CODE__ markup
-
when replacing __CODE__ why not add a little markup for it, eg instead of:
$price_html = str_replace('__CODE__', $this->current_currency, $txt);
use:
$price_html = str_replace( '__CODE__', '<span class="ccy-code">' . $this->current_currency . '</span>', $txt );
This would make the currency codes easier to target for css etc
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘__CODE__ markup’ is closed to new replies.