wrap account actions in a section

This commit is contained in:
Evan Prodromou 2011-01-17 18:04:10 -05:00
parent a3c08faddd
commit aa4a8e5051

View File

@ -458,6 +458,9 @@ class ProfilesettingsAction extends AccountSettingsAction
$this->elementStart('div', array('id' => 'aside_primary',
'class' => 'aside'));
$this->elementStart('div', array('id' => 'account_actions',
'class' => 'section'));
$this->elementStart('ul');
if (Event::handle('StartProfileSettingsActions', array($this))) {
if ($user->hasRight(Right::BACKUPACCOUNT)) {
@ -485,5 +488,6 @@ class ProfilesettingsAction extends AccountSettingsAction
}
$this->elementEnd('ul');
$this->elementEnd('div');
$this->elementEnd('div');
}
}