X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=01872f4df1d3ce78a056ab1a32f8a6650d2b2629;hb=27646ca5b41bdf09bd73c0e05c352379214b0011;hp=294600d0e001a5464395d190ad9014e8cdf082b0;hpb=c4a329ede2d19d3a9431334176d9bebf35d6bb96;p=github%2Fshaarli%2FShaarli.git diff --git a/index.php b/index.php index 294600d0..01872f4d 100644 --- a/index.php +++ b/index.php @@ -1587,7 +1587,11 @@ function renderPage() } } } - if ($url=='') $url='?'.smallHash($linkdate); // In case of empty URL, this is just a text (with a link that point to itself) + if ($url=='') // In case of empty URL, this is just a text (with a link that points to itself) + { + $url='?'.smallHash($linkdate); + $title='Note: '; + } $link = array('linkdate'=>$linkdate,'title'=>$title,'url'=>$url,'description'=>$description,'tags'=>$tags,'private'=>$private); }