This commit is contained in:
Krivchikov Dmitry 2015-11-27 13:25:41 +03:00
parent 491c250665
commit 69c9cf9804
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
<img src="<?= $item->getImg() ?>"/> <img src="<?= $item->getImg() ?>"/>
</a> </a>
<?= mb_substr($item->description, 0, 400, 'UTF-8') ?> <?= mb_substr($item->description, 0, 400, 'UTF-8') ?>
<a href="/point/<?= $item->id ?>">читать далее »</a> <a href="/point/<?= $item->id ?>"><nobr>читать далее »</nobr></a>
</div> </div>
<?php endforeach;?> <?php endforeach;?>
<br/> <br/>
@ -38,7 +38,7 @@
</a> </a>
<?php endif; ?> <?php endif; ?>
<?= mb_substr(Markdown::getClear($item->text), 0, 400, 'UTF-8') ?> <?= mb_substr(Markdown::getClear($item->text), 0, 400, 'UTF-8') ?>
<a href="/article/<?= $item->id ?>">читать далее »</a> <a href="/article/<?= $item->id ?>"><nobr>читать далее »</nobr></a>
<a href="/user/<?= $item->author ?>" style="float: right;"><?= $item->authorUser->nick ?></a> <a href="/user/<?= $item->author ?>" style="float: right;"><?= $item->authorUser->nick ?></a>
</div> </div>
<?php endforeach;?> <?php endforeach;?>