  
                    





          
          
  




<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh" xml:lang="zh">
  <head>
                    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
                                    <title>BROPEN -  (Blog.BlogPostSheet)</title>
                        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
                <link rel="shortcut icon" href="/xwiki/resources/favicon.ico" />
        <link rel="icon" href="/xwiki/resources/favicon16.png" type="image/png" />
                <link rel="apple-touch-icon" href="/xwiki/resources/favicon144.png" />
                <meta http-equiv="Content-Script-Type" content="text/javascript" />
                        <meta http-equiv="imagetoolbar" content="no"/>
                                <link rel="canonical" href="xwiki.Blog.BlogPostSheet.html" />
                            <meta name="document" content="Blog.BlogPostSheet"/>
    <meta name="wiki" content="xwiki"/>
    <meta name="space" content="Blog"/>
    <meta name="page" content="BlogPostSheet"/>
    <meta name="version" content="1.1"/>
    <meta name="restURL" content="/xwiki/rest/wikis/xwiki/spaces/Blog/pages/BlogPostSheet"/>
    <meta name="form_token" content="M0RTFnbukPMxqk7kGFYj2A"/>
                <meta name="gwt:property" content="locale=zh" />
                <meta name="revisit-after" content="7 days" />
<meta name="description" content="" />
<meta name="keywords" content="wiki" />
<meta name="distribution" content="GLOBAL" />
<meta name="rating" content="General" />
<meta name="author" content="Administrator" />
<meta http-equiv="reply-to" content="" />
<meta name="language" content="zh" />
<link rel="alternate" type="application/rss+xml" title="Wiki Feed RSS" href="https://www.bropen.com.cn/xwiki/bin/view/Main/WebRss?xpage=rdf" />
<link rel="alternate" type="application/rss+xml" title="Blog RSS Feed" href="https://www.bropen.com.cn/xwiki/bin/view/Blog/GlobalBlogRss?xpage=plain" />

                <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin -->
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
<link href="skins/colibri/style.css?colorTheme=ColorThemes.Dusk" rel="stylesheet" type="text/css" media="all" />
<link href="skins/colibri/print.css?colorTheme=ColorThemes.Dusk" rel="stylesheet" type="text/css" media="print" />
        <!--[if IE]>
  <link href="skins/colibri/ie-all.css?colorTheme=ColorThemes.Dusk" rel="stylesheet" type="text/css" />
<![endif]-->
    <!-- com.xpn.xwiki.plugin.skinx.CssResourceSkinExtensionPlugin -->
  <!-- com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin -->
  <!-- com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin -->

    



  
  
                                                                                                                                                                                                                      
    
      <!-- com.xpn.xwiki.plugin.skinx.JsResourceSkinExtensionPlugin -->
    <!-- com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin -->
    <!-- com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin -->

<script type="text/javascript" src="resources/js/xwiki/compatibility.js" defer="defer"></script>
<script type="text/javascript" src="resources/js/xwiki/markerScript.js" defer="defer"></script>
<script type="text/javascript">
// <![CDATA[
require.config({
  baseUrl: '/',
    paths: { 'jquery': "resources/js/amd/jquery" },
  map: {
    '*': { 'jquery': 'jQueryNoConflict' },
    'jQueryNoConflict': { 'jquery': 'jquery' }
  }
});
define('jQueryNoConflict', ['jquery'], function($) { $.noConflict(); return $; });
XWiki.webapppath = "xwiki/";
XWiki.servletpath = "bin/";
XWiki.contextPath = "/xwiki";
XWiki.mainWiki = "xwiki";
XWiki.currentWiki = "xwiki";
XWiki.currentSpace = "Blog";
XWiki.currentPage = "BlogPostSheet";
XWiki.editor = "";
XWiki.viewer = "";
XWiki.contextaction = "export";
XWiki.docisnew = false;
XWiki.docsyntax = "xwiki/2.1";
XWiki.docvariant = "";
XWiki.blacklistedSpaces = [ "Import","Panels","Scheduler","Stats","XAppClasses","XAppSheets","XAppTemplates","XWiki","WatchCode","WatchSheets","XApp","WatchAdmin","Watch","ColorThemes","AnnotationCode" ];
XWiki.hasEdit = false;
XWiki.hasProgramming = false;
XWiki.hasBackupPackImportRights = false;
XWiki.hasRenderer = true;
window.docviewurl = "xwiki.Blog.BlogPostSheet.html";
window.docediturl = "";
window.docsaveurl = "";
window.docgeturl = "";
// ]]>
</script>

		<script>var o = {
			name: 'XWikiGuest',
			username:'XWikiGuest',
			ip:'216.73.216.176, ::1',
															j:'8524A7942DF2ED0DAD2AAD43798B803D'}</script>
  </head>
  <body id="body" class="wiki-xwiki space-Blog viewbody  doc-Blog_BlogPostSheet admin_false">
<div id="xwikimaincontainer">
<div id="xwikimaincontainerinner">

  <div id="menuview">
    <div id="mainmenu" class="layoutsubsection actionmenu">
<div class="gradientfilterIE"></div>
<div class="componentcontainer">
<strong id="xwikimenutitle" class="hidden">一般动作</strong>
<div class="rightmenu">
      <div id="tmLogin" class="tmLogin topmenuentry ">
   <a class="tme" href=""><strong>登录</strong></a>
  </div>
  </div>
<div class="leftmenu">
            <div id="tmWiki" class="tmWiki topmenuentry dropdownmenuentry dropdownnolink hasIcon" onmouseover="showsubmenu(this);" onmouseout="hidesubmenu(this);">
<span class="tme-extensible">
              <span class="tmetype">Wiki: </span><a class="tme hastype" href=""><strong>BROPEN</strong></a>
         <span class="menuarrow">&#9660;</span><span class="hidden menucolon">: </span>
</span><span class="submenu hidden">
                        <span class="submenuitem "><a href="" id="tmWikiDocumentIndex" class="tmWikiDocumentIndex">Document Index</a></span>
            </span></div>
  <div class="topmenuentry"><span class="separator">&raquo;</span></div>
  <div id="tmSpace" class="tmSpace topmenuentry dropdownmenuentry dropdownnolink hasIcon" onmouseover="showsubmenu(this);" onmouseout="hidesubmenu(this);">
<span class="tme-extensible">
              <span class="tmetype">Space: </span><a class="tme hastype" href=""><strong>Blog</strong></a>
         <span class="menuarrow">&#9660;</span><span class="hidden menucolon">: </span>
</span><span class="submenu hidden">
              <span class="submenuitem "><a href="" id="tmSpaceDocumentIndex" class="tmSpaceDocumentIndex">Document Index</a></span>
      </span></div>
<div class="topmenuentry"><span class="separator">&raquo;</span></div>
  <div id="tmPage" class="tmPage topmenuentry hasIcon">
              <span class="tmetype">Page: </span><a class="tme hastype" href="xwiki.Blog.BlogPostSheet.html"><strong>BlogPostSheet</strong></a>
       </div>
</div>
</div>
</div>

  </div>
 <div id="headerglobal" class="layoutsection">
<div class="minwidthd"></div>
  <div id="company">
  <div id="companylogo">
    <a href="" title="Home" rel="home">
    <img src="/xwiki/resources/logo_bropen.png" alt="Wiki Logo"/>
    </a>
  </div>   </div>   <div id="globallinks">
        <form action="">
      <div class="globalsearch">
        <label class="hidden" for="headerglobalsearchinput">搜索</label><input class="globalsearchinput withTip" id="headerglobalsearchinput" type="text" name="text" value="查找中......" size="15"/><input class="button" type="image" value="查找" alt="查找" src="resources/icons/xwiki/search.png"/>
      </div>
    </form>
      <span class="glink" id="headerlanguages">
            <a href="xwiki.Blog.BlogPostSheet.html" class="language-default language-current">default</a>
      </span>
  </div>   <div class="clearfloats"></div>
  </div> 

<div class="content" id="contentcontainer">
<div id="contentcontainerinner">
<div class="leftsidecolumns">
  <div id="contentcolumn"> 
        <div class="main layoutsubsection">
      <div id="contentmenu" class="actionmenu">
    <div class="gradientfilterIE"></div>
<div class="componentcontainer">
<strong id="xwikicontentmenutitle" class="hidden">页面动作</strong>
<div class="rightmenu">
</div>
<div class="leftmenu">
  <div id="tmExport" class="tmExport topmenuentry dropdownmenuentry dropdownnolink " onmouseover="showsubmenu(this);" onmouseout="hidesubmenu(this);">
