<?php
/* Smarty version 3.1.33, created on 2021-11-04 17:25:26
  from '/opt/lampp/htdocs/testlink/gui/templates/requirements/reqSpecListTree.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_61840976c905a7_40496382',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '0e1245f9d9835f30415c9095304bdb4186c683db' => 
    array (
      0 => '/opt/lampp/htdocs/testlink/gui/templates/requirements/reqSpecListTree.tpl',
      1 => 1636032772,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:inc_head.tpl' => 1,
    'file:inc_ext_js.tpl' => 1,
    'file:inc_filter_panel.tpl' => 1,
    'file:inc_tree_control.tpl' => 1,
  ),
),false)) {
function content_61840976c905a7_40496382 (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('openHead'=>"yes"), 0, false);
$_smarty_tpl->_subTemplateRender("file:inc_ext_js.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('bResetEXTCss'=>1), 0, false);
?>

<?php echo '<script'; ?>
 type="text/javascript" src='gui/javascript/ext_extensions.js'><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript">
Ext.onReady(function() {
  Ext.state.Manager.setProvider(new Ext.state.CookieProvider());

  // collapsible panel for filters and settings
  var settingsPanel = new Ext.ux.CollapsiblePanel({
    id: 'tl_exec_filter',
    applyTo: 'settings_panel'
  });
  var filtersPanel = new Ext.ux.CollapsiblePanel({
    id: 'tl_exec_settings',
    applyTo: 'filter_panel'
  });
});
<?php echo '</script'; ?>
>

<?php if ($_smarty_tpl->tpl_vars['gui']->value->ajaxTree->loader == '') {?>
  <?php echo '<script'; ?>
 type="text/javascript">
  treeCfg = { tree_div_id:'tree_div',root_name:"",root_id:0,root_href:"",loader:"", enableDD:false, dragDropBackEndUrl:'',children:"" };
  <?php echo '</script'; ?>
>
  
  <?php echo '<script'; ?>
 type="text/javascript">
  treeCfg.root_name='<?php echo strtr($_smarty_tpl->tpl_vars['gui']->value->ajaxTree->root_node->name, array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
';
  treeCfg.root_id=<?php echo $_smarty_tpl->tpl_vars['gui']->value->ajaxTree->root_node->id;?>
;
  treeCfg.root_href='<?php echo $_smarty_tpl->tpl_vars['gui']->value->ajaxTree->root_node->href;?>
';
  treeCfg.children=<?php echo $_smarty_tpl->tpl_vars['gui']->value->ajaxTree->children;?>
;
  <?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
 type="text/javascript" src='gui/javascript/execTree.js'><?php echo '</script'; ?>
>

<?php } else { ?>
  <?php echo '<script'; ?>
 type="text/javascript">
  treeCfg = { tree_div_id:'tree_div',root_name:"",root_id:0,root_href:"",root_testlink_node_type:'',useBeforeMoveNode:false,loader:"", enableDD:false, dragDropBackEndUrl:'' };
  <?php echo '</script'; ?>
>
  
  <?php echo '<script'; ?>
 type="text/javascript">
  treeCfg.loader='<?php echo $_smarty_tpl->tpl_vars['gui']->value->ajaxTree->loader;?>
';
  treeCfg.root_name='<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->ajaxTree->root_node->name, ENT_QUOTES, 'UTF-8', true);?>
';
  treeCfg.root_id=<?php echo $_smarty_tpl->tpl_vars['gui']->value->ajaxTree->root_node->id;?>
;
  treeCfg.root_href='<?php echo $_smarty_tpl->tpl_vars['gui']->value->ajaxTree->root_node->href;?>
';
  treeCfg.enableDD='<?php echo $_smarty_tpl->tpl_vars['gui']->value->ajaxTree->dragDrop->enabled;?>
';
  treeCfg.dragDropBackEndUrl='<?php echo $_smarty_tpl->tpl_vars['gui']->value->ajaxTree->dragDrop->BackEndUrl;?>
';
  treeCfg.cookiePrefix='<?php echo $_smarty_tpl->tpl_vars['gui']->value->ajaxTree->cookiePrefix;?>
';
  treeCfg.root_testlink_node_type='<?php echo $_smarty_tpl->tpl_vars['gui']->value->ajaxTree->root_node->testlink_node_type;?>
';
  treeCfg.useBeforeMoveNode='<?php echo $_smarty_tpl->tpl_vars['gui']->value->ajaxTree->dragDrop->useBeforeMoveNode;?>
';
  <?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
 type="text/javascript" src='gui/javascript/treebyloader.js'>
  <?php echo '</script'; ?>
>
<?php }?>

<?php echo '<script'; ?>
 type="text/javascript" language="javascript">
var req_spec_manager_url = '<?php echo $_smarty_tpl->tpl_vars['gui']->value->req_spec_manager_url;?>
';
var req_manager_url = '<?php echo $_smarty_tpl->tpl_vars['gui']->value->req_manager_url;?>
';
<?php echo '</script'; ?>
>

</head>
<body>
<h1 class="title"><?php echo $_smarty_tpl->tpl_vars['gui']->value->tree_title;?>
</h1>

<?php $_smarty_tpl->_subTemplateRender('file:inc_filter_panel.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

<?php $_smarty_tpl->_subTemplateRender("file:inc_tree_control.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

<div id="tree_div" style="overflow:auto; height:100%;border:1px solid #c3daf9;"></div>
</body>
</html><?php }
}
