Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

Taking out the strong tags from reply # on posts

Aloittaja wynnyelle, joulukuu 13, 2011, 01:38:21 AP

« edellinen - seuraava »

wynnyelle

You know where each post has the reply time and number like this:

« Reply #179222 on Today at 01:29:58 AM »

I want it to all be one weight. I'd like to remove the <strong> declarations from the PHP in display.template.php from the reply # and Today/Yesterday on the posts themselves on threads {not anywhere else} but do not know how to do this. I know about WHERE it would be done, just not how to do it without breaking it.

dreadk

Find this part in the Display.Template.php. Modify accordingly.
<div class="smalltext">&#171; <strong>', !empty($message['counter']) ? $txt['reply_noun'] . ' #' . $message['counter'] : '', ' ', $txt['on'], ':</strong> ', $message['time'], ' &#187;</div>
<div id="msg_', $message['id'], '_quick_mod"></div>



wynnyelle

Thanks. Yeah, I just don't know how to remove it without breaking it. Do I just take out the tags or do any little ' things also go?

Advertisement: