From 9979aceab035616297b1ba95ec33c9905a4fed2b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 15 Nov 2004 11:16:39 +0000 Subject: - Patch #12783 by Stefan: various small consistency/usability improvements. --- modules/menu/menu.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/menu/menu.module') diff --git a/modules/menu/menu.module b/modules/menu/menu.module index dba13e9f1..d2fc770a5 100644 --- a/modules/menu/menu.module +++ b/modules/menu/menu.module @@ -354,7 +354,7 @@ function menu_edit_item_save($edit) { */ function menu_overview_tree() { $menu = menu_get_menu(); - $header = array(t('Menu item'), t('Expanded'), array('data' => t('Operations'), 'colspan' => 3)); + $header = array(t('Menu item'), t('Expanded'), array('data' => t('Operations'), 'colspan' => '3')); $output = ''; foreach ($menu['items'][0]['children'] as $mid) { @@ -400,7 +400,7 @@ function menu_overview_tree_rows($pid = 0, $depth = 0) { // Populate the operations field. $operations = array(); if (!($menu['items'][$mid]['type'] & MENU_MODIFIABLE_BY_ADMIN)) { - $operations[] = array('data' => t('locked'), 'colspan' => 3, 'align' => 'center'); + $operations[] = array('data' => t('locked'), 'colspan' => '3', 'align' => 'center'); } else { if ($menu['items'][$mid]['type'] & MENU_VISIBLE_IN_TREE) { -- cgit v1.2.3