aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/admin.php2
-rw-r--r--install/ElggInstaller.php7
-rw-r--r--languages/en.php2
-rw-r--r--views/default/css/admin.php2
-rw-r--r--views/default/widgets/admin_welcome/content.php7
5 files changed, 14 insertions, 6 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php
index 4e9f202c0..0ea029cdc 100644
--- a/engine/lib/admin.php
+++ b/engine/lib/admin.php
@@ -219,7 +219,7 @@ function admin_init() {
));
// 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,
diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php
index aaa786033..aa5903a08 100644
--- a/install/ElggInstaller.php
+++ b/install/ElggInstaller.php
@@ -26,16 +26,15 @@ class ElggInstaller {
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'),
);
@@ -507,7 +506,7 @@ class ElggInstaller {
$params = array();
if ($this->autoLogin) {
- $params['destination'] = 'pg/admin/plugins/simple';
+ $params['destination'] = 'pg/admin/';
} else {
$params['destination'] = 'index.php';
}
diff --git a/languages/en.php b/languages/en.php
index d5575f572..f87f3bec5 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -553,6 +553,8 @@ $english = array(
'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
diff --git a/views/default/css/admin.php b/views/default/css/admin.php
index acb5a384d..0b8aec774 100644
--- a/views/default/css/admin.php
+++ b/views/default/css/admin.php
@@ -509,7 +509,7 @@ input[type="submit"]:hover, .elgg-button-submit:hover, .elgg-button-action:hover
WIDGETS
*************************************** */
.elgg-widgets {
- float: right;
+ float: left;
min-height: 30px;
}
.elgg-widget-add-control {
diff --git a/views/default/widgets/admin_welcome/content.php b/views/default/widgets/admin_welcome/content.php
new file mode 100644
index 000000000..dd7078837
--- /dev/null
+++ b/views/default/widgets/admin_welcome/content.php
@@ -0,0 +1,7 @@
+<?php
+/**
+ * Welcome widget for admins
+ */
+
+?>
+Welcome to Elgg \ No newline at end of file