diff options
author | cash <cash.costello@gmail.com> | 2011-10-03 21:30:30 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-10-03 21:30:30 -0400 |
commit | fa04d6615760a014f7557f2d28ff864eebce8551 (patch) | |
tree | d99d94d1829480388ca3ece75d5b986e6277aef4 /mod/file/start.php | |
parent | d7549a210074a29f004642d713ede6ce04703bcc (diff) | |
download | elgg-fa04d6615760a014f7557f2d28ff864eebce8551.tar.gz elgg-fa04d6615760a014f7557f2d28ff864eebce8551.tar.bz2 |
removed the sections from the menu to provide more flexibility in tab ordering
Diffstat (limited to 'mod/file/start.php')
-rw-r--r-- | mod/file/start.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mod/file/start.php b/mod/file/start.php index 16ce0e233..843ae0794 100644 --- a/mod/file/start.php +++ b/mod/file/start.php @@ -61,9 +61,8 @@ function file_init() { $item = ElggMenuItem::factory(array( 'name' => 'file', 'text' => elgg_echo('file'), - 'section' => 'select', + 'priority' => 10, 'data' => array( - 'tab_type' => 'select', 'options' => array( 'type' => 'object', 'subtype' => 'file', @@ -75,9 +74,8 @@ function file_init() { $item = ElggMenuItem::factory(array( 'name' => 'file_upload', 'text' => elgg_echo('file:upload'), - 'section' => 'upload', + 'priority' => 100, 'data' => array( - 'tab_type' => 'upload', 'view' => 'embed/file_upload/content', ), )); |