Commit 756cb72d authored by Steven Wittens's avatar Steven Wittens

- Menu item capitalization

parent 36d44fbf
......@@ -872,7 +872,7 @@ function menu_primary_links($start_level = 1, $pid = 0) {
// Special case - provide link to admin/build/menu if primary links is empty.
if (empty($links) && $start_level == 1 && $pid == variable_get('menu_primary_menu', 0) && user_access('administer menu')) {
$links['1-1'] = array(
'title' => t('edit primary links'),
'title' => t('Edit primary links'),
'href' => 'admin/build/menu'
);
}
......
......@@ -614,12 +614,12 @@ function menu_overview_tree() {
foreach ($root_menus as $mid => $title) {
$operations = array();
if ($menu['items'][$mid]['type'] & MENU_MODIFIABLE_BY_ADMIN) {
$operations[] = l(t('edit'), 'admin/build/menu/menu/edit/'. $mid);
$operations[] = l(t('Edit'), 'admin/build/menu/menu/edit/'. $mid);
}
if ($menu['items'][$mid]['type'] & MENU_CREATED_BY_ADMIN) {
$operations[] = l(t('delete'), 'admin/build/menu/menu/delete/'. $mid);
$operations[] = l(t('Delete'), 'admin/build/menu/menu/delete/'. $mid);
}
$operations[] = l(t('add item'), 'admin/build/menu/item/add/'. $mid);
$operations[] = l(t('Add item'), 'admin/build/menu/item/add/'. $mid);
$table = theme('item_list', $operations);
$table .= theme('table', $header, menu_overview_tree_rows($mid));
$output .= theme('box', check_plain($title), $table);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment