Dodaj funkcje do czyszczenia tekstu ogłoszeń oraz aktualizuj wywołania w szablonach
This commit is contained in:
@@ -169,7 +169,7 @@
|
||||
?>
|
||||
<div class="content">
|
||||
<?
|
||||
$text = $this->advert['text'];
|
||||
$text = $this -> advert['text'];
|
||||
if (!$this->g_user) :
|
||||
$text = preg_replace('/[a-z0-9_\-\+\.]+@[a-z0-9\-]+\.([a-z]{2,4})(?:\.[a-z]{2})?/i', ' <a href="/logowanie">Zaloguj się aby zobaczyć adres email</a> ', $text);
|
||||
$text = preg_replace(
|
||||
@@ -178,6 +178,7 @@
|
||||
$text
|
||||
);
|
||||
endif;
|
||||
$text = \S::clear_advert_text( $text );
|
||||
echo $text;
|
||||
?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user