));
// widgets
- $widgets = array('online_users', 'new_users', 'content_stats');
+ $widgets = array('online_users', 'new_users', 'content_stats', 'admin_welcome');
foreach ($widgets as $widget) {
elgg_register_widget_type(
$widget,
protected $isAction = FALSE;
- protected $autoLogin = FALSE;
+ protected $autoLogin = TRUE;
/**
* @var array An array of widgets to add to the admin dashboard.
*
- * @warning Columbus start on the right at 1.
* In the form column => array of handlers in order, top to bottom
*/
protected $adminWidgets = array(
- 1 => array('content_stats'),
+ 1 => array('admin_welcome', 'content_stats'),
2 => array('online_users', 'new_users'),
);
$params = array();
if ($this->autoLogin) {
- $params['destination'] = 'pg/admin/plugins/simple';
+ $params['destination'] = 'pg/admin/';
} else {
$params['destination'] = 'index.php';
}
'admin:widget:content_stats:help' => 'Keep track of the content created by your users',
'widget:content_stats:type' => 'Content type',
'widget:content_stats:number' => 'Number',
+ 'admin:widget:admin_welcome' => 'Welcome',
+ 'admin:widget:admin_welcome:help' => "A short introduction to Elgg's admin area",
/**
* Plugins