Dodaj funkcje do czyszczenia tekstu ogłoszeń oraz aktualizuj wywołania w szablonach
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
<span class="place"><?= $advert['country'];?> - <?= $advert['city'];?></span> | <span class="firm"><?= $advert['firm_name_profile'];?></span> | <span class="category"><?= $advert['category'];?></span>
|
||||
</div>
|
||||
<div class="short-text">
|
||||
<?= mb_substr( strip_tags( $advert['text'] ), 0, 150, 'UTF-8' );?>...
|
||||
<?= mb_substr( strip_tags( \S::clear_advert_text( $advert['text'] ) ), 0, 150, 'UTF-8' );?>...
|
||||
</div>
|
||||
<a href="/oferta/<?= $advert['id'];?>/<?= \S::seo( $advert['title'], true );?>" target="_blank" class="btn btn-success"><?= $lang['szczegoly-oferty'];?></a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user