Show
Ignore:
Timestamp:
04/11/08 02:03:37 (20 months ago)
Author:
bsmith
Message:

bugzid:76495 - Move Publishing Profiles to modal triggered by action on template listing

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-34/lib/MT/App/CMS.pm

    r1828 r1852  
    188188        'system_check'             => "${pkg}Tools::system_check", 
    189189        'dialog_refresh_templates' => "${pkg}Template::dialog_refresh_templates", 
     190        'dialog_publishing_profile' => "${pkg}Template::dialog_publishing_profile", 
    190191        'refresh_all_templates'    => "${pkg}Template::refresh_all_templates", 
    191192        'preview_template'         => "${pkg}Template::preview", 
     
    331332                order => 1000, 
    332333                continue_prompt => MT->translate('This action will restore your global templates to factory settings without creating a backup. Click OK to continue or Cancel to abort.'), 
     334            }, 
     335            publishing_profile => { 
     336                label => "Use Publishing Profile", 
     337                dialog => 'dialog_publishing_profile', 
     338                condition => sub { 
     339                    MT->app->blog, 
     340                }, 
     341                order => 1100, 
    333342            }, 
    334343        },