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

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_68f1ea51739621_74689737',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '73ce5929bd0c43c4138ac2e9e9a5980c7fd33f16' => 
    array (
      0 => 'C:\\php5.6\\htdocs\\testlink-1.9.20\\gui\\templates\\tl-classic\\plan\\planExport.tpl',
      1 => 1579460696,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:inc_head.tpl' => 1,
    'file:inc_del_onclick.tpl' => 1,
    'file:error_icon.tpl' => 1,
  ),
),false)) {
function content_68f1ea51739621_74689737 (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',),1=>array('file'=>'C:\\php5.6\\htdocs\\testlink-1.9.20\\vendor\\smarty\\smarty\\libs\\plugins\\function.html_options.php','function'=>'smarty_function_html_options',),));
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang_get'][0], array( array('var'=>"labels",'s'=>'export_filename,warning_empty_filename,file_type,warning,export_cfields,title_req_export,
             view_file_format_doc,export_with_keywords,btn_export,btn_cancel,view_file_format_doc'),$_smarty_tpl ) );?>
 

<?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 $_smarty_tpl->_subTemplateRender("file:inc_head.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('openHead'=>"yes",'jsValidate'=>"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 echo '<script'; ?>
 type="text/javascript">
var alert_box_title = "<?php echo strtr($_smarty_tpl->tpl_vars['labels']->value['warning'], array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
";
var warning_empty_filename = "<?php echo strtr($_smarty_tpl->tpl_vars['labels']->value['warning_empty_filename'], array("\\" => "\\\\", "'" => "\\'", "\"" => "\\\"", "\r" => "\\r", "\n" => "\\n", "</" => "<\/" ));?>
";
function validateForm(f)
{
  if (isWhitespace(f.export_filename.value)) 
  {
    alert_message(alert_box_title,warning_empty_filename);
    selectField(f, 'export_filename');
    return false;
  }
  return true;
}
<?php echo '</script'; ?>
>
</head>

<body>
<h1 class="title"><?php echo $_smarty_tpl->tpl_vars['gui']->value->page_title;
echo @constant('TITLE_SEP');
echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->object_name, ENT_QUOTES, 'UTF-8', true);?>
</h1>

<div class="workBack">

<?php if ($_smarty_tpl->tpl_vars['gui']->value->do_it == 1) {?>
  <form method="post" id="export_xml" enctype="multipart/form-data" 
        action="lib/plan/planExport.php"
        onSubmit="javascript:return validateForm(this);">
    <input type="hidden" name="tproject_id" id="tproject_id" value="<?php echo $_smarty_tpl->tpl_vars['gui']->value->tproject_id;?>
">
    <input type="hidden" name="tplan_id" id="tplan_id" value="<?php echo $_smarty_tpl->tpl_vars['gui']->value->tplan_id;?>
">
    <input type="hidden" name="platform_id" id="platform_id" value="<?php echo $_smarty_tpl->tpl_vars['gui']->value->platform_id;?>
">
    <input type="hidden" name="build_id" id="build_id" value="<?php echo $_smarty_tpl->tpl_vars['gui']->value->build_id;?>
">
    <input type="hidden" name="exportContent" id="exportContent" value="<?php echo $_smarty_tpl->tpl_vars['gui']->value->exportContent;?>
">
    <input type="hidden" name="form_token" id="form_token" value="<?php echo $_smarty_tpl->tpl_vars['gui']->value->treeFormToken;?>
">
    <table>
    <tr>
    <td>
    <?php echo $_smarty_tpl->tpl_vars['labels']->value['export_filename'];?>

    </td>
    <td>
  	<input type="text" id="export_filename" name="export_filename" maxlength="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'FILENAME_MAXLEN');?>
" 
			           value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->export_filename, ENT_QUOTES, 'UTF-8', true);?>
" size="<?php echo $_smarty_tpl->smarty->ext->configLoad->_getConfigVariable($_smarty_tpl, 'FILENAME_SIZE');?>
"/>
			  				<?php $_smarty_tpl->_subTemplateRender("file:error_icon.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('field'=>"export_filename"), 0, false);
?>
  	</td>
  	<tr>
  	<td><?php echo $_smarty_tpl->tpl_vars['labels']->value['file_type'];?>
</td>
  	<td>
  	<select name="exportType">
  		<?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['gui']->value->exportTypes),$_smarty_tpl);?>

  	</select>
	  <a href=<?php echo $_smarty_tpl->tpl_vars['basehref']->value;
echo @constant('PARTIAL_URL_TL_FILE_FORMATS_DOCUMENT');?>
><?php echo $_smarty_tpl->tpl_vars['labels']->value['view_file_format_doc'];?>
</a>
  	</td>
  	</tr>
  	</table>
  	
  	<div class="groupBtn">
  		<input type="submit" name="export" value="<?php echo $_smarty_tpl->tpl_vars['labels']->value['btn_export'];?>
" />
  		<input type="button" name="cancel" value="<?php echo $_smarty_tpl->tpl_vars['labels']->value['btn_cancel'];?>
"
    		     <?php if ($_smarty_tpl->tpl_vars['gui']->value->goback_url != '') {?>  onclick="location='<?php echo $_smarty_tpl->tpl_vars['gui']->value->goback_url;?>
'"
             <?php } elseif ($_smarty_tpl->tpl_vars['gui']->value->closeOnCancel) {?> onclick="window.close();"
    		     <?php } else { ?>  onclick="javascript:history.back();" <?php }?> />
  	</div>
  </form>
<?php } else { ?>
	<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->nothing_todo_msg, ENT_QUOTES, 'UTF-8', true);?>

<?php }?>

</div>

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