summaryrefslogtreecommitdiff
path: root/modules/menu
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-11-15 11:16:39 +0000
committerDries Buytaert <dries@buytaert.net>2004-11-15 11:16:39 +0000
commit9979aceab035616297b1ba95ec33c9905a4fed2b (patch)
tree37679df887bb271ddee3ba22f91a305c9ad6b40f /modules/menu
parentc13abe16555a8a7f70021dae0cf9f3dd20e6c83d (diff)
downloadbrdo-9979aceab035616297b1ba95ec33c9905a4fed2b.tar.gz
brdo-9979aceab035616297b1ba95ec33c9905a4fed2b.tar.bz2
- Patch #12783 by Stefan: various small consistency/usability improvements.
Diffstat (limited to 'modules/menu')
-rw-r--r--modules/menu/menu.module4
1 files changed, 2 insertions, 2 deletions
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) {