[2.0, 2.1] XFMG\Listener.php

Nuno

Well-known member
Hello

I don't know if this the right place to do it, but I would like to ask if it's possible to move styling to templates so that "no php devs" like me could style without going to the moon :)

The example is \XFMG\Listener.php (line 18x depending of the version) .. I haven't looked for others:

Code:
            return "<$tag class='{$class}'>
                <img class='xfmgThumbnail-image' src='{$outputUrl}' alt='{$title}' />
                <span class='xfmgThumbnail-icon'></span>
            </$tag>";

Can this be moved to a template?

Thanks
 
Upvote 0
Top Bottom