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

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_68f1ed67512168_16206901',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '68271a826417de6d2416b0c171095846bc94505d' => 
    array (
      0 => 'C:\\php5.6\\htdocs\\testlink-1.9.20\\gui\\templates\\tl-classic\\codetrackers\\codeTrackerView.tpl',
      1 => 1579460696,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:inc_head.tpl' => 1,
    'file:inc_del_onclick.tpl' => 1,
    'file:bootstrap.inc.tpl' => 1,
    'file:inc_feedback.tpl' => 1,
  ),
),false)) {
function content_68f1ed67512168_16206901 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'C:\\php5.6\\htdocs\\testlink-1.9.20\\vendor\\smarty\\smarty\\libs\\plugins\\modifier.replace.php','function'=>'smarty_modifier_replace',),));
$_smarty_tpl->_subTemplateRender("file:inc_head.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('jsValidate'=>"yes",'openHead'=>"yes",'enableTableSorting'=>"yes"), 0, false);
$_smarty_tpl->_subTemplateRender("file:inc_del_onclick.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>


<?php $_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) )),".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'=>'th_codetracker,th_codetracker_type,th_delete,th_description,menu_assign_kw_to_tc,title_codetracker_mgmt,
          	 btn_create,alt_delete,th_codetracker_env,check_bts_connection,bts_check_ok,bts_check_ko'),$_smarty_tpl ) );?>


<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang_get'][0], array( array('s'=>'warning_delete','var'=>"warning_msg"),$_smarty_tpl ) );?>

<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang_get'][0], array( array('s'=>'delete','var'=>"del_msgbox_title"),$_smarty_tpl ) );?>


<?php echo '<script'; ?>
 type="text/javascript">
/* All this stuff is needed for logic contained in inc_del_onclick.tpl */
var del_action=fRoot+'lib/codetrackers/codeTrackerEdit.php?doAction=doDelete&id=';
<?php echo '</script'; ?>
>

<?php $_smarty_tpl->_subTemplateRender("file:bootstrap.inc.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?> 
</head>
<body <?php echo $_smarty_tpl->tpl_vars['body_onload']->value;?>
>
<h1 class="title"><?php echo $_smarty_tpl->tpl_vars['labels']->value['title_codetracker_mgmt'];?>
</h1>
<div class="workBack">
	<?php $_smarty_tpl->_subTemplateRender("file:inc_feedback.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('user_feedback'=>$_smarty_tpl->tpl_vars['gui']->value->user_feedback), 0, false);
?>
	<?php if ($_smarty_tpl->tpl_vars['gui']->value->items != '') {?>
	<table class="simple_tableruler sortable">
		<tr>
			<th width="30%"><?php echo $_smarty_tpl->tpl_vars['tlImages']->value['sort_hint'];
echo $_smarty_tpl->tpl_vars['labels']->value['th_codetracker'];?>
</th>
			<th><?php echo $_smarty_tpl->tpl_vars['tlImages']->value['sort_hint'];
echo $_smarty_tpl->tpl_vars['labels']->value['th_codetracker_type'];?>
</th>
			<th><?php echo $_smarty_tpl->tpl_vars['labels']->value['th_codetracker_env'];?>
</th>
			<?php if ($_smarty_tpl->tpl_vars['gui']->value->canManage != '') {?>
				<th style="min-width:70px"><?php echo $_smarty_tpl->tpl_vars['tlImages']->value['sort_hint'];
echo $_smarty_tpl->tpl_vars['labels']->value['th_delete'];?>
</th>
			<?php }?>
		</tr>

  	<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['gui']->value->items, 'item_def', false, 'item_id');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['item_id']->value => $_smarty_tpl->tpl_vars['item_def']->value) {
?>
		<tr>
			<td>
				<?php if ($_smarty_tpl->tpl_vars['gui']->value->canManage != '') {?>
					<a href="lib/codetrackers/codeTrackerView.php?id=<?php echo $_smarty_tpl->tpl_vars['item_def']->value['id'];?>
">
					  <img src="<?php echo $_smarty_tpl->tpl_vars['tlImages']->value['wrench'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['check_bts_connection'];?>
">
					</a>
          <?php if ($_smarty_tpl->tpl_vars['item_def']->value['connection_status'] == "ok") {?>
					  <img src="<?php echo $_smarty_tpl->tpl_vars['tlImages']->value['check_ok'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['bts_check_ok'];?>
">
				  <?php } elseif ($_smarty_tpl->tpl_vars['item_def']->value['connection_status'] == "ko") {?>
					  <img src="<?php echo $_smarty_tpl->tpl_vars['tlImages']->value['check_ko'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['bts_check_ko'];?>
">
				  <?php } else { ?>
				    &nbsp;
				  <?php }?>
				<?php }?>

				<?php if ($_smarty_tpl->tpl_vars['gui']->value->canManage != '') {?>
					<a href="lib/codetrackers/codeTrackerEdit.php?doAction=edit&amp;id=<?php echo $_smarty_tpl->tpl_vars['item_def']->value['id'];?>
">
				<?php }?>
				<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['item_def']->value['name'], ENT_QUOTES, 'UTF-8', true);?>

				<?php if ($_smarty_tpl->tpl_vars['gui']->value->canManage != '') {?>
					</a>
				<?php }?>

			</td>
			<td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['item_def']->value['type_descr'], ENT_QUOTES, 'UTF-8', true);?>
</td>
			<td class="clickable_icon"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['item_def']->value['env_check_msg'], ENT_QUOTES, 'UTF-8', true);?>
</td>

				<td class="clickable_icon">
				<?php if ($_smarty_tpl->tpl_vars['gui']->value->canManage != '' && $_smarty_tpl->tpl_vars['item_def']->value['link_count'] == 0) {?>
			  		<img style="border:none;cursor: pointer;"
			       		alt="<?php echo $_smarty_tpl->tpl_vars['labels']->value['alt_delete'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['alt_delete'];?>
"   
             		src="<?php echo $_smarty_tpl->tpl_vars['tlImages']->value['delete'];?>
"			     
				     	 onclick="delete_confirmation(<?php echo $_smarty_tpl->tpl_vars['item_def']->value['id'];?>
,
				              '<?php echo htmlspecialchars(strtr($_smarty_tpl->tpl_vars['item_def']->value['name'], array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" )), ENT_QUOTES, 'UTF-8', true);?>
',
				              '<?php echo $_smarty_tpl->tpl_vars['del_msgbox_title']->value;?>
','<?php echo $_smarty_tpl->tpl_vars['warning_msg']->value;?>
');" />
				<?php }?>
				</td>
		</tr>
		<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
	</table>
	<?php }?>
	
	<div class="groupBtn">	
	  	<form name="item_view" id="item_view" method="post" action="lib/codetrackers/codeTrackerEdit.php"> 
	  	  <input type="hidden" name="doAction" value="" />
	
		<?php if ($_smarty_tpl->tpl_vars['gui']->value->canManage != '') {?>
	  		<input class="btn btn-primary" 
	  		       type="submit" id="create" name="create" value="<?php echo $_smarty_tpl->tpl_vars['labels']->value['btn_create'];?>
" 
	  	         onclick="doAction.value='create'"/>
		<?php }?>
	  	</form>
	</div>
</div>

</body>
</html>
<?php }
}
