<?php
/* Smarty version 3.1.33, created on 2025-10-17 09:22:48
  from 'C:\php5.6\htdocs\testlink-1.9.20\gui\templates\tl-classic\testcases\containerDelete.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_68f1eec8108647_74785014',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'cbd3861adedb20e9898501fb4b14dfa273aff372' => 
    array (
      0 => 'C:\\php5.6\\htdocs\\testlink-1.9.20\\gui\\templates\\tl-classic\\testcases\\containerDelete.tpl',
      1 => 1579460696,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:inc_head.tpl' => 1,
    'file:inc_update.tpl' => 1,
    'file:inc_refreshTreeWithFilters.tpl' => 1,
  ),
),false)) {
function content_68f1eec8108647_74785014 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_subTemplateRender("file:inc_head.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang_get'][0], array( array('var'=>'labels','s'=>'test_case,th_link_exec_status,question_del_testsuite,
             btn_yes_del_comp,btn_no'),$_smarty_tpl ) );?>


<body>
<h1 class="title"><?php echo $_smarty_tpl->tpl_vars['page_title']->value;
echo @constant('TITLE_SEP');
echo htmlspecialchars($_smarty_tpl->tpl_vars['objectName']->value, ENT_QUOTES, 'UTF-8', true);?>
</h1> 
<?php $_smarty_tpl->_subTemplateRender("file:inc_update.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('result'=>$_smarty_tpl->tpl_vars['sqlResult']->value,'item'=>$_smarty_tpl->tpl_vars['level']->value,'action'=>'delete','refresh'=>$_smarty_tpl->tpl_vars['refreshTree']->value), 0, false);
?>

<div class="workBack">

<?php if ($_smarty_tpl->tpl_vars['sqlResult']->value == '' && $_smarty_tpl->tpl_vars['objectID']->value != '') {?>
  <?php if ($_smarty_tpl->tpl_vars['warning']->value != '') {?>
    <?php if ($_smarty_tpl->tpl_vars['system_message']->value != '') {?>
      <div class="user_feedback"><?php echo $_smarty_tpl->tpl_vars['system_message']->value;?>
</div>
      <br />
    <?php }?>
    <table class="link_and_exec">
    <tr>
      <th><?php echo $_smarty_tpl->tpl_vars['labels']->value['test_case'];?>
</th>
      <th><?php echo $_smarty_tpl->tpl_vars['labels']->value['th_link_exec_status'];?>
</th>
    </tr>
    <?php
$__section_idx_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['warning']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_idx_0_total = $__section_idx_0_loop;
$_smarty_tpl->tpl_vars['__smarty_section_idx'] = new Smarty_Variable(array());
if ($__section_idx_0_total !== 0) {
for ($__section_idx_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_idx']->value['index'] = 0; $__section_idx_0_iteration <= $__section_idx_0_total; $__section_idx_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_idx']->value['index']++){
?>
      <tr>
        <td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['warning']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_idx']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_idx']->value['index'] : null)], ENT_QUOTES, 'UTF-8', true);?>
&nbsp;</td>
        <td><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang_get'][0], array( array('s'=>$_smarty_tpl->tpl_vars['link_msg']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_idx']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_idx']->value['index'] : null)]),$_smarty_tpl ) );?>
<td>
      </tr>
    <?php
}
}
?>
    </table>
    <?php if ($_smarty_tpl->tpl_vars['delete_msg']->value != '') {?>  
      <h2><?php echo $_smarty_tpl->tpl_vars['delete_msg']->value;?>
</h2>
    <?php }?>
  <?php }?>
  
  <form method="post" 
    action="<?php echo $_smarty_tpl->tpl_vars['basehref']->value;?>
lib/testcases/containerEdit.php?sure=yes&amp;objectID=<?php echo $_smarty_tpl->tpl_vars['objectID']->value;?>
&objectType=<?php echo $_smarty_tpl->tpl_vars['objectType']->value;?>
&amp;containerType=<?php echo $_smarty_tpl->tpl_vars['containerType']->value;?>
">
    <?php if ($_smarty_tpl->tpl_vars['can_delete']->value) {?>
      <p><?php echo $_smarty_tpl->tpl_vars['labels']->value['question_del_testsuite'];?>
</p>
      <input type="submit" name="delete_testsuite" value="<?php echo $_smarty_tpl->tpl_vars['labels']->value['btn_yes_del_comp'];?>
" />
    
      <input  type="button" name="cancel_delete_testsuite" value="<?php echo $_smarty_tpl->tpl_vars['labels']->value['btn_no'];?>
"
          onclick='javascript: location.href=fRoot+
          "lib/testcases/archiveData.php?&amp;edit=testsuite&amp;id=<?php echo $_smarty_tpl->tpl_vars['objectID']->value;?>
";' />
    <?php }?>
  </form>
<?php }?>

<?php if ($_smarty_tpl->tpl_vars['refreshTree']->value) {?>
  <?php $_smarty_tpl->_subTemplateRender("file:inc_refreshTreeWithFilters.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
}?>
</div>
</body>
</html><?php }
}
