1
0
Fork 0

Add Link promt in comment + only add URL instead of attachement via parse_url

This commit is contained in:
Jonny Tischbein 2018-10-17 21:05:45 +02:00
commit 3065d1c40a
3 changed files with 55 additions and 1 deletions

View file

@ -92,6 +92,11 @@ function parse_url_content(App $a)
}
}
if(!empty($_GET['isComment'])) {
echo $br . '[url]' . $url . '[/url]';
exit();
}
$template = '[bookmark=%s]%s[/bookmark]%s';
$arr = ['url' => $url, 'text' => ''];