summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2016-08-10 15:02:35 +0000
committerTed Trask <ttrask01@yahoo.com>2016-08-10 15:02:35 +0000
commit4b79ae841b596b0c0aaa7f65291f660f73be3d98 (patch)
tree9a78634627718a20e337ea6707c888262f2d1f13
parent23a0e49724d0bc26644b5476219984f104c033b3 (diff)
downloadacf-freeswitch-vmail-master.tar.bz2
acf-freeswitch-vmail-master.tar.xz
Remove trailing whitespaceHEADmaster
-rw-r--r--Makefile2
-rw-r--r--template-processdialplanxml-xml.lsp2
-rw-r--r--template-processdirectoryxml-xml.lsp2
-rw-r--r--vmail-listusers-html.lsp10
4 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index ec0a35e..1e2968f 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ LIB_DIST=authenticator-freeswitch-vmail.lua
EXTRA_DIST=README Makefile config.mk
-DISTFILES=$(APP_DIST) $(LIB_DIST) $(EXTRA_DIST)
+DISTFILES=$(APP_DIST) $(LIB_DIST) $(EXTRA_DIST)
TAR=tar
diff --git a/template-processdialplanxml-xml.lsp b/template-processdialplanxml-xml.lsp
index 0ab808a..c0e99c0 100644
--- a/template-processdialplanxml-xml.lsp
+++ b/template-processdialplanxml-xml.lsp
@@ -5,7 +5,7 @@ Content-Type: Content Type: text/xml
<document type="freeswitch/xml">
<section name="dialplan">
<context name="default">
-
+
<extension name="unloop">
<condition field="${unroll_loops}" expression="^true$"/>
<condition field="${sip_looped_call}" expression="^true$">
diff --git a/template-processdirectoryxml-xml.lsp b/template-processdirectoryxml-xml.lsp
index 0d1fd02..0244557 100644
--- a/template-processdirectoryxml-xml.lsp
+++ b/template-processdirectoryxml-xml.lsp
@@ -14,7 +14,7 @@ Content-Type: Content Type: text/xml
<user id="<%= viewtable.value.username.value %>">
<params>
<param name="vm-enable" value="true>" />
- <%
+ <%
local ignore = {username=true, firstname=true, lastname=true, domain=true, ["vm-password-confirm"]=true }
for name,val in pairs(viewtable.value) do
if not ignore[name] then %>
diff --git a/vmail-listusers-html.lsp b/vmail-listusers-html.lsp
index 6e621e0..704905e 100644
--- a/vmail-listusers-html.lsp
+++ b/vmail-listusers-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")
%>
@@ -40,10 +40,10 @@ html = require("acf.html")
$("#list").tablesorter({headers: {0:{sorter: false}}, widgets: ['zebra', 'filter', 'pager'], widgetOptions: {
// Filtering is handled by the server
filter_serversideFiltering: true,
-
+
// We can put the page number and size here, filtering and sorting handled by pager_customAjaxUrl
pager_ajaxUrl : '<%= html.html_escape(page_info.script .. page_info.orig_action) %>?viewtype=json&page={page+1}&pagesize={size}',
-
+
// Modify the url after all processing has been applied to handle filtering and sorting
pager_customAjaxUrl: function(table, url) {
var columns = ["action", "username", "firstname", "lastname"];
@@ -62,7 +62,7 @@ html = require("acf.html")
}
return url;
},
-
+
// process ajax so that the following information is returned:
// [ total_rows (number), rows (array of arrays), headers (array; optional) ]
pager_ajaxProcessing: function(data){
@@ -96,7 +96,7 @@ html = require("acf.html")
<th>Extension</th>
<th>First Name</th>
<th>Last Name</th>
- </tr>
+ </tr>
</thead><tbody>
</tbody>
</table>