|
Revision 1078, 0.7 KB
(checked in by moo, 10 months ago)
|
|
htdocs/cache: re-adds help
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | <?php include "../common/header.tpl.php"; ?> |
|---|
| 2 | <?php |
|---|
| 3 | $h_name = htmlspecialchars($name); |
|---|
| 4 | $h_value = htmlspecialchars($value); |
|---|
| 5 | ?> |
|---|
| 6 | <form method="post" action=""> |
|---|
| 7 | <fieldset> |
|---|
| 8 | <legend><?php echo sprintf(_("Editing Variable %s"), $h_name); ?></legend> |
|---|
| 9 | <textarea name="value" style="width: 100%; height: 200px; overflow-y: auto" <?php echo $editable ? "" : "disabled=disabled"; ?>><?php echo $h_value; ?></textarea><br> |
|---|
| 10 | <input type="submit" <?php echo $editable ? "" : "disabled=disabled"; ?>> |
|---|
| 11 | <?php |
|---|
| 12 | if (!$editable) { |
|---|
| 13 | echo sprintf(_("Set %s in config to enable"), "\$config['enable_eval'] = true"); |
|---|
| 14 | } |
|---|
| 15 | ?> |
|---|
| 16 | </fieldset> |
|---|
| 17 | </form> |
|---|
| 18 | <?php include "../common/footer.tpl.php"; ?> |
|---|