Код: Выделить всё
// Assign index specific vars
Код: Выделить всё
$user->add_lang('mods/length_of_service');
include($phpbb_root_path . 'includes/delta_russian.' . $phpEx);
$current_time = time();
$dM = new Date_DeltaRussian("mday");
$board_startdate = $user->format_date($config['board_startdate'], '|d M Y|');
$forum_age = $dM->spellDelta($config['board_startdate'], $current_time);
Код: Выделить всё
'NEWEST_USER' => sprintf($user->lang['NEWEST_USER'], get_username_string('full', $config['newest_user_id'], $config['newest_username'], $config['newest_user_colour'])),
Код: Выделить всё
'FORUM_AGE' => sprintf($user->lang['FORUM_AGE_INFO'], $board_startdate, $forum_age),
Код: Выделить всё
'LENGTH_OF_SERVICE'
Код: Выделить всё
'FORUM_AGE_INFO' => 'Форум создан <strong>%1$s</strong> и работает <strong>%2$s</strong>',
[code]$board_startdate = $user->format_date($config['board_startdate'], '|d M Y|');
$forum_age = $dM->spellDelta($config['board_startdate'], $current_time);[/code]
В них меняем
[code]$board_startdate = $user->format_date(1381317007, '|d M Y|');
$forum_age = $dM->spellDelta(1381317007, $current_time);[/code]