Location: PHPKode > projects > PBBoard > PBBoard_v2.1.4/Upload/look/styles/admin/main/templates/topictmod_edit.tpl
<br />

<div class="address_bar">{$lang['multi_moderation']} &raquo;
<a href="admin.php?page=topic_mod&amp;control=1&amp;main=1" target="main">{$lang['mange_multi_moderation']}</a>&raquo;
<a href="admin.php?page=topic_mod&amp;edit=1&amp;main=1&amp;id={$TopicModEdit['id']}">
{$lang['Edit_multi_moderation']}
({$TopicModEdit['title']})</a> </div>

<br />

<form action="admin.php?page=topic_mod&amp;edit=1&amp;start=1&amp;id={$TopicModEdit['id']}" method="post">

	<table width="98%" class="t_style_b" border="0" cellspacing="1" align="center">
		<tr align="center">
			<td class="main1" colspan="2">
{$lang['Edit_multi_moderation']}
 ({$TopicModEdit['title']})
			</td>
		</tr>
<tr>
			<td class="row2">
			{$lang['title_multi_moderation']}
			</td>
			<td class="row2">
				<input name="title" id="input_title" value="{$TopicModEdit['title']}" size="30" type="text">
			</td>
		</tr>
		<tr>
			<td class="row2">
			<b>{$lang['Activating_property_in_the_forums']}</b><br />
{$lang['You_can_select_more_than_one_forum']}
			</td>
			<td class="row2">
             <select name="forums[]" size="15" multiple="multiple">
             {if {$TopicModEdit['forums']} == '*'}
				<option value="all" selected="selected">-- {$lang['All']} --</option>
					{else}
				<option value="all">-- {$lang['All']} --</option>
					{/if}
				{Des::foreach}{forums_list}{forum}
				<?php
			if ( strstr( ",".$PowerBB->_CONF['template']['TopicModEdit']['forums'].",", ",".$forum['id']."," ) and $PowerBB->_CONF['template']['TopicModEdit']['forums'] != '*' )
			{
				$selected = ' selected="selected"';
			}
			else
			{
				$selected = "";
			}
			?>
					{if {$forum['parent']} == 0}
					<option value="{$forum['id']}" disabled="disabled">- {$forum['title']}</option>
					{else}
					<option value="{$forum['id']}" <?php echo $selected; ?>>-- {$forum['title']}</option>
					{/if}
					{if {$forum['parent']} != 0}
		       {if {$forum['linksection']} != '1'}
				 {if {$forum['is_sub']}}
<?php

      	$section_id = $forum['sub'];
        $GetForum = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['section'] . " WHERE id = '$section_id'");
        $Forum = @mysql_fetch_array($GetForum);
        $Forum_title = $Forum['title'];
			if ( strstr( ",".$PowerBB->_CONF['template']['TopicModEdit']['forums'].",", ",".$forum['sub']."," ) and $PowerBB->_CONF['template']['TopicModEdit']['forums'] != '*' )
			{
				$selected1 = ' selected="selected"';
			}
			else
			{
				$selected1 = "";
			}
?>
					<option value="{$forum['sub']}" <?php echo $selected1; ?>>--- <?php echo $Forum_title; ?></option>
				{/if}
				{/if}
	            {/if}
				{/Des::foreach}
			</select>
			 </td>
		</tr>
</table>
	<table width="98%" class="t_style_b" border="0" cellspacing="1" align="center">
		<tr>
			<td class="main1" colspan="2">
{$lang['Options_moderators']}
			</td>
			</tr>
			<tr>
			<td class="row1">
{$lang['Add_a_prefix_to_the_subject']}
			</td>
			<td class="row1">
				<input name="title_st" id="input_title_st" value="{$TopicModEdit['title_st']}" size="30" type="text">
			</td>
		</tr>
			<tr>
			<td class="row1">
{$lang['Add_to_the_end_of_the_subject']}
			</td>
			<td class="row1">
				<input name="title_end" id="input_title_end" value="{$TopicModEdit['title_end']}" size="30" type="text">
			</td>
		</tr>
			<tr>
			<td class="row1">
{$lang['Change_the_status_of_a_topic']}
			</td>
			<td class="row1">
				<select name="state" class="dropdown">
{if {$TopicModEdit['state']} == 'leave'}
<option value="leave" selected="selected">{$lang['no_place']}</option>
{else}
<option value="leave">{$lang['no_place']}</option>
{/if}
{if {$TopicModEdit['state']} == 'close'}
<option value="close" selected="selected">{$lang['close']}</option>
{else}
<option value="close">{$lang['close']}</option>
{/if}
{if {$TopicModEdit['state']} == 'open'}
<option value="open" selected="selected">{$lang['open']}</option>
{else}
<option value="open">{$lang['open']}</option>
{/if}
</select>
			</td>
		</tr>
			<tr>
			<td class="row1">
{$lang['Change_the_status_of_the_pin']}
			</td>
			<td class="row1">
