File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -23,22 +23,22 @@ function &find_menu_item($id, &$menu = null)
23
23
}
24
24
}
25
25
26
- return $ result ;
26
+ return $ result ;
27
27
}
28
28
29
29
function def_menu_item ($ parent , $ id , $ text , $ file = null )
30
30
{
31
31
global $ MENU ;
32
32
33
33
$ item = array (
34
- 'id ' => $ id ,
35
- 'parent ' => ((isset ($ parent )) && (strlen ($ parent ) > 0 )) ? $ parent : null ,
36
- 'text ' => $ text ,
37
- 'root ' => '' ,
38
- 'path ' => '' ,
39
- 'file ' => isset ($ file ) ? $ file : $ id
40
- );
41
-
34
+ 'id ' => $ id ,
35
+ 'parent ' => ((isset ($ parent )) && (strlen ($ parent ) > 0 )) ? $ parent : null ,
36
+ 'text ' => $ text ,
37
+ 'root ' => '' ,
38
+ 'path ' => '' ,
39
+ 'file ' => isset ($ file ) ? $ file : $ id
40
+ );
41
+
42
42
if ((!isset ($ parent )) || (strlen ($ parent ) <= 0 ))
43
43
{
44
44
$ item ['root ' ] = '.. ' ;
You can’t perform that action at this time.
0 commit comments