Acciones generales:
Identificarse
Registro
Wiki:
Main wiki
▼
:
Índice de documentos
»
Espacio:
Blog
▼
:
Índice de documentos
»
Página:
BlogPostSheet
Buscar
default
Acciones de página:
Exportar
▼
:
Exportar como PDF
Exportar como RTF
Exportar como HTML
Más acciones
▼
:
Vista previa de la impresión
Ver fuente
Bienvenido a su wiki
»
The Wiki Blog
»
XClass representing a blog entry
»
Código fuente wiki de
Última modificación por
Administrator
el 2012/03/21 17:41
Contenido
·
Comentarios
(0)
·
Annotations
(0)
·
Adjuntos
(0)
·
Historial
·
Información
Mostrar números de línea
{{include document="Blog.BlogCode"/}} {{include document="Blog.CategoriesCode"/}} {{velocity filter="none"}} {{html clean="false" wiki="true"}} $xwiki.jsx.use('Blog.ManageCategories', {'mode' : 'select'})## $xwiki.ssx.use('Blog.ManageCategories')## #getEntryObject($doc $entryObj) #if("$!entryObj" == '') #warning($msg.get('xe.blog.sheet.notpost')) ## Keep testing the inline action for backward compatibility with older blog posts. #elseif($xcontext.action != 'edit' && $xcontext.action != 'inline') ## View mode #isPublished($entryObj $isPublished) #isHidden($entryObj $isHidden) ## displayBlog requires a list of documents, and whether to display only an extract or the full entry. #displayBlog([$tdoc] 'single' false false) #else <dl> <dt>$msg.get('xe.blog.sheet.title')</dt> <dd>$doc.display('title', 'edit', $entryObj)</dd> <dt>$msg.get('xe.blog.sheet.content')</dt> <dd>$doc.display('content', 'edit', $entryObj)</dd> <dt>$msg.get('xe.blog.sheet.summary')</dt> <dd>$doc.display('extract', 'edit', $entryObj)</dd> <dt>$msg.get('xe.blog.sheet.category')</dt> <dd> #displayCategoryManagementTree('' 'selectable') <div class="clearfloats"></div> </dd> </dl> #template('tagedit.vm') #isPublished($entryObj $isPublished) #if($isPublished) #if($doc.creator == $xcontext.user) #publishMessageBox($msg.get('xe.blog.sheet.publicationdate', [${doc.display('publishDate', 'view', $entryObj)}])) #set($hideArticle = ${doc.display('hidden', 'edit', $entryObj)}) #hideMessageBox($msg.get('xe.blog.sheet.hidearticle', [${hideArticle}])) #end #else #set($defaultDate = $xwiki.getDocument($blogPostTemplate).getObject($blogPostClassname).getProperty('publishDate').value.time) #if($entryObj.getProperty('publishDate').value.time == $defaultDate) ## The publish date was not set, force it to be the creation date $entryObj.set('publishDate', $doc.creationDate) #end #publishMessageBox("$msg.get('xe.blog.sheet.notpublished') <label>**$msg.get('xe.blog.sheet.publish') ${doc.display('published', 'edit', $entryObj)}**</label>\\<label>$msg.get('xe.blog.sheet.setdate') ${doc.display('publishDate', 'edit', $entryObj)}</label>") #end #end {{/html}} {{/velocity}}
Recent Blog Posts
First blog post
Blog Categories
News
(1)
Other
(0)
Personal
(0)
Blog Archive
2009
(1)