<__trans phrase="Edit Widget"> <__trans phrase="Create Widget"> <__trans phrase="Edit Template"> <__trans phrase="Create Template"> - <__trans phrase="Edit Widget"><__trans phrase="Edit Template"><__trans phrase="Create Widget"><__trans phrase="Create Template"> <__trans phrase="A saved version of this [_1] was auto-saved [_3]. Recover auto-saved content" params="%%?__mode=view&_type=template&&_recover=1&blog_id=&id=%%">"> <__trans phrase="You have successfully recovered your saved [_1]." params=""> <__trans phrase="An error occurred while trying to recover your saved [_1]." params=""> <__trans phrase="Restored revision (Date:[_1])." params="<$mt:var name="rev_date" escape="html"$>"> <__trans phrase="Your changes have been saved."> <__trans phrase="Your changes have been saved."> <__trans phrase="Publish this template." params="?__mode=start_rebuild&blog_id=&next=0&type=index-&tmpl_id=&single_template=1'"> <__trans phrase="Your [_1] has been published." params=""> ">

<__trans phrase="New Template">

"> "> <$MTApp:PageActions from="edit_template"$>
" mt:once="1" mt:auto-save="1" mt:auto-save-delay="<$mt:var name="autosave_frequency"$>000"> " /> " /> " /> 0" /> " /> " /> " label_class="no-header" help_page="templates" help_section="template_name"> " placeholder="<__trans phrase="Template Name">" maxlength="255" mt:watch-change="1" /> " /> " disabled="disabled" /> <$mt:setvar name="template_name" value="<__trans phrase="Module Body">"$> <$mt:setvar name="template_name" value="<__trans phrase="Template Body">"$>
<$mt:setvar name="template_options_active" value="1"$> <$mt:setvar name="template_options_active" value="0"$> <$mt:setvar name="template_options_active" value="1"$>
class="active">
<__trans phrase="Output file: [_1]" params=""> <__trans phrase="Enabled Mappings: [_1]" params="">
" label_class="top-label" help_page="templates" help_section="output_file"> " mt:watch-change="1" /> " label_class="top-label" id="identifier" help_page="templates" help_section="template_type"> " label_class="top-label" help_page="templates" help_section="linked_templates"> " maxlength="255" mt:watch-change="1" /> <__trans phrase="Learn more about publishing settings"> " label_class="top-label" content_class="field-content-text" show_hint="0">

<__trans phrase="Create Archive Mapping">

<$mt:var name="publishing_hint"$>
" label_class="top-label" hint="$publishing_hint" show_hint="1" help_page="templates" help_section="enable_dynamic_publishing"> " maxlength="10" class="quarter-width" mt:watch-change="1" />
><__trans phrase="Dynamically"> " label_class="top-label"> checked /> " label_class="top-label" shown="01">
" maxlength="255" class="full-width" mt:watch-change="1" />
" label_class="top-label"> <__trans phrase="Disabled (change publishing settings)" params="?__mode=cfg_prefs&blog_id=">
  • checked="checked">
  • checked="checked"> " maxlength="3" disabled="disabled" />
  • checked="checked">
    • checked="checked" disabled="disabled">
    • checked="checked" disabled="disabled">
    • checked="checked" disabled="disabled">
    • checked="checked" disabled="disabled">
    • checked="checked" disabled="disabled">
    • checked="checked" disabled="disabled">
    • checked="checked" disabled="disabled">
    • checked="checked" disabled="disabled">
" label_class="top-label"> " style="display:none" />
" class="autosave-notification">
"> " /> " /> " />
codemirror/lib/codemirror.css"> codemirror/mt/mt.css"> jQuery('button.save, button.publish').click(function() { syncEditor(); jQuery('form#template-listing-form > input[name=__mode]').val('save'); }); jQuery('button.preview').click(function() { syncEditor(); jQuery('form#template-listing-form > input[name=__mode]').val('preview_template'); }); jQuery('input#save_revision').click(function() { jQuery('input#revision-note').toggle(); }); jQuery('button.mt-template-listing-form-action').mtDoPluginAction({ plural: 'Templates', phrase: 'to act upon' }); jQuery('#syntaxon, #syntaxoff').click(function() { syncEditor(); var wrapper = editor.getWrapperElement(); jQuery('#syntaxon, #syntaxoff').removeClass('active'); var id = jQuery(this).addClass('active').attr('id'); var syntax; if (id == 'syntaxon') { jQuery('#text').hide(); jQuery(wrapper).show(); syntax = 'on'; } else { jQuery('#text').show(); jQuery(wrapper).hide(); syntax = 'off'; } saveTemplatePrefs( syntax ); return false; }); jQuery('#syntax').click(); jQuery(window).bind('pre_autosave', function(){ syncEditor(); });