Changeset 934
- Timestamp:
- 12/15/06 21:11:13 (2 years ago)
- Files:
-
- branches/wheeljack/lib/MT/App/CMS.pm (modified) (1 diff)
- branches/wheeljack/tmpl/cms/edit_template.tmpl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/wheeljack/lib/MT/App/CMS.pm
r929 r934 2914 2914 $param{published_url} = $published_url if $published_url; 2915 2915 $param{saved_rebuild} = 1 if $q->param('saved_rebuild'); 2916 my $plugin_actions = $app->plugin_itemset_actions('template'); 2917 $param{plugin_itemset_action_loop} = $plugin_actions || []; 2918 my $core_actions = $app->core_itemset_actions('template'); 2919 $param{core_itemset_action_loop} = $core_actions || []; 2920 $param{has_itemset_actions} = 2921 (scalar(@$plugin_actions) || scalar(@$core_actions)) ? 1 : 0; 2916 2922 } elsif ($type eq 'blog') { 2917 2923 require MT::IPBanList; branches/wheeljack/tmpl/cms/edit_template.tmpl
r886 r934 133 133 <input type="hidden" name="_type" value="template" /> 134 134 <input type="hidden" name="rebuild" value="" /> 135 <input type="hidden" name="action_name" value="" /> 136 <input type="hidden" name="action_input" value="" /> 135 137 <input type="hidden" name="return_args" value="<TMPL_VAR NAME=RETURN_ARGS ESCAPE=HTML>" /> 136 138 <input type="hidden" name="magic_token" value="<TMPL_VAR NAME=MAGIC_TOKEN>" /> … … 266 268 </div> 267 269 270 <div class="list-actions"> 271 272 <div class="button-bar"> 268 273 <input accesskey="s" type="submit" value="<MT_TRANS phrase="Save">" title="<MT_TRANS phrase="Save this template (s)">" onclick="return validate(this.form);" /> 269 274 <TMPL_UNLESS NAME=NEW_OBJECT> … … 275 280 </TMPL_UNLESS> 276 281 </TMPL_UNLESS> 282 </div> 283 284 <div class="button-bar-alt"> 285 <TMPL_INCLUDE NAME="itemset_action_widget.tmpl"> 286 </div> 287 288 </div> 289 277 290 </form> 278 291
