81 lines
2.9 KiB
PHP
81 lines
2.9 KiB
PHP
<?php
|
|
/* Smarty version 3.1.30, created on 2021-07-14 09:49:02
|
|
from "/home/www/_rejestracja/Admin/template/partial/Setup/Edit.tpl" */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.30',
|
|
'unifunc' => 'content_60ee96eedb82d6_53696308',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'b9d13e7d2ea16d1c8381506f2f3577ebbb43da6b' =>
|
|
array (
|
|
0 => '/home/www/_rejestracja/Admin/template/partial/Setup/Edit.tpl',
|
|
1 => 1394800688,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_60ee96eedb82d6_53696308 (Smarty_Internal_Template $_smarty_tpl) {
|
|
if (!is_callable('smarty_block_dropDownContainer')) require_once '/home/www/_rejestracja/core/plugins/Smarty/block.dropDownContainer.php';
|
|
if (!is_callable('smarty_function_url')) require_once '/home/www/_rejestracja/core/plugins/Smarty/function.url.php';
|
|
?>
|
|
<div class="panelRightTop"></div>
|
|
<div class="panelRightBody">
|
|
<div class="paddedContent">
|
|
<?php $_smarty_tpl->smarty->_cache['_tag_stack'][] = array('dropDownContainer', array('title'=>"Zmienne systemowe"));
|
|
$_block_repeat1=true;
|
|
echo smarty_block_dropDownContainer(array('title'=>"Zmienne systemowe"), null, $_smarty_tpl, $_block_repeat1);
|
|
while ($_block_repeat1) {
|
|
ob_start();
|
|
?>
|
|
|
|
<form method="post" action="<?php echo smarty_function_url(array('_value'=>'setup'),$_smarty_tpl);?>
|
|
">
|
|
<table align="center" class="adminTable" cellpadding="2" cellspacing="2" style="width: 500px;">
|
|
<tr>
|
|
<td>nazwa zmiennej</td>
|
|
<td><input type="text" value="<?php if ($_smarty_tpl->tpl_vars['objVariable']->value) {
|
|
echo $_smarty_tpl->tpl_vars['objVariable']->value['variable'];
|
|
}?>" name="variable" class="input" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>wartość zmiennej</td>
|
|
<td><input type="text" value="<?php if ($_smarty_tpl->tpl_vars['objVariable']->value) {
|
|
echo $_smarty_tpl->tpl_vars['objVariable']->value['value'];
|
|
}?>" name="value" class="input" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>opis (opcjonalnie)</td>
|
|
<td><input type="text" value="<?php if ($_smarty_tpl->tpl_vars['objVariable']->value) {
|
|
echo $_smarty_tpl->tpl_vars['objVariable']->value['description'];
|
|
}?>" name="description" class="input" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td><input type="submit" value="Zapisz" name="addVariable" class="button buttonZapisz" />
|
|
<input type="button" value="Anuluj" name="cancel" class="button buttonAnuluj" onclick="document.location.href='<?php echo smarty_function_url(array('_value'=>'setup'),$_smarty_tpl);?>
|
|
' " />
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
<?php $_block_repeat1=false;
|
|
echo smarty_block_dropDownContainer(array('title'=>"Zmienne systemowe"), ob_get_clean(), $_smarty_tpl, $_block_repeat1);
|
|
}
|
|
array_pop($_smarty_tpl->smarty->_cache['_tag_stack']);?>
|
|
|
|
</div><!-- /paddedContent -->
|
|
</div><!-- /panelRightBody -->
|
|
<div class="panelRightBottom">
|
|
|
|
</div>
|
|
|
|
<input type="hidden" name="variableId" value="" />
|
|
</form><?php }
|
|
}
|