summaryrefslogtreecommitdiffstats
path: root/openvpn-unknownconfig-html.lsp
diff options
context:
space:
mode:
authorNatanael Copa <natanael.copa@gmail.com>2008-07-28 06:48:16 +0000
committerNatanael Copa <natanael.copa@gmail.com>2008-07-28 06:48:16 +0000
commita73d96f30bbd0b3cf3fed30337c172c2405c11f7 (patch)
tree3ce61ad72e613253a0436b6d92c1ddcbd4089f1a /openvpn-unknownconfig-html.lsp
parent65f00bd5fcf6abc08235e597e2818d2683c06727 (diff)
downloadacf-openvpn-a73d96f30bbd0b3cf3fed30337c172c2405c11f7.tar.bz2
acf-openvpn-a73d96f30bbd0b3cf3fed30337c172c2405c11f7.tar.xz
use <% %> instead of <? ?>
git-svn-id: svn://svn.alpinelinux.org/acf/openvpn/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'openvpn-unknownconfig-html.lsp')
-rw-r--r--openvpn-unknownconfig-html.lsp16
1 files changed, 8 insertions, 8 deletions
diff --git a/openvpn-unknownconfig-html.lsp b/openvpn-unknownconfig-html.lsp
index fe8aa1f..ab37bfc 100644
--- a/openvpn-unknownconfig-html.lsp
+++ b/openvpn-unknownconfig-html.lsp
@@ -1,27 +1,27 @@
-<? local view = ... ?>
+<% local view = ... %>
<html>
<body>
-<h1>Configuration file '<?= view.configfilecontent.name ?>'</h1>
+<h1>Configuration file '<%= view.configfilecontent.name %>'</h1>
<h2>Details</h2>
<dt>File name</dt>
-<dd><?= view.configfilecontent.filedetails.longname ?></dd>
+<dd><%= view.configfilecontent.filedetails.longname %></dd>
<dt>File size</dt>
-<dd><?= view.configfilecontent.filedetails.size ?></dd>
+<dd><%= view.configfilecontent.filedetails.size %></dd>
<dt>Last modified</dt>
-<dd><?= view.configfilecontent.filedetails.mtimelong ?></dd>
+<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>
+<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 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>