Second pass at adding key files
This commit is contained in:
27
site/forum/include_post_toolbar.html
Normal file
27
site/forum/include_post_toolbar.html
Normal file
@ -0,0 +1,27 @@
|
||||
<%~set toolbar_id += 1~%>
|
||||
<%if toolbar_id == 1%>
|
||||
<div class="btn-wrapper clearfix">
|
||||
<a href="<%GForum::SEO::url(params => "do=forum_view&forum=$forum_id")%>" class="btn default">Back To Forum</a>
|
||||
<%~if current.user_id~%>
|
||||
<a class="btn default" href="<%GForum::SEO::url(params => "do=watch_thread;thread=$root_post_id")%>" rel="post-only">Watch Thread</a><%~%>
|
||||
<%~endif~%>
|
||||
<a class="sprite-printer" href="<%GForum::SEO::url(params => "do=post_view_printable;post=$root_post_id")%>" target="_blank" onclick="return winopen('<%GForum::SEO::url(params => "do=post_view_printable;post=$root_post_id")%>', '<%root_post_id%>print')" rel="nofollow">Print Thread</a>
|
||||
</div>
|
||||
<%else%>
|
||||
<form action="<%GForum::SEO::url()%>" method="post" id="toolbar_form">
|
||||
<%hidden_form%>
|
||||
</form>
|
||||
<div id="toolbar<%toolbar_id%>" class="toolbar clearfix">
|
||||
<hr class="line" />
|
||||
<%~if num_posts > $mh%>
|
||||
<%include include_paging.html%>
|
||||
<%~endif%>
|
||||
<div class="btn-wrapper clearfix">
|
||||
<a href="<%GForum::SEO::url(params => "do=forum_view&forum=$forum_id")%>" class="btn default">Back To Forum</a>
|
||||
<%~if current.user_id~%>
|
||||
<a class="btn default" href="<%GForum::SEO::url(params => "do=watch_thread;thread=$root_post_id")%>" rel="post-only">Watch Thread</a><%~%>
|
||||
<%~endif~%>
|
||||
<a class="sprite-printer" href="<%GForum::SEO::url(params => "do=post_view_printable;post=$root_post_id")%>" target="_blank" onclick="return winopen('<%GForum::SEO::url(params => "do=post_view_printable;post=$root_post_id")%>', '<%root_post_id%>print')" rel="nofollow">Print Thread</a>
|
||||
</div>
|
||||
</div>
|
||||
<%~endif%>
|
Reference in New Issue
Block a user