> <a href="<?php topic_link(); ?> "><?php topic_title(); ?> </a> - <?php printf(__('Started: %s ago'), get_topic_start_time()); ?> | <span class="freshness"><?php if (get_topic_start_time('timestamp') < get_topic_time('timestamp')) { printf(__('Most recent reply: %s ago'), get_topic_time()); } else { _e('No replies.'); } ?> </span> </li> <?php } ?> </ol> <?php } else { if ($page) { ?> <p><?php
function topic_time($args = '') { $args = _bb_parse_time_function_args($args); $time = apply_filters('topic_time', get_topic_time(array('format' => 'mysql') + $args), $args); echo _bb_time_function_return($time, $args); }
?> > <a href="<?php topic_link(); ?> "><?php topic_title(); ?> </a> <?php printf('Пока сообщений нет.', get_topic_start_time()); ?> <span class="freshness"><?php if (get_topic_start_time('timestamp') < get_topic_time('timestamp')) { printf('Самое последнее сообщение: %s назад.', get_topic_time()); } else { _e('Новых сообщений нет.'); } ?> </span> </li> <?php } ?> </ol> <?php } else { if ($page) { ?> <p>Новых тем нет.</p>
?> > <a href="<?php topic_link(); ?> "><?php topic_title(); ?> </a> - <?php printf(__('started %s ago, '), get_topic_start_time()); ?> <span class="freshness"><?php if (get_topic_start_time('timestamp') < get_topic_time('timestamp')) { printf(__('most recent reply %s ago.'), get_topic_time()); } else { _e('no replies.'); } ?> </span> </li> <?php } ?> </ol> <?php } else { if ($page) { ?> <p><?php
> <a href="<?php topic_link(); ?> "><?php topic_title(); ?> </a> - <?php printf(__('Started: %s ago'), get_topic_start_time()); ?> | <span class="freshness"><?php if (get_topic_start_time('timestamp') < get_topic_time('timestamp')) { printf(__('Most recent reply: <a href="%1$s">%2$s ago</a>'), get_topic_last_post_link(), get_topic_time()); } else { _e('No replies since'); } ?> </span> </li> <?php } ?> </ol> <?php } else { if ($page) { ?> <p><?php
printf(__('%s ago'), get_topic_start_time('since')); } ?> </td> <td class="freshness num"><a href="<?php topic_last_post_link(); ?> " title="<?php echo esc_attr(sprintf(__('Last post by %s'), get_topic_last_poster())); ?> "> <?php if (get_topic_time('U') < time() - 86400) { topic_time('Y/m/d\\<\\b\\r \\/\\>H:i:s'); } else { printf(__('%s ago'), get_topic_time('since')); } ?> <?php //topic_time( bb_get_datetime_formatstring_i18n() ); ?> </a></td> </tr> <?php } ?> </tbody> </table>