Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module name strip_tags #1925

Closed
opencart-russia opened this issue Oct 5, 2014 · 2 comments
Closed

module name strip_tags #1925

opencart-russia opened this issue Oct 5, 2014 · 2 comments

Comments

@opencart-russia
Copy link
Contributor

Hi. Maybe change ?
Will give the possibility to set a different color names in the list of modules.

https://github.com/opencart/opencart/blob/master/upload/admin/controller/design/layout.php#L395

'name' => $this->language->get('heading_title'),
to
'name' => strip_tags($this->language->get('heading_title')),

@danielkerr
Copy link
Member

oh, this needs to be done in the admin template

I will add this

@Equotix
Copy link
Contributor

Equotix commented Oct 28, 2014

Just wondering, would it be possible to add strip_tags instead of add_slashes?

Some of us add <span style="..." tags to the module heading_title so it can be highlighted in the module listing page. So it will look a little weird with the span tags appearing in the select drop down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants