Changeset 2819

Show
Ignore:
Timestamp:
07/18/08 23:57:07 (2 months ago)
Author:
mpaschal
Message:

Ask for confirmation before refreshing templates from the blogs list
BugzID: 80010

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-41/lib/MT/App/CMS.pm

    r2818 r2819  
    627627            refresh_blog_templates => { 
    628628                label => "Refresh Template(s)", 
     629                continue_prompt_handler => sub { 
     630                    MT->translate("_WARNING_REFRESH_TEMPLATES_FOR_BLOGS"); 
     631                }, 
    629632                code => sub { 
    630633                    my $app = MT->app; 
  • branches/release-41/lib/MT/L10N/en_us.pm

    r1393 r2819  
    305305     '_WARNING_DELETE_USER' => 'Deleting a user is an irrevocable action which creates orphans of the user\'s entries. If you wish to retire a user or remove their access to the system, disabling their account is the recommended course of action. Are you sure you want to delete the selected user(s)?', 
    306306     'You are currently performing a search. Please wait until your search is completed.' => 'You are currently performing a search. Please wait until your search is completed.', 
     307    '_WARNING_REFRESH_TEMPLATES_FOR_BLOGS' => 'This action will restore the templates in the selected blog(s) to factory settings. Are you sure you want to refresh templates in the selected blog(s)?', 
    307308    'Weblog Administrator' => 'Weblog Administrator', 
    308309    'Writer' => 'Writer',