⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cfg_prefs.tmpl

📁 1. 记录每个帖子的访问人情况
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
<TMPL_INCLUDE NAME="header.tmpl"><div id="cfg-prefs"><script type="text/javascript"><!--function doRemoveLicense () {    document.cfg_form.cc_license.value = '';    var e = getByID('has-license');    if (e) e.style.display = 'none';    e = getByID('no-license');    if (e) e.style.display = 'block';}function toggleUnregCommentPrefs (c) {    var e = getByID('unreg_comment_prefs');    if (c.checked) e.style.display = 'block';    if (!c.checked) e.style.display = 'none';}function toggleRegCommentPrefs (c) {    var e = getByID('reg_comment_prefs');    if (c.checked) e.style.display = 'block';    if (!c.checked) e.style.display = 'none';}//--></script><div align="right"><a href="<TMPL_VAR NAME=SCRIPT_URL>?__mode=view&amp;_type=blog&amp;id=<TMPL_VAR NAME=BLOG_ID>&amp;blog_id=<TMPL_VAR NAME=BLOG_ID>"><MT_TRANS phrase="Core Setup"></a>&nbsp;|&nbsp;<MT_TRANS phrase="Preferences">&nbsp;|&nbsp;<a href="<TMPL_VAR NAME=SCRIPT_URL>?__mode=cfg_archives&amp;blog_id=<TMPL_VAR NAME=BLOG_ID>"><MT_TRANS phrase="Archive Files"></a>&nbsp;|&nbsp;<a href="<TMPL_VAR NAME=SCRIPT_URL>?__mode=list&amp;_type=banlist&amp;blog_id=<TMPL_VAR NAME=BLOG_ID>"><MT_TRANS phrase="IP Banning"></a></div><h2><MT_TRANS phrase="Preferences"></h2><TMPL_IF NAME=SAVED><div class="message"><MT_TRANS phrase="Your blog preferences have been saved."> <TMPL_INCLUDE NAME="rebuild-stub.tmpl"></div></TMPL_IF><p><MT_TRANS phrase="_USAGE_PREFS"></p><ul><li><a href="#general"><MT_TRANS phrase="General Settings"></a></li><li><a href="#archiving"><MT_TRANS phrase="Archiving Preferences"></a></li><li><a href="#publicity"><MT_TRANS phrase="Publicity / Remote Interfaces / TrackBack"></a></li><li><a href="#comments"><MT_TRANS phrase="Comment Configuration"></a></li></ul><form name="cfg_form" method="post" action="<TMPL_VAR NAME=SCRIPT_URL>"><input type="hidden" name="id" value="<TMPL_VAR NAME=ID>" /><input type="hidden" name="__mode" value="save" /><input type="hidden" name="_type" value="blog" /><input type="hidden" name="cfg_screen" value="cfg_prefs" /><input type="hidden" name="blog_id" value="<TMPL_VAR NAME=BLOG_ID>" /><TMPL_LOOP NAME=BLOG_LOOP></TMPL_LOOP><a name="general"></a><h3><MT_TRANS phrase="General Settings"></h3><div class="field"><h4><label for="description"><MT_TRANS phrase="Description:"></label> <a href="#" onclick="return openManual('weblog_config', 'item_blog_description')" class="help">?</a></h4><p><MT_TRANS phrase="Enter a description for your blog."></p><textarea name="description" id="description" cols="50" rows="4"><TMPL_VAR NAME=DESCRIPTION ESCAPE=HTML></textarea></div><hr /><div class="field"><h4><label for="days_on_index"><MT_TRANS phrase="Number of Days Displayed:"></label> <input name="days_on_index" id="days_on_index" size="2" value="<TMPL_VAR NAME=DAYS_ON_INDEX ESCAPE=HTML>" /> <a href="#" onclick="return openManual('weblog_config', 'item_number_of_days_displayed')" class="help">?</a></h4><p><MT_TRANS phrase="Enter the number of days' entries you would like displayed on your index."></p></div><hr /><div class="field"><h4><label for="language"><MT_TRANS phrase="Language for Date Display:"></label><select name="language" id="language"><option value="cz"<TMPL_IF NAME=LANGUAGE_CZ> selected="selected"</TMPL_IF>><MT_TRANS phrase="Czech"></option><option value="dk"<TMPL_IF NAME=LANGUAGE_DK> selected="selected"</TMPL_IF>><MT_TRANS phrase="Danish"></option><option value="nl"<TMPL_IF NAME=LANGUAGE_NL> selected="selected"</TMPL_IF>><MT_TRANS phrase="Dutch"></option><option value="en"<TMPL_IF NAME=LANGUAGE_EN> selected="selected"</TMPL_IF>><MT_TRANS phrase="English"></option><option value="et"<TMPL_IF NAME=LANGUAGE_ET> selected="selected"</TMPL_IF>><MT_TRANS phrase="Estonian"></option><option value="fr"<TMPL_IF NAME=LANGUAGE_FR> selected="selected"</TMPL_IF>><MT_TRANS phrase="French"></option><option value="de"<TMPL_IF NAME=LANGUAGE_DE> selected="selected"</TMPL_IF>><MT_TRANS phrase="German"></option><option value="is"<TMPL_IF NAME=LANGUAGE_IS> selected="selected"</TMPL_IF>><MT_TRANS phrase="Icelandic"></option><option value="it"<TMPL_IF NAME=LANGUAGE_IT> selected="selected"</TMPL_IF>><MT_TRANS phrase="Italian"></option><option value="jp"<TMPL_IF NAME=LANGUAGE_JP> selected="selected"</TMPL_IF>><MT_TRANS phrase="Japanese"></option><option value="no"<TMPL_IF NAME=LANGUAGE_NO> selected="selected"</TMPL_IF>><MT_TRANS phrase="Norwegian"></option><option value="pl"<TMPL_IF NAME=LANGUAGE_PL> selected="selected"</TMPL_IF>><MT_TRANS phrase="Polish"></option><option value="pt"<TMPL_IF NAME=LANGUAGE_PT> selected="selected"</TMPL_IF>><MT_TRANS phrase="Portuguese"></option><option value="sk"<TMPL_IF NAME=LANGUAGE_SK> selected="selected"</TMPL_IF>><MT_TRANS phrase="Slovak"></option><option value="si"<TMPL_IF NAME=LANGUAGE_SI> selected="selected"</TMPL_IF>><MT_TRANS phrase="Slovenian"></option><option value="es"<TMPL_IF NAME=LANGUAGE_ES> selected="selected"</TMPL_IF>><MT_TRANS phrase="Spanish"></option><option value="fi"<TMPL_IF NAME=LANGUAGE_FI> selected="selected"</TMPL_IF>><MT_TRANS phrase="Suomi"></option><option value="se"<TMPL_IF NAME=LANGUAGE_SE> selected="selected"</TMPL_IF>><MT_TRANS phrase="Swedish"></option></select><a href="#" onclick="return openManual('weblog_config', 'item_language_for_date_display')" class="help">?</a></h4><p><MT_TRANS phrase="Select the language in which you would like dates on your blog displayed."></p></div><hr /><div class="field"><h4><label for="sort_order_posts"><MT_TRANS phrase="Order of Entries Displayed:"></label><select name="sort_order_posts" id="sort_order_posts"><option value="ascend"<TMPL_IF NAME=SORT_ORDER_POSTS_ASCEND> selected="selected"</TMPL_IF>><MT_TRANS phrase="Ascending"></option><option value="descend"<TMPL_IF NAME=SORT_ORDER_POSTS_DESCEND> selected="selected"</TMPL_IF>><MT_TRANS phrase="Descending"></option></select></h4><p><MT_TRANS phrase="Select whether you want your posts displayed in ascending (oldest at top) or descending (newest at top) order."></p></div><hr /><div class="field"><h4><label for="convert_paras"><MT_TRANS phrase="Default Text Formatting for New Entries:"></label><select name="convert_paras" id="convert_paras"><TMPL_LOOP NAME=TEXT_FILTERS><option value="<TMPL_VAR NAME=FILTER_KEY>"<TMPL_IF NAME=FILTER_SELECTED> selected="selected"</TMPL_IF>><TMPL_VAR NAME=FILTER_LABEL></option></TMPL_LOOP></select><a href="#" onclick="return openManual('weblog_config', 'item_Default_Text_Formatting_for_new_entries')" class="help">?</a></h4><p><MT_TRANS phrase="Specifies the default Text Formatting option when creating a new entry."></p></div><hr /><div class="field"><h4><label for="status_default"><MT_TRANS phrase="Default Post Status:"></label><select name="status_default" id="status_default"><option value="1"<TMPL_IF NAME=STATUS_DEFAULT_1> selected="selected"</TMPL_IF>><MT_TRANS phrase="Draft"></option><option value="2"<TMPL_IF NAME=STATUS_DEFAULT_2> selected="selected"</TMPL_IF>><MT_TRANS phrase="Publish"></option></select></h4><p><MT_TRANS phrase="Specifies the default Post Status when creating a new entry."></p></div><hr /><div class="field"><h4><label for="words_in_excerpt"><MT_TRANS phrase="Number of Words in Excerpt:"></label> <input name="words_in_excerpt" id="words_in_excerpt" size="3" value="<TMPL_VAR NAME=WORDS_IN_EXCERPT ESCAPE=HTML>" /> <a href="#" onclick="return openManual('weblog_config', 'item_number_of_words_in_excerpt')" class="help">?</a></h4><p><MT_TRANS phrase="Enter the number of words that should appear in an auto-generated excerpt:"></p></div><hr /><div class="field"><h4><MT_TRANS phrase="Sanitize Spec:"> <a href="#" onclick="return openManual('sanitize', 'item_welcome_message')" class="help">?</a></h4><p><MT_TRANS phrase="Specifies the list of HTML tags allowed by default when cleaning an HTML string (a comment, for example)."></p><div style="margin-top: 5px;"><input type="radio" name="sanitize_spec" id="sanitize_spec_0" value="0"<TMPL_IF NAME=SANITIZE_SPEC_0> checked="checked"</TMPL_IF> /> <label for="sanitize_spec_0"><MT_TRANS phrase="Use defaults"></label><br /><input type="radio" name="sanitize_spec" id="sanitize_spec_1" value="1"<TMPL_IF NAME=SANITIZE_SPEC_1> checked="checked"</TMPL_IF> /> <label for="sanitize_spec_1"><MT_TRANS phrase="Use my settings:"></label> <input name="sanitize_spec_manual" value="<TMPL_IF NAME=SANITIZE_SPEC_1><TMPL_VAR NAME=SANITIZE_SPEC ESCAPE=HTML></TMPL_IF>" /></div></div><hr /><div class="field"><a name="welcome_msg"></a><h4><label for="welcome_msg"><MT_TRANS phrase="Welcome Message:"></label> <a href="#" onclick="return openManual('weblog_config', 'item_welcome_message')" class="help">?</a></h4><p><MT_TRANS phrase="Enter a welcome message to be displayed on the Editing Menu to authors of your blog."></p><textarea cols="50" name="welcome_msg" id="welcome_msg" rows="6"><TMPL_VAR NAME=WELCOME_MSG ESCAPE=HTML></textarea></div><hr /><div class="field"><h4><MT_TRANS phrase="Creative Commons License:"> <a href="#" onclick="return openManual('weblog_config', 'item_Creative_Commons_License')" class="help">?</a></h4><p><MT_TRANS phrase="Select a Creative Commons license for the posts on your blog (optional)."></p><p><strong><MT_TRANS phrase="Be sure that you understand these licenses before applying them to your own work."></strong> <a href="#" onclick="return openManual('weblog_config', 'item_Creative_Commons_License')"><MT_TRANS phrase="Read more."></a></p><input type="hidden" name="cc_license" value="<TMPL_VAR NAME=CC_LICENSE ESCAPE=HTML>" /><div style="margin-top: 10px; display: none;" id="has-license"><MT_TRANS phrase="Your weblog is currently licensed under:"> <strong><span id="cc-license-name"><TMPL_VAR NAME=CC_LICENSE_NAME></span></strong><br /><br /><a onclick="window.open('http://creativecommons.org/license/?partner=SixApart&amp;exit_url=<TMPL_VAR NAME=SCRIPT_FULL_URL>?__mode=cc_return%26license_code=[license_code]%26license_url=[license_url]%26license_button=[license_button]', 'cc', 'width=600,height=600,scrollbars=yes,resizable=no'); return false" href="#"><MT_TRANS phrase="Change your license"></a><br /><br /><a onclick="doRemoveLicense(); return false" href="#"><MT_TRANS phrase="Remove this license"></a></div><div style="margin-top: 10px; display: none;" id="no-license"><MT_TRANS phrase="Your weblog does not have an explicit Creative Commons license."><br /><br /><a onclick="window.open('http://creativecommons.org/license/?partner=SixApart&amp;exit_url=<TMPL_VAR NAME=SCRIPT_FULL_URL>?__mode=cc_return%26license_code=[license_code]', 'cc', 'width=600,height=600,scrollbars=yes,resizable=no'); return false" href="#"><MT_TRANS phrase="Create a license now"></a></div><TMPL_IF NAME=CC_LICENSE><script type="text/javascript">var e = getByID('has-license');if (e) e.style.display = 'block';</script><TMPL_ELSE><script type="text/javascript">var e = getByID('no-license');if (e) e.style.display = 'block';</script></TMPL_IF></div><hr /><h3><a name="archiving"></a><MT_TRANS phrase="Archiving Preferences"></h3><div class="field"><h4><label for="archive_type_preferred"><MT_TRANS phrase="Preferred Archive Type:"></label><select name="archive_type_preferred" id="archive_type_preferred"><option value=""><MT_TRANS phrase="No Archives"></option><TMPL_IF NAME=ARCHIVE_TYPE_INDIVIDUAL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -