XHTML Collaboration template
This commit is contained in:
parent
ebea64b0a1
commit
94218e093d
1 changed files with 117 additions and 0 deletions
117
docs/upgrades/templates-6.9.0/wgtemplate_topics.tmpl
Normal file
117
docs/upgrades/templates-6.9.0/wgtemplate_topics.tmpl
Normal file
|
|
@ -0,0 +1,117 @@
|
||||||
|
#PBtmpl0000000000000079
|
||||||
|
<a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a>
|
||||||
|
|
||||||
|
<tmpl_if session.var.adminOn>
|
||||||
|
<tmpl_var controls>
|
||||||
|
</tmpl_if>
|
||||||
|
|
||||||
|
<tmpl_if displayTitle>
|
||||||
|
<h2><tmpl_var title></h2>
|
||||||
|
</tmpl_if>
|
||||||
|
|
||||||
|
<tmpl_if description>
|
||||||
|
<tmpl_var description>
|
||||||
|
</tmpl_if>
|
||||||
|
|
||||||
|
<p class="postControls">
|
||||||
|
<tmpl_if user.canPost>
|
||||||
|
<a href="<tmpl_var add.url>"><tmpl_var add.label></a>
|
||||||
|
•
|
||||||
|
</tmpl_if>
|
||||||
|
<tmpl_unless user.isVisitor>
|
||||||
|
<tmpl_if user.isSubscribed>
|
||||||
|
<a href="<tmpl_var unsubscribe.url>"><tmpl_var unsubscribe.label></a>
|
||||||
|
<tmpl_else>
|
||||||
|
<a href="<tmpl_var subscribe.url>"><tmpl_var subscribe.label></a>
|
||||||
|
</tmpl_if>
|
||||||
|
•
|
||||||
|
</tmpl_unless>
|
||||||
|
<tmpl_if pagination.pageCount.isMultiple>
|
||||||
|
<a href="<tmpl_var search.url>"><tmpl_var search.label></a>
|
||||||
|
</tmpl_if>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<tmpl_loop post_loop>
|
||||||
|
<tmpl_if user.isPoster>
|
||||||
|
<tmpl_unless session.var.adminOn>
|
||||||
|
<div>[<a href="<tmpl_var edit.url>"><tmpl_var edit.label></a>]</div>
|
||||||
|
</tmpl_unless>
|
||||||
|
</tmpl_if>
|
||||||
|
<tmpl_if user.isModerator>
|
||||||
|
<div>
|
||||||
|
<tmpl_if session.var.adminOn>
|
||||||
|
<tmpl_var controls>
|
||||||
|
<tmpl_else>
|
||||||
|
<tmpl_unless user.isPoster>
|
||||||
|
<tmpl_unless session.var.adminOn>
|
||||||
|
[<a href="<tmpl_var edit.url>"><tmpl_var edit.label></a>]
|
||||||
|
</tmpl_unless>
|
||||||
|
</tmpl_unless>
|
||||||
|
</tmpl_if>
|
||||||
|
(<a href="<tmpl_var url>"><tmpl_var status></a>)
|
||||||
|
</div>
|
||||||
|
</tmpl_if>
|
||||||
|
<h2 class="topicsTitle"><tmpl_var title></h2>
|
||||||
|
<span class="topicContent"><tmpl_var content></span>
|
||||||
|
<p />
|
||||||
|
</tmpl_loop>
|
||||||
|
|
||||||
|
<tmpl_if pagination.pageCount.isMultiple>
|
||||||
|
<div class="pagination">
|
||||||
|
<tmpl_var pagination.previousPage> · <tmpl_var pagination.pageList.upTo10> · <tmpl_var pagination.nextPage>
|
||||||
|
</div>
|
||||||
|
</tmpl_if>
|
||||||
|
|
||||||
|
|
||||||
|
~~~
|
||||||
|
.postControls
|
||||||
|
{
|
||||||
|
-moz-box-sizing:border-box;
|
||||||
|
background:#C0C0C0;
|
||||||
|
width:95%;
|
||||||
|
text-align:right;
|
||||||
|
padding:3px;
|
||||||
|
font-size:9pt;
|
||||||
|
font-family:arial;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination
|
||||||
|
{
|
||||||
|
-moz-box-sizing:border-box;
|
||||||
|
background:#C0C0C0;
|
||||||
|
width:95%;
|
||||||
|
text-align:right;
|
||||||
|
padding:3px;
|
||||||
|
font-size:9pt;
|
||||||
|
font-family:arial;
|
||||||
|
}
|
||||||
|
|
||||||
|
.postControls a
|
||||||
|
{
|
||||||
|
color:white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination a
|
||||||
|
{
|
||||||
|
color:white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.topicsTitle
|
||||||
|
{
|
||||||
|
-moz-box-sizing:border-box;
|
||||||
|
width:95%;
|
||||||
|
border-bottom:solid silver 1px;
|
||||||
|
margin-bottom:3px;
|
||||||
|
font-family:arial;
|
||||||
|
}
|
||||||
|
|
||||||
|
.topicContent
|
||||||
|
{
|
||||||
|
-moz-box-sizing:border-box;
|
||||||
|
font-family:arial;
|
||||||
|
font-size:9pt;
|
||||||
|
width:95%;
|
||||||
|
display:block;
|
||||||
|
border:solid silver 1px;
|
||||||
|
padding:3px;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue