示例#1
0
 /**
  * load configuration values
  *
  * @param string $file
  * @param string $section
  * @param string $scope
  */
 function config_load($file, $section = null, $scope = 'global')
 {
     require_once $this->_get_plugin_filepath('function', 'config_load');
     smarty_function_config_load(array('file' => $file, 'section' => $section, 'scope' => $scope), $this);
 }
<?php

/* Smarty version 2.6.22, created on 2009-03-03 00:22:56
   compiled from default/subtemplates/login.tpl.inc */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'default/subtemplates/login.tpl.inc', 1, false))), $this);
echo smarty_function_config_load(array('file' => $this->_tpl_vars['settings']['language_file'], 'section' => 'login'), $this);
?>

<?php 
if ($this->_tpl_vars['ip_temporarily_blocked']) {
    echo $this->_config[0]['vars']['login_message'];
    ?>

<p class="caution"><?php 
    echo $this->_config[0]['vars']['login_ip_temp_blocked'];
    ?>
</p>
<?php 
} else {
    if ($this->_tpl_vars['login_message'] && $this->_config[0]['vars'][$this->_tpl_vars['login_message']]) {
        ?>
<p class="<?php 
        if ($this->_tpl_vars['login_message'] == 'account_activated') {
            ?>
ok<?php 
        } else {
            ?>
caution<?php 
        }
        ?>
<?php

/* Smarty version 2.6.9, created on 2006-08-01 19:28:11
   compiled from int_orderapproval.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'int_orderapproval.tpl', 1, false))), $this);
echo smarty_function_config_load(array('file' => "lang/eng/language.conf", 'section' => 'OrderPage'), $this);
?>


<?php 
if ($this->_tpl_vars['mt_language'] != 'eng') {
    echo smarty_function_config_load(array('file' => "lang/" . $this->_tpl_vars['mt_language'] . "/language.conf", 'section' => 'OrderPage'), $this);
}
?>

<form method="<?php 
echo $this->_tpl_vars['form_get_post'];
?>
" action="<?php 
echo $this->_tpl_vars['str_returnurl'];
?>
" name="MyForm">
<table width="100%" cellspacing="0">
  <tr>
    <td align="center"><b><?php 
if ($this->_tpl_vars['cond_istest']) {
    echo $this->_config[0]['vars']['OP_TestModeMessage'];
} else {
    echo $this->_config[0]['vars']['OP_LiveModeMessage'];
    echo $this->_tpl_vars['str_emailaddress'];
echo lang_get_smarty(array('var' => 'labels', 's' => 'caption_nav_settings, caption_nav_filters, platform, test_plan,
                        build,filter_tcID,filter_on,filter_result,
                        btn_update_menu,btn_apply_filter,keyword,keywords_filter_help,
                        filter_owner,TestPlan,test_plan,caption_nav_filters,
                        platform, include_unassigned_testcases,
                        btn_remove_all_tester_assignments, execution_type, 
                        do_auto_update, testsuite, btn_reset_filters,
                        btn_bulk_update_to_latest_version, priority, tc_title,
                        custom_field, search_type_like,
                        document_id, req_expected_coverage, title,
                        status, req_type, req_spec_type, th_tcid, has_relation_type,btn_export_testplan_tree'), $this);
?>


<?php 
echo smarty_function_config_load(array('file' => "input_dimensions.conf", 'section' => 'treeFilterForm'), $this);
?>


<form method="post" id="filter_panel_form" name="filter_panel_form">

<?php 
if (isset($this->_tpl_vars['control']->form_token)) {
    ?>
  <input type="hidden" name="form_token" value="<?php 
    echo $this->_tpl_vars['control']->form_token;
    ?>
">
<?php 
}
?>
<?php

/* Smarty version 2.6.26, created on 2010-02-25 17:11:02
   compiled from rule_data_add.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'rule_data_add.tpl', 2, false))), $this);
echo smarty_function_config_load(array('file' => 'template.conf', 'section' => 'Configuration'), $this);
?>

<FORM action="rules.php?tab=rdata&cmd=<?php 
if ($this->_tpl_vars['rd_id']) {
    ?>
rd_edit<?php 
} else {
    ?>
rd_inst<?php 
}
?>
&c=3 " method="post">
<table width=100% cellspacing=0 cellpadding=1 border=0 class='<?php 
echo $this->_config[0]['vars']['tblClass'];
?>
'>
<tr><td colspan=2>
<?php 
echo $this->_config[0]['vars']['domainAddTitle'];
?>

<hr>
</td>
</tr>
<?php

/* Smarty version 2.6.26, created on 2010-09-27 12:59:54
   compiled from testcases/tcView.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'testcases/tcView.tpl', 16, false), array('function', 'lang_get', 'testcases/tcView.tpl', 17, false), array('modifier', 'escape', 'testcases/tcView.tpl', 134, false))), $this);
?>

<?php 
echo smarty_function_config_load(array('file' => "input_dimensions.conf"), $this);
?>

<?php 
echo lang_get_smarty(array('var' => 'labels', 's' => 'no_records_found,other_versions,show_hide_reorder,version,title_test_case,match_count'), $this);
?>


<?php 
$this->assign('showMode', $this->_tpl_vars['gui']->show_mode);
$this->assign('deleteStepAction', "lib/testcases/tcEdit.php?show_mode=" . $this->_tpl_vars['showMode'] . "&doAction=doDeleteStep&step_id=");
?>

<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc_head.tpl", 'smarty_include_vars' => array('openHead' => 'yes')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<script language="JavaScript" src="gui/javascript/expandAndCollapseFunctions.js" type="text/javascript"></script>
<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
<?php

/* Smarty version 2.6.28, created on 2015-03-22 00:00:26
   compiled from index.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'index.tpl', 1, false), array('function', 'html_select_date', 'index.tpl', 64, false), array('function', 'html_select_time', 'index.tpl', 70, false), array('function', 'html_options', 'index.tpl', 77, false), array('modifier', 'capitalize', 'index.tpl', 9, false), array('modifier', 'date_format', 'index.tpl', 12, false), array('modifier', 'upper', 'index.tpl', 22, false))), $this);
echo smarty_function_config_load(array('file' => "test.conf", 'section' => 'setup'), $this);
?>

<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'foo')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

<PRE>

<?php 
if ($this->_config[0]['vars']['bold']) {
    ?>
<b><?php 
}
?>
Title: <?php 
echo is_array($_tmp = $this->_config[0]['vars']['title']) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp);
?>

<?php 
if ($this->_config[0]['vars']['bold']) {
    ?>
      alert(warning_empty_keyword);
      selectField(f, \'keyword\');
      return false;
  }
  return true;
}
</script>
';
?>

</head>

<body>
<?php 
$this->assign('cfg_section', is_array($_tmp = is_array($_tmp = 'keywords/keywordsEdit.tpl') ? $this->_run_mod_handler('basename', true, $_tmp) : basename($_tmp)) ? $this->_run_mod_handler('replace', true, $_tmp, ".tpl", "") : smarty_modifier_replace($_tmp, ".tpl", ""));
echo smarty_function_config_load(array('file' => "input_dimensions.conf", 'section' => $this->_tpl_vars['cfg_section']), $this);
?>


<h1 class="title"><?php 
echo is_array($_tmp = $this->_tpl_vars['main_descr']) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp);
?>
</h1>

<?php 
if ($this->_tpl_vars['canManage'] != "") {
    ?>
  <div class="workBack">
  
  <div class="action_descr"><?php 
    echo is_array($_tmp = $this->_tpl_vars['action_descr']) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp);
  
  return true;
}
</script>
';
?>


</head>

<body onLoad="<?php 
echo $this->_tpl_vars['opt_cfg']->js_ot_name;
?>
.init(document.forms[0]);focusInputField('name')">
<?php 
echo smarty_function_config_load(array('file' => "input_dimensions.conf", 'section' => 'containerEdit'), $this);
?>
 
<h1 class="title"><?php 
echo $this->_tpl_vars['parent_info']['description'];
echo @TITLE_SEP;
echo is_array($_tmp = $this->_tpl_vars['parent_info']['name']) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp);
?>
</h1>

<div class="workBack">
<h1 class="title"><?php 
echo $this->_tpl_vars['labels']['title_create'];
?>
 <?php 
echo lang_get_smarty(array('s' => $this->_tpl_vars['level']), $this);
    echo $this->_tpl_vars['tlCfg']->gui->text_editor['all']['type'];
    ?>
";
</script>
<script src="gui/javascript/checkmodified.js" type="text/javascript"></script>
<?php 
}
?>
</head>

<body onLoad="<?php 
echo $this->_tpl_vars['opt_cfg']->js_ot_name;
?>
.init(document.forms[0]);focusInputField('testcase_name')">
<?php 
echo smarty_function_config_load(array('file' => "input_dimensions.conf", 'section' => 'tcNew'), $this);
?>

<h1 class="title"><?php 
echo $this->_tpl_vars['labels']['title_edit_tc'];
echo @TITLE_SEP;
echo is_array($_tmp = $this->_tpl_vars['gui']->tc['name']) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp);
?>

	<?php 
echo @TITLE_SEP_TYPE3;
echo $this->_tpl_vars['labels']['version'];
?>
 <?php 
echo $this->_tpl_vars['gui']->tc['version'];
?>
<?php

/* Smarty version 2.6.26, created on 2009-09-01 23:12:22
   compiled from index.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'index.tpl', 1, false))), $this);
echo smarty_function_config_load(array('file' => 'template.conf'), $this);
?>

<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
  
    <div class="<?php 
echo $this->_config[0]['vars']['cptBox'];
?>
" align=center><b>Webekci 2.0</b></div>

<table width="95%">
<tr>
<td>
<fieldset>
  <legend style='color:#39C;'>Configuration </legend>
<?php

/* Smarty version 2.6.28, created on 2016-02-28 19:11:54
   compiled from install.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'install.tpl', 1, false))), $this);
echo smarty_function_config_load(array('file' => 'example.conf'), $this);
?>

<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="col-sm-12 col-md-12 col-lg-12">
    <?php 
if (isset($this->_tpl_vars['error'])) {
    ?>
        <div class="alert alert-danger " role="alert"><h4 class="text-center"><?php 
    echo $this->_tpl_vars['error'];
    ?>
</h4></div>
    <?php 
}
?>
    <h3 class="text-center">Укажите параметры для подключения к Вашей базе данных</h3>
    <form action="http://<?php 
echo $_SERVER['SERVER_NAME'];
?>
/install" method="post" class="form-horizontal">
<?php

/* Smarty version 2.6.26, created on 2009-09-01 23:05:34
   compiled from wb_manage.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'wb_manage.tpl', 2, false), array('function', 'html_checkboxes', 'wb_manage.tpl', 10, false))), $this);
echo smarty_function_config_load(array('file' => 'template.conf', 'section' => 'WebekciManage'), $this);
?>

<FORM action="webekci_manage.php?tab=wbmng&c=0" method="post">	
<table width=100% cellspacing=0 cellpadding=4 border=0 class='<?php 
echo $this->_config[0]['vars']['tblClass'];
?>
'>
<tr><td>
<?php 
echo $this->_config[0]['vars']['wbManageTitle'];
?>

<hr>
</td></tr>
<tr><td>
   <?php 
echo smarty_function_html_checkboxes(array('name' => 'mchoise', 'options' => $this->_tpl_vars['wb_list'], 'selected' => $this->_tpl_vars['selected_wb'], 'separator' => '<br/>'), $this);
?>

</td></tr>
<tr><td>
<input type=submit value=Commit name=submit />
</td></tr>
</table>
<?php

/* Smarty version 2.6.18, created on 2010-01-28 10:58:44
   compiled from Default_main.htm */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'Default_main.htm', 1, false), array('function', 'url', 'Default_main.htm', 9, false))), $this);
