0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
tikiwiki
/
1.9.7-31
/
htdocs
/
templates
/
[
Home
]
File: tiki-admin_forums.tpl
{* $Header: /cvsroot/tikiwiki/tiki/templates/tiki-admin_forums.tpl,v 1.39.2.24 2006/02/22 03:49:00 luciash Exp $ *} <h1><a class="pagetitle" href="tiki-admin_forums.php">{tr}Admin Forums{/tr}</a> {if $feature_help eq 'y'} <a href="{$helpurl}Forums" target="tikihelp" class="tikihelp" title="{tr}Forums{/tr}"><img src="img/icons/help.gif" border="0" height="16" width="16" alt='{tr}help{/tr}' /></a> {/if} {if $feature_view_tpl eq 'y'} <a href="tiki-edit_templates.php?template=tiki-admin_forums.tpl" target="tikihelp" class="tikihelp" title="{tr}View template{/tr}: {tr}admin forums template{/tr}"><img src="img/icons/info.gif" border="0" width="16" height="16" alt='{tr}Edit template{/tr}' /></a> {/if}</h1> {if $forumId > 0} <a href="tiki-admin_forums.php" class="linkbut">{tr}Create new forum{/tr}</a> {else} <a href="#editforums" class="linkbut">{tr}Edit existing forums{/tr}</a> {/if} {if $tiki_p_admin eq 'y'} <a title="{tr}Configure/Options{/tr}" href="tiki-admin.php?page=forums"><img src="img/icons/config.gif" border="0" width="16" height="16" alt='{tr}Configure/Options{/tr}' /></a> {/if} {if $forumId > 0} <h2>{tr}Edit this Forum:{/tr} {$name}</h2> {else} <h2>{tr}Create New Forum{/tr}</h2> {/if} {if $individual eq 'y'} <a class="link" href="tiki-objectpermissions.php?objectName={$name|escape:"url"}&objectType=forum&permType=forums&objectId={$forumId}">{tr}There are individual permissions set for this forum{/tr}</a> {/if} <form action="tiki-admin_forums.php" method="post"> <input type="hidden" name="forumId" value="{$forumId|escape}" /> <table class="normal"> <tr><td class="formcolor">{tr}Name{/tr}:</td><td class="formcolor"><input type="text" name="name" value="{$name|escape}" /></td></tr> <tr><td class="formcolor">{tr}Description{/tr}:</td><td class="formcolor"><textarea name="description" rows="4" cols="40">{$description|escape}</textarea></td></tr> <tr><td class="formcolor">{tr}Show description{/tr}:</td><td class="formcolor"><input type="checkbox" name="show_description" {if $show_description eq 'y'}checked="checked"{/if} /></td></tr> <tr><td class="formcolor">{tr}Prevent flooding{/tr}:</td><td class="formcolor"><input type="checkbox" name="controlFlood" {if $controlFlood eq 'y'}checked="checked"{/if} /> {tr}Minimum time between posts{/tr}: <select name="floodInterval"> <option value="15" {if $floodInterval eq 15}selected="selected"{/if}>15 {tr}secs{/tr}</option> <option value="30" {if $floodInterval eq 30}selected="selected"{/if}>30 {tr}secs{/tr}</option> <option value="60" {if $floodInterval eq 60}selected="selected"{/if}>1 {tr}min{/tr}</option> <option value="120" {if $floodInterval eq 120}selected="selected"{/if}>2 {tr}mins{/tr}</option> </select> </td></tr> <tr><td class="formcolor">{tr}Topics per page{/tr}:</td><td class="formcolor"><input type="text" name="topicsPerPage" value="{$topicsPerPage|escape}" /></td></tr> <tr><td class="formcolor">{tr}Section{/tr}:</td><td class="formcolor"> <select name="section"> <option value="" {if $forumSection eq ""}selected="selected"{/if}>{tr}None{/tr}</option> <option value="__new__"}>{tr}Create new{/tr}</option> {section name=ix loop=$sections} <option {if $forumSection eq $sections[ix]}selected="selected"{/if} value="{$sections[ix]|escape}">{$sections[ix]}</option> {/section} </select> <input name="new_section" type="text" /> </td></tr> <tr><td class="formcolor">{tr}Moderator user{/tr}:</td><td class="formcolor"> <select name="moderator"> <option value="" {if $moderator eq ''}selected="selected"{/if}>{tr}None{/tr}</option> {foreach key=id item=one from=$users} <option value="{$one|escape}" {if $moderator eq $one}selected="selected"{/if}>{$one}</option> {/foreach} </select> </td></tr> <tr><td class="formcolor">{tr}Moderator group{/tr}:</td><td class="formcolor"> <select name="moderator_group"> <option value="" {if $moderator_group eq ''}selected="selected"{/if}>{tr}None{/tr}</option> {section name=ix loop=$groups} <option value="{$groups[ix]|escape}" {if $moderator_group eq $groups[ix]}selected="selected"{/if}>{$groups[ix]}</option> {/section} </select> </td></tr> <tr><td class="formcolor">{tr}Password protected{/tr}</td><td class="formcolor"> <select name="forum_use_password"> <option value="n" {if $forum_use_password eq 'n'}selected="selected"{/if}>{tr}No{/tr}</option> <option value="t" {if $forum_use_password eq 't'}selected="selected"{/if}>{tr}Topics only{/tr}</option> <option value="a" {if $forum_use_password eq 'a'}selected="selected"{/if}>{tr}All posts{/tr}</option> </select> </td></tr> <tr><td class="formcolor">{tr}Forum password{/tr}</td><td class="formcolor"><input type="text" name="forum_password" value="{$forum_password|escape}" /></td></tr> {include file=categorize.tpl} <tr><td class="formcolor">{tr}Default ordering for topics{/tr}:</td><td class="formcolor"> <select name="topicOrdering"> <option value="commentDate_desc" {if $topicOrdering eq 'commentDate_desc'}selected="selected"{/if}>{tr}Date (desc){/tr}</option> <option value="commentDate_asc" {if $topicOrdering eq 'commentDate_asc'}selected="selected"{/if}>{tr}Date (asc){/tr}</option> <option value="average_desc" {if $topicOrdering eq 'average_desc'}selected="selected"{/if}>{tr}Score (desc){/tr}</option> <option value="replies_desc" {if $topicOrdering eq 'replies_desc'}selected="selected"{/if}>{tr}Replies (desc){/tr}</option> <option value="hits_desc" {if $topicOrdering eq 'hits_desc'}selected="selected"{/if}>{tr}Reads (desc){/tr}</option> <option value="lastPost_desc" {if $topicOrdering eq 'lastPost_desc'}selected="selected"{/if}>{tr}Last post (desc){/tr}</option> <option value="title_desc" {if $topicOrdering eq 'title_desc'}selected="selected"{/if}>{tr}Title (desc){/tr}</option> <option value="title_asc" {if $topicOrdering eq 'title_asc'}selected="selected"{/if}>{tr}Title (asc){/tr}</option> </select> </td></tr> <tr><td class="formcolor">{tr}Default ordering for threads{/tr}:</td><td class="formcolor"> <select name="threadOrdering"> <option value="commentDate_desc" {if $threadOrdering eq 'commentDate_desc'}selected="selected"{/if}>{tr}Date (desc){/tr}</option> <option value="commentDate_asc" {if $threadOrdering eq 'commentDate_asc'}selected="selected"{/if}>{tr}Date (asc){/tr}</option> <option value="average_desc" {if $threadOrdering eq 'average_desc'}selected="selected"{/if}>{tr}Score (desc){/tr}</option> <option value="title_desc" {if $threadOrdering eq 'title_desc'}selected="selected"{/if}>{tr}Title (desc){/tr}</option> <option value="title_asc" {if $threadOrdering eq 'title_asc'}selected="selected"{/if}>{tr}Title (asc){/tr}</option> </select> </td></tr> <tr><td class="formcolor"><input type="checkbox" name="useMail" {if $useMail eq 'y'}checked="checked"{/if} /> {tr}Send this forums posts to this email{/tr}:</td><td class="formcolor"><input type="text" name="mail" value="{$mail|escape}" /></td></tr> <tr><td class="formcolor"><input type="checkbox" name="usePruneUnreplied" {if $usePruneUnreplied eq 'y'}checked="checked"{/if} /> {tr}Prune unreplied messages after{/tr}:</td><td class="formcolor"> <select name="pruneUnrepliedAge"> <option value="86400" {if $pruneUnrepliedAge eq 86400}selected="selected"{/if}>1 {tr}day{/tr}</option> <option value="172800" {if $pruneUnrepliedAge eq 172800}selected="selected"{/if}>2 {tr}days{/tr}</option> <option value="432000" {if $pruneUnrepliedAge eq 432000}selected="selected"{/if}>5 {tr}days{/tr}</option> <option value="604800" {if $pruneUnrepliedAge eq 604800}selected="selected"{/if}>7 {tr}days{/tr}</option> <option value="1296000" {if $pruneUnrepliedAge eq 1296000}selected="selected"{/if}>15 {tr}days{/tr}</option> <option value="2592000" {if $pruneUnrepliedAge eq 2592000}selected="selected"{/if}>30 {tr}days{/tr}</option> <option value="5184000" {if $pruneUnrepliedAge eq 5184000}selected="selected"{/if}>60 {tr}days{/tr}</option> <option value="7776000" {if $pruneUnrepliedAge eq 7776000}selected="selected"{/if}>90 {tr}days{/tr}</option> </select> </td></tr> <tr><td class="formcolor"><input type="checkbox" name="usePruneOld" {if $usePruneOld eq 'y'}checked="checked"{/if} /> {tr}Prune old messages after{/tr}:</td><td class="formcolor"> <select name="pruneMaxAge"> <option value="86400" {if $pruneMaxAge eq 86400}selected="selected"{/if}>1 {tr}day{/tr}</option> <option value="172800" {if $pruneMaxAge eq 172800}selected="selected"{/if}>2 {tr}days{/tr}</option> <option value="432000" {if $pruneMaxAge eq 432000}selected="selected"{/if}>5 {tr}days{/tr}</option> <option value="604800" {if $pruneMaxAge eq 604800}selected="selected"{/if}>7 {tr}days{/tr}</option> <option value="1296000" {if $pruneMaxAge eq 1296000}selected="selected"{/if}>15 {tr}days{/tr}</option> <option value="2592000" {if $pruneMaxAge eq 2592000}selected="selected"{/if}>30 {tr}days{/tr}</option> <option value="5184000" {if $pruneMaxAge eq 5184000}selected="selected"{/if}>60 {tr}days{/tr}</option> <option value="7776000" {if $pruneMaxAge eq 7776000}selected="selected"{/if}>90 {tr}days{/tr}</option> </select> </td></tr> <tr> <td class="formcolor">{tr}Topic list configuration{/tr}</td> <td class="formcolor"> <table class="normal"> <tr> <td class="formcolor">{tr}Replies{/tr}</td> <td class="formcolor">{tr}Reads{/tr}</td> <td class="formcolor">{tr}Points{/tr}</td> <td class="formcolor">{tr}Last post{/tr}</td> <td class="formcolor">{tr}author{/tr}</td> </tr> <tr> <td><input type="checkbox" name="topics_list_replies" {if $topics_list_replies eq 'y'}checked="checked"{/if} /></td> <td><input type="checkbox" name="topics_list_reads" {if $topics_list_reads eq 'y'}checked="checked"{/if} /></td> <td><input type="checkbox" name="topics_list_pts" {if $topics_list_pts eq 'y'}checked="checked"{/if} /></td> <td><input type="checkbox" name="topics_list_lastpost" {if $topics_list_lastpost eq 'y'}checked="checked"{/if} /></td> <td><input type="checkbox" name="topics_list_author" {if $topics_list_author eq 'y'}checked="checked"{/if} /></td> </tr> </table> </td> </tr> <tr> <td class="formcolor">{tr}Posts can be rated{/tr}</td> <td class="formcolor"><input type="checkbox" name="vote_threads" {if $vote_threads eq 'y'}checked="checked"{/if} /></td> </tr> <tr> <td class="formcolor">{tr}Display last post titles{/tr}</td> <td class="formcolor"> <select name="forum_last_n"> <option value="0" {if $forum_last_n eq 0}selected="selected"{/if}>{tr}no display{/tr}</option> <option value="5" {if $forum_last_n eq 5}selected="selected"{/if}>5</option> <option value="10" {if $forum_last_n eq 10}selected="selected"{/if}>10</option> <option value="20" {if $forum_last_n eq 20}selected="selected"{/if}>20</option> </select> </td> </tr> <tr> <td class="formcolor">{tr}Forward messages to this forum to this e-mail address, in a format that can be used for sending back to the inbound forum e-mail address{/tr}</td> <td class="formcolor"><input type="text" name="outbound_address" size=30 value="{$outbound_address|escape}" /></td> </tr> <tr> <td class="formcolor">{tr}Send mails even when the post is generated by inbound mail{/tr}</td> <td class="formcolor"><input type="checkbox" name="outbound_mails_for_inbound_mails" {if $outbound_mails_for_inbound_mails eq 'y'}checked="checked"{/if} /></td> </tr> <tr> <td class="formcolor">{tr}Append a reply link to outbound mails{/tr}</td> <td class="formcolor"><input type="checkbox" name="outbound_mails_reply_link" {if $outbound_mails_reply_link eq 'y'}checked="checked"{/if} /></td> </tr> <tr> <td class="formcolor">{tr}Originating e-mail address for mails from this forum{/tr}</td> <td class="formcolor"><input type="text" name="outbound_from" size=30 value="{$outbound_from|escape}" /></td> </tr> <tr> <td class="formcolor">{tr}Add messages from this email to the forum{/tr}</td> <td class="formcolor"> <table> <tr> <td class="formcolor">{tr}POP3 server{/tr}:</td> <td><input type="text" name="inbound_pop_server" value="{$inbound_pop_server|escape}" /></td> </tr> <tr> <td class="formcolor">{tr}User{/tr}:</td> <td><input type="text" name="inbound_pop_user" value="{$inbound_pop_user|escape}" /></td> </tr> <tr> <td class="formcolor">{tr}Password{/tr}:</td> <td><input type="password" name="inbound_pop_password" value="{$inbound_pop_password|escape}" /></td> </tr> </table> </td> </tr> <tr> <td class="formcolor">{tr}Use topic smileys{/tr}</td> <td class="formcolor"><input type="checkbox" name="topic_smileys" {if $topic_smileys eq 'y'}checked="checked"{/if} /></td> </tr> <tr> <td class="formcolor">{tr}Show topic summary{/tr}</td> <td class="formcolor"><input type="checkbox" name="topic_summary" {if $topic_summary eq 'y'}checked="checked"{/if} /></td> </tr> <tr> <td class="formcolor">{tr}User information display{/tr}</td> <td class="formcolor"> <table > <tr> <td class="formcolor">{tr}avatar{/tr}</td> <td class="formcolor">{tr}flag{/tr}</td> <td class="formcolor">{tr}posts{/tr}</td> <td class="formcolor">{tr}user level{/tr}</td> <td class="formcolor">{tr}email{/tr}</td> <td class="formcolor">{tr}online{/tr}</td> </tr> <tr> <td><input type="checkbox" name="ui_avatar" {if $ui_avatar eq 'y'}checked="checked"{/if} /></td> <td><input type="checkbox" name="ui_flag" {if $ui_flag eq 'y'}checked="checked"{/if} /></td> <td><input type="checkbox" name="ui_posts" {if $ui_posts eq 'y'}checked="checked"{/if} /></td> <td><input type="checkbox" name="ui_level" {if $ui_level eq 'y'}checked="checked"{/if} /></td> <td><input type="checkbox" name="ui_email" {if $ui_email eq 'y'}checked="checked"{/if} /></td> <td><input type="checkbox" name="ui_online" {if $ui_online eq 'y'}checked="checked"{/if} /></td> </tr> </table> </td> </tr> <tr> <td class="formcolor">{tr}Approval type{/tr}</td> <td class="formcolor"> <select name="approval_type"> <option value="all_posted" {if $approval_type eq 'all_posted'}selected="selected"{/if}>{tr}All posted{/tr}</option> <option value="queue_anon" {if $approval_type eq 'queue_anon'}selected="selected"{/if}>{tr}Queue anonymous posts{/tr}</option> <option value="queue_all" {if $approval_type eq 'queue_all'}selected="selected"{/if}>{tr}Queue all posts{/tr}</option> </select> </td> </tr> <tr> <td class="formcolor">{tr}Attachments{/tr}</td> <td class="formcolor"> <select name="att"> <option value="att_no" {if $att eq 'att_no'}selected="selected"{/if}>{tr}No attachments{/tr}</option> <option value="att_all" {if $att eq 'att_all'}selected="selected"{/if}>{tr}Everybody can attach{/tr}</option> <option value="att_perm" {if $att eq 'att_perm'}selected="selected"{/if}>{tr}Only users with attach permission{/tr}</option> <option value="att_admin" {if $att eq 'att_admin'}selected="selected"{/if}>{tr}Moderators and admin can attach{/tr}</option> </select> <br /> {tr}Store attachments in:{/tr} <table> <tr> <td class="formcolor"> <input type="radio" name="att_store" value="db" {if $att_store eq 'db'}checked="checked"{/if} /> {tr}Database{/tr} </td> </tr> <tr> <td class="formcolor"> <input type="radio" name="att_store" value="dir" {if $att_store eq 'dir'}checked="checked"{/if} /> {tr}Path{/tr}: <input type="text" name="att_store_dir" value="{$att_store_dir|escape}" size="14" /> </td> </tr> <tr> <td class="formcolor"> {tr}Max attachment size (bytes){/tr}: <input type="text" name="att_max_size" value="{$att_max_size|escape}" /> </td> </tr> </table> </td> </tr> <tr><td class="formcolor"> </td><td class="formcolor"><input type="submit" name="save" value="{tr}Save{/tr}" /></td></tr> </table> </form> <a name="editforums" id="editforums"></a><h2>{tr}Edit Existing Forums{/tr}</h2> <div align="center"> <table class="findtable"> <tr><td class="findtable">{tr}Find{/tr}</td> <td class="findtable"> <form method="get" action="tiki-admin_forums.php"> <input type="text" name="find" value="{$find|escape}" /> <input type="submit" value="{tr}find{/tr}" name="search" /> <input type="hidden" name="sort_mode" value="{$sort_mode|escape}" /> </form> </td> </tr> </table> <table class="normal"> <tr> <td class="heading"><a class="tableheading" href="tiki-admin_forums.php?offset={$offset}&sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}name{/tr}</a></td> <td class="heading"><a class="tableheading" href="tiki-admin_forums.php?offset={$offset}&sort_mode={if $sort_mode eq 'threads_desc'}threads_asc{else}threads_desc{/if}">{tr}topics{/tr}</a></td> <td class="heading"><a class="tableheading" href="tiki-admin_forums.php?offset={$offset}&sort_mode={if $sort_mode eq 'comments_desc'}comments_asc{else}comments_desc{/if}">{tr}coms{/tr}</a></td> <td class="heading">{tr}users{/tr}</td> <td class="heading">{tr}age{/tr}</td> <td class="heading">{tr}ppd{/tr}</td> <!--<td class="heading"><a class="tableheading" href="tiki-admin_forums.php?offset={$offset}&sort_mode={if $sort_mode eq 'lastPost_desc'}lastPost_asc{else}lastPost_desc{/if}">{tr}last post{/tr}</a></td>--> <td class="heading"><a class="tableheading" href="tiki-admin_forums.php?offset={$offset}&sort_mode={if $sort_mode eq 'hits_desc'}hits_asc{else}hits_desc{/if}">{tr}hits{/tr}</a></td> <td class="heading">{tr}action{/tr}</td> </tr> {cycle values="odd,even" print=false} {section name=user loop=$channels} <tr> <td class="odd"><a class="link" href="tiki-view_forum.php?forumId={$channels[user].forumId}">{$channels[user].name}</a></td> <td style="text-align:right;" class="{cycle advance=false}">{$channels[user].threads}</td> <td style="text-align:right;" class="{cycle advance=false}">{$channels[user].comments}</td> <td style="text-align:right;" class="{cycle advance=false}">{$channels[user].users}</td> <td style="text-align:right;" class="{cycle advance=false}">{$channels[user].age}</td> <td style="text-align:right;" class="{cycle advance=false}">{$channels[user].posts_per_day|string_format:"%.2f"}</td> <!--<td style="text-align:right;" class="{cycle advance=false}">{$channels[user].lastPost|tiki_short_datetime}</td>--> <td style="text-align:right;" class="{cycle advance=false}">{$channels[user].hits}</td> <td class="{cycle advance=false}"> {if ($tiki_p_admin eq 'y') or (($channels[user].individual eq 'n') and ($tiki_p_admin_forum eq 'y')) or ($channels[user].individual_tiki_p_admin_forum eq 'y')} <a class="link" href="tiki-admin_forums.php?offset={$offset}&sort_mode={$sort_mode}&forumId={$channels[user].forumId}"><img src="img/icons/config.gif" border="0" width="16" height="16" alt='{tr}Configure/Options{/tr}' /></a> {if $channels[user].individual eq 'y'} <a class="link" href="tiki-objectpermissions.php?objectName=Forum+{$channels[user].name|escape}&objectType=forum&permType=forums&objectId={$channels[user].forumId}"><img src='img/icons/key_active.gif' border='0' width="17" height="16" alt='{tr}Assign Permissions (Active){/tr}' /></a> {else} <a class="link" href="tiki-objectpermissions.php?objectName=Forum+{$channels[user].name|escape}&objectType=forum&permType=forums&objectId={$channels[user].forumId}"><img src='img/icons/key.gif' border='0' width="17" height="16" alt='{tr}Assign Permissions{/tr}' /></a> {/if} <a class="link" href="tiki-admin_forums.php?offset={$offset}&sort_mode={$sort_mode}&remove={$channels[user].forumId}" title="{tr}Click here to delete this forum{/tr}"><img src='img/icons2/delete.gif' border='0' width="16" height="16" alt='{tr}Remove{/tr}' /></a> {/if} </td> </tr> {/section} </table> <div class="mini"> {if $prev_offset >= 0} [<a class="prevnext" href="tiki-admin_forums.php?find={$find}&offset={$prev_offset}&sort_mode={$sort_mode}">{tr}prev{/tr}</a>] {/if} {tr}Page{/tr}: {$actual_page}/{$cant_pages} {if $next_offset >= 0} [<a class="prevnext" href="tiki-admin_forums.php?find={$find}&offset={$next_offset}&sort_mode={$sort_mode}">{tr}next{/tr}</a>] {/if} </div> </div>