Jump to content
Дизайн и модификация Invision Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Ha3aP

Сегодня в красном цвете

Recommended Posts

У меня на двойке когда-то слово Сегодня было красного цвета и выделялось из вчерашних и т.д. постов. Вот хотелось бы и в трешке такое иметь. Возможно ли?

Отправлено Сегодня, 04:38

Посоветовали добавить в цсс класс .published и там прописать красный. Добавил, но теперь красное не только слово Сегодня но и предыдущие дни, а так же и время.

Отправлено Сегодня, 04:38
Edited by Ha3aP

Share this post


Link to post

В скине для этого такой код:

<abbr class="published" title="{parse expression="date( 'c', $post['post']['post_date'] )"}">{parse date="$post['post']['post_date']" format="long"}</abbr>

А точнее:

{parse date="$post['post']['post_date']" format="long"}

Если нужно только "сегодня", проще в ленгфайле раскрасить.

Share this post


Link to post

Спасибо, получилось :)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...