mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
issue #1907 revert age-max to 30 days for latest news
This commit is contained in:
+1
-1
@@ -197,7 +197,7 @@ if ($conf['show_piwigo_latest_news'])
|
|||||||
{
|
{
|
||||||
$latest_news = get_piwigo_news();
|
$latest_news = get_piwigo_news();
|
||||||
|
|
||||||
if (isset($latest_news['id']) and $latest_news['posted_on'] > time()-60*60*24*180)
|
if (isset($latest_news['id']) and $latest_news['posted_on'] > time()-60*60*24*30)
|
||||||
{
|
{
|
||||||
$page['messages'][] = sprintf(
|
$page['messages'][] = sprintf(
|
||||||
'%s <a href="%s" title="%s" target="_blank"><i class="icon-bell"></i> %s</a>',
|
'%s <a href="%s" title="%s" target="_blank"><i class="icon-bell"></i> %s</a>',
|
||||||
|
|||||||
Reference in New Issue
Block a user