Changeset 2652

Show
Ignore:
Timestamp:
06/30/08 03:24:22 (20 months ago)
Author:
auno
Message:

Fixed to work publish button on entries listing page. BugzID:80334

Location:
branches/release-41
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/lib/MT/CMS/Blog.pm

    r2626 r2652  
    893893sub rebuild_new_phase { 
    894894    my ($app) = @_; 
    895     my %reb_set = map { $_ => 1 } $app->param('id'); 
    896     $app->rebuild_these( \%reb_set, how => MT::App::CMS::NEW_PHASE() ); 
     895    require MT::CMS::Entry; 
     896    MT::CMS::Entry::publish_entries($app); 
    897897} 
    898898 
  • branches/release-41/tmpl/cms/include/entry_table.tmpl

    r1378 r2652  
    2222                    accesskey="r" 
    2323                    title="<$mt:var name="republish_button_title"$>" 
    24                     ><__trans phrase="Republish"></a> 
     24                    ><__trans phrase="Publish"></a> 
    2525            </mt:if> 
    2626                <a href="javascript:void(0)" 
     
    4141                    accesskey="r" 
    4242                    title="<$mt:var name="republish_button_title"$>" 
    43                     ><__trans phrase="Republish"></a> 
     43                    ><__trans phrase="Publish"></a> 
    4444            </mt:if> 
    4545                <a href="javascript:void(0)"