forked from GNUsocial/gnu-social
Move snapshot configuration to its own admin panel
Turn on with: $config['admin']['panels'][] = 'snapshot';
This commit is contained in:
@@ -381,6 +381,11 @@ class AdminPanelNav extends Widget
|
||||
_('Edit site notice'), $action_name == 'sitenoticeadminpanel', 'nav_sitenotice_admin_panel');
|
||||
}
|
||||
|
||||
if (AdminPanelAction::canAdmin('snapshot')) {
|
||||
$this->out->menuItem(common_local_url('snapshotadminpanel'), _('Snapshots'),
|
||||
_('Snapshots configuration'), $action_name == 'snapshotadminpanel', 'nav_snapshot_admin_panel');
|
||||
}
|
||||
|
||||
Event::handle('EndAdminPanelNav', array($this));
|
||||
}
|
||||
$this->action->elementEnd('ul');
|
||||
|
Reference in New Issue
Block a user