Procházet zdrojové kódy

'no comment' in Recent theme

tags/vichan-4.9.92
dubcheck czaks před 9 roky
rodič
revize
c2f612bac9
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. +4
    -1
      templates/themes/recent/theme.php

+ 4
- 1
templates/themes/recent/theme.php Zobrazit soubor

@@ -93,7 +93,10 @@
openBoard($post['board']);
$post['link'] = $config['root'] . $board['dir'] . $config['dir']['res'] . sprintf($config['file_page'], ($post['thread'] ? $post['thread'] : $post['id'])) . '#' . $post['id'];
$post['snippet'] = pm_snippet($post['body'], 30);
if ($post['body'] != "")
$post['snippet'] = pm_snippet($post['body'], 30);
else
$post['snippet'] = "<em>" . _("(no comment)") . "</em>";
$post['board_name'] = $board['name'];
$recent_posts[] = $post;


Načítá se…
Zrušit
Uložit