echo smarty_function_config_load(array('file' => "env.conf"), $this);
?>

<html>
<head>
<title><?php 
echo $this->_config[0]['vars']['title'];
?>
</title>
<base target="mainFrame"/>
</head>
<frameset rows="95%,35" frameborder="NO" border="0" framespacing="0">
	<frameset cols="180,*" frameborder="NO" border="0" framespacing="0">
	  <frame src="<?php 
echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'Default', 'action' => 'Index', 'op' => 'left'), $this);
?>
" name="leftFrame" noresize scrolling="yes">
	  <frame src="<?php 
echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'Default', 'action' => 'Index', 'op' => 'right'), $this);
?>
" name="mainFrame" scrolling="auto">
	</frameset>
	<frame src="<?php 
echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'Default', 'action' => 'bottom'), $this);
?>
?>


<script type="text/javascript">
var alert_box_title = "<?php 
echo lang_get_smarty(array('s' => 'warning'), $this);
?>
";
var warning_empty_title = "<?php 
echo lang_get_smarty(array('s' => 'enter_attachment_title'), $this);
?>
";
</script>
<body onunload="attachmentDlg_onUnload()" onload="attachmentDlg_onLoad()">
<?php 
echo smarty_function_config_load(array('file' => "input_dimensions.conf", 'section' => 'attachmentupload'), $this);
?>


<h1 class="title"><?php 
echo $this->_tpl_vars['labels']['title_upload_attachment'];
?>
</h1>
<?php 
if ($this->_tpl_vars['gui']->uploaded == 1) {
    ?>
  <?php 
    $_smarty_tpl_vars = $this->_tpl_vars;
    $this->_smarty_include(array('smarty_include_tpl_file' => "inc_update.tpl", 'smarty_include_vars' => array('user_feedback' => $this->_tpl_vars['labels']['attachment_upload_ok'])));
    $this->_tpl_vars = $_smarty_tpl_vars;
    unset($_smarty_tpl_vars);