Share link to target="_blank"

This commit is contained in:
posweg 2020-08-16 11:04:54 +00:00
parent b9da6a8352
commit 0fde535c86
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ if(isset($_SESSION["uid"])){
if($fancy_urls){ if($fancy_urls){
echo("<a href='/config/profile'>config</a>"); echo("<a href='/config/profile'>config</a>");
echo(" - "); echo(" - ");
echo('<a href="https://twitter.com/share?text=Ask%20me%20something&url=https%3A%2F%2Fask.fai.su%2Fuser%2F' . $p_user["username"] . '&ref_src=twsrc%5Etfw">share on twitter</a>'); echo('<a target="_blank" href="https://twitter.com/share?text=Ask%20me%20something&url=https%3A%2F%2Fask.fai.su%2Fuser%2F' . $p_user["username"] . '&ref_src=twsrc%5Etfw">share on twitter</a>');
} }
else{ else{
echo("<a href='/config.php?q=profile'>config</a>"); echo("<a href='/config.php?q=profile'>config</a>");