Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acf-weblog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ACF
acf-weblog
Commits
6e7e6c4b
Commit
6e7e6c4b
authored
Oct 09, 2013
by
Ted Trask
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change use of require to work with Lua 5.2
parent
8721aec3
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
12 deletions
+12
-12
weblog-adhocquery-html.lsp
weblog-adhocquery-html.lsp
+1
-1
weblog-listfiles-html.lsp
weblog-listfiles-html.lsp
+1
-1
weblog-listsources-html.lsp
weblog-listsources-html.lsp
+1
-1
weblog-model.lua
weblog-model.lua
+4
-4
weblog-status-html.lsp
weblog-status-html.lsp
+1
-1
weblog-viewactivitylog-html.lsp
weblog-viewactivitylog-html.lsp
+1
-1
weblog-viewauditstats-html.lsp
weblog-viewauditstats-html.lsp
+1
-1
weblog-viewusagestats-html.lsp
weblog-viewusagestats-html.lsp
+1
-1
weblog-viewweblog-html.lsp
weblog-viewweblog-html.lsp
+1
-1
No files found.
weblog-adhocquery-html.lsp
View file @
6e7e6c4b
<% local form, viewlibrary, page_info = ...
require("htmlviewfunctions")
htmlviewfunctions =
require("htmlviewfunctions")
html = require("acf.html")
%>
...
...
weblog-listfiles-html.lsp
View file @
6e7e6c4b
<% local view, viewlibrary, page_info, session = ...
require("htmlviewfunctions")
htmlviewfunctions =
require("htmlviewfunctions")
html = require("acf.html")
%>
...
...
weblog-listsources-html.lsp
View file @
6e7e6c4b
<% local data, viewlibrary, page_info, session = ...
require("htmlviewfunctions")
htmlviewfunctions =
require("htmlviewfunctions")
html = require("acf.html")
%>
...
...
weblog-model.lua
View file @
6e7e6c4b
module
(
...
,
package
.
seeall
)
-- Load libraries
require
(
"modelfunctions"
)
modelfunctions
=
require
(
"modelfunctions"
)
fs
=
require
(
"acf.fs"
)
format
=
require
(
"acf.format"
)
validator
=
require
(
"acf.validator"
)
require
(
"luasql.postgres"
)
require
(
"posix"
)
require
(
"subprocess"
)
luasql
=
require
(
"luasql.postgres"
)
posix
=
require
(
"posix"
)
subprocess
=
require
(
"subprocess"
)
local
DatabaseName
=
"webproxylog"
local
DatabaseOwner
=
"weblogowner"
...
...
weblog-status-html.lsp
View file @
6e7e6c4b
<% local data, viewlibrary, page_info, session = ...
require("htmlviewfunctions")
htmlviewfunctions =
require("htmlviewfunctions")
%>
<% htmlviewfunctions.displaycommandresults({"createdatabase"}, session, true) %>
...
...
weblog-viewactivitylog-html.lsp
View file @
6e7e6c4b
<% local data, viewlibrary, page_info, session = ... %>
<% require("htmlviewfunctions") %>
<%
htmlviewfunctions =
require("htmlviewfunctions") %>
<% html = require("acf.html") %>
<% local subdata, pagedata = htmlviewfunctions.paginate(data.value, page_info.clientdata, 100) %>
...
...
weblog-viewauditstats-html.lsp
View file @
6e7e6c4b
<% local data, viewlibrary, page_info, session = ... %>
<% require("htmlviewfunctions") %>
<%
htmlviewfunctions =
require("htmlviewfunctions") %>
<% html = require("acf.html") %>
<script type="text/javascript">
...
...
weblog-viewusagestats-html.lsp
View file @
6e7e6c4b
<% local data, viewlibrary, page_info, session = ... %>
<% require("htmlviewfunctions") %>
<%
htmlviewfunctions =
require("htmlviewfunctions") %>
<% html = require("acf.html") %>
<% local subdata, pagedata = htmlviewfunctions.paginate(data.value, page_info.clientdata, 100) %>
...
...
weblog-viewweblog-html.lsp
View file @
6e7e6c4b
<% local data, viewlibrary, page_info, session = ... %>
<% require("htmlviewfunctions") %>
<%
htmlviewfunctions =
require("htmlviewfunctions") %>
<% html = require("acf.html") %>
<% format = require("acf.format") %>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment