要在編輯文章時可以設定不同字型...
修改 /js/tinymce/themes/advanced/editor_template.js
var nFonts='標楷體=標楷體,Andale Mono=andale mono,....
這樣就可以了....
var nFonts='標楷體=標楷體,Andale Mono=andale mono,....
管理介面中->全域站台管控->全域設定->一般設定->(在發表迴響評論時可以使用的HTML語法標籤。)
加入<a><i><br><br/><b><em><strong><img><u><strike><blockquote>
這樣迴響表情就可以出來了
<div class="sidetitle">
Recent posts</div>
<div class="side">
<ul>
{foreach from=$recentposts item=recentpost}
<li><a title="{$recentpost->getText()|truncate:100:"..."|strip_tags|escape}" href="{$url->postLink($recentpost)}">{$recentpost->getTopic()}</a></li>
{/foreach}
</ul>
</div>
</div>
</div><div id="links">
<div class="side-log" align="center">
<a href="http://jam.fyjh.tpc.edu.tw/lifetype/admin.php">*登入-- 管理*</a><br/>
<a href="http://teacher.fyjh.tpc.edu.tw/~jam/gallery/" target=_blank>橘子工廠-相簿</a><br />
文章總數:{$blog->getTotalPosts()}<br />迴響總數:{$blog->getTotalComments()}
</div>
<a href="http://jas9.blogspot.com/2007/07/blog-post_9075.html" target="_blank"><img src="http://www.jas9.com/Jas9Taipei/images/Anti-Parrot-badge200x80.png" alt="網摘、引用、連結,不轉載" width="200" height="80" border="0"/></a>
<div class="sidetitle-comment">Recent Comments <br /></div>
<div class="side-comment">
{if $recentcomments->isEnabled()}
{assign var=comments value=$recentcomments->getRecentComments()}{foreach from=$comments item=comment}
{assign var=commentpostid value=$comment->getArticleId()}
{assign var=commentpost value=$recentcomments->getArticle($commentpostid)}<img src="http://jam.fyjh.tpc.edu.tw/lifetype/imgs/comment_icon1.gif"> - <a title="View comments by {$comment->getUsername()}" href="{$url->postPermalink($commentpost)}#{$comment->getId()}"><b>{$comment->getUsername()}:</b>{$comment->getText()|truncate:100:"..."|strip_tags|regex_replace:"/http:[^ ]+/":"[link]"}</a><br />
{/foreach}{/if}
</div>
{assign var=blogOwner value=$blog->getOwnerInfo()}
{assign var=AboutMyself value=$blogOwner->getAboutMyself()}
{if $blogOwner->hasPicture() && $AboutMyself}
<div class="sidetitle">{$locale->tr("about_myself")}</div>
<div class="side">
<ul>
{assign var=picture value=$blogOwner->getPicture()}
<li><img id="UserPicture" src="{$picture->getPreviewLink()}" alt="{$blogOwner->getUsername()}" /></li>
<li>{$AboutMyself}</li>
</ul>
</div>
{/if}
<div class="sidetitle">{$locale->tr("calendar")}</div>
<div class="sidecal">{$calendar}</div><div class="sidetitle">{$locale->tr("archives")}</div>
<div class="side">
<p>
<ul>
{foreach from=$archives item=archive}
<li><a href="{$archive->getUrl()}">{$archive->getName()}</a></li>
{/foreach}
</ul>
</p>
</div><div class="sidetitle">{$locale->tr("categories")}</div>
<div class="side">
<p>
<ul>
{foreach from=$articlecategories item=category}
<li><a href="{$url->categoryLink($category)}">{$category->getName()}</a></li>
{/foreach}
</ul>
</p>
</div>
<div class="sidetitle">
~推薦網誌~</div>
<div class="side">
對民宿旅遊有興趣的朋友,一定要來這裡看看<br />
<a target="new" href="http://www.wretch.cc/blog/playplay365/13063473">
<img border="" src="
http://f5.wretch.yimg.com/playplay365/1/1909723870.jpg"></a><br /></div>
<div class="sidetitle">{$locale->tr("links")}</div>
<div class="side">
<p>
<ul>
{foreach from=$mylinkscategories item=linkcategory}
<li><b>{$linkcategory->getName()}</b>
<ul>
{foreach from=$linkcategory->getLinks() item=link}
<li><a href="{$link->getUrl()}" title="{$link->getDescription()}">{$link->getName()}</a></li>
{/foreach}
</ul>
</li>
{/foreach}
</ul>
</p>
</div><div class="sidetitle-url">~好友聯播~<a href="
http://www.newsgator.com/ngs/subscriber/subext.aspx?url=RSS_URL_HERE"><br /><img runat="server" src="http://www.newsgator.com/images/ngsub1.gif" alt="Subscribe in NewsGator Online" border="0" /></a>
<div class="sidetitle">{$locale->tr("syndicate")}</div>
<div class="side">
<ul>
<p>
<li><a class="nodecoration" title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}"><img src="{$url->getUrl("/imgs/rss090_logo.gif")}" style="border:0px;" alt="RSS 0.90" /></a></li>
<li><a class="nodecoration" title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}"><img src="{$url->getUrl("/imgs/rss10_logo.gif")}" style="border:0px;" alt="RSS 1.0" /></a></li>
<li><a class="nodecoration" title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}"><img src="{$url->getUrl("/imgs/rss20_logo.gif")}" style="border:0px;" alt="RSS 2.0" /></a></li>
<li><a class="nodecoration" title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}"><img src="{$url->getUrl("/imgs/atom_logo.png")}" style="border:0px;" alt="Atom 0.3" /></a></li>
<li><a class="nodecoration" title="Link to the Atom 0.3 feed." href="http://jam.fyjh.tpc.edu.tw/lifetype/rss.php?blogId=1&profile=rss20comments"><img src="http://jam.fyjh.tpc.edu.tw/~jam/pic/rsscomment.png" style="border:0px;" alt="RssComments" /></a></li>
</p>
</div>
<div class="powered">
Powered by <a href="LifeType
http://www.lifetype.net">LifeType</a><br />
</div>
</div>
</body>
</html>
lifetype - 修正迴響 tag 問題
在 postandcomments.template 模版中
加入{$comment->getId()}"
{include file="$blogtemplate/header.template"}
{assign var="poster" value=$post->getUserInfo()}
{assign var="postDate" value=$post->getDateObject()}
<h2 class="date">{$locale->formatDate($postDate, "%A, %B %d, %Y")}</h2>
<div class="blogbody">
<!-- {$url->postTrackbackLink($post)} -->
<p>{include file="$blogtemplate/post.template"}</p>
{pager style="links"}
</div>
{foreach from=$comments item=comment}
<div class="blogbody-com">
<p class="com-title">
<a name="{$comment->getId()}"></a> <img src="{$url->getUrl("/imgs/comment_icon1.gif")}"/> {$comment->getTopic()} <span class="categoryinfo">[<a href="{$url->replyCommentLink($post,$comment)}">{$locale->tr("reply")}</a>]</span>
</p>
{if $comment->IsPosterAuthenticated()}
{assign var=poster value=$comment->getUser()}
{if $poster->hasPicture()}
{assign var=posterimg value=$poster->getPicture()}
<img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
{/if}
{/if}
{$comment->gettext()}
<div class="posted">
{assign var="commentDate" value=$comment->getTimestamp()}
Comment by
{if $comment->getUserUrl() != "" }
<a href="{$comment->getUserUrl()}">{$comment->getUsername()}</a>
{else}
{$comment->getUsername()}
{/if}
({$locale->formatDate($commentDate, "%m/%d/%Y %H:%M")})</div></div>
{/foreach}
{if $post->getCommentsEnabled()}
<p>
<div style="padding-left: 20px">
<h3>{$locale->tr("add_comment")}</h3>
{include file="$blogtemplate/commentform.template"}
</div>
</p>
{/if}
{include file="$blogtemplate/footer.template"}
迴響的模版 commentform.template 放在
/usr/local/www/apache22/data/lifetype/templates/default/下
找到下面....加入value="Re:{$post->getTopic()}"
<input tabindex="1" id="subject" name="commentTopic" value="Re:{$post->getTopic()}" >
如此一來,就會預設出現 Re: 文章標題