General Actions:
Log-in
Register
Wiki:
Main wiki
▼
:
Document Index
»
Space:
XWiki
▼
:
Document Index
»
Page:
ArticleClassSheet
Search
en
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Main wiki
»
XWiki Space
»
Data types
»
ArticleClass
»
ArticleClassSheet
Wiki source code of
ArticleClassSheet
Last modified by
Administrator
on 2010/09/23 14:50
Content
·
Comments
(0)
·
Annotations
(0)
·
Attachments
(0)
·
History
·
Information
Show line numbers
#set($obj = "") #set($obj = $doc.getObject("XWiki.ArticleClass")) #if($obj == "") #warning("This is not an article!") #elseif($context.action!="inline") <div class="hfeed"> <div class="hentry"> <h3 class="heading-1-1 entry-title">$doc.display("title","view", $obj)</h3> <div class="article_content entry-content"> $doc.display("content", "rendered", $obj) </div> ## entry-content <div class="article_footer"> #set($bcategories = $obj.getProperty("category").value) Posted by <address class="author vcard">#userfn($doc.creator)</address> at <abbr class="published" title="#formatdateISO($doc.creationDate)">$xwiki.formatDate($doc.creationDate, "MMM dd, yyyy HH:mm")</abbr>#if($bcategories.size() > 0) in #foreach($bcategory in $bcategories)<a rel="tag" href="$xwiki.getURL("Blog.Category", "view", "category=${bcategory}")">$bcategory</a> #end#end #if($doc.date != $doc.creationDate) | Modified by <address class="author vcard">#userfn($doc.author)</address> at <abbr class="updated" title="#formatdateISO($doc.date)">$xwiki.formatDate($doc.date, "MMM dd, yyyy HH:mm")</abbr> #end | [$doc.comments.size() Comment(s)>${doc.fullName}?xpage=comments] | <a href="$doc.getURL("view")" rel="bookmark">Permalink</a> </div> ## article_footer </div> ## hentry </div> ## hfeed #else <dl> <dt>Title:</dt> <dd>$doc.display("title", "edit", $obj)</dd> <dt>Category:</dt> <dd>$doc.display("category", "edit", $obj)</dd> <dt>Content:</dt> <dd>$doc.display("content", "edit", $obj)</dd> <dt>Extract:</dt> <dd>$doc.display("extract", "edit", $obj)</dd> </dl> #set($newtitle = $request.title) #if($newtitle) #set($newtitle = $newtitle.replaceAll('"',"'")) <script type="text/javascript"> var title = "${newtitle}"; {pre} document.forms.inline["XWiki.ArticleClass_0_title"].value = title; {/pre} </script> #end #end