Código fuente wiki de Blog categories

Última modificación por Administrator el 2014/10/29 07:38

Mostrar los últimos autores
1 {{include reference="Blog.CategoriesCode"/}}
2
3 {{velocity filter="none"}}
4 {{html clean="false" wiki="true"}}
5 $xwiki.ssx.use('Blog.ManageCategories')##
6 $xwiki.jsx.use('Blog.ManageCategories')##
7
8 <div class="blog-categories-list">
9 #getCategoriesHierarchy($doc.space $tree)
10 #displayCategoriesHierarchyRecursive($tree $doc.fullName 1 'editable')
11 #if($xwiki.hasAccessLevel('edit', $xcontext.user, $doc.fullName))
12 * (% class="blog-add-category-label" %)[[$services.localization.render('xe.blog.categories.addcategory')>>Blog.ManageCategories?xaction=showAddCategory&parentCategory=${escapetool.url(${doc.fullName})}]](%%)
13 ##
14 #if("$!{request.xaction}" == 'showAddCategory' && "$!{request.parentCategory}" == ${doc.fullName}) #addCategoryForm() #end
15 ##
16 #end
17
18 </div>
19 <div class="clearfloats"></div>
20 {{/html}}
21 {{/velocity}}