blob: c1d2537bc8c2bbb3a79f34170e459cd6b1fa62c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<? local view = ... ?>
<html>
<body>
<h1>Edit configuration</h1>
<h2>Details</h2>
<dt>File name</dt>
<dd><?= view.filecontent.filedetails.longname ?></dd>
<dt>File size</dt>
<dd><?= view.filecontent.filedetails.size ?></dd>
<dt>Last modified</dt>
<dd><?= view.filecontent.filedetails.mtimelong ?></dd>
<h2>Content</h2>
<form name="myform" action="" method="POST">
<input name="name" type=hidden value="<?= view.filecontent.filedetails.name ?>">
<textarea name="modifications"><?= view.filecontent.value ?></textarea>
<input type="submit" name="cmd" value="update" class="submit"><p class="error"><?= view.filecontent.errtxt ?></p></form>
</body>
</html>
|