Revert "scripts/strip_geo.php to remove geodata from notices by a given user/profile."

This reverts commit ab20e75ff8.

Accidentally removed another commit; clearing up...
This commit is contained in:
Brion Vibber
2010-04-08 17:04:10 -07:00
parent ab20e75ff8
commit 0e0927985c
2 changed files with 8 additions and 117 deletions

View File

@@ -862,7 +862,14 @@ function common_xml_safe_str($str)
function common_tag_link($tag)
{
$canonical = common_canonical_tag($tag);
$url = common_local_url('tag', array('tag' => $canonical));
if (common_config('singleuser', 'enabled')) {
// regular TagAction isn't set up in 1user mode
$url = common_local_url('showstream',
array('nickname' => common_config('singleuser', 'nickname'),
'tag' => $canonical));
} else {
$url = common_local_url('tag', array('tag' => $canonical));
}
$xs = new XMLStringer();
$xs->elementStart('span', 'tag');
$xs->element('a', array('href' => $url,