This commit is contained in:
Krivchikov Dmitry 2015-10-17 19:52:13 +03:00
parent 6c4a89faa9
commit e964b77336
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
<?php foreach ($news as $item) : ?> <?php foreach ($news as $item) : ?>
<div style="margin: 3px; padding: 3px"> <div style="margin: 3px; padding: 3px">
<h4><?= $item->title ?></h4> <h4><?= $item->title ?></h4>
<?= mb_substr($item->text, 0, 400, 'UTF-8') ?> <?= $item->text ?>
</div> </div>
<?php endforeach;?> <?php endforeach;?>
</div> </div>