Changeset 483
- Timestamp:
- 08/12/08 00:12:18 (3 months ago)
- Location:
- Templets/trunk/Templets
- Files:
-
- 1 removed
- 2 modified
-
lib/Templets/CMS.pm (modified) (1 diff)
-
tmpl/dialog_append_templet.tmpl (modified) (1 diff)
-
tmpl/finish_append_templet.tmpl (deleted)
Legend:
- Unmodified
- Added
- Removed
-
Templets/trunk/Templets/lib/Templets/CMS.pm
r482 r483 156 156 $blog->save; 157 157 158 my $plugin = MT::Plugin::Templets->instance; 159 my $tmpl = $plugin->load_tmpl('finish_append_templet.tmpl'); 160 $app->build_page( $tmpl, { return_args => $app->param('return_args') } ); 158 $app->add_return_arg( 'refreshed' => 1 ); 159 $app->call_return; 161 160 } 162 161 -
Templets/trunk/Templets/tmpl/dialog_append_templet.tmpl
r482 r483 2 2 <mt:include name="dialog/header.tmpl"> 3 3 4 <form name="templet_form" id="templet_form" method="post" action="<mt:var name="script_url">" >4 <form name="templet_form" id="templet_form" method="post" action="<mt:var name="script_url">" target="_top"> 5 5 <input type="hidden" name="__mode" value="finish_append_templet" /> 6 6 <input type="hidden" name="blog_id" value="<mt:var name="blog_id">" />
![(please configure the [header_logo] section in trac.ini)](/public/chrome/common/trac_banner.png)