<?php
/* Smarty version 3.1.33, created on 2022-01-24 19:59:59
  from '/home/recursosspa/public_html/testlink/gui/templates/testcases/tcEdit_New_viewer.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_61ef053fa29012_55843426',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'd7e67dc3a3389b5e19b7e65844f74e851d475fd4' => 
    array (
      0 => '/home/recursosspa/public_html/testlink/gui/templates/testcases/tcEdit_New_viewer.tpl',
      1 => 1643038979,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:error_icon.tpl' => 1,
    'file:testcases/attributesLinear.inc.tpl' => 1,
    'file:opt_transfer.inc.tpl' => 1,
  ),
),false)) {
function content_61ef053fa29012_55843426 (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',),));
?>

<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang_get'][0], array( array('var'=>'labels','s'=>'tc_title,alt_add_tc_name,summary,steps,expected_results,
             preconditions,status,estimated_execution_duration,importance,
             execution_type,test_importance,tc_keywords,assign_requirements'),$_smarty_tpl ) );?>


<?php $_smarty_tpl->_assignInScope('layout1', "<br />");
$_smarty_tpl->_assignInScope('layout2', "<br />");
$_smarty_tpl->_assignInScope('layout3', "<br />");?>

<?php if ($_smarty_tpl->tpl_vars['gsmarty_spec_cfg']->value->steps_results_layout == 'horizontal') {?>
  <?php $_smarty_tpl->_assignInScope('layout1', '<br /><table width="100%"><tr><td width="50%">');?>
  <?php $_smarty_tpl->_assignInScope('layout2', '</td><td width="50%">');?>
  <?php $_smarty_tpl->_assignInScope('layout3', "</td></tr></table><br />");
}?>
  <p />
  <div class="labelHolder"><label for="testcase_name"><?php echo $_smarty_tpl->tpl_vars['labels']->value['tc_title'];?>
</label></div>
  <div> 
    <input type="text" name="testcase_name" id="testcase_name"
      size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'TESTCASE_NAME_SIZE');?>
" required 
      maxlength="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'TESTCASE_NAME_MAXLEN');?>
"
      onchange="content_modified = true"
      onkeypress="content_modified = true"
      onkeyup="javascript:checkTCaseDuplicateName(Ext.get('testcase_id').getValue(),Ext.get('testcase_name').getValue(),
                                                  Ext.get('testsuite_id').getValue(),'testcase_name_warning')"
      <?php if (isset($_smarty_tpl->tpl_vars['gui']->value->tc['name'])) {?>
           value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->tc['name'], ENT_QUOTES, 'UTF-8', true);?>
"
      <?php } else { ?>
          value=""
        <?php }?>
      title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['alt_add_tc_name'];?>
"/>
        <?php $_smarty_tpl->_subTemplateRender("file:error_icon.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('field'=>"testcase_name"), 0, false);
?>
      <span id="testcase_name_warning" class="warning"></span>
    <p />

    <div class="labelHolder"><?php echo $_smarty_tpl->tpl_vars['labels']->value['summary'];?>
</div>
    <div><?php echo $_smarty_tpl->tpl_vars['summary']->value;?>
</div>
    <br />

    <div class="labelHolder"><?php echo $_smarty_tpl->tpl_vars['labels']->value['preconditions'];?>
</div>
    <div><?php echo $_smarty_tpl->tpl_vars['preconditions']->value;?>
</div>
    
        <br />
    <?php if ($_smarty_tpl->tpl_vars['gui']->value->cf['before_steps_results'] != '') {?>
         <br/>
                  <div id="cfields_design_time" class="custom_field_container">
         <?php echo $_smarty_tpl->tpl_vars['gui']->value->cf['before_steps_results'];?>

         </div>
         
    <?php }?>
    <?php echo $_smarty_tpl->tpl_vars['layout1']->value;?>

    <?php $_smarty_tpl->_subTemplateRender("file:testcases/attributesLinear.inc.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
  </div>


    <?php if ($_smarty_tpl->tpl_vars['gui']->value->cf['standard_location'] != '') {?>
    <br/>
    <div id="cfields_design_time" class="custom_field_container">
    <?php echo $_smarty_tpl->tpl_vars['gui']->value->cf['standard_location'];?>

    </div>
  <?php }?>

  <br />
  <div>
  <?php $_smarty_tpl->_assignInScope('kwView', smarty_modifier_replace($_smarty_tpl->tpl_vars['gsmarty_href_keywordsView']->value,'%s%',$_smarty_tpl->tpl_vars['gui']->value->tproject_id));?>
  <a href=<?php echo $_smarty_tpl->tpl_vars['kwView']->value;?>
><?php echo $_smarty_tpl->tpl_vars['labels']->value['tc_keywords'];?>
</a>
  <?php $_smarty_tpl->_subTemplateRender("file:opt_transfer.inc.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('option_transfer'=>$_smarty_tpl->tpl_vars['gui']->value->opt_cfg), 0, false);
?>
  </div>
  
  <?php if ($_smarty_tpl->tpl_vars['gui']->value->opt_requirements == TRUE && $_smarty_tpl->tpl_vars['gui']->value->grants->req_tcase_link_management == 'yes' && isset($_smarty_tpl->tpl_vars['gui']->value->tc['testcase_id'])) {?>
    <br />
    <div>
    <a href="javascript:openReqWindow(<?php echo $_smarty_tpl->tpl_vars['gui']->value->tc['testcase_id'];?>
)"><?php echo $_smarty_tpl->tpl_vars['labels']->value['assign_requirements'];?>
</a>    
    </div>
  <?php }
}
}
