Skip to content

Commit

Permalink
[PATCH 19/24] Cleaned up CMS menus. Removed menus now obsolete. Added…
Browse files Browse the repository at this point in the history
… Plugin Settings to system level Prefs menu.

Signed-off-by: Open Melody Software Group <admin@openmelody.org>
  • Loading branch information
byrnereese authored and Open Melody Software Group committed Nov 17, 2009
1 parent 338e470 commit d6189fc
Showing 1 changed file with 9 additions and 73 deletions.
82 changes: 9 additions & 73 deletions lib/MT/App/CMS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1375,6 +1375,14 @@ sub core_menus {
view => "system",
permission => "administer",
},
'prefs:general' => {
label => "General",
order => 100,
mode => "cfg_system",
view => "system",
permission => "administer",
},

'prefs:blog' => {
label => "Blog Settings",
order => 100,
Expand All @@ -1386,73 +1394,8 @@ sub core_menus {
label => "Plugins",
order => 110,
mode => "cfg_plugins",
view => "blog",
permission => "administer_blog",
permission => "manage_plugins",
},
# 'prefs:settings' => {
# label => "General",
# mode => 'cfg_prefs',
# order => 100,
# permission => 'administer_blog,edit_config,set_publish_paths',
# system_permission => 'administer',
# view => "blog",
# },
# 'prefs:publishing' => {
# label => "Publishing",
# mode => 'cfg_archives',
# order => 110,
# permission => 'administer_blog,edit_config,set_publish_paths',
# system_permission => 'administer',
# view => "blog",
# },
# 'prefs:entry' => {
# label => "Entry",
# mode => 'cfg_entry',
# order => 120,
# permission => 'administer_blog,edit_config,set_publish_paths',
# system_permission => 'administer',
# view => "blog",
# },
# 'prefs:comment' => {
# label => "Comment",
# mode => 'cfg_comments',
# order => 130,
# permission => 'administer_blog,edit_config,set_publish_paths',
# system_permission => 'administer',
# view => "blog",
# },
# 'prefs:trackback' => {
# label => "TrackBack",
# mode => 'cfg_trackbacks',
# order => 140,
# permission => 'administer_blog,edit_config,set_publish_paths',
# system_permission => 'administer',
# view => "blog",
# },
# 'prefs:registration' => {
# label => "Registration",
# mode => 'cfg_registration',
# order => 150,
# permission => 'administer_blog,edit_config,set_publish_paths',
# system_permission => 'administer',
# view => "blog",
# },
# 'prefs:spam' => {
# label => "Spam",
# mode => 'cfg_spam',
# order => 160,
# permission => 'administer_blog,edit_config,set_publish_paths',
# system_permission => 'administer',
# view => "blog",
# },
# 'prefs:web_services' => {
# label => "Web Services",
# mode => 'cfg_web_services',
# order => 170,
# permission => 'administer_blog,edit_config,set_publish_paths',
# system_permission => 'administer',
# view => "blog",
# },
'prefs:ip_info' => {
label => "IP Banning",
mode => 'list',
Expand All @@ -1465,13 +1408,6 @@ sub core_menus {
view => "blog",
},

# 'tools:plugins' => {
# label => "Plugins",
# order => 100,
# mode => "cfg_plugins",
# permission => "administer_blog",
# system_permission => "manage_plugins",
# },
'tools:activity_log' => {
label => "Activity Log",
order => 200,
Expand Down

0 comments on commit d6189fc

Please sign in to comment.