<?php
/* Smarty version 3.1.33, created on 2021-11-04 17:25:26
  from '/opt/lampp/htdocs/testlink/gui/templates/requirements/project_req_spec_mgmt.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_61840976d1d587_47637175',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'eb629af64f175703430e006e041cae2cfa61d3be' => 
    array (
      0 => '/opt/lampp/htdocs/testlink/gui/templates/requirements/project_req_spec_mgmt.tpl',
      1 => 1636032772,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:inc_head.tpl' => 1,
    'file:inc_refreshTree.tpl' => 1,
  ),
),false)) {
function content_61840976d1d587_47637175 (Smarty_Internal_Template $_smarty_tpl) {
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang_get'][0], array( array('var'=>"labels",'s'=>"btn_reorder_req_spec,btn_new_req_spec,btn_import,btn_export_all_reqspec"),$_smarty_tpl ) );?>

<?php $_smarty_tpl->_assignInScope('req_module', 'lib/requirements/');
$_smarty_tpl->_assignInScope('url_args', "reqSpecEdit.php?doAction=create&amp;tproject_id=");
$_smarty_tpl->_assignInScope('req_spec_new_url', ((string)$_smarty_tpl->tpl_vars['basehref']->value).((string)$_smarty_tpl->tpl_vars['req_module']->value).((string)$_smarty_tpl->tpl_vars['url_args']->value));?>

<?php $_smarty_tpl->_assignInScope('url_args', "reqSpecEdit.php?doAction=reorder&amp;tproject_id=");
$_smarty_tpl->_assignInScope('req_spec_reorder_url', ((string)$_smarty_tpl->tpl_vars['basehref']->value).((string)$_smarty_tpl->tpl_vars['req_module']->value).((string)$_smarty_tpl->tpl_vars['url_args']->value));?>

<?php $_smarty_tpl->_assignInScope('url_args', "reqExport.php?scope=tree&tproject_id=");
$_smarty_tpl->_assignInScope('req_export_url', ((string)$_smarty_tpl->tpl_vars['basehref']->value).((string)$_smarty_tpl->tpl_vars['req_module']->value).((string)$_smarty_tpl->tpl_vars['url_args']->value));?>

<?php $_smarty_tpl->_assignInScope('url_args', "reqImport.php?scope=tree&tproject_id=");
$_smarty_tpl->_assignInScope('req_import_url', ((string)$_smarty_tpl->tpl_vars['basehref']->value).((string)$_smarty_tpl->tpl_vars['req_module']->value).((string)$_smarty_tpl->tpl_vars['url_args']->value));?>


<?php $_smarty_tpl->_subTemplateRender("file:inc_head.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

<body>
<h1 class="title"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->main_descr, ENT_QUOTES, 'UTF-8', true);?>
</h1>
<div class="workBack">
  <div class="groupBtn">
    <form method="post">
      <?php if ($_smarty_tpl->tpl_vars['gui']->value->grants->modify) {?>
      <input type="button" id="new_req_spec" name="new_req_spec"
             value="<?php echo $_smarty_tpl->tpl_vars['labels']->value['btn_new_req_spec'];?>
"
             onclick="location='<?php echo $_smarty_tpl->tpl_vars['req_spec_new_url']->value;
echo $_smarty_tpl->tpl_vars['gui']->value->tproject_id;?>
'" />
      <?php }?>

      <input type="button" id="export_all" name="export_all"
             value="<?php echo $_smarty_tpl->tpl_vars['labels']->value['btn_export_all_reqspec'];?>
"
             onclick="location='<?php echo $_smarty_tpl->tpl_vars['req_export_url']->value;
echo $_smarty_tpl->tpl_vars['gui']->value->tproject_id;?>
'" />

      <?php if ($_smarty_tpl->tpl_vars['gui']->value->grants->modify) {?>
      <input type="button" id="import_all" name="import_all"
             value="<?php echo $_smarty_tpl->tpl_vars['labels']->value['btn_import'];?>
"
             onclick="location='<?php echo $_smarty_tpl->tpl_vars['req_import_url']->value;
echo $_smarty_tpl->tpl_vars['gui']->value->tproject_id;?>
'" />
      <?php }?>
    </form>
  </div>
</div>

<?php if ($_smarty_tpl->tpl_vars['gui']->value->refresh_tree == "yes") {?>
  <?php $_smarty_tpl->_subTemplateRender("file:inc_refreshTree.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
}?>

</body>
</html>
<?php }
}
