<form id='quick-edit-form-$pid' style='display:block'>
<if="$error_msg != """>
<div class='input-warn-content'>{$error_msg}</div>
</if>
<div id='{$pid}-controls' align='center' style='width:95%;padding:6px; margin:0 auto 0 auto' class="rte-buttonbar">
	<table cellpadding="2" cellspacing="0" width='100%'>
	<tr>
	 <td width='1%' align='left' nowrap='nowrap'>
	  <table cellpadding='0' cellspacing='0' width='100%'>
	   <tr>
	     <td><div class="rte-normal" id="{$pid}_cmd_bold"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-bold.png"  alt="{$this->ipsclass->lang['js_tt_bold']}" title="{$this->ipsclass->lang['js_tt_bold']}"></div></td>
	     <td><div class="rte-normal" id="{$pid}_cmd_italic"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-italic.png"  alt="{$this->ipsclass->lang['js_tt_italic']}" title="{$this->ipsclass->lang['js_tt_italic']}" ></div></td>
	     <td><div class="rte-normal" id="{$pid}_cmd_underline"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-underlined.png" alt="{$this->ipsclass->lang['js_tt_underline']}" title="{$this->ipsclass->lang['js_tt_underline']}" ></div></td>
	   	 <td><div class="rte-normal" id="{$pid}_cmd_createlink"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-link-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_link']}" title="{$this->ipsclass->lang['js_rte_lite_link']}"></div></td>
		 <td><div class="rte-normal" id="{$pid}_cmd_insertimage"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-image-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_img']}" title="{$this->ipsclass->lang['js_rte_lite_img']}"></div></td>
		 <td><div class="rte-normal" id="{$pid}_cmd_emoticon"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-emo-button.png"  alt="{$this->ipsclass->lang['js_tt_emoticons']}" title="{$this->ipsclass->lang['js_tt_emoticons']}"></div></td>
	     <td><div class="rte-normal" id="{$pid}_cmd_ipb_quote"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-quote-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_quote']}" title="{$this->ipsclass->lang['js_rte_lite_quote']}"></div></td>
		 <td><div class="rte-normal" id="{$pid}_cmd_ipb_code"><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-code-button.png"  alt="{$this->ipsclass->lang['js_rte_lite_code']}" title="{$this->ipsclass->lang['js_rte_lite_code']}"></div></td>
	</tr>
	  </table>
	 </td>
	 <td width='98%'>&nbsp;</td>
	 <td width='1%' align='right' nowrap='nowrap'>
		<table cellpadding='0' cellspacing='0' width='100%'>
           <tr>
               	<td>
				   <div class="rte-normal" id="{$pid}_resize_up" style='padding:0px;margin:0px;'><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-resize-up.gif"  alt="" /></div>
				   <div class="rte-normal" id="{$pid}_resize_down" style='padding:0px;margin:0px;padding-top:1px'><img src="style_images/<#IMG_DIR#>/folder_editor_images/rte-resize-down.gif"  alt="" title="" /></div>
			   </td>
           </tr>
          </table>
	 </td>
	</tr>
	</table>
   <div style='padding-bottom:8px'>
    	<textarea style='margin:0px;padding:4px;width:98%' name='Post' tabindex='1' id='{$pid}_textarea' class='rte-iframe' cols='80' rows='15'>{$post}</textarea>
   </div>
   <div style='height:30px'>
	   <div style='float:right;'>
	     <div class='rte-menu-button' style='width:110px;font-size:10px;padding-right:2px;text-align:left'><a href='#' style='text-decoration:none' onclick='ajax_fulleditor_for_edit( $pid ); return false'><img src='style_images/<#IMG_DIR#>/folder_editor_images/rte-redo.png' style='vertical-align:middle;padding-bottom:2px' alt='' /> {$this->ipsclass->lang['qe_full_edit']}</a></div>
	   </div>
	   <div style='float:right;margin-right:4px;'>
	     <div class='rte-menu-button' style='width:100px;font-size:10px;padding-right:2px;text-align:left'><a href='#' style='text-decoration:none' onclick='ajax_cancel_for_edit( $pid ); return false'><img src='style_images/<#IMG_DIR#>/folder_editor_images/rte-error.png' style='vertical-align:middle;padding-bottom:2px' alt='' /> {$this->ipsclass->lang['qe_cancel_edit']}</a></div>
	   </div>
	   <div style='float:right;margin-right:4px;'>
		 <div class='rte-menu-button' tabindex='2' onkeydown='if (event.keyCode == 13) { ajax_save_for_edit( $pid ); return false; }'  style='width:108px;font-size:10px;padding-right:2px;text-align:left'><a href='#' style='text-decoration:none' onclick='ajax_save_for_edit( $pid ); return false'><img src='style_images/<#IMG_DIR#>/folder_editor_images/rte-ok.png' style='vertical-align:middle;padding-bottom:2px' alt='' /> {$this->ipsclass->lang['qe_complete_edit']}</a></div>
	   </div>
		<if="$show_reason">
			<div style='text-align:left'>
				{$this->ipsclass->lang['reason_for_edit']}: <input type='text' size='35' maxlength='250' id='post_edit_reason' name='post_edit_reason' value='$post_edit_reason' />
			</div>
		</if>
   </div>
</div>
</form>