<mt:setvar name="page_title" value="<__trans phrase="Compose Settings">">
<mt:setvar name="entries" value="1">

<mt:setvarblock name="system_msg">
<mt:if name="error">
  <mtapp:statusmsg
     id="generic-error"
     class="error"
     can_close="0">
    <mt:var name="error">
  </mtapp:statusmsg>
</mt:if>
<mt:if name="saved">
  <mt:if name="can_rebuild">
  <mtapp:statusmsg
     id="saved"
     class="success"
     rebuild="all"
     can_close="1">
    <__trans phrase="Your preferences have been saved.">
  </mtapp:statusmsg>
  <mt:else>
  <mtapp:statusmsg
     id="saved"
     class="success"
     can_close="1">
    <__trans phrase="Your preferences have been saved.">
  </mtapp:statusmsg>
  </mt:if>
</mt:if>
</mt:setvarblock>

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

<mtapp:form id="cfg_entry" name="cfg_entry" mode="save" object_type="blog">
  <input type="hidden" name="cfg_screen" value="cfg_entry" />
  <h2><__trans phrase="Publishing Defaults"></h2>
  <mtapp:settinggroup id="display-settings">
    <mtapp:setting
       id="list_on_index"
       label="<__trans phrase="Listing Default">"
       hint="<__trans phrase="Select the number of days of entries or the exact number of entries you would like displayed on your blog.">"
       help_page="blog_settings_general"
       help_section="entries_to_display">
      <input type="text" name="list_on_index" id="list_on_index" class="text num" value="<mt:var name="list_on_index" escape="html">" />
      <select name="days_or_posts" id="days_or_posts">
        <option value="days"<mt:if name="days"> selected="selected"</mt:if>><__trans phrase="Days"></option>
        <option value="posts"<mt:if name="posts"> selected="selected"</mt:if>><__trans phrase="Posts"></option>
      </select>
    </mtapp:setting>

    <mtapp:setting
       id="sort_order_posts"
       label="<__trans phrase="Order">"
       hint="<__trans phrase="Select whether you want your entries displayed in ascending (oldest at top) or descending (newest at top) order.">"
       help_page="blog_settings_general"
       help_section="entry_order">
      <select name="sort_order_posts" id="sort_order_posts">
        <option value="ascend"<mt:if name="sort_order_posts_ascend"> selected="selected"</mt:if>><__trans phrase="Ascending"></option>
        <option value="descend"<mt:if name="sort_order_posts_descend"> selected="selected"</mt:if>><__trans phrase="Descending"></option>
      </select>
    </mtapp:setting>

    <mtapp:setting
       id="words_in_excerpt"
       label="<__trans phrase="Excerpt Length">"
       hint="<__trans phrase="Enter the number of words that should appear in an auto-generated excerpt.">"
       help_page="blog_settings_general"
       help_section="excerpt_length">
      <input type="text" name="words_in_excerpt" id="words_in_excerpt" class="text num" value="<mt:var name="words_in_excerpt" escape="html">" />
    </mtapp:setting>

    <mtapp:setting
       id="language"
       label="<__trans phrase="Date Language">"
       hint="<__trans phrase="Select the language in which you would like dates on your blog displayed.">"
       help_page="blog_settings_general"
       help_section="date_language">
      <select name="language" id="language">
        <option value="cz"<mt:if name="language_cz"> selected="selected"</mt:if>><__trans phrase="Czech"></option>
        <option value="dk"<mt:if name="language_dk"> selected="selected"</mt:if>><__trans phrase="Danish"></option>
        <option value="nl"<mt:if name="language_nl"> selected="selected"</mt:if>><__trans phrase="Dutch"></option>
        <option value="en"<mt:if name="language_en"> selected="selected"</mt:if>><__trans phrase="English"></option>
        <option value="et"<mt:if name="language_et"> selected="selected"</mt:if>><__trans phrase="Estonian"></option>
        <option value="fr"<mt:if name="language_fr"> selected="selected"</mt:if>><__trans phrase="French"></option>
        <option value="de"<mt:if name="language_de"> selected="selected"</mt:if>><__trans phrase="German"></option>
        <option value="is"<mt:if name="language_is"> selected="selected"</mt:if>><__trans phrase="Icelandic"></option>
        <option value="it"<mt:if name="language_it"> selected="selected"</mt:if>><__trans phrase="Italian"></option>
        <option value="ja"<mt:if name="language_ja"> selected="selected"</mt:if>><__trans phrase="Japanese"></option>
        <option value="no"<mt:if name="language_no"> selected="selected"</mt:if>><__trans phrase="Norwegian"></option>
        <option value="pl"<mt:if name="language_pl"> selected="selected"</mt:if>><__trans phrase="Polish"></option>
        <option value="pt"<mt:if name="language_pt"> selected="selected"</mt:if>><__trans phrase="Portuguese"></option>
        <option value="sk"<mt:if name="language_sk"> selected="selected"</mt:if>><__trans phrase="Slovak"></option>
        <option value="si"<mt:if name="language_si"> selected="selected"</mt:if>><__trans phrase="Slovenian"></option>
        <option value="es"<mt:if name="language_es"> selected="selected"</mt:if>><__trans phrase="Spanish"></option>
        <option value="fi"<mt:if name="language_fi"> selected="selected"</mt:if>><__trans phrase="Suomi"></option>
        <option value="se"<mt:if name="language_se"> selected="selected"</mt:if>><__trans phrase="Swedish"></option>
      </select>
    </mtapp:setting>

    <mtapp:setting
       id="basename_limit"
       label="<__trans phrase="Basename Length">"
       hint="<__trans phrase="Specifies the default length of an auto-generated basename. The range for this setting is 15 to 250.">"
       help_page="blog_settings_entry_defaults"
       help_section="basename_length">
      <input type="text" name="basename_limit" id="basename_limit" class="text num" maxlength="3" value="<mt:var name="basename_limit" escape="html">" />
    </mtapp:setting>
  </mtapp:settinggroup>

  <h2><__trans phrase="Compose Defaults"></h2>
  <mtapp:settinggroup id="entry-settings">

    <mtapp:setting
       id="status_default"
       label="<__trans phrase="Status">"
       hint="<__trans phrase="Specifies the default Post Status when creating a new entry.">">
      <select name="status_default" id="status_default">
        <option value="1"<mt:if name="STATUS_DEFAULT_1"> selected="selected"</mt:if>><__trans phrase="Unpublished"></option>
        <option value="2"<mt:if name="STATUS_DEFAULT_2"> selected="selected"</mt:if>><__trans phrase="Published"></option>
      </select>
    </mtapp:setting>

    <mtapp:setting
       id="convert_paras"
       label="<__trans phrase="Text Formatting">"
       hint="<__trans phrase="Specifies the default Text Formatting option when creating a new entry.">"
       help_page="blog_settings_entry_defaults"
       help_section="text_formatting">
      <select name="convert_paras" id="convert_paras">
      <mt:loop name="text_filters">
        <option value="<mt:var name="key" escape="html">"<mt:if name="selected"> selected="selected"</mt:if>><mt:var name="label" escape="html"></option>
      </mt:loop>
      </select>
    </mtapp:setting>

    <mtapp:setting
       id="allow_comments_default"
       label="<__trans phrase="Comments">"
       help_page="blog_settings_entry_defaults"
       help_section="accept_comments"
       hint="<__trans phrase="Specifies the default Accept Comments setting when creating a new entry.">">
      <input type="checkbox" name="allow_comments_default" id="allow_comments_default" value="1"<mt:if name="ALLOW_COMMENTS_DEFAULT_1"> checked="checked"</mt:if> /> <label for="allow_comments_default"><__trans phrase="Accept Comments"></label>
    <mt:unless name="system_allow_comments">
      <p><img src="<mt:var name="static_uri">images/status_icons/warning.gif" alt="<__trans phrase="Setting Ignored">" width="9" height="9" /><span class="alert-warning-inline"><__trans phrase="Note: This option is currently ignored since comments are disabled either blog or system-wide."></span></p>
    </mt:unless>
    </mtapp:setting>

    <mtapp:setting
       id="allow_pings_default"
       label="<__trans phrase="TrackBacks">"
       help_page="blog_settings_entry_defaults"
       help_section="allow_trackbacks"
       hint="<__trans phrase="Specifies the default Accept TrackBacks setting when creating a new entry.">">
      <input type="checkbox" value="1" name="allow_pings_default" id="allow_pings_default"<mt:if name="allow_pings_default"> checked="checked"</mt:if> /> <label for="allow_pings_default"><__trans phrase="Accept TrackBacks"></label>
    <mt:unless name="system_allow_pings">
      <p><img src="<mt:var name="static_uri">images/status_icons/warning.gif" alt="<__trans phrase="Setting Ignored">" width="9" height="9" /> <span class="alert-warning-inline"><__trans phrase="Note: This option is currently ignored since TrackBacks are disabled either blog or system-wide."></span></p>
    </mt:unless>
    </mtapp:setting>

  <mt:if name="scope_type" eq="blog">
    <mt:setvarblock name="entry_fields" id="entry_fields"></mt:setvarblock>
    <mtapp:setting
       id="entry_prefs"
       label="<__trans phrase="Entry Fields">"
       hint="<__trans phrase="_USAGE_ENTRYPREFS">">
      <ul class="fixed-width multiple-selection">
        <li><input type="checkbox" name="entry_custom_prefs" id="entry-prefs-title" value="title" checked="checked" disabled="disabled" class="cb" /> <label for="entry-prefs-title"><__trans phrase="Title"></label></li>
        <li><input type="checkbox" name="entry_custom_prefs" id="entry-prefs-body" value="body" checked="checked" disabled="disabled" class="cb" /> <label for="entry-prefs-body"><__trans phrase="Body"></label></li>
        <li><input type="checkbox" name="entry_custom_prefs" id="entry-prefs-category" value="category" <mt:if name="entry_disp_prefs_show_category"> checked="checked"</mt:if> class="cb" /> <label for="entry-prefs-category"><__trans phrase="Categories"></label></li>
        <li><input type="checkbox" name="entry_custom_prefs" id="entry-prefs-excerpt" value="excerpt" <mt:if name="entry_disp_prefs_show_excerpt"> checked="checked"</mt:if> class="cb" /> <label for="entry-prefs-excerpt"><__trans phrase="Excerpt"></label></li>
        <li><input type="checkbox" name="entry_custom_prefs" id="entry-prefs-keywords" value="keywords" <mt:if name="entry_disp_prefs_show_keywords"> checked="checked"</mt:if> class="cb" /> <label for="entry-prefs-keywords"><__trans phrase="Keywords"></label></li>
        <li><input type="checkbox" name="entry_custom_prefs" id="entry-prefs-tags" value="tags" <mt:if name="entry_disp_prefs_show_tags"> checked="checked"</mt:if> class="cb" /> <label for="entry-prefs-tags"><__trans phrase="Tags"></label></li>
        <li><input type="checkbox" name="entry_custom_prefs" id="entry-prefs-feedback" value="feedback" <mt:if name="entry_disp_prefs_show_feedback"> checked="checked"</mt:if> class="cb" /> <label for="entry-prefs-feedback"><__trans phrase="Comments"></label></li>
        <li><input type="checkbox" name="entry_custom_prefs" id="entry-prefs-assets" value="assets" <mt:if name="entry_disp_prefs_show_assets"> checked="checked"</mt:if> class="cb" /> <label for="entry-prefs-assets"><__trans phrase="Assets"></label></li>
        <mt:var name="entry_fields">
      </ul>
    </mtapp:setting>
  </mt:if>

  <mt:setvarblock name="page_fields" id="page_fields"></mt:setvarblock>
  <mtapp:setting
     id="entry_prefs"
     label="<__trans phrase="Page Fields">"
     hint="<__trans phrase="_USAGE_ENTRYPREFS">">
    <ul class="fixed-width multiple-selection">
      <li><input type="checkbox" name="page_custom_prefs" id="page-prefs-title" value="title" checked="checked" disabled="disabled" class="cb" /> <label for="page-prefs-title"><__trans phrase="Title"></label></li>
      <li><input type="checkbox" name="page_custom_prefs" id="page-prefs-body" value="body" checked="checked" disabled="disabled" class="cb" /> <label for="page-prefs-body"><__trans phrase="Body"></label></li>
      <li><input type="checkbox" name="page_custom_prefs" id="page-prefs-excerpt" value="excerpt" <mt:if name="page_disp_prefs_show_excerpt"> checked="checked"</mt:if> class="cb" /> <label for="page-prefs-excerpt"><__trans phrase="Excerpt"></label></li>
      <li><input type="checkbox" name="page_custom_prefs" id="page-prefs-keywords" value="keywords" <mt:if name="page_disp_prefs_show_keywords"> checked="checked"</mt:if> class="cb" /> <label for="page-prefs-keywords"><__trans phrase="Keywords"></label></li>
      <li><input type="checkbox" name="page_custom_prefs" id="page-prefs-tags" value="tags" <mt:if name="page_disp_prefs_show_tags"> checked="checked"</mt:if> class="cb" /> <label for="page-prefs-tags"><__trans phrase="Tags"></label></li>
      <li><input type="checkbox" name="page_custom_prefs" id="page-prefs-feedback" value="feedback" <mt:if name="page_disp_prefs_show_feedback"> checked="checked"</mt:if> class="cb" /> <label for="page-prefs-feedback"><__trans phrase="Comments"></label></li>
      <li><input type="checkbox" name="page_custom_prefs" id="page-prefs-assets" value="assets" <mt:if name="page_disp_prefs_show_assets"> checked="checked"</mt:if> class="cb" /> <label for="page-prefs-assets"><__trans phrase="Assets"></label></li>
      <mt:var name="page_fields">
    </ul>
    </mtapp:setting>
  </mtapp:settinggroup>

  <h2><__trans phrase="Punctuation Replacement Setting"></h2>
  <mtapp:settinggroup id="smart-replace-setting">

    <p class="hint"><__trans phrase="Replace UTF-8 characters frequently used by word processors with their more common web equivalents."></p>
    <mtapp:setting
       id="nwc_smart_replace"
       label="<__trans phrase="Punctuation Replacement">">
      <ul>
        <li><input type="radio" value="2" name="nwc_smart_replace" id="nwc_replace_none" onclick="DOM.addClassName(DOM.getElement('replace-fields'), 'hidden');"<mt:if name="nwc_smart_replace_2"> checked="checked"</mt:if>> <label for="nwc_replace_none"><__trans phrase="No substitution"></label></li>
        <li><input type="radio" value="1" name="nwc_smart_replace" id="nwc_replace_entities" onclick="DOM.removeClassName(DOM.getElement('replace-fields'), 'hidden');"<mt:if name="nwc_smart_replace_1"> checked="checked"</mt:if>> <label for="nwc_replace_entities"><__trans phrase="Character entities (&amp#8221;, &amp#8220;, etc.)"></label></li>
        <li><input type="radio" value="0" name="nwc_smart_replace" id="nwc_replace_ascii" onclick="DOM.removeClassName(DOM.getElement('replace-fields'), 'hidden');"<mt:if name="nwc_smart_replace_0"> checked="checked"</mt:if>> <label for="nwc_replace_ascii"><__trans phrase="ASCII equivalents (&quot;, ', ..., -, --)"></label></li>
      </ul>
    </mtapp:setting>

  <mt:unless name="nwc_replace_none">
    <mtapp:setting
       id="replace-fields"
       label="<__trans phrase="Replace Fields">">
      <ul class="multiple-selection">
        <li><input type="checkbox" value="1" name="nwc_title" id="nwc_title"<mt:if name="nwc_title"> checked="checked"</mt:if> class="cb"/> <label for="nwc_title"><__trans phrase="Title"></label></li>
        <li><input type="checkbox" value="1" name="nwc_text" id="nwc_text"<mt:if name="nwc_text"> checked="checked"</mt:if> class="cb"/> <label for="nwc_text"><__trans phrase="Body"></label></li>
        <li><input type="checkbox" value="1" name="nwc_text_more" id="nwc_text_more"<mt:if name="nwc_text_more"> checked="checked"</mt:if> class="cb"/> <label for="nwc_text_more"><__trans phrase="Extended"></label></li>
        <li><input type="checkbox" value="1" name="nwc_keywords" id="nwc_keywords"<mt:if name="nwc_keywords"> checked="checked"</mt:if> class="cb"/> <label for="nwc_keywords"><__trans phrase="Keywords"></label></li>
        <li><input type="checkbox" value="1" name="nwc_excerpt" id="nwc_excerpt"<mt:if name="nwc_excerpt"> checked="checked"</mt:if> class="cb"/> <label for="nwc_excerpt"><__trans phrase="Excerpt"></label></li>
        <li><input type="checkbox" value="1" name="nwc_tags" id="nwc_tags"<mt:if name="nwc_tags"> checked="checked"</mt:if> class="cb"/> <label for="nwc_tags"><__trans phrase="Tags"></label></li>
      </ul>
    </mtapp:setting>
  </mt:unless>
  </mtapp:settinggroup>

<mt:setvarblock name="action_buttons" id="action-buttons">
    <button
        type="submit"
        accesskey="s"
        title="<__trans phrase="Save changes to these settings (s)">"
        class="save action primary button">
      <__trans phrase="Save Changes">
    </button>
</mt:setvarblock>
<mt:include name="include/actions_bar.tmpl" bar_position="bottom" hide_pager="1" settings_bar="1">
</mtapp:form>

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