<select name="pin" class="dropdown">
{if {$TopicModEdit['pin']} == 'leave'}
<option value="leave" selected="selected">{$lang['no_place']}</option>
{else}
<option value="leave">{$lang['no_place']}</option>
{/if}
{if {$TopicModEdit['pin']} == 'pin'}
<option value="pin" selected="selected">{$lang['pin']}</option>
{else}
<option value="pin">{$lang['pin']}</option>
{/if}
{if {$TopicModEdit['pin']} == 'unpin'}
<option value="unpin" selected="selected">{$lang['un_pin']}</option>
{else}
<option value="unpin">{$lang['un_pin']}</option>
{/if}
</select>
			</td>
		</tr>
			<tr>
			<td class="row1">
{$lang['Change_if_approved']}
			</td>
			<td class="row1">
<select name="approve" class="dropdown">
{if {$TopicModEdit['approve']} == '0'}
<option value="0" selected="selected">{$lang['no_place']}</option>
{else}
<option value="0">{$lang['no_place']}</option>
{/if}
{if {$TopicModEdit['approve']} == '1'}
<option value="1" selected="selected">{$lang['Approval_not_hidden']}</option>
{else}
<option value="1">{$lang['Approval_not_hidden']}</option>
{/if}
{if {$TopicModEdit['approve']} == '2'}
<option value="2" selected="selected">{$lang['Approval_hidden']}</option>
{else}
<option value="2">{$lang['Approval_hidden']}</option>
{/if}
</select>
			</td>
		</tr>
			<tr>
			<td class="row1">
{$lang['move_thread']}
			</td>
			<td class="row1">
				<select name="move" id="move_id">
				{if {$TopicModEdit['move']} == '-1'}
				<option value="-1" selected="selected">{$lang['no_move']}</option>
				{else}
				<option value="-1">{$lang['no_move']}</option>
				{/if}
				{Des::foreach}{forums_list1}{forum1}
					{if {$forum1['parent']} == 0}
					<option value="{$forum1['id']}" disabled="disabled">- {$forum1['title']}</option>
					{else}
					{if {$forum1['id']} == {$TopicModEdit['move']}}
					<option value="{$forum1['id']}" selected="selected">-- {$forum1['title']}</option>
					{else}
					<option value="{$forum1['id']}">-- {$forum1['title']}</option>
					{/if}
					{/if}
					{if {$forum1['parent']} != 0}
		       {if {$forum1['linksection']} != '1'}
				 {if {$forum1['is_sub']}}
<?php

      	$section_id1 = $forum1['sub'];
        $GetForum1 = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['section'] . " WHERE id = '$section_id'");
        $Forum1 = @mysql_fetch_array($GetForum1);
        $Forum_title1 = $Forum1['title'];
        $Forum_id1 = $Forum1['id'];
?>
                  {if {$forum1['sub']} == {$TopicModEdit['move']}}
					<option value="{$forum1['sub']}" selected="selected">--- <?php echo $Forum_title1; ?></option>
					{else}
					<option value="{$forum1['sub']}">--- <?php echo $Forum_title1; ?></option>
					{/if}
					{/if}
				{/if}
	            {/if}
				{/Des::foreach}
				</select>
							</td>
		</tr>
</table>
	<table width="98%" class="t_style_b" border="0" cellspacing="1" align="center">
		<tr>
			<td class="main1" colspan="2">
{$lang['reply_options']}
			</td>
			</tr>
			<tr>
			<td class="row2">

{$lang['Enable_this_reply']}
{if {$TopicModEdit['reply']} == '1'}
<input name="reply" value="1" id="reply" type="radio" checked="checked">{$lang['yes']}
&nbsp;&nbsp;<input name="reply" value="0" id="reply" type="radio">{$lang['no']}
{else}
<input name="reply" value="1" id="reply" type="radio">{$lang['yes']}
&nbsp;&nbsp;<input name="reply" value="0" id="reply" type="radio" checked="checked">{$lang['no']}
{/if}
<br />
			{$lang['Reply_to_this_topic']}
<br />
<table border="0" cellspacing="1" width="70%" class="border" style="border-collapse: collapse">
	<tr>
		<td class="editortoolbar" valign="top" width="70%">
		{template}editor_js{/template}
<textarea name="reply_content" id="box_text" style="display:block;width:340px; height:150px;" class="inputbox" tabindex="3" rows="15" cols="74" >{$TopicModEdit['reply_content']}</textarea>

   <script type="text/javascript">
<!--
    comm._toggle();
    var smiley_wysiwyg = true;
    -->
</script>

		</td>
		<div style="border-style: solid; border-width: 0px; width:70px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px ; ">
		<td class="editortoolbar" valign="top" width="70px" align="center">
		<br />
		<br />
		<br />
		<br />
		<br />
		<br />
		<br />

		<table align="center" border="0" cellspacing="1" cellpadding="4" cellspacing="0" >
			<tr valign="bottom" align="center">
				<td class="editortoolbar" align="center">
           {template}smilebox{/template}</td>
			</tr>
		</table>
</div>

			</td>
		</tr>
		</table>
			</td>
		</tr>
		</table>
	<br />
<div align="center">
				<input type="submit" value="  {$lang['acceptable']}  " name="submit" onClick="comm._submit();"/>
</div>
	<br />

</form>
Return current item: PBBoard