root/ip/tags/release_1_3_0_53/blocks/blocks_imp_news.php
| 111 | 163 | ||
|---|---|---|---|
160 | } | 160 | } |
161 | $topic_id = ($topic_id < 0) ? 0 : $topic_id; | 161 | $topic_id = ($topic_id < 0) ? 0 : $topic_id; |
162 | 162 | ||
163 | if (!empty($topic_id)) | ||
164 | { | ||
165 | $content->is_topic = true; | ||
166 | } | ||
167 | |||
163 | $content->setVariables(array('TITLE' => $lang['News_Cmx'] . ' ' . $lang['Articles'])); | 168 | $content->setVariables(array('TITLE' => $lang['News_Cmx'] . ' ' . $lang['Articles'])); |
164 | $content->renderArticles($topic_id); | 169 | $content->renderArticles($topic_id); |
165 | } | 170 | } |
Download diff