📄 default-templates.pl
字号:
<h2><$MTBlogDescription$></h2></div><div class="content"><p align="right"><MTArchivePrevious><a href="<$MTArchiveLink$>">« <$MTArchiveTitle$></a> |</MTArchivePrevious><a href="<$MTBlogURL$>"><MT_TRANS phrase="Main"></a><MTArchiveNext>| <a href="<$MTArchiveLink$>"><$MTArchiveTitle$> »</a></MTArchiveNext></p><MTEntries><$MTEntryTrackbackData$><MTDateHeader><h2><$MTEntryDate format="%x"$></h2></MTDateHeader><h3 id="a<$MTEntryID pad="1"$>"><$MTEntryTitle$></h3><$MTEntryBody$><MTEntryIfExtended><$MTEntryMore$></MTEntryIfExtended><p class="posted"><MT_TRANS phrase="Posted by"> <$MTEntryAuthor$> <MT_TRANS phrase="at"> <a href="<$MTEntryPermalink valid_html="1"$>"><$MTEntryDate format="%X"$></a><MTEntryIfAllowComments>| <a href="<$MTEntryPermalink archive_type="Individual"$>#comments"><MT_TRANS phrase="Comments"> (<$MTEntryCommentCount$>)</a></MTEntryIfAllowComments><MTEntryIfAllowPings>| <a href="<$MTEntryPermalink archive_type="Individual"$>#trackbacks"><MT_TRANS phrase="TrackBack"></a></MTEntryIfAllowPings></p></MTEntries></div></div></body></html>', 'name' => 'Date-Based Archive', 'type' => 'archive', 'rebuild_me' => '0' }, { 'text' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" /><meta name="generator" content="http://www.domain.com/" /><title><$MTBlogName encode_html="1"$>: <$MTArchiveTitle$> <MT_TRANS phrase="Archives"></title><link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" /><link rel="alternate" type="application/rss+xml" title="RSS" href="<$MTBlogURL$>index.rdf" /><link rel="alternate" type="application/atom+xml" title="Atom" href="<$MTBlogURL$>atom.xml" /></head><body><div id="container"><div id="banner"><h1><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName encode_html="1"$></a></h1><h2><$MTBlogDescription$></h2></div><div class="content"><MTEntries><$MTEntryTrackbackData$><MTDateHeader><h2><$MTEntryDate format="%x"$></h2></MTDateHeader><h3 id="a<$MTEntryID pad="1"$>"><$MTEntryTitle$></h3><$MTEntryBody$><MTEntryIfExtended><$MTEntryMore$></MTEntryIfExtended><p class="posted"><MT_TRANS phrase="Posted by"> <$MTEntryAuthor$> <MT_TRANS phrase="at"> <a href="<$MTEntryPermalink valid_html="1"$>"><$MTEntryDate format="%X"$></a><MTEntryIfAllowComments>| <a href="<$MTEntryPermalink archive_type="Individual"$>#comments"><MT_TRANS phrase="Comments"> (<$MTEntryCommentCount$>)</a></MTEntryIfAllowComments><MTEntryIfAllowPings>| <a href="<$MTEntryPermalink archive_type="Individual"$>#trackbacks"><MT_TRANS phrase="TrackBack"></a></MTEntryIfAllowPings></p></MTEntries></div></div></body></html>', 'name' => 'Category Archive', 'type' => 'category', 'rebuild_me' => '0' }, { 'text' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" /><meta name="generator" content="http://www.domain.com/" /><title><$MTBlogName encode_html="1"$>: <$MTEntryTitle$></title><link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" /><link rel="alternate" type="application/rss+xml" title="RSS" href="<$MTBlogURL$>index.rdf" /><link rel="alternate" type="application/atom+xml" title="Atom" href="<$MTBlogURL$>atom.xml" /><link rel="start" href="<$MTBlogURL$>" title="Home" /><MTEntryPrevious><link rel="prev" href="<$MTEntryPermalink$>" title="<$MTEntryTitle encode_html="1"$>" /></MTEntryPrevious><MTEntryNext><link rel="next" href="<$MTEntryPermalink$>" title="<$MTEntryTitle encode_html="1"$>" /></MTEntryNext><MTInclude module="Remember Me"><$MTEntryTrackbackData$><MTBlogIfCCLicense><$MTCCLicenseRDF$></MTBlogIfCCLicense></head><body><div id="container"><div id="banner"><h1><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName encode_html="1"$></a></h1><h2><$MTBlogDescription$></h2></div><div class="content"><p align="right"><MTEntryPrevious><a href="<$MTEntryPermalink$>">« <$MTEntryTitle$></a> |</MTEntryPrevious><a href="<$MTBlogURL$>"><MT_TRANS phrase="Main"></a><MTEntryNext>| <a href="<$MTEntryPermalink$>"><$MTEntryTitle$> »</a></MTEntryNext></p><h2><$MTEntryDate format="%x"$></h2><h3><$MTEntryTitle$></h3><$MTEntryBody$><div id="a<$MTEntryID pad="1"$>more"><div id="more"><$MTEntryMore$></div></div><p class="posted"><MT_TRANS phrase="Posted by"> <$MTEntryAuthor$> <MT_TRANS phrase="at"> <$MTEntryDate$></p><MTEntryIfAllowPings><h2 id="trackbacks"><MT_TRANS phrase="Trackback Pings"></h2><p class="techstuff"><MT_TRANS phrase="TrackBack URL for this entry:"><br /><$MTEntryTrackbackLink$></p><MTIfNonZero tag="MTEntryTrackbackCount"><p><MT_TRANS phrase="Listed below are links to weblogs that reference"> <a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a>:</p><MTPings><p id="p<$MTPingID$>">» <a href="<$MTPingURL$>"><$MTPingTitle$></a> from <$MTPingBlogName$><br /><$MTPingExcerpt$> <a href="<$MTPingURL$>">[<MT_TRANS phrase="Read More">]</a></p><p class="posted"><MT_TRANS phrase="Tracked on"> <$MTPingDate$></p></MTPings></MTIfNonZero></MTEntryIfAllowPings><MTEntryIfAllowComments><h2 id="comments"><MT_TRANS phrase="Comments"></h2><MTComments><div id="c<$MTCommentID$>"><$MTCommentBody$></div><p class="posted"><MT_TRANS phrase="Posted by:"> <$MTCommentAuthorLink default_name="Anonymous" spam_protect="1"$> <MTCommentAuthorIdentity> <MT_TRANS phrase="at"> <$MTCommentDate$></p></MTComments><MTEntryIfCommentsOpen><MTIfCommentsAllowed><h2><MT_TRANS phrase="Post a comment"></h2><MTIfRegistrationRequired><div id="thanks"><p><MT_TRANS phrase="Thanks for signing in, "><script type="text/javascript" src="<MTCGIPath><MTCommentScript>?__mode=cmtr_name_js"></script><script>document.write(commenter_name);</script>.<MT_TRANS phrase="Now you can comment."> (<a href="<$MTRemoteSignOutLink static="1"$>"><MT_TRANS phrase="sign out"></a>)</p><MT_TRANS phrase="(If you haven\'t left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won\'t appear on the entry. Thanks for waiting.)"><form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)"><input type="hidden" name="static" value="1" /><input type="hidden" name="entry_id" value="<$MTEntryID$>" /><p><label for="url"><MT_TRANS phrase="URL">:</label><br /><input tabindex="1" type="text" name="url" id="url" /><MT_TRANS phrase="Remember me?"><input type="radio" id="remember" name="bakecookie" /><label for="remember"><MT_TRANS phrase="Yes"></label><input type="radio" id="forget" name="bakecookie" onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" /><label for="forget"><MT_TRANS phrase="No"></label><br style="clear: both;" /></p><p><label for="text"><MT_TRANS phrase="Comments">:</label><br /><textarea tabindex="2" id="text" name="text" rows="10" cols="50"></textarea></p><div align="center"><input type="submit" tabindex="3" name="preview" value=" <MT_TRANS phrase="Preview"> " /><input style="font-weight: bold;" tabindex="4" type="submit" name="post" value=" <MT_TRANS phrase="Post"> " /></div></form></div><script language="javascript" type="text/javascript"><!--if (commenter_name) { document.getElementById(\'thanks\').style.display = \'block\';} else { document.write(\'<MT_TRANS phrase="You are not signed in. You need to be registered to comment on this site." escape="singlequotes"> <a href="<$MTRemoteSignInLink static="1"$>"> <MT_TRANS phrase="Sign in"></a>\'); document.getElementById(\'thanks\').style.display = \'none\';}// --></script><MTElse> <MTTemplateNote value="Case of registration not required"><MTIfRegistrationAllowed><script type="text/javascript" src="<MTCGIPath><MTCommentScript>?__mode=cmtr_name_js"></script><script language="javascript" type="text/javascript"><!--if (commenter_name) { document.write(\'<MT_TRANS phrase="Thanks for signing in, " escape="singlequotes">\', commenter_name, \'<MT_TRANS phrase=". Now you can comment." escape="singlequotes"> (<a href="<$MTRemoteSignOutLink static="1"$>"><MT_TRANS phrase="sign out" escape="singlequotes"></a>)\');} else { document.write(\'<MT_TRANS phrase="If you have a TypeKey identity, you can" escape="singlequotes"> <a href="<$MTRemoteSignInLink static="1"$>"> <MT_TRANS phrase="sign in" escape="singlequotes"></a> <MT_TRANS phrase="to use it here." escape="singlequotes">\');}// --></script></MTIfRegistrationAllowed><form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)"><input type="hidden" name="static" value="1" /><input type="hidden" name="entry_id" value="<$MTEntryID$>" /><div id="name_email"><p><label for="author"><MT_TRANS phrase="Name">:</label><br /><input tabindex="1" id="author" name="author" /></p><p><label for="email"><MT_TRANS phrase="Email Address">:</label><br /><input tabindex="2" id="email" name="email" /></p></div><MTIfRegistrationAllowed><script language="javascript" type="text/javascript"><!--if (commenter_name) { document.getElementById(\'name_email\').style.display = \'none\';}// --></script></MTIfRegistrationAllowed><p><label for="url"><MT_TRANS phrase="URL">:</label><br /><input tabindex="3" type="text" name="url" id="url" /><MT_TRANS phrase="Remember Me?"><input type="radio" id="remember" onclick="rememberMe(this.form)" name="bakecookie" /><label for="remember"><MT_TRANS phrase="Yes"></label><input type="radio" id="forget" name="bakecookie" onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" /><label for="forget"><MT_TRANS phrase="No"></label><br style="clear: both;" /></p><p><label for="text"><MT_TRANS phrase="Comments">:</label> <MTIfAllowCommentHTML><MT_TRANS phrase="(you may use HTML tags for style)"></MTIfAllowCommentHTML><br/><textarea tabindex="4" id="text" name="text" rows="10" cols="50"></textarea></p><div align="center"><input type="submit" name="preview" tabindex="5" value=" <MT_TRANS phrase="Preview"> " /><input style="font-weight: bold;" type="submit" name="post" tabindex="6" value=" <MT_TRANS phrase="Post"> " /></div></form></MTElse></MTIfRegistrationRequired></MTIfCommentsAllowed><script type="text/javascript" language="javascript"><!--if (document.comments_form.email != undefined) document.comments_form.email.value = getCookie("mtcmtmail");if (document.comments_form.author != undefined) document.comments_form.author.value = getCookie("mtcmtauth");if (document.comments_form.url != undefined) document.comments_form.url.value = getCookie("mtcmthome");if (getCookie("mtcmtauth") || getCookie("mtcmthome")) { document.comments_form.bakecookie[0].checked = true;} else { document.comments_form.bakecookie[1].checked = true;}//--></script></MTEntryIfCommentsOpen></MTEntryIfAllowComments></div></div></body></html>', 'name' => 'Individual Entry Archive', 'type' => 'individual', 'rebuild_me' => '0' }, { 'text' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" /><meta name="generator" content="http://www.domain.com" /><title><$MTBlogName encode_html="1"$>: <MT_TRANS phrase="Discussion on"> <$MTEntryTitle$></title><link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" /></head><body onload="window.focus()"><div id="banner"><h1><MT_TRANS phrase="Continuing the discussion..."></h1></div><div class="content"><p><MT_TRANS phrase="TrackBack URL for this entry:"><br /><$MTEntryTrackbackLink$></p><p><MT_TRANS phrase="Listed below are links to weblogs that reference"> <a href="<$MTEntryPermalink$>">\'<$MTEntryTitle$>\'</a> <MT_TRANS phrase="from"> <a href="<$MTBlogURL$>"><$MTBlogName encode_html="1"$></a>.</p><MTPings><p id="p<$MTPingID$>">» <a href="<$MTPingURL$>"><$MTPingTitle$></a> from <$MTPingBlogName encode_html="1"$><br /><$MTPingExcerpt$> <a href="<$MTPingURL$>">[<MT_TRANS phrase="Read More">]</a></p><p class="posted"><MT_TRANS phrase="Tracked on"> <$MTPingDate$></p></MTPings></div></body></html>', 'name' => 'TrackBack Listing Template', 'type' => 'pings', 'rebuild_me' => '0' }, { 'type' => 'custom', 'name' => 'Remember Me', 'text' => '<script type="text/javascript" language="javascript"><!--var HOST = \'<$MTBlogHost$>\';// Copyright (c) 1996-1997 Athenia Associates.// http://www.webreference.com/js/// License is granted if and only if this entire// copyright notice is included. By Tomer Shiran.function setCookie (name, value, expires, path, domain, secure) { var curCookie = name + "=" + escape(value) + (expires ? "; expires=" + expires : "") + (path ? "; path=" + path : "") + (domain ? "; domain=" + domain : "") + (secure ? "secure" : ""); document.cookie = curCookie;}function getCookie (name) { var prefix = name + \'=\'; var c = document.cookie; var nullstring = \'\'; var cookieStartIndex = c.indexOf(prefix); if (cookieStartIndex == -1) return nullstring; var cookieEndIndex = c.indexOf(";", cookieStartIndex + prefix.length); if (cookieEndIndex == -1) cookieEndIndex = c.length; return unescape(c.substring(cookieStartIndex + prefix.length, cookieEndIndex));}function deleteCookie (name, path, domain) { if (getCookie(name)) document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT";}function fixDate (date) { var base = new Date(0); var skew = base.getTime(); if (skew > 0) date.setTime(date.getTime() - skew);}function rememberMe (f) { var now = new Date(); fixDate(now); now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000); now = now.toGMTString(); if (f.author != undefined) setCookie(\'mtcmtauth\', f.author.value, now, \'/\', \'\', \'\'); if (f.email != undefined) setCookie(\'mtcmtmail\', f.email.value, now, \'/\', \'\', \'\'); if (f.url != undefined) setCookie(\'mtcmthome\', f.url.value, now, \'/\', \'\', \'\');}function forgetMe (f) { deleteCookie(\'mtcmtmail\', \'/\', \'\'); deleteCookie(\'mtcmthome\', \'/\', \'\'); deleteCookie(\'mtcmtauth\', \'/\', \'\'); f.email.value = \'\'; f.author.value = \'\'; f.url.value = \'\';}//--></script>', }, ];
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -