summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2016-08-10 15:01:43 +0000
committerTed Trask <ttrask01@yahoo.com>2016-08-10 15:01:43 +0000
commit97a93a241431868e7c03f8b59de02a0c904e534f (patch)
tree816dca0d60aaf48e7ecd300c29069f8eb820d4a2
parent6241ac35a267439dc61d141fe0d519538e99e182 (diff)
downloadacf-freeradius3-97a93a241431868e7c03f8b59de02a0c904e534f.tar.bz2
acf-freeradius3-97a93a241431868e7c03f8b59de02a0c904e534f.tar.xz
Remove trailing whitespace
-rw-r--r--Makefile2
-rw-r--r--freeradius3-editmacauthfile-html.lsp2
-rw-r--r--freeradius3-listfiles-html.lsp4
-rw-r--r--freeradius3-listmacauthfiles-html.lsp2
-rw-r--r--freeradius3-listpasswdfiles-html.lsp2
-rw-r--r--freeradius3-model.lua8
-rw-r--r--freeradius3-viewpasswdfile-html.lsp2
7 files changed, 11 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index eddec30..8a3aa95 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ APP_DIST=\
EXTRA_DIST=README Makefile config.mk
-DISTFILES=$(APP_DIST) $(EXTRA_DIST)
+DISTFILES=$(APP_DIST) $(EXTRA_DIST)
TAR=tar
diff --git a/freeradius3-editmacauthfile-html.lsp b/freeradius3-editmacauthfile-html.lsp
index 37ff038..ca103d1 100644
--- a/freeradius3-editmacauthfile-html.lsp
+++ b/freeradius3-editmacauthfile-html.lsp
@@ -7,7 +7,7 @@
document.write('<script type="text/javascript" src="<%= html.html_escape(page_info.wwwprefix) %>/js/jquery-latest.js"><\/script>');
}
</script>
-
+
<script type="text/javascript">
var editEntry = '<td> \
<a href="javascript:;"><img src="<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>/tango/16x16/actions/list-remove.png" width="16" height="16" title="Remove entry"></a> \
diff --git a/freeradius3-listfiles-html.lsp b/freeradius3-listfiles-html.lsp
index 1586893..cefce19 100644
--- a/freeradius3-listfiles-html.lsp
+++ b/freeradius3-listfiles-html.lsp
@@ -1,4 +1,4 @@
-<% local view, viewlibrary, page_info, session = ...
+<% local view, viewlibrary, page_info, session = ...
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
@@ -25,7 +25,7 @@ html = require("acf.html")
<% htmlviewfunctions.displaycommandresults({"editfile", "deletefile"}, session) %>
<% htmlviewfunctions.displaycommandresults({"createfile"}, session, true) %>
-<% if viewlibrary and viewlibrary.dispatch_component then
+<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
end %>
diff --git a/freeradius3-listmacauthfiles-html.lsp b/freeradius3-listmacauthfiles-html.lsp
index 39096b8..d7a1132 100644
--- a/freeradius3-listmacauthfiles-html.lsp
+++ b/freeradius3-listmacauthfiles-html.lsp
@@ -1,4 +1,4 @@
-<% local view, viewlibrary, page_info, session = ...
+<% local view, viewlibrary, page_info, session = ...
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/freeradius3-listpasswdfiles-html.lsp b/freeradius3-listpasswdfiles-html.lsp
index ecf36a0..723ac98 100644
--- a/freeradius3-listpasswdfiles-html.lsp
+++ b/freeradius3-listpasswdfiles-html.lsp
@@ -1,4 +1,4 @@
-<% local view, viewlibrary, page_info, session = ...
+<% local view, viewlibrary, page_info, session = ...
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/freeradius3-model.lua b/freeradius3-model.lua
index aad8eae..f56951c 100644
--- a/freeradius3-model.lua
+++ b/freeradius3-model.lua
@@ -247,7 +247,7 @@ local get_passwd_entry_private = function(self, clientdata, create)
end
local hash
if passwdconfig then
- -- The filename is valid, and we should create the fields
+ -- The filename is valid, and we should create the fields
retval.value.fields = cfe({ type="group", value={}, label="Fields", seq=3, delimiter=passwdconfig.delimiter })
if not create then retval.value.entry.errtxt = "Invalid entry" end
local content = fs.read_file(retval.value.filename.value) or ""
@@ -400,7 +400,7 @@ end
function mymodule.get_startstop(self, clientdata)
return modelfunctions.get_startstop(processname)
end
-
+
function mymodule.startstop_service(self, startstop, action)
return modelfunctions.startstop_service(startstop, action)
end
@@ -479,7 +479,7 @@ function mymodule.deletefile(self, delfile)
break
end
end
-
+
return delfile
end
@@ -584,7 +584,7 @@ function mymodule.get_passwd(self, clientdata)
usernamefield = i
end
end
-
+
local contenttable = fs.read_file_as_array(retval.value.filename.value) or {}
local entry = tonumber(retval.value.entry.value) or 0
if contenttable[entry] then
diff --git a/freeradius3-viewpasswdfile-html.lsp b/freeradius3-viewpasswdfile-html.lsp
index 304833e..d32ac40 100644
--- a/freeradius3-viewpasswdfile-html.lsp
+++ b/freeradius3-viewpasswdfile-html.lsp
@@ -1,4 +1,4 @@
-<% local view, viewlibrary, page_info, session = ...
+<% local view, viewlibrary, page_info, session = ...
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>