wrap account actions in a section
This commit is contained in:
parent
a3c08faddd
commit
aa4a8e5051
@ -458,6 +458,9 @@ class ProfilesettingsAction extends AccountSettingsAction
|
|||||||
|
|
||||||
$this->elementStart('div', array('id' => 'aside_primary',
|
$this->elementStart('div', array('id' => 'aside_primary',
|
||||||
'class' => 'aside'));
|
'class' => 'aside'));
|
||||||
|
|
||||||
|
$this->elementStart('div', array('id' => 'account_actions',
|
||||||
|
'class' => 'section'));
|
||||||
$this->elementStart('ul');
|
$this->elementStart('ul');
|
||||||
if (Event::handle('StartProfileSettingsActions', array($this))) {
|
if (Event::handle('StartProfileSettingsActions', array($this))) {
|
||||||
if ($user->hasRight(Right::BACKUPACCOUNT)) {
|
if ($user->hasRight(Right::BACKUPACCOUNT)) {
|
||||||
@ -485,5 +488,6 @@ class ProfilesettingsAction extends AccountSettingsAction
|
|||||||
}
|
}
|
||||||
$this->elementEnd('ul');
|
$this->elementEnd('ul');
|
||||||
$this->elementEnd('div');
|
$this->elementEnd('div');
|
||||||
|
$this->elementEnd('div');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user