TestClear

Author Topic: add new flag  (Read 2942 times)

Offline banknoteslinks

  • Supporter
  • **
  • Posts: 5
  • Karma: +1/-0
add new flag
« on: December 08, 2013, 09:57:13 AM »

hi
is it possible to add a flag or something (new.gif) where new link is added on directory ?
thank you




Offline janos

  • Contributor
  • *****
  • Posts: 53
  • Karma: +4/-0
Re: add new flag
« Reply #1 on: December 09, 2013, 11:13:56 AM »
Only on category page:

replace this code:

Code: [Select]
<span class="hatwo">
<a href=".....

with this code:

Code: [Select]
<span class="hatwo">
{if ({$oslink[oslink].date|date_format:"%y%m%d"} + 5) > {$smarty.now|date_format:"%y%m%d"}}*{/if}
 <a href=".....