
        <!-- /Main Content --></div>

      <mt:if name="related_content">
        <div id="related-content">
          <mt:var name="related_content">
        <!-- /Related Content --></div>
      </mt:if>

      <!-- /Content Body --></div>
    <!-- /Main --></div>

    <mt:var name="form_footer">
  <!-- /Content --></div>

  <div id="footer">

  <mt:if name="mt_beta">
    <div id="msg-beta">
      <p><__trans phrase="This is a beta version of Movable Type and is not recommended for production use."></p>
    </div>
  </mt:if>

  <mt:if name="author_name">
    <ul id="footer-nav" class="inline-nav">
      <li><a href="<__trans phrase="http://www.movabletype.org">"><__trans phrase="MovableType.org"></a></li>
      <li><a href="<__trans phrase="http://plugins.movabletype.org/">"><__trans phrase="Plugins"></a></li>
      <li><a href="<__trans phrase="http://www.movabletype.org/documentation/">"><__trans phrase="Documentation"></a></li>
      <li><a href="<__trans phrase="http://wiki.movabletype.org/">"><__trans phrase="Wiki"></a></li>
      <li><a href="<__trans phrase="http://www.movabletype.com/support/">"><__trans phrase="Support"></a></li>
      <li><a href="<__trans phrase="http://forums.movabletype.org/">"><__trans phrase="Forums"></a></li>
      <li><a href="<__trans phrase="http://www.movabletype.org/feedback.html">"><__trans phrase="Send Us Feedback"></a></li>
    </ul>
  </mt:if>

  <mt:include name="include/copyright.tmpl">

    <p id="version">
      <strong><__trans phrase="<a href="[_1]"><mt:var name="mt_product_name"></a> version [_2]" params="<mt:var name="portal_url">%%<mt:var name="mt_version_id">"></strong>
    <mt:if name="packs_installed">
      <__trans phrase="with">: <mt:loop name="packs_installed" glue=", "><a href="<__trans phrase="http://www.sixapart.com/movabletype/">pack/<mt:var name="id">/"><mt:var name="label" escape="html"> <mt:var name="version" escape="html"></a></mt:loop>
    </mt:if>
    </p>
  <!-- /Footer --></div>

  <mt:var name="html_body_footer">

<!-- /container --></div>

<div id="bootstrapper" class="hidden"></div>

<script type="text/javascript">
/* <![CDATA[ */
<mt:if name="open_dialog">
jQuery.fn.mtDialog.open('<mt:var name="script_url">?__mode=<mt:var name="dialog_mode">&amp;<mt:var name="dialog_params">');
</mt:if>
<mt:unless name="delayed_bootstrap">
App.bootstrapInline( false );
</mt:unless>
jQuery(function() {
<mt:var name="jq_js_include">
    if (typeof document.body.style.maxHeight == "undefined") {
        if (jQuery.fn.pngfix) jQuery('#brand a span, .nav-link a, .search-submit img, .welcome-widget img').pngfix();
    }
    jQuery.mtAddEdgeClass();
    jQuery.mtMenu();
    jQuery.mtSelector();
    jQuery('a.mt-open-dialog').mtDialog();
    jQuery('a.mt-rebuild').mtRebuild(<mt:if name="blog_id">{blog_id: '<$mt:var name="blog_id"$>'}</mt:if>);
    jQuery('.mt-close-msg').live('click', function() {
        jQuery(this).parents('div.msg').remove();
    });
    jQuery('input.mt-edit-field').mtEditInput({
        edit: '<__trans phrase="Edit">'
    });
    jQuery('div.has-option').mtCheckboxOption();
    jQuery('.msg, .display-options').mtToggleField();
    jQuery('.fav-actions-nav, #cms-search').mtToggleField({hide_clicked: true});
    jQuery('input.text-date').datepicker({
        dateFormat: 'yy-mm-dd',
        dayNamesMin: [<__trans phrase="_LOCALE_CALENDAR_HEADER_">],
        monthNames: ['- 01','- 02','- 03','- 04','- 05','- 06','- 07','- 08','- 09','- 10','- 11','- 12'],
        showMonthAfterYear: true,
        prevText: '&lt;',
        nextText: '&gt;'
    });
    jQuery('.button.toolbar').button();
    jQuery('#brand > a').hover(
        function() {
            jQuery(this).after('<span class="tips"><__trans phrase="Your Dashboard"></span>');
        },
        function(){
            jQuery('#brand span.tips').remove();
        }
    );
    jQuery('input').each(function() {
        jQuery(this).addClass(jQuery(this).attr('type'));
    });
    jQuery('#quick-search').mtPlaceholder();
});
/* ]]> */
</script>

<mt:if name="mt_debug"><mt:Include name="include/debug_hover.tmpl"></mt:if>

</body>
</html>
