2012-07-27 07:17:42 +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-24 09:08:51 +00:00
|
|
|
<legend><?php echo sprintf(_("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-24 09:08:51 +00:00
|
|
|
echo sprintf(_("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-27 07:17:42 +00:00
|
|
|
<?php include("../common/footer.tpl.php"); ?>
|