summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/ajax.tpl2
-rw-r--r--templates/board.tpl17
-rw-r--r--templates/board_assign.tpl59
-rw-r--r--templates/board_edit.tpl86
-rw-r--r--templates/comment_post.tpl8
-rw-r--r--templates/menu_bitboards.tpl6
-rw-r--r--templates/post.tpl95
-rw-r--r--templates/topic.tpl47
-rw-r--r--templates/topic_move.tpl4
9 files changed, 208 insertions, 116 deletions
diff --git a/templates/ajax.tpl b/templates/ajax.tpl
index c1b88b8..6989e77 100644
--- a/templates/ajax.tpl
+++ b/templates/ajax.tpl
@@ -1,6 +1,6 @@
{strip}
<option value="">Select a Board</option>
{foreach from=$boardList item=board}
- <option value="{$board.content_id}"> {$board.title} ({$board.post_count}) ({$board.description})</option>
+ <option value="{$board.content_id}"> {$board.title} [{$board.post_count}]</option>
{/foreach}
{/strip} \ No newline at end of file
diff --git a/templates/board.tpl b/templates/board.tpl
index b4fcdc8..ab081ad 100644
--- a/templates/board.tpl
+++ b/templates/board.tpl
@@ -1,16 +1,15 @@
-{* $Header: /cvsroot/bitweaver/_bit_boards/templates/Attic/board.tpl,v 1.2 2006/07/06 19:44:26 hash9 Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_boards/templates/Attic/board.tpl,v 1.3 2006/07/12 16:57:33 hash9 Exp $ *}
{strip}
<div class="floaticon">{bithelp}</div>
<div class="listing bitboard">
<div class="header">
- <h1>{$cType.content_description|escape|default:"Forum Group"}s</h1>
+ <h1>Forums</h1>
</div>
<div class="body">
- {minifind sort_mode=$sort_mode category_id=$smarty.request.category_id}
+ {minifind sort_mode=$sort_mode b=$smarty.request.b}
{form id="checkform"}
- <input type="hidden" name="category_id" value="{$smarty.request.category_id}" />
<input type="hidden" name="offset" value="{$control.offset|escape}" />
<input type="hidden" name="sort_mode" value="{$control.sort_mode|escape}" />
@@ -24,10 +23,10 @@
{assign var=board_title value="(Content $board_title)"}
{/if}
<tr class="mb-row-{cycle values="even,odd"}{if $board.unreg > 0}-unapproved{/if}">
- <td width="1px">
-
+ {*<td width="1px">
+
<a href="{$smarty.const.BIT_ROOT_URL}index.php?content_id={$board.content_id|escape:"url"}" title="Show: $board_title">{biticon ipackage=liberty iname="view" iexplain="Show: $board_title"}</a>
- </td>
+ </td>*}
<td><a href="{$board.url}" title="{$board_title}">{$board_title}</a></td>
{*
{if $gBitUser->hasPermission('p_bitboards_edit') || $gBitUser->hasPermission('p_bitboards_post_edit')}
@@ -40,7 +39,7 @@
{/if}
*}
<td style="text-align:right; color: blue;">{if $board.post_count > 0}{$board.post_count}&nbsp;Threads</a>{/if}</td>
-
+
</tr>
{foreachelse}
<tr class="norecords"><td colspan="16">
@@ -69,7 +68,7 @@
*}
{/form}
- {pagination}
+ {pagination b=$smarty.request.b}
</div><!-- end .body -->
</div><!-- end .admin -->
{/strip}
diff --git a/templates/board_assign.tpl b/templates/board_assign.tpl
new file mode 100644
index 0000000..4574d20
--- /dev/null
+++ b/templates/board_assign.tpl
@@ -0,0 +1,59 @@
+<div class="floaticon">{bithelp}</div>
+
+<div class="admin bitforum">
+ <div class="header">
+ <h1>
+ {tr}Assign Content to Boards{/tr}
+ </h1>
+ </div>
+ <div class="body">
+ {jstabs tab=$smarty.request.tab}
+ {foreach item=board from=$data.map name='board_loop'}
+ {capture assign=title}
+ <span style="font-size: 1.3em;">
+ {if ! $board.integrity}
+ <img src="{$smarty.const.LIBERTY_PKG_URL}/icons/warning.png" alt="Integrity Check Failed" title="Integrity Check Failed" class="icon" />
+ {/if}
+ {$board.title}
+ </span>
+ {/capture}
+ {jstab title=$title}
+ {form legend="<a href=\"`$board.url`\">`$board.title`</a>"}
+ <input type="hidden" name="tab" value="{$smarty.foreach.board_loop.iteration-1}" />
+ {if ! $board.integrity}
+ <div class="floaticon">
+ <a href="{$smarty.const.BITBOARDS_PKG_URL}assign.php?tab={$smarty.foreach.board_loop.iteration-1}&integrity={$board.board_id}">
+ {biticon ipackage=bitboards iname="db_update" iexplain="Fix Integrity"}
+ </a>
+ </div>
+ {formfeedback warning="Integrity Check Failed"}
+ {/if}
+ <table cellpadding="2" cellspacing="2">
+ {foreach item=mapping from=$board.map}
+ <tr>
+ <td width="1"><a title="{tr}Remove from board{/tr}" href="{$smarty.const.BITBOARDS_PKG_URL}assign.php?tab={$smarty.foreach.board_loop.iteration-1}&remove[{$board.board_id}][{$mapping.t_content_id}]=1">{biticon ipackage=liberty iname="delete" iexplain="Remove from board"}</a></td>
+ <td width="1"><input type="checkbox" name="remove[{$board.board_id}][{$mapping.t_content_id}]" value="1" /></td>
+ <td width="1" style="font-style: italic; color: blue;">{$mapping.thread_count}</td>
+ <td>{$mapping.t_title}</td>
+ </tr>
+ {/foreach}
+ <tr>
+ <td></td>
+ <td colspan="4">
+ <select name="assign[{$board.board_id}][]">
+ {foreach item=umapping from=$data.umap}
+ <option value="{$umapping.content_id}">{$umapping.title} ({$umapping.content_description}) [{$umapping.thread_count}]</option>
+ {/foreach}
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="4" style="text-align: center;"><input type="submit" value="Add" name="action" /> <input type="submit" value="Remove" name="action" /></td>
+ </tr>
+ </table>
+ {/form}
+ {/jstab}
+ {/foreach}
+ {/jstabs}
+ </div><!-- end .body -->
+</div><!-- end .bitforum --> \ No newline at end of file
diff --git a/templates/board_edit.tpl b/templates/board_edit.tpl
new file mode 100644
index 0000000..37ecdcd
--- /dev/null
+++ b/templates/board_edit.tpl
@@ -0,0 +1,86 @@
+{* $Header: /cvsroot/bitweaver/_bit_boards/templates/board_edit.tpl,v 1.1 2006/07/12 17:00:33 hash9 Exp $ *}
+{strip}
+<div class="floaticon">{bithelp}</div>
+
+<div class="admin bitforum">
+ {if $preview}
+ <h2>Preview {$gContent->mInfo.title|escape}</h2>
+ <div class="preview">
+ {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='nav' serviceHash=$gContent->mInfo}
+ <div class="display bitforum">
+ <div class="header">
+ <h1>{$gContent->mInfo.title|escape|default:"Board"}</h1>
+ </div><!-- end .header -->
+ <div class="body">
+ <div class="content">
+ {$gContent->mInfo.parsed_data}
+ </div><!-- end .content -->
+ </div><!-- end .body -->
+ </div><!-- end .bitforum -->
+ {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='view' serviceHash=$gContent->mInfo}
+ </div>
+ {/if}
+
+ <div class="header">
+ <h1>
+ {if $gContent->isValid()}
+ {tr}{tr}Edit{/tr} {$gContent->getTitle()|escape}{/tr}
+ {else}
+ {tr}Create New Board{/tr}
+ {/if}
+ </h1>
+ </div>
+
+ <div class="body">
+ {jstabs}
+ {if $gContent->isValid()}
+ {assign var='leg' value=$gContent->getTitle()|escape}
+ {assign var='leg' value="Edit Board: $leg"}
+ {else}
+ {assign var='leg' value='Create Board'}
+ {/if}
+ {jstab title=$leg}
+ {form enctype="multipart/form-data" id="editbitforumform"}
+ {legend legend=$leg}
+ <input type="hidden" name="bitforum[board_id]" value="{$gContent->mInfo.board_id}" />
+
+ <div class="row">
+ {formlabel label="Title" for="title"}
+ {forminput}
+ <input type="text" size="60" maxlength="200" name="bitforum[title]" id="title" value="{$gContent->mInfo.title|escape}" />
+ {/forminput}
+ </div>
+
+ {include file="bitpackage:liberty/edit_format.tpl"}
+
+ {if $gBitSystem->isFeatureActive('package_smileys')}
+ {include file="bitpackage:smileys/smileys_full.tpl"}
+ {/if}
+
+ {if $gBitSystem->isFeatureActive('package_quicktags')}
+ {include file="bitpackage:quicktags/quicktags_full.tpl"}
+ {/if}
+
+ <div class="row">
+ {forminput}
+ <textarea {spellchecker} id="{$textarea_id}" name="bitforum[edit]" rows="{$smarty.cookies.rows|default:10}" cols="50">{$gContent->mInfo.data|escape:html}</textarea>
+ {/forminput}
+ </div>
+
+ {* any simple service edit options *}
+ {include file="bitpackage:liberty/edit_services_inc.tpl serviceFile=content_edit_mini_tpl}
+
+ <div class="row submit">
+ <input type="submit" name="preview" value="{tr}Preview{/tr}" />
+ <input type="submit" name="save_bitforum" value="{tr}Save{/tr}" />
+ </div>
+ {/legend}
+ {/form}
+ {/jstab}
+ {* any service edit template tabs *}
+ {include file="bitpackage:liberty/edit_services_inc.tpl serviceFile=content_edit_tab_tpl}
+ {/jstabs}
+ </div><!-- end .body -->
+</div><!-- end .bitforum -->
+
+{/strip}
diff --git a/templates/comment_post.tpl b/templates/comment_post.tpl
index d3d14e7..2798c12 100644
--- a/templates/comment_post.tpl
+++ b/templates/comment_post.tpl
@@ -1,3 +1,4 @@
+{if $smarty.request.post_comment_request}
{strip}
<br />
<div class="display comment">
@@ -35,7 +36,7 @@
{*assign var=gContent value=$commentpost*}
{*include file="bitpackage:liberty/edit_format.tpl"*}
-
+
{assign var=textarea_id value="commentpost"}
{if $gBitSystem->isPackageActive( 'smileys' )}
{include file="bitpackage:smileys/smileys_full.tpl"}
@@ -44,7 +45,7 @@
{if $gBitSystem->isPackageActive( 'quicktags' )}
{include file="bitpackage:quicktags/quicktags_full.tpl" formId="commentpost"}
{/if}
-
+
<div class="row">
{formlabel label="Comment" for="commentpost"}
{forminput}
@@ -62,8 +63,9 @@
{/if}
{/form}
-
+
{libertypagination hash=$commentsPgnHash}
</div><!-- end .body -->
</div><!-- end .comment -->
{/strip}
+{/if} \ No newline at end of file
diff --git a/templates/menu_bitboards.tpl b/templates/menu_bitboards.tpl
index 39401d7..16e2983 100644
--- a/templates/menu_bitboards.tpl
+++ b/templates/menu_bitboards.tpl
@@ -1,7 +1,11 @@
{strip}
<ul>
{if $gBitUser->hasPermission( 'p_bitboards_read')}
- <li><a class="item" href="{$smarty.const.BITBOARDS_PKG_URL}index.php">{tr}BitBoard Home{/tr}</a></li>
+ <li><a class="item" href="{$smarty.const.BITBOARDS_PKG_URL}index.php">{tr}Boards Home{/tr}</a></li>
+ {/if}
+ {if $gBitUser->hasPermission( 'p_bitboards_edit')}
+ <li><a class="item" href="{$smarty.const.BITBOARDS_PKG_URL}edit.php">{tr}Create new Board{/tr}</a></li>
+ <li><a class="item" href="{$smarty.const.BITBOARDS_PKG_URL}assign.php">{tr}Assign content to Board{/tr}</a></li>
{/if}
</ul>
{/strip}
diff --git a/templates/post.tpl b/templates/post.tpl
index 11cba4e..e426438 100644
--- a/templates/post.tpl
+++ b/templates/post.tpl
@@ -1,44 +1,5 @@
-{* $Header: /cvsroot/bitweaver/_bit_boards/templates/Attic/post.tpl,v 1.3 2006/07/06 19:44:26 hash9 Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_boards/templates/Attic/post.tpl,v 1.4 2006/07/12 16:57:33 hash9 Exp $ *}
{strip}
- {if $comments and $gBitSystem->isFeatureActive('comments_display_option_bar')}
- {form action="`$comments_return_url`#editcomments"}
- <input type="hidden" name="post_comment_reply_id" value="{$post_comment_reply_id}" />
- <input type="hidden" name="post_comment_id" value="{$post_comment_id}" />
- <table class="optionbar">
- <caption>{tr}Comments Filter{/tr}</caption>
- <tr>
- <td>
- <label for="comments-maxcomm">{tr}Messages{/tr} </label>
- <select name="comments_maxComments" id="comments-maxcomm">
- {* 1 comment selection is used for directly displaying a single comment via a URL *}
- <option value="1" {if $maxComments eq 1}selected="selected"{/if}>1</option>
- <option value="5" {if $maxComments eq 5}selected="selected"{/if}>5</option>
- <option value="10" {if $maxComments eq 10}selected="selected"{/if}>10</option>
- <option value="20" {if $maxComments eq 20}selected="selected"{/if}>20</option>
- <option value="50" {if $maxComments eq 50}selected="selected"{/if}>50</option>
- <option value="100" {if $maxComments eq 100}selected="selected"{/if}>100</option>
- <option value="999999" {if $maxComments eq 999999}selected="selected"{/if}>All</option>
- </select>
- </td>
- <td>
- <label for="comments-style">{tr}Style{/tr} </label>
- <select name="comments_style" id="comments-style">
- <option value="flat" {if $comments_style eq "flat"}selected="selected"{/if}>Flat</option>
- <option value="threaded" {if $comments_style eq "threaded"}selected="selected"{/if}>Threaded</option>
- </select>
- </td>
- <td>
- <label for="comments-sort">{tr}Sort{/tr} </label>
- <select name="comments_sort_mode" id="comments-sort">
- <option value="commentDate_desc" {if $comments_sort_mode eq "commentDate_desc"}selected="selected"{/if}>Newest first</option>
- <option value="commentDate_asc" {if $comments_sort_mode eq "commentDate_asc"}selected="selected"{/if}>Oldest first</option>
- </select>
- </td>
- <td style="text-align:right"><input type="submit" name="comments_setOptions" value="set" /></td>
- </tr>
- </table>
- {/form}
- {/if}
<div class="floaticon">
{assign var=flip value=$thread->getFlipFlop()}
{assign var=flip_name value="locked"}
@@ -51,50 +12,28 @@
<div class="listing bitboard">
<div class="header">
<h1>{$thread->mInfo.flc_title|escape}</h1>
- <span style="text-align: right; width: 100%;">Back to <a href="{$board->mInfo.display_url}">{$board->mInfo.title|escape}</a></span>
+ Back to <a href="{$board->mInfo.display_url}">{$board->mInfo.title|escape}</a>
</div>
<div class="body">
+ {include file="bitpackage:liberty/comments_display_option_bar.tpl"}
{minifind sort_mode=$sort_mode thread_id=$smarty.request.thread_id}
- {form id="checkform"}
- <input type="hidden" name="thread_id" value="{$smarty.request.thread_id}" />
- <input type="hidden" name="offset" value="{$control.offset|escape}" />
- <input type="hidden" name="sort_mode" value="{$control.sort_mode|escape}" />
+ <table class="mb-table">
+ {foreach item=comment from=$comments}
+ <tr class="mb-row-{cycle values="even,odd"}{if $post->mInfo.deleted==1}-deleted{else}{if $post->mInfo.user_id<0 and $post->mInfo.approved==0}-unapproved{/if}{/if}">
+ {displaycomment comment=$comment template=$comment_template}
+ </tr>
+ {foreachelse}
+ <tr class="norecords"><td colspan="16">
+ {tr}No posts found{/tr}
+ </td></tr>
+ {/foreach}
+ </table>
+ <p style="text-align: right;"><a title="{tr}Post on this thread{/tr}" href="{$comments_return_url}&amp;post_comment_request=1#editcomments">{tr}Post on this thread{/tr} {biticon ipackage=bitboard iname="mail_new" iexplain="Post on this thread"}</a></p>
- <table class="mb-table">
- {foreach item=comment from=$comments}
- <tr class="mb-row-{cycle values="even,odd"}{if $post->mInfo.deleted==1}-deleted{else}{if $post->mInfo.user_id<0 and $post->mInfo.approved==0}-unapproved{/if}{/if}">
- {displaycomment comment=$comment template=$comment_template}
- </tr>
- {foreachelse}
- <tr class="norecords"><td colspan="16">
- {tr}No records found{/tr}
- </td></tr>
- {/foreach}
- </table>
- <p style="text-align: right;"><a title="{tr}Post on this thread{/tr}" href="{$comments_return_url}&amp;post_comment_request=1#editcomments">{tr}Post on this thread{/tr} {biticon ipackage=bitboard iname="mail_new" iexplain="Post on this thread"}</a></p>
- {if $gBitUser->hasPermission( 'p_bitboards_remove' )}
- <div style="text-align:right;">
- <script type="text/javascript">/* <![CDATA[ check / uncheck all */
- document.write("<label for=\"switcher\">{tr}Select All{/tr}</label> ");
- document.write("<input name=\"switcher\" id=\"switcher\" type=\"checkbox\" onclick=\"switchCheckboxes(this.form.id,'checked[]','switcher')\" /><br />");
- /* ]]> */</script>
-
- <select name="submit_mult" onchange="this.form.submit();">
- <option value="" selected="selected">{tr}with checked{/tr}:</option>
- {if $gBitUser->hasPermission( 'p_bitboards_remove' )}
- <option value="remove_bitboards">{tr}remove{/tr}</option>
- {/if}
- </select>
-
- <noscript><div><input type="submit" value="{tr}Submit{/tr}" /></div></noscript>
- </div>
- {/if}
- {/form}
-
- {pagination}
+ {libertypagination hash=$comments}
</div><!-- end .body -->
</div><!-- end .admin -->
- {include file="bitpackage:bitboards/comment_post.tpl"}
+ {include file="bitpackage:liberty/comments_post_inc.tpl" post_title="Post" hide=1}
{/strip}
diff --git a/templates/topic.tpl b/templates/topic.tpl
index 9db5c46..1496608 100644
--- a/templates/topic.tpl
+++ b/templates/topic.tpl
@@ -1,20 +1,33 @@
-{* $Header: /cvsroot/bitweaver/_bit_boards/templates/Attic/topic.tpl,v 1.3 2006/07/06 19:44:26 hash9 Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_boards/templates/Attic/topic.tpl,v 1.4 2006/07/12 16:57:33 hash9 Exp $ *}
{strip}
<div class="listing bitboard">
+ <div class="floaticon">
+ {if $print_page ne 'y'}
+ {if $gBitUser->hasPermission( 'p_bitforum_edit' )}
+ <a title="{tr}Remove this bitforum{/tr}" href="{$smarty.const.BITBOARDS_PKG_URL}edit.php?b={$board->mInfo.board_id}">{biticon ipackage=liberty iname="edit" iexplain="Edit BitForum"}</a>
+ {/if}
+ {if $gBitUser->hasPermission( 'p_bitforum_remove' )}
+ <a title="{tr}Remove this bitforum{/tr}" href="{$smarty.const.BITBOARDS_PKG_URL}remove.php?b={$board->mInfo.board_id}">{biticon ipackage=liberty iname="delete" iexplain="Remove BitForum"}</a>
+ {/if}
+ {/if}<!-- end print_page -->
+ </div><!-- end .floaticon -->
<div class="header">
- <h1>{$board->mInfo.title|escape|default:"Forum Topic"}</h1>
+ <h1>{$board->mInfo.title|escape|default:"Forum Topic"} <a id='content_1' href="{$comments_return_url}&show={if empty($smarty.request.show)}1{else}0{/if}" onclick="{literal}if (this.innerHTML=='-') { document.getElementById('content_div').style.display='none'; this.innerHTML='+'; } else { document.getElementById('content_div').style.display='block'; this.innerHTML='-'; } return false;{/literal}">{if empty($smarty.request.show)}+{else}-{/if}</a></h1>
<div class="date">
- {tr}Posted by{/tr}: {displayname user=$board->mInfo.creator_user user_id=$board->mInfo.creator_user_id real_name=$board->mInfo.creator_real_name} on {$board->getField('created')|bit_short_datetime}
+ {tr}Created by{/tr}: {displayname user=$board->mInfo.creator_user user_id=$board->mInfo.creator_user_id real_name=$board->mInfo.creator_real_name} on {$board->getField('created')|bit_short_datetime}
{if $board->getField('last_modified') != $board->getField('created')}
- <br/>{tr}Edited by{/tr}: {displayname user=$board->mInfo.modifier_user user_id=$board->mInfo.modifier_user_id real_name=$board->mInfo.modifier_real_name}, {$board->getField('last_modified')|bit_short_datetime}
+ &nbsp; {tr}Edited by{/tr}: {displayname user=$board->mInfo.modifier_user user_id=$board->mInfo.modifier_user_id real_name=$board->mInfo.modifier_real_name}, {$board->getField('last_modified')|bit_short_datetime}
{/if}
</div>
-
- <span style="text-align: right; width: 100%;">Back to <a href="{$cat_url}">{$board->mInfo.content_type.content_description}s</a></span>
+
+ Back to <a href="{$cat_url}">{$board->mInfo.content_type.content_description}s</a>
</div>
<div class="body">
+ <div id="content_div" class="content" style="text-align: right; {if empty($smarty.request.show)}display: none;{/if}">
+ {$board->mInfo.parsed_data}
+ </div><!-- end .content -->
<p style="text-align: right; margin: 0px; padding: 0px;"><a title="{tr}Start a new thread{/tr}" href="{$comments_return_url}&amp;post_comment_request=1#editcomments">{tr}Start a new thread{/tr} {biticon ipackage=bitboard iname="mail_new" iexplain="Start a new thread"}</a></p>
{minifind sort_mode=$sort_mode board_id=$smarty.request.board_id}
{form id="checkform"}
@@ -23,17 +36,6 @@
<input type="hidden" name="sort_mode" value="{$control.sort_mode|escape}" />
<table class="mb-table">
- {*<tr>
- <th>{smartlink ititle="Title" isort=flc_title iurl=$request.url offset=$control.offset}</th>
- <th>{smartlink ititle="Started By" isort=flc_user_id offset=$control.offset}</th>
- <th>{smartlink ititle="Started" isort=flc_created offset=$control.offset}</th>
- <th>{smartlink ititle="Last Update By" isort=llc_user_id offset=$control.offset}</th>
- <th>{smartlink ititle="Last Update" isort=llc_created offset=$control.offset}</th>
- {if $gBitUser->hasPermission( 'p_bitboards_remove' )}
- <th>{tr}Actions{/tr}</th>
- {/if}
- </tr>*}
-
{foreach item=thread from=$threadList}
<tr class="mb-row-{cycle values="even,odd"}
{if $thread.first_deleted==1 or $thread.th_deleted==1}
@@ -64,7 +66,8 @@
{/if}
</td>
<td>
- <a href="{$thread.url}" title="{$thread.flc_title}">{$thread.flc_title|escape}</a>, started by {if $thread.flc_user_id < 0}{$thread.first_unreg_uname|escape}{else}{displayname user_id=$thread.flc_user_id}{/if} {$thread.flc_created|reltime|escape}{if $thread.post_count > 1}, with {$thread.post_count|escape} posts, last update by {if $thread.flc_user_id < 0}{$thread.first_unreg_uname|escape}{else}{displayname user_id=$thread.flc_user_id}{/if} {$thread.llc_last_modified|reltime|escape}{/if}.
+ <a href="{$thread.url}" title="{$thread.flc_title}|default:"[Thread `$thread.th_thread_id`]"|escape">{$thread.flc_title|default:"[Thread `$thread.th_thread_id`]"|escape}</a>, started by {if $thread.flc_user_id < 0}{$thread.first_unreg_uname|escape}{else}{displayname user_id=$thread.flc_user_id}{/if} {$thread.flc_created|reltime|escape}{if $thread.post_count > 1}, with {$thread.post_count|escape} posts,
+ last update by {if $thread.llc_user_id < 0}{$thread.first_unreg_uname|escape}{else}{displayname user_id=$thread.llc_user_id}{/if} {$thread.llc_last_modified|reltime|escape}{/if}
</td>
{if $gBitUser->hasPermission('p_bitboards_edit') || $gBitUser->hasPermission('p_bitboards_post_edit')}
<td style="text-align:right;">{if $thread.unreg > 0}<a style="color: blue;" href="{$smarty.const.BITBOARDS_PKG_URL}index.php?board_id={$thread.th_board_id|escape:"url"}&thread_id={$thread.th_thread_id|escape:"url"}" title="{$thread.flc_title}">{$thread.unreg}&nbsp;Unregistered&nbsp;Posts</a>{/if}</td>
@@ -74,7 +77,7 @@
{if $gBitUser->hasPermission( 'p_bitboards_edit' )}
{*smartlink ititle="Edit" ifile="edit.php" ibiticon="liberty/edit" board_id=$thread.board_id*}
<a onclick="
- document.getElementById('move_block_{$thread.th_thread_id|escape:"url"}').style['display']='inline';
+ document.getElementById('move_block_{$thread.th_thread_id|escape:"url"}').style['display']='inline';
var url = '{$smarty.const.BITBOARDS_PKG_URL}ajax.php?req=1&seq=' + new Date().getTime();
var element = 'move_{$thread.th_thread_id|escape:"url"}';
var params = null;
@@ -86,7 +89,7 @@
{/literal}
this.oldonclick=this.onclick;
this.onclick=new Function('
- document.getElementById(\'move_block_{$thread.th_thread_id|escape:"url"}\').style[\'display\']=\'none\';
+ document.getElementById(\'move_block_{$thread.th_thread_id|escape:"url"}\').style[\'display\']=\'none\';
document.getElementById(\'move_{$thread.th_thread_id|escape:"url"}\').innerHTML=\'\';
this.onclick=this.oldonclick;
return false;
@@ -133,8 +136,8 @@
</div>
{/if}
{/form}
- {pagination}
+ {pagination b=$smarty.request.b}
</div><!-- end .body -->
</div><!-- end .admin -->
-{include file="bitpackage:bitboards/comment_post.tpl"}
+{include file="bitpackage:liberty/comments_post_inc.tpl" post_title="Post" hide=1}
{/strip}
diff --git a/templates/topic_move.tpl b/templates/topic_move.tpl
index 26b80ce..680a584 100644
--- a/templates/topic_move.tpl
+++ b/templates/topic_move.tpl
@@ -1,4 +1,4 @@
-{* $Header: /cvsroot/bitweaver/_bit_boards/templates/topic_move.tpl,v 1.1 2006/06/28 15:45:26 spiderr Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_boards/templates/topic_move.tpl,v 1.2 2006/07/12 16:57:33 hash9 Exp $ *}
{strip}
<div class="floaticon">{bithelp}</div>
@@ -17,7 +17,7 @@
{forminput}
<select name="target" id="target">
{section name=ix loop=$boards}
- <option value="{$boards[ix].content_id|escape}">{$boards[ix].title|escape|truncate:20:"...":true} ({$boards[ix].post_count|escape}) ({$boards[ix].description|escape|truncate:20:"...":true})</option>
+ <option value="{$boards[ix].content_id|escape}">{$boards[ix].title|escape|truncate:20:"...":true} [{$boards[ix].post_count|escape}]</option>
{sectionelse}
<option>{tr}No records found{/tr}</option>
{/section}