[add] in note post add tag 'note'

This commit is contained in:
Knah Tsaeb 2015-07-03 09:42:32 +02:00
parent e267bf2772
commit b74a59fd49

View file

@ -1691,7 +1691,12 @@ 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: ';
$tags .= 'note ';
}
$link = array('linkdate'=>$linkdate,'title'=>$title,'url'=>$url,'description'=>$description,'tags'=>$tags,'via' => $via,'private'=>$private); $link = array('linkdate'=>$linkdate,'title'=>$title,'url'=>$url,'description'=>$description,'tags'=>$tags,'via' => $via,'private'=>$private);
} }