Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Suggested option to fully allow templatization of buttons, either bootstrap output or not. Buttons can be rendered as A tags or BUTTON tags, and the HTML hardcoded inside the PHP makes the customization a lot harder than with templates. Templates can even allow the templatization at theme level, much easier without rewriting the whole PHP code to have a custom button, like for instance, with text besides icon....
If approved, this can also be the starting point of allowing templatization of e107 buttons, etc....
Even better, this code is only currently used in news, but it can be used also in forum, etc., to allow a standardization of layouts sitewide....
Just my 2 cents...
Description
Changed hardcoded HTML to a new template, and leave old code for legacy purposes commented.
How Has This Been Tested?
Tested in last github e107 code
Types of Changes
Checklist