source: git/htdocs/cacher/edit.tpl.php @ d2e943a

3.03.13.2trunk
Last change on this file since d2e943a was d2e943a, checked in by Xuefer <xuefer@…>, 7 years ago

closes #287: namespace support

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1146 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

  • Property mode set to 100644
File size: 698 bytes
Line 
1<?php include "../common/header.tpl.php"; ?>
2<?php
3$h_name = htmlspecialchars(var_export($name, true));
4$h_value = htmlspecialchars($value);
5?>
6<form method="post" action="">
7    <fieldset>
8        <legend><?php echo sprintf(_T("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(_T("Set %s in config to enable"), "\$config['enable_eval'] = true");
14        }
15        ?>
16    </fieldset>
17</form>
18<?php include "../common/footer.tpl.php"; ?>
Note: See TracBrowser for help on using the repository browser.