summaryrefslogtreecommitdiffstats
path: root/lbu-status-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-01-22 16:14:48 +0000
committerMika Havela <mika.havela@gmail.com>2008-01-22 16:14:48 +0000
commit8d5450a1ad2402c0e5b764a5e033cd9134dd4d23 (patch)
tree276631edba7b2c34399d8702c2f66bb48f09d3a5 /lbu-status-html.lsp
parent3928babbc55caa5c8b3914fa0a4c26a916c0dbbb (diff)
downloadacf-alpine-conf-8d5450a1ad2402c0e5b764a5e033cd9134dd4d23.tar.bz2
acf-alpine-conf-8d5450a1ad2402c0e5b764a5e033cd9134dd4d23.tar.xz
Added functionallity when activating/deactivating encryption and there already exists a apkovl on the media.
This commit option doesn't look nice, but it works. Need to figure out a better way of doing this. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@627 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lbu-status-html.lsp')
-rw-r--r--lbu-status-html.lsp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lbu-status-html.lsp b/lbu-status-html.lsp
index 796212b..856a050 100644
--- a/lbu-status-html.lsp
+++ b/lbu-status-html.lsp
@@ -16,10 +16,8 @@
<dt>Archives will be saved to</dt>
<dd><?= view.status.LBU_MEDIA ?></DD>
<? end ?>
-<? if (view.status.ENCRYPTION) then ?>
<dt>Archives will be encrypted</dt>
- <dd>yes <I>(Using cipher: <?= view.status.DEFAULT_CIPHER or "unknown" ?>)</I></DD>
-<? end ?>
+ <dd><? if (view.status.ENCRYPTION) then io.write("yes <I>(Using cipher: " ..view.status.DEFAULT_CIPHER .. ")</I>") else io.write("No") end ?></DD>
</dl>
<H2>CHANGES SINCE LAST COMMIT</H2>