aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-29 22:44:41 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-29 22:44:41 +0000
commit099d20345018ac424cc7d89b7111fba0c94d79f3 (patch)
tree24debd0a05e499c8f54b4eadf44d310f3b7b5205
parenta0ef893101ec5db3901ad9140cf02c719218f319 (diff)
downloadelgg-099d20345018ac424cc7d89b7111fba0c94d79f3.tar.gz
elgg-099d20345018ac424cc7d89b7111fba0c94d79f3.tar.bz2
Made admin welcome widget a bit more semantic
git-svn-id: http://code.elgg.org/elgg/trunk@9055 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--languages/en.php10
-rw-r--r--views/default/css/admin.php3
-rw-r--r--views/default/widgets/admin_welcome/content.php4
3 files changed, 11 insertions, 6 deletions
diff --git a/languages/en.php b/languages/en.php
index 943dbb285..1e32caf6f 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -578,11 +578,11 @@ $english = array(
'admin:widget:admin_welcome:admin_overview' =>
"Navigation for the administration area is provide by the menu to the right. It is organized into"
. " three sections:
- <ul>
- <li><b>Administer</b> - Everyday tasks like monitoring reported content, checking who is online, and viewing statistics.</li>
- <li><b>Configure</b> - Occasional tasks like setting the site name or activating a plugin.</li>
- <li><b>Develop</b> - For developers who are building plugins or designing themes. (Requires a developer plugin.)</li>
- </ul>
+ <dl>
+ <dt>Administer</dt><dd>Everyday tasks like monitoring reported content, checking who is online, and viewing statistics.</dd>
+ <dt>Configure</dt><dd>Occasional tasks like setting the site name or activating a plugin.</dd>
+ <dt>Develop</dt><dd>For developers who are building plugins or designing themes. (Requires a developer plugin.)</dd>
+ </dl>
",
// argh, this is ugly
diff --git a/views/default/css/admin.php b/views/default/css/admin.php
index 68720b89a..3801fee32 100644
--- a/views/default/css/admin.php
+++ b/views/default/css/admin.php
@@ -116,6 +116,9 @@ p {
margin-bottom: 15px;
}
+.elgg-output dt { font-weight: bold }
+.elgg-output dd { margin: 0 0 1em 2em }
+
table.mceLayout {
width:100% !important;
}
diff --git a/views/default/widgets/admin_welcome/content.php b/views/default/widgets/admin_welcome/content.php
index 6a9a92e27..f4b92ea66 100644
--- a/views/default/widgets/admin_welcome/content.php
+++ b/views/default/widgets/admin_welcome/content.php
@@ -12,6 +12,8 @@ $sections = array(
// don't use longtext because it filters output.
// that's annoying.
+echo '<div class="elgg-output">';
foreach ($sections as $section => $strings) {
echo '<p>' . elgg_echo("admin:widget:admin_welcome:$section", $strings) . '</p>';
-} \ No newline at end of file
+}
+echo '</div>'; \ No newline at end of file