HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Repace text with sprite

Hi,

I'm trying to replace this echo Wrap(Anchor(T($Text).' ', '/messages/add/' . $UserName), 'span', array('class' => 'PM'));

With something like this echo Wrap('<span class="Sprite SpEditProfile">.' ', '/messages/add/' . $UserName), 'span', array('class' => 'PM'));

But I keep breaking the code ;-(

Comments

  • Options
    edited February 2016

    same problem i m facing......

    snip

  • Options

    You're face a different problem >:)

  • Options
    R_JR_J Ex-Fanboy Munich Admin

    Looks like you are trying to change core files. Don't do that. Try a css solution instead. Something like:

    .PM:after {
      content: "\f12d";
    }
    

    This css will most probably not show what you like where you like, but it shows you the idea

Sign In or Register to comment.