<?php
/* Smarty version 3.1.33, created on 2022-02-15 20:49:44
  from '/home/recursosspa/public_html/testlink/gui/templates/testcases/tcSearchGUI.inc.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_620c11e85d82f5_81023437',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '6685ece4a880a026fc26cbb10564e5754864aa4b' => 
    array (
      0 => '/home/recursosspa/public_html/testlink/gui/templates/testcases/tcSearchGUI.inc.tpl',
      1 => 1643038980,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_620c11e85d82f5_81023437 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/recursosspa/public_html/testlink/vendor/smarty/smarty/libs/plugins/modifier.replace.php','function'=>'smarty_modifier_replace',),1=>array('file'=>'/home/recursosspa/public_html/testlink/vendor/smarty/smarty/libs/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
$_smarty_tpl->_assignInScope('cfg_section', smarty_modifier_replace(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'basename' ][ 0 ], array( basename($_smarty_tpl->source->filepath) )),".inc.tpl",''));
$_smarty_tpl->smarty->ext->configLoad->_loadConfigFile($_smarty_tpl, "input_dimensions.conf", $_smarty_tpl->tpl_vars['cfg_section']->value, 0);
?>


<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang_get'][0], array( array('var'=>"labels",'s'=>'title_search_tcs,caption_search_form,th_tcid,th_tcversion,edited_by,status,
             th_title,summary,steps,expected_results,keyword,custom_field,created_by,jolly_hint,
             search_type_like,preconditions,filter_mode_and,test_importance,search_prefix_ignored,
             creation_date_from,creation_date_to,modification_date_from,modification_date_to,
             custom_field_value,btn_find,requirement_document_id,show_calender,clear_date,jolly'),$_smarty_tpl ) );?>



<div style="margin: 1px;">
<form method="post" action="<?php echo $_smarty_tpl->tpl_vars['basehref']->value;?>
lib/testcases/tcSearch.php">
  <input type="hidden" name="doAction" id="doAction" value="doSearch">
  <input type="hidden" name="tproject_id" id="tproject_id" value="<?php echo $_smarty_tpl->tpl_vars['gui']->value->tproject_id;?>
">
  <table class="simple" style="width:100%">
    <tr>
     <td colspan="8">
     <img src="<?php echo $_smarty_tpl->tpl_vars['tlImages']->value['info'];?>
" title =" <?php echo $_smarty_tpl->tpl_vars['labels']->value['filter_mode_and'];?>
 <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->search_important_notice, ENT_QUOTES, 'UTF-8', true);?>
.
                                          <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['labels']->value['search_prefix_ignored'], ENT_QUOTES, 'UTF-8', true);?>
">
     </td>
    </tr>
    <tr>
      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['th_tcid'];?>
</td>
      <td><input type="text" name="targetTestCase" id="TCID"  
                 size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'TC_ID_SIZE');?>
" maxlength="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'TC_ID_MAXLEN');?>
" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->targetTestCase, ENT_QUOTES, 'UTF-8', true);?>
"/></td>

      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['th_tcversion'];?>
</td>
      <td><input type="text" name="version"
                 size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'VERSION_SIZE');?>
" maxlength="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'VERSION_MAXLEN');?>
" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->tcversion, ENT_QUOTES, 'UTF-8', true);?>
" /></td>
      
      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['th_title'];?>
</td>
      <td><input type="text" name="name" id="name" 
           value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->name, ENT_QUOTES, 'UTF-8', true);?>
"
           size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'TCNAME_SIZE');?>
" maxlength="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'TCNAME_MAXLEN');?>
" /></td>
    </tr>

    <tr>
    <?php if ($_smarty_tpl->tpl_vars['session']->value['testprojectOptions']->testPriorityEnabled) {?>
        <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['test_importance'];?>
</td>
        <td>
          <select name="importance">
           <?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['gui']->value->option_importance,'selected'=>$_smarty_tpl->tpl_vars['gui']->value->importance),$_smarty_tpl);?>

          </select>
        </td>
    <?php }?>
      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['status'];?>
</td>
        <td>
          <select name="status">
           <?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['gui']->value->domainTCStatus,'selected'=>$_smarty_tpl->tpl_vars['gui']->value->status),$_smarty_tpl);?>

          </select>
        </td>
    </tr>

    <tr>
      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['summary'];?>
</td>
      <td><input type="text" name="summary" id="summary" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->summary, ENT_QUOTES, 'UTF-8', true);?>
"
                 size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'SUMMARY_SIZE');?>
" maxlength="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'SUMMARY_MAXLEN');?>
" /></td>

      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['preconditions'];?>
</td>
      <td><input type="text" name="preconditions" id="preconditions" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->preconditions, ENT_QUOTES, 'UTF-8', true);?>
"
                 size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'PRECONDITIONS_SIZE');?>
" maxlength="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'PRECONDITIONS_MAXLEN');?>
" /></td>

      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['steps'];?>
</td>
      <td><input type="text" name="steps" id="steps" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->steps, ENT_QUOTES, 'UTF-8', true);?>
"
                 size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'STEPS_SIZE');?>
" maxlength="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'STEPS_MAXLEN');?>
" /></td>
 
      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['expected_results'];?>
</td>
      <td><input type="text" name="expected_results" id="expected_results" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->expected_results, ENT_QUOTES, 'UTF-8', true);?>
"
                 size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'RESULTS_SIZE');?>
" maxlength="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'RESULTS_MAXLEN');?>
" /></td>
    </tr>

    <tr>
      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['created_by'];?>
</td>
      <td><input type="text" name="created_by" id="created_by" 
                 value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->created_by, ENT_QUOTES, 'UTF-8', true);?>
"
                 size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'AUTHOR_SIZE');?>
" maxlength="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'TCNAME_MAXLEN');?>
" /></td>

      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['edited_by'];?>
</td>
      <td><input type="text" name="edited_by" id ="edited_by" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->edited_by, ENT_QUOTES, 'UTF-8', true);?>
"
                 size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'AUTHOR_SIZE');?>
" maxlength="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'TCNAME_MAXLEN');?>
" /></td>
    </tr>

    <tr>
      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['creation_date_from'];?>
</td>
      <td>
        <input type="text" name="creation_date_from" id="creation_date_from" 
               value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->creation_date_from, ENT_QUOTES, 'UTF-8', true);?>
" size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'DATE_PICKER');?>
"
               onclick="showCal('creation_date_from-cal','creation_date_from','<?php echo $_smarty_tpl->tpl_vars['gsmarty_datepicker_format']->value;?>
');" readonly />
        
        <img title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['show_calender'];?>
" src="<?php echo @constant('TL_THEME_IMG_DIR');?>
/calendar.gif"
             onclick="showCal('creation_date_from-cal','creation_date_from','<?php echo $_smarty_tpl->tpl_vars['gsmarty_datepicker_format']->value;?>
');" >
        <img title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['clear_date'];?>
" src="<?php echo @constant('TL_THEME_IMG_DIR');?>
/trash.png"
               onclick="javascript:var x = document.getElementById('creation_date_from'); x.value = '';" >
        <div id="creation_date_from-cal" style="position:absolute;width:240px;left:300px;z-index:1;"></div>
      </td>

      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['creation_date_to'];?>
</td>
      <td>
        <input type="text" name="creation_date_to" id="creation_date_to" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->creation_date_to, ENT_QUOTES, 'UTF-8', true);?>
" 
               size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'DATE_PICKER');?>
"
               onclick="showCal('creation_date_to-cal','creation_date_to','<?php echo $_smarty_tpl->tpl_vars['gsmarty_datepicker_format']->value;?>
');" readonly />
        <img title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['show_calender'];?>
" src="<?php echo @constant('TL_THEME_IMG_DIR');?>
/calendar.gif"
             onclick="showCal('creation_date_to-cal','creation_date_to','<?php echo $_smarty_tpl->tpl_vars['gsmarty_datepicker_format']->value;?>
');" >
        <img title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['clear_date'];?>
" src="<?php echo @constant('TL_THEME_IMG_DIR');?>
/trash.png"
               onclick="javascript:var x = document.getElementById('creation_date_to'); x.value = '';" >
        <div id="creation_date_to-cal" style="position:absolute;width:240px;left:300px;z-index:1;"></div>
      </td>

      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['modification_date_from'];?>
</td>
      <td>
        <input type="text" name="modification_date_from" id="modification_date_from" 
        value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->modification_date_from, ENT_QUOTES, 'UTF-8', true);?>
" 
               size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'DATE_PICKER');?>
"
               onclick="showCal('modification_date_from-cal','modification_date_from','<?php echo $_smarty_tpl->tpl_vars['gsmarty_datepicker_format']->value;?>
');" readonly />
        <img title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['show_calender'];?>
" src="<?php echo @constant('TL_THEME_IMG_DIR');?>
/calendar.gif"
             onclick="showCal('modification_date_from-cal','modification_date_from','<?php echo $_smarty_tpl->tpl_vars['gsmarty_datepicker_format']->value;?>
');" >
        <img title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['clear_date'];?>
" src="<?php echo @constant('TL_THEME_IMG_DIR');?>
/trash.png"
             onclick="javascript:var x = document.getElementById('modification_date_from'); x.value = '';" >
        <div id="modification_date_from-cal" style="position:absolute;width:240px;left:300px;z-index:1;"></div>
      </td>

      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['modification_date_to'];?>
</td>
      <td>
        <input type="text" name="modification_date_to" id="modification_date_to" 
        value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->modification_date_to, ENT_QUOTES, 'UTF-8', true);?>
" 
               size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'DATE_PICKER');?>
"
               onclick="showCal('modification_date_to-cal','modification_date_to','<?php echo $_smarty_tpl->tpl_vars['gsmarty_datepicker_format']->value;?>
');" readonly />
        <img title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['show_calender'];?>
" src="<?php echo @constant('TL_THEME_IMG_DIR');?>
/calendar.gif"
             onclick="showCal('modification_date_to-cal','modification_date_to','<?php echo $_smarty_tpl->tpl_vars['gsmarty_datepicker_format']->value;?>
');" >
        <img title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['clear_date'];?>
" src="<?php echo @constant('TL_THEME_IMG_DIR');?>
/trash.png"
             onclick="javascript:var x = document.getElementById('modification_date_to'); x.value = '';" >
        <div id="modification_date_to-cal" style="position:absolute;width:240px;left:300px;z-index:1;"></div>
      </td>
    </tr>

     <tr>
      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['jolly'];?>
<img src="<?php echo $_smarty_tpl->tpl_vars['tlImages']->value['info'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['jolly_hint'];?>
"></td>
      <td><input type="text" name="jolly" id="jolly" 
      value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->jolly, ENT_QUOTES, 'UTF-8', true);?>
"
                 size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'SUMMARY_SIZE');?>
" maxlength="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'SUMMARY_MAXLEN');?>
" /></td>
     </tr>
    
   
    <?php if ($_smarty_tpl->tpl_vars['gui']->value->filter_by['keyword']) {?>
    <tr>
      <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['keyword'];?>
</td>
      <td colspan="5"><select name="keyword_id">
          <option value="0">&nbsp;</option>
          <?php
$__section_Row_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['gui']->value->keywords) ? count($_loop) : max(0, (int) $_loop));
$__section_Row_0_total = $__section_Row_0_loop;
$_smarty_tpl->tpl_vars['__smarty_section_Row'] = new Smarty_Variable(array());
if ($__section_Row_0_total !== 0) {
for ($__section_Row_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_Row']->value['index'] = 0; $__section_Row_0_iteration <= $__section_Row_0_total; $__section_Row_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_Row']->value['index']++){
?>
          <option value="<?php echo $_smarty_tpl->tpl_vars['gui']->value->keywords[(isset($_smarty_tpl->tpl_vars['__smarty_section_Row']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_Row']->value['index'] : null)]->dbID;?>
"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->keywords[(isset($_smarty_tpl->tpl_vars['__smarty_section_Row']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_Row']->value['index'] : null)]->name, ENT_QUOTES, 'UTF-8', true);?>
</option>
        <?php
}
}
?>
        </select>
      </td>
    </tr>
    <?php }?>
    
    <?php if ($_smarty_tpl->tpl_vars['gui']->value->filter_by['design_scope_custom_fields']) {?>
        <tr>
          <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['custom_field'];?>
</td>
          <td><select name="custom_field_id">
              <option value="0">&nbsp;</option>
              <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['gui']->value->design_cf, 'cf', false, 'cf_id');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['cf_id']->value => $_smarty_tpl->tpl_vars['cf']->value) {
?>
                <option value="<?php echo $_smarty_tpl->tpl_vars['cf_id']->value;?>
"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['cf']->value['label'], ENT_QUOTES, 'UTF-8', true);?>
</option>
              <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            </select>
          </td>
          </tr>
        <tr>
            <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['custom_field_value'];?>
</td>
            <td>
            <input type="text" name="custom_field_value" 
                   size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'CFVALUE_SIZE');?>
" maxlength="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'CFVALUE_MAXLEN');?>
"/>
          </td>
        </tr>
    <?php }?>
    
    <?php if ($_smarty_tpl->tpl_vars['gui']->value->filter_by['requirement_doc_id']) {?>
        <tr>
            <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['requirement_document_id'];?>
</td>
            <td colspan="7">
            <input type="text" name="requirement_doc_id" id="requirement_doc_id"
                   title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['search_type_like'];?>
"
                   size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'REQ_DOCID_SIZE');?>
" maxlength="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'REQ_DOCID_MAXLEN');?>
"/>
          </td>
        </tr>
    <?php }?>    
  </table>
  
  <p style="padding-left: 20px;">
    <input type="submit" name="doSearch" value="<?php echo $_smarty_tpl->tpl_vars['labels']->value['btn_find'];?>
" />
  </p>
</form>

</div>
<?php }
}
