<?php
/* Smarty version 3.1.33, created on 2025-10-17 07:47:51
  from 'C:\php5.6\htdocs\testlink-1.9.20\gui\templates\tl-classic\usermanagement\menu.inc.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_68f1d887255413_49636125',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '9616afeb557da9a5341344d196ada86de9350a0c' => 
    array (
      0 => 'C:\\php5.6\\htdocs\\testlink-1.9.20\\gui\\templates\\tl-classic\\usermanagement\\menu.inc.tpl',
      1 => 1579460696,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_68f1d887255413_49636125 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_assignInScope('lib', 'lib/usermanagement');
$_tmp_array = isset($_smarty_tpl->tpl_vars['act']) ? $_smarty_tpl->tpl_vars['act']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array['view_users']['url'] = ($_smarty_tpl->tpl_vars['lib']->value).('/usersView.php');
$_smarty_tpl->_assignInScope('act', $_tmp_array);
$_tmp_array = isset($_smarty_tpl->tpl_vars['act']) ? $_smarty_tpl->tpl_vars['act']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array['view_roles']['url'] = ($_smarty_tpl->tpl_vars['lib']->value).('/rolesView.php');
$_smarty_tpl->_assignInScope('act', $_tmp_array);
$_tmp_array = isset($_smarty_tpl->tpl_vars['act']) ? $_smarty_tpl->tpl_vars['act']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array['assign_users_tproject']['url'] = ($_smarty_tpl->tpl_vars['lib']->value).('/usersAssign.php?featureType=testproject');
$_smarty_tpl->_assignInScope('act', $_tmp_array);
$_tmp_array = isset($_smarty_tpl->tpl_vars['act']) ? $_smarty_tpl->tpl_vars['act']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array['assign_users_tplan']['url'] = ($_smarty_tpl->tpl_vars['lib']->value).('/usersAssign.php?featureType=testplan');
$_smarty_tpl->_assignInScope('act', $_tmp_array);?>


<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang_get'][0], array( array('var'=>"menuLbl",'s'=>"menu_new_user,menu_view_users,menu_edit_user,menu_define_roles,menu_edit_role,menu_view_roles,menu_assign_testproject_roles,menu_assign_testplan_roles"),$_smarty_tpl ) );?>


<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['act']->value, 'mx', false, 'ak');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['ak']->value => $_smarty_tpl->tpl_vars['mx']->value) {
?>
  <?php $_tmp_array = isset($_smarty_tpl->tpl_vars['act']) ? $_smarty_tpl->tpl_vars['act']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[$_smarty_tpl->tpl_vars['ak']->value]['class'] = '';
$_smarty_tpl->_assignInScope('act', $_tmp_array);?>
  <?php if ($_smarty_tpl->tpl_vars['gui']->value->highlight->{$_smarty_tpl->tpl_vars['ak']->value} == 1) {?>
    <?php $_tmp_array = isset($_smarty_tpl->tpl_vars['act']) ? $_smarty_tpl->tpl_vars['act']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[$_smarty_tpl->tpl_vars['ak']->value]['class'] = ' class="active" ';
$_smarty_tpl->_assignInScope('act', $_tmp_array);?>
  <?php }
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>

<?php if ($_smarty_tpl->tpl_vars['gui']->value->grants->user_mgmt == "no") {?>
  <?php $_tmp_array = isset($_smarty_tpl->tpl_vars['act']) ? $_smarty_tpl->tpl_vars['act']->value : array();
if (!is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess) {
settype($_tmp_array, 'array');
}
$_tmp_array[$_smarty_tpl->tpl_vars['ak']->value]['class'] = '';
$_smarty_tpl->_assignInScope('act', $_tmp_array);
}?>

<div class="container">
  <ul class="nav nav-pills">

    <?php if ($_smarty_tpl->tpl_vars['gui']->value->grants->user_mgmt == "yes") {?>
	    <li <?php echo $_smarty_tpl->tpl_vars['act']->value['view_users']['class'];?>
 ><a href="<?php echo $_smarty_tpl->tpl_vars['act']->value['view_users']['url'];?>
"><?php echo $_smarty_tpl->tpl_vars['menuLbl']->value['menu_view_users'];?>
</a></li>
	  <?php }?>

    <?php if ($_smarty_tpl->tpl_vars['gui']->value->grants->role_mgmt == "yes") {?>    
      <li <?php echo $_smarty_tpl->tpl_vars['act']->value['view_roles']['class'];?>
 ><a href="<?php echo $_smarty_tpl->tpl_vars['act']->value['view_roles']['url'];?>
"><?php echo $_smarty_tpl->tpl_vars['menuLbl']->value['menu_view_roles'];?>
</a></li>
    <?php }?>

    <?php if ($_smarty_tpl->tpl_vars['gui']->value->grants->tproject_user_role_assignment == "yes") {?>
      <li <?php echo $_smarty_tpl->tpl_vars['act']->value['assign_users_tproject']['class'];?>
 ><a href="<?php echo $_smarty_tpl->tpl_vars['act']->value['assign_users_tproject']['url'];?>
"><?php echo $_smarty_tpl->tpl_vars['menuLbl']->value['menu_assign_testproject_roles'];?>
</a></li>
    <?php }?>

    <?php if ($_smarty_tpl->tpl_vars['gui']->value->grants->tplan_user_role_assignment == "yes") {?>
      <li <?php echo $_smarty_tpl->tpl_vars['act']->value['assign_users_tplan']['class'];?>
 ><a href="<?php echo $_smarty_tpl->tpl_vars['act']->value['assign_users_tplan']['url'];?>
"><?php echo $_smarty_tpl->tpl_vars['menuLbl']->value['menu_assign_testplan_roles'];?>
</a></li>
    <?php }?>

  </ul>  
</div><?php }
}