<span class="tme-extensible">
   <a class="tme"><strong>导出</strong></a>
    <span class="menuarrow">&#9660;</span><span class="hidden menucolon">: </span>
</span><span class="submenu hidden">
    <span class="submenuitem "><a href="xwiki.Blog.BlogPostSheet.html" id="tmExportPdf" class="tmExportPdf">以PDF格式导出</a></span>
    <span class="submenuitem "><a href="" id="tmExportRtf" class="tmExportRtf">以RTF格式导出</a></span>
  <span class="submenuitem "><a href="" id="tmExportHtml" class="tmExportHtml">以HTML格式导出</a></span>
    </span></div>
  <div id="tmMoreActions" class="tmMoreActions topmenuentry dropdownmenuentry dropdownnolink " onmouseover="showsubmenu(this);" onmouseout="hidesubmenu(this);">
<span class="tme-extensible">
   <a class="tme"><strong>更多动作</strong></a>
    <span class="menuarrow">&#9660;</span><span class="hidden menucolon">: </span>
</span><span class="submenu hidden">
  <span class="submenuitem "><a href="xwiki.Blog.BlogPostSheet.html" id="tmPrintPreview" class="tmPrintPreview">打印预览</a></span>
  <span class="submenuitem "><a href="xwiki.Blog.BlogPostSheet.html" id="tmViewSource" class="tmViewSource">察看源码</a></span>
  </span></div>
  </div>
</div>
    </div>
    <div id="mainContentArea">
  
   <div id="hierarchy">
                                                      <a href=''>欢迎进入Wiki</a> <span class='separator'>&#187;</span> <a href=''>The Wiki Blog</a> <span class='separator'>&#187;</span> <a href=''>XClass representing a blog entry</a> <span class='separator'>&#187;</span> <span class='current'></span>
                            </div>

      <div id="document-title"><h1>Wiki源代码<a href="xwiki.Blog.BlogPostSheet.html"></a></h1></div>
                        <div id="document-info">
    <div class="xdocLastModification">       在2013-10-01 11:53上被<span class="wikilink"><a href="">Administrator</a></span>修改
    </div>
    <div>
                      <span id="commentsshortcut"><a href="xwiki.Blog.BlogPostSheet.html">评论</a> <span class="itemCount">(0)</span></span>
               <span class="separator">&#183;</span>         <span id="attachmentsshortcut"><a href="xwiki.Blog.BlogPostSheet.html">附件</a> <span class="itemCount">(0)</span></span>
               <span class="separator">&#183;</span>         <span id="historyshortcut"><a href="xwiki.Blog.BlogPostSheet.html">记录</a></span>
               <span class="separator">&#183;</span>         <span id="informationshortcut"><a href="xwiki.Blog.BlogPostSheet.html">信息</a></span>
          </div>
    <div class="clearfloats"></div>
  </div>

<div>
  <a href="xwiki.Blog.BlogPostSheet.html" id="toggleLineNumbers">隐藏行号</a>
                            <textarea readonly="readonly" class="wiki-code" rows="25" cols="80">
 1: {{include document=&quot;Blog.BlogCode&quot;/}}
 2: 
 3: {{include document=&quot;Blog.CategoriesCode&quot;/}}
 4: 
 5: {{velocity}}
 6: {{html clean=&quot;false&quot; wiki=&quot;true&quot;}}
 7: $xwiki.jsx.use('Blog.ManageCategories', {'mode' : 'select'})##
 8: $xwiki.ssx.use('Blog.ManageCategories')##
 9: #getEntryObject($doc $entryObj)
