Merge branch '0.9.x' into mapstraction
This commit is contained in:
commit
7e8ce8fe8d
@ -199,8 +199,8 @@ class NoticeListItem extends Widget
|
|||||||
{
|
{
|
||||||
$this->out->elementStart('div', 'entry-content');
|
$this->out->elementStart('div', 'entry-content');
|
||||||
$this->showNoticeLink();
|
$this->showNoticeLink();
|
||||||
$this->showNoticeLocation();
|
|
||||||
$this->showNoticeSource();
|
$this->showNoticeSource();
|
||||||
|
$this->showNoticeLocation();
|
||||||
$this->showContext();
|
$this->showContext();
|
||||||
$this->out->elementEnd('div');
|
$this->out->elementEnd('div');
|
||||||
}
|
}
|
||||||
@ -399,13 +399,18 @@ class NoticeListItem extends Widget
|
|||||||
|
|
||||||
$url = $location->getUrl();
|
$url = $location->getUrl();
|
||||||
|
|
||||||
|
// TODO: Output @title lat and lon on element @class geo
|
||||||
|
// e.g., class="geo" title="45.5088375;-73.587809"
|
||||||
|
$this->out->elementStart('span', array('class' => 'location'));
|
||||||
|
$this->out->text(_('at'));
|
||||||
if (empty($url)) {
|
if (empty($url)) {
|
||||||
$this->out->element('span', array('class' => 'location'), $name);
|
$this->out->element('span', array('class' => 'geo'), $name);
|
||||||
} else {
|
} else {
|
||||||
$this->out->element('a', array('class' => 'location',
|
$this->out->element('a', array('class' => 'geo',
|
||||||
'href' => $url),
|
'href' => $url),
|
||||||
$name);
|
$name);
|
||||||
}
|
}
|
||||||
|
$this->out->elementEnd('span');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -59,7 +59,7 @@ class LinkbackPlugin extends Plugin
|
|||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
function onEndNoticeSave($notice)
|
function onHandleQueuedNotice($notice)
|
||||||
{
|
{
|
||||||
if ($notice->is_local == 1) {
|
if ($notice->is_local == 1) {
|
||||||
// Try to avoid actually mucking with the
|
// Try to avoid actually mucking with the
|
||||||
|
@ -125,7 +125,7 @@ class RealtimePlugin extends Plugin
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function onEndNoticeSave($notice)
|
function onHandleQueuedNotice($notice)
|
||||||
{
|
{
|
||||||
$paths = array();
|
$paths = array();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user