summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-06-02 17:49:49 +0000
committerTed Trask <ttrask01@yahoo.com>2008-06-02 17:49:49 +0000
commit1ad185d3004918e3fabf86f4c752093ff369ea81 (patch)
treeb556567d0b212ad6e42df6c24f101a56742f685a
parent3fb4985ae7cd7d5c8fc874ec03c5c0ad7c2d8456 (diff)
downloadacf-alpine-baselayout-1ad185d3004918e3fabf86f4c752093ff369ea81.tar.bz2
acf-alpine-baselayout-1ad185d3004918e3fabf86f4c752093ff369ea81.tar.xz
Removing obsolete files
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1193 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--interfaces-config-html.lsp39
-rw-r--r--interfaces-delete-html.lsp20
-rw-r--r--template-logfiles-download-html.lsp19
3 files changed, 0 insertions, 78 deletions
diff --git a/interfaces-config-html.lsp b/interfaces-config-html.lsp
deleted file mode 100644
index 8f61b4b..0000000
--- a/interfaces-config-html.lsp
+++ /dev/null
@@ -1,39 +0,0 @@
-<? local form = ...
-require("viewfunctions")
-?>
-<?
---[[ DEBUG INFORMATION
-io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
-io.write(html.cfe_unpack(form))
-io.write("</span>")
---]]
-?>
-
-<H1>INTERFACES</H1>
-<H2>Edit interfaces</H2>
-<DL>
-<?
-local myform = form.iface
-for k,v in pairs(myform) do
- local myform=v
- if (myform.name.value ~= "") then
- io.write("<DT><IMG SRC='/skins/static/tango/16x16/devices/network-wired.png' width='16' height='16'> " .. (myform.name.value or '') .. "</DT><DD>")
- io.write("<TABLE STYLE='margin-bottom:10px'>")
- local tags = { "edit", "method", "address", "netmask", "gateway", "provider", "hostname", "pre-up", "up", "down", "post-down", "comment", }
- for k1,v1 in pairs(tags) do
- if (myform[v1]['value'] ~= "") then
- io.write("<TR><TD WIDTH='120px' STYLE='font-weight:bold;border:none;'>" .. myform[v1]['label'] .. "</TD>")
- if (myform[v1]['type'] == "link") then
- io.write("<TD STYLE='border:none;'>[ <A HREF='update?iface=" .. myform.name.value .. "'>" .. string.gsub(myform[v1]['value'], "\n", "<BR>") .. "</A> ]</TD></TR>")
- else
- io.write("<TD STYLE='border:none;'>" .. string.gsub(myform[v1]['value'], "\n", "<BR>") .. "</TD></TR>")
- end
- end
- end
- io.write("</TABLE>")
- end
-
-end
-io.write("</DD>")
-?>
-</DL>
diff --git a/interfaces-delete-html.lsp b/interfaces-delete-html.lsp
deleted file mode 100644
index 86bc224..0000000
--- a/interfaces-delete-html.lsp
+++ /dev/null
@@ -1,20 +0,0 @@
-<? local form = ... ?>
-
-<h1>Delete Interface <?= form.value.iface.value ?></h1>
-
-<form action="<?= form.option.script .. "/" .. form.option.prefix ..
- form.option.controller .. "/" .. form.option.action ..
- form.option.extra ?>" method="POST">
-<table>
-
-<? local myform = form.value ?>
-<p>Are you you sure you want to delete <?= myform.iface.value ?></p>
-<center>
-<?
--- We need to put in a form that holds the interfaces name (it should be hidden).
-io.write(html.form[myform.iface.type](myform.iface))
-?>
-<?= html.form[myform.action1.type](myform.action1) ?>
-<?= html.form[myform.action2.type](myform.action2) ?>
-</center>
-</form>
diff --git a/template-logfiles-download-html.lsp b/template-logfiles-download-html.lsp
deleted file mode 100644
index f73af33..0000000
--- a/template-logfiles-download-html.lsp
+++ /dev/null
@@ -1,19 +0,0 @@
-<? local viewtable, viewlibrary, pageinfo, session = ...
- html=require("html") ?>
-Status: 200 OK
-Content-Type: application/octet-stream
-Content-Disposition: attachment; filename="<?= viewtable.logfile.name ?>"
-<? if (session.id) then
- io.write( html.cookie.set("sessionid", session.id) )
- else
- io.write (html.cookie.unset("sessionid"))
- end
-
-
- -- headers separated by a blank line
- io.write ("\n")
-
- local func = haserl.loadfile(viewtable.logfile.value)
- func (viewtable)
-
- ?>