aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-31 16:13:48 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-31 16:13:48 +0000
commitced8ac71f60aaff6c3fdeff6b76822d23847b746 (patch)
tree905aa382c31a55a86af158de022964bf361ade0c /views/default/admin
parent1d236907156a291118c744e6f0bf253f70eb0422 (diff)
downloadelgg-ced8ac71f60aaff6c3fdeff6b76822d23847b746.tar.gz
elgg-ced8ac71f60aaff6c3fdeff6b76822d23847b746.tar.bz2
Updated site primary nav bar and improved drop-down submenu and made IE compatible, also cleaned up / improved menuitem admin area.
git-svn-id: http://code.elgg.org/elgg/trunk@5564 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin')
-rw-r--r--views/default/admin/menu_items.php15
1 files changed, 7 insertions, 8 deletions
diff --git a/views/default/admin/menu_items.php b/views/default/admin/menu_items.php
index 1233eeb1b..2bf71f083 100644
--- a/views/default/admin/menu_items.php
+++ b/views/default/admin/menu_items.php
@@ -22,8 +22,8 @@ $pulldown_values = array_flip($menu_sorted);
$pulldown_values[''] = elgg_echo('none');
echo elgg_view_title(elgg_echo('admin:menu_items'));
-echo elgg_view('output/longtext', array('value' => elgg_echo("admin:menu_items:description")));
-
+echo "<div class='admin_settings menuitems'><h3>".elgg_echo('admin:menu_items:configure')."</h3>";
+echo "<p class='margin_top'>".strip_tags(elgg_view('output/longtext', array('value' => elgg_echo("admin:menu_items:description"))))."</p>";
$form_body = '';
// @todo Could probably make this number configurable
@@ -41,9 +41,8 @@ for ($i=0; $i<6; $i++) {
));
}
-$form_body .= '<br /><br />';
// add arbitrary links
-$form_body .= elgg_view_title(elgg_echo('admin:add_menu_item'));
+$form_body .= "<h3>".elgg_echo('admin:add_menu_item')."</h3>";
$form_body .= elgg_view('output/longtext', array('value' => elgg_echo("admin:add_menu_item:description")));
$custom_items = get_config('menu_items_custom_items');
@@ -65,7 +64,7 @@ if (is_array($custom_items)) {
'value' => $url
));
- $form_body .= "<li>$name_str: $name_input $url_str: $url_input $delete</li>";
+ $form_body .= "<li class='custom_menuitem'>$name_str: $name_input $url_str: $url_input $delete</li>";
}
}
@@ -78,13 +77,13 @@ $url_input = elgg_view('input/text', array(
'internalname' => 'custom_item_urls[]',
));
-$form_body .= "<li>$name_str: $name_input $url_str: $url_input</li>
+$form_body .= "<li class='custom_menuitem'>$name_str: $name_input $url_str: $url_input</li>
</ul>";
-$form_body .= '<br /><br />';
$form_body .= elgg_view('input/submit', array('value' => elgg_echo('save')));
echo elgg_view('input/form', array(
'body' => $form_body,
'action' => "{$vars['url']}action/admin/menu_items"
-)); \ No newline at end of file
+));
+echo "</div>"; \ No newline at end of file