2012-07-29 06:45:04 +00:00
|
|
|
<?php include "../common/header.tpl.php"; ?>
|
2007-05-05 10:30:14 +00:00
|
|
|
<?php
|
|
|
|
$h_name = htmlspecialchars($name);
|
|
|
|
$h_value = htmlspecialchars($value);
|
|
|
|
?>
|
|
|
|
<form method="post" action="">
|
|
|
|
<fieldset>
|
2012-07-30 07:01:36 +00:00
|
|
|
<legend><?php echo sprintf(_T("Editing Variable %s"), $h_name); ?></legend>
|
2009-04-16 08:43:35 +00:00
|
|
|
<textarea name="value" style="width: 100%; height: 200px; overflow-y: auto" <?php echo $editable ? "" : "disabled=disabled"; ?>><?php echo $h_value; ?></textarea><br>
|
2012-07-03 06:46:00 +00:00
|
|
|
<input type="submit" <?php echo $editable ? "" : "disabled=disabled"; ?>>
|
|
|
|
<?php
|
|
|
|
if (!$editable) {
|
2012-07-30 07:01:36 +00:00
|
|
|
echo sprintf(_T("Set %s in config to enable"), "\$config['enable_eval'] = true");
|
2012-07-03 06:46:00 +00:00
|
|
|
}
|
|
|
|
?>
|
2007-05-05 10:30:14 +00:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
2012-07-29 06:45:04 +00:00
|
|
|
<?php include "../common/footer.tpl.php"; ?>
|