Minor. Changed from @class location to label

This commit is contained in:
Sarven Capadisli 2009-02-11 16:50:07 +00:00
parent 26b0bc3aab
commit fc293545be
5 changed files with 5 additions and 5 deletions

View File

@ -244,7 +244,7 @@ class ShowgroupAction extends Action
if ($this->group->location) { if ($this->group->location) {
$this->elementStart('dl', 'entity_location'); $this->elementStart('dl', 'entity_location');
$this->element('dt', null, _('Location')); $this->element('dt', null, _('Location'));
$this->element('dd', 'location', $this->group->location); $this->element('dd', 'label', $this->group->location);
$this->elementEnd('dl'); $this->elementEnd('dl');
} }

View File

@ -281,7 +281,7 @@ class ShowstreamAction extends Action
if ($this->profile->location) { if ($this->profile->location) {
$this->elementStart('dl', 'entity_location'); $this->elementStart('dl', 'entity_location');
$this->element('dt', null, _('Location')); $this->element('dt', null, _('Location'));
$this->element('dd', 'location', $this->profile->location); $this->element('dd', 'label', $this->profile->location);
$this->elementEnd('dl'); $this->elementEnd('dl');
} }

View File

@ -110,7 +110,7 @@ class TagotherAction extends Action
if ($this->profile->location) { if ($this->profile->location) {
$this->elementStart('dl', 'entity_location'); $this->elementStart('dl', 'entity_location');
$this->element('dt', null, _('Location')); $this->element('dt', null, _('Location'));
$this->element('dd', 'location', $this->profile->location); $this->element('dd', 'label', $this->profile->location);
$this->elementEnd('dl'); $this->elementEnd('dl');
} }
if ($this->profile->homepage) { if ($this->profile->homepage) {

View File

@ -124,7 +124,7 @@ class GroupList extends Widget
if ($this->group->location) { if ($this->group->location) {
$this->out->elementStart('dl', 'entity_location'); $this->out->elementStart('dl', 'entity_location');
$this->out->element('dt', null, _('Location')); $this->out->element('dt', null, _('Location'));
$this->out->elementStart('dd', 'location'); $this->out->elementStart('dd', 'label');
$this->out->raw($this->highlight($this->group->location)); $this->out->raw($this->highlight($this->group->location));
$this->out->elementEnd('dd'); $this->out->elementEnd('dd');
$this->out->elementEnd('dl'); $this->out->elementEnd('dl');

View File

@ -123,7 +123,7 @@ class ProfileList extends Widget
if ($this->profile->location) { if ($this->profile->location) {
$this->out->elementStart('dl', 'entity_location'); $this->out->elementStart('dl', 'entity_location');
$this->out->element('dt', null, _('Location')); $this->out->element('dt', null, _('Location'));
$this->out->elementStart('dd', 'location'); $this->out->elementStart('dd', 'label');
$this->out->raw($this->highlight($this->profile->location)); $this->out->raw($this->highlight($this->profile->location));
$this->out->elementEnd('dd'); $this->out->elementEnd('dd');
$this->out->elementEnd('dl'); $this->out->elementEnd('dl');