10: #if(&quot;$!entryObj&quot; == '')
11:   {{warning}}{{translation key='xe.blog.sheet.notpost'/}}{{/warning}}
12: ## Keep testing the inline action for backward compatibility with older blog posts.
13: #elseif($xcontext.action != 'edit' &amp;&amp; $xcontext.action != 'inline')
14:   ## View mode
15:   #isPublished($entryObj $isPublished)
16:   #isHidden($entryObj $isHidden)
17:   ## displayBlog requires a list of documents, and whether to display only an extract or the full entry.
18:   #displayBlog([$tdoc] 'single' false false)
19: #else
20:   ; {{translation key='xe.blog.sheet.title'/}}
21:   : $doc.display('title', 'edit', $entryObj)
22:   ; {{translation key='xe.blog.sheet.content'/}}
23:   : $doc.display('content', 'edit', $entryObj)
24:   ; {{translation key='xe.blog.sheet.summary'/}}
25:   : $doc.display('extract', 'edit', $entryObj)
26:   ; {{translation key='xe.blog.sheet.category'/}}
27:   : (((#displayCategoryManagementTree('' 'selectable') (% class=&quot;clearfloats&quot; %)((())))))
28:   #isPublished($entryObj $isPublished)
29:   #if($isPublished)
30:     #if($doc.creator == $xcontext.user)
31:       #publishMessageBox($services.localization.render('xe.blog.sheet.publicationdate', [${doc.display('publishDate', 'view', $entryObj)}]))
32:       #set($hideArticle = ${doc.display('hidden', 'edit', $entryObj)})
33:       #hideMessageBox($services.localization.render('xe.blog.sheet.hidearticle', [${hideArticle}]))
34:     #end
35:   #else
36:     #set($defaultDate = $xwiki.getDocument($blogPostTemplate).getObject($blogPostClassname).getProperty('publishDate').value.time)
37:     #if($entryObj.getProperty('publishDate').value.time == $defaultDate)
38:       ## The publish date was not set, force it to be the creation date
39:       $entryObj.set('publishDate', $doc.creationDate)
40:     #end
41:     #publishMessageBox(&quot;$services.localization.render('xe.blog.sheet.notpublished') &lt;label&gt;**$services.localization.render('xe.blog.sheet.publish') ${doc.display('published', 'edit', $entryObj)}**&lt;/label&gt;\\&lt;label&gt;$services.localization.render('xe.blog.sheet.setdate') ${doc.display('publishDate', 'edit', $entryObj)}&lt;/label&gt;&quot;)
42:   #end
43: #end
44: {{/html}}
45: {{/velocity}}
</textarea>
</div>

    <div class="clearfloats"></div>
  </div>    </div>      </div><div id="leftPanels" class="panels left">
      <div class="panel expanded RecentPostsPanel"><h1 class="xwikipaneltitle">Recent Blog Posts</h1><div class="xwikipanelcontents"></div></div>
        
        <div class="panel expanded CategoriesPanel"><h1 class="xwikipaneltitle">Blog Categories</h1><div class="xwikipanelcontents"><ul><li><span class="blog-category-level"><a href="" title="RSS"><img alt="[RSS]" class="icon-manage" src="resources/icons/silk/bullet_feed.png"></img></a> <a href="">News</a> <span class="itemCount"> (16)</span></span></li><li><span class="blog-category-level"><a href="" title="RSS"><img alt="[RSS]" class="icon-manage" src="resources/icons/silk/bullet_feed.png"></img></a> <a href="">Other</a> <span class="itemCount"> (0)</span></span></li><li><span class="blog-category-level"><a href="" title="RSS"><img alt="[RSS]" class="icon-manage" src="resources/icons/silk/bullet_feed.png"></img></a> <a href="">Personal</a> <span class="itemCount"> (0)</span></span></li></ul></div></div>
        <div class="panel expanded ArchivePanel"><h1 class="xwikipaneltitle">Blog Archive</h1><div class="xwikipanelcontents"><div class="box infomessage">当前没有文章......</div></div></div>
  </div>

  </div><div id="rightPanels" class="panels right">
      <div class="panel expanded QuickLinks"><h1 class="xwikipaneltitle">快速链接</h1><div class="xwikipanelcontents"><ul><li><span class="wikilink"><a href="">首页</a></span></li><li><span class="wikilink"><a href="">新闻动态</a></span></li><li><span class="wikilink"><a href="">FAQ</a></span></li></ul></div></div>
                
  </div>

<div class="clearfloats"></div>
  </div></div><div id="footerglobal" class="layoutsection">
<div class="minwidth"></div>
<hr/>
  <div id="xwikilicence">Copyright © 2013 北京博瑞开源软件有限公司</div>
          <div id="xwikiplatformversion">京ICP备12048974号</div>
<hr/>
</div>

</div></div></body>
</html>


