diff options
author | Mika Havela <mika.havela@gmail.com> | 2008-04-03 13:11:48 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2008-04-03 13:11:48 +0000 |
commit | 463845c548bff6b75d49cb410108818a8bf30de1 (patch) | |
tree | b8102baedb779dca433108382f38f84b446de9fd /openvpn-unknownconfig-html.lsp | |
parent | 8bb8b4a6782a3d795e1cbdfb6ee265338b5005b2 (diff) | |
download | acf-openvpn-463845c548bff6b75d49cb410108818a8bf30de1.tar.bz2 acf-openvpn-463845c548bff6b75d49cb410108818a8bf30de1.tar.xz |
Renamed functions by removing _ sign in functionnames.
git-svn-id: svn://svn.alpinelinux.org/acf/openvpn/trunk@905 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'openvpn-unknownconfig-html.lsp')
-rw-r--r-- | openvpn-unknownconfig-html.lsp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/openvpn-unknownconfig-html.lsp b/openvpn-unknownconfig-html.lsp new file mode 100644 index 0000000..fe8aa1f --- /dev/null +++ b/openvpn-unknownconfig-html.lsp @@ -0,0 +1,29 @@ +<? local view = ... ?> +<html> +<body> +<h1>Configuration file '<?= view.configfilecontent.name ?>'</h1> + +<h2>Details</h2> + +<dt>File name</dt> +<dd><?= view.configfilecontent.filedetails.longname ?></dd> + +<dt>File size</dt> +<dd><?= view.configfilecontent.filedetails.size ?></dd> + +<dt>Last modified</dt> +<dd><?= view.configfilecontent.filedetails.mtimelong ?></dd> + +<dt>This config looks like a</dt> +<dd><a href="<?= view.url ?>/<?= view.configfilecontent.type ?>_config?name=<?= view.configfilecontent.name ?>"><?= view.configfilecontent.type ?></a> config</a></dd> + +<h2>Content</h2> + +<form name="myform" action="" method="POST"> +<input name="name" type="hidden" value="<?= view.configfilecontent.name ?>"> +<textarea name="modifications"><?= view.configfilecontent.value ?></textarea> + +<input type="submit" name="cmd" class="submit" value="update"></form> + +</body> +</html> |