<?php /* Smarty version 2.6.20, created on 2018-12-12 08:53:22
         compiled from edit_running_comment.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'edit_running_comment.tpl', 32, false),array('function', 'html_options', 'edit_running_comment.tpl', 38, false),)), $this); ?>
<?php echo '    
    <script type="text/javascript"> 
        $(document).ready(function() {
            $(\'#edit_running_comment\').ajaxForm(function() { 
                floaterClose();
                ts_ext_reload();
            });
        }); 
    </script>
'; ?>


<div id="floater_innerwrap">
    
    <div id="floater_handle">
        <span id="floater_title"><?php echo $this->_tpl_vars['kga']['lang']['comment']; ?>
</span>
        <div class="right">
            <a href="#" class="close" onClick="floaterClose();"><?php echo $this->_tpl_vars['kga']['lang']['close']; ?>
</a>
        </div>       
    </div>

    <div class="floater_content">

        
        <form id="edit_running_comment" action="../extensions/ki_timesheets/processor.php" method="post"> 
            <fieldset>

                <ul>
                
                    <li>
                        <label for="comment"><?php echo $this->_tpl_vars['kga']['lang']['comment']; ?>
:</label>
                        <textarea id='comment' style="width:395px" class='comment' name='comment' cols='40' rows='5' tabindex='13'><?php echo ((is_array($_tmp=$this->_tpl_vars['comment'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</textarea>
                   </li>
                   
                   <li>
                       <label for="comment_type"><?php echo $this->_tpl_vars['kga']['lang']['comment_type']; ?>
:</label>
                       <select id="comment_type" class="formfield" name="comment_type" tabindex="14" >
                           <?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['comment_values'],'output' => $this->_tpl_vars['comment_types'],'selected' => $this->_tpl_vars['comment_active']), $this);?>

                       </select>
                   </li>    

                </ul>
 
                <input name="axAction"     type="hidden" value="edit_running_comment" />   
                <input name="axValue"      type="hidden" value="<?php echo $this->_tpl_vars['id']; ?>
" />     
                                             
                <div id="formbuttons">
                    <input class='btn_norm' type='button' value='<?php echo $this->_tpl_vars['kga']['lang']['cancel']; ?>
' onClick='floaterClose(); return false;' />
                    <input class='btn_ok' type='submit' value='<?php echo $this->_tpl_vars['kga']['lang']['submit']; ?>
' />
                </div>
                
            </fieldset>
        </form>
        
    </div>
</div>