From 4deeb6016a2a364826636f488b17768632dd16ca Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 28 Jul 2008 06:48:16 +0000 Subject: use <% %> instead of git-svn-id: svn://svn.alpinelinux.org/acf/squid/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed --- squid-advanced-html.lsp | 18 +++++++++--------- squid-authentication-html.lsp | 26 ++++++++++++------------- squid-basic-html.lsp | 44 +++++++++++++++++++++---------------------- squid-dep-html.lsp | 4 ++-- squid-digest-html.lsp | 6 +++--- squid-saccess-html.lsp | 10 +++++----- squid-status-html.lsp | 12 ++++++------ 7 files changed, 60 insertions(+), 60 deletions(-) diff --git a/squid-advanced-html.lsp b/squid-advanced-html.lsp index 2a62e88..a175159 100644 --- a/squid-advanced-html.lsp +++ b/squid-advanced-html.lsp @@ -1,4 +1,4 @@ - +%>

SYSTEM INFO

- +%>
@@ -34,7 +34,7 @@ displayinfo(myform,tags,"viewonly")

Configuration

- +

Save Changes

@@ -48,10 +48,10 @@ the configuration files for the service are changed. However, the changes will n

MANAGEMENT

-
Daemon control
> -> -> - 0) then ?>
+
Daemon control
> +> +> +<% if (service.message) and (service.message.descr) and (#service.message.descr > 0) then %>
<% io.write( service.message.descr ) %>
<% end %>
diff --git a/squid-authentication-html.lsp b/squid-authentication-html.lsp index a9e9280..3071134 100644 --- a/squid-authentication-html.lsp +++ b/squid-authentication-html.lsp @@ -1,4 +1,4 @@ - +%>

SYSTEM INFO

- +%>

Configuration

@@ -37,7 +37,7 @@ displayinfo(myform,tags,"viewonly") Choose the desired authentication mechanisms and their order.

- +
@@ -51,7 +51,7 @@ Choose the desired authentication mechanisms and their order. Active
@@ -103,9 +103,9 @@ the changes will not be applied until you restart the service.

MANAGEMENT

-
Daemon control
> -> -> - 0) then ?>
+
Daemon control
> +> +> +<% if (service.message) and (service.message.descr) and (#service.message.descr > 0) then %>
<% io.write( service.message.descr ) %>
<% end %>
diff --git a/squid-basic-html.lsp b/squid-basic-html.lsp index c1dacd9..2ee56dc 100644 --- a/squid-basic-html.lsp +++ b/squid-basic-html.lsp @@ -1,4 +1,4 @@ - +%>

SYSTEM INFO

- +%>

Configuration

@@ -37,9 +37,9 @@ displayinfo(myform,tags,"viewonly")
proxyip
-
+
proxyport
-
+

Filter Service

@@ -51,17 +51,17 @@ for filtering. Anything not matching the regular expression filter will bypass t It is safe to leave this at the default settings.

-
filterip
-
filterport
-
FilterRegex
+
filterip
+
filterport
+
FilterRegex

Access Logs

This determines if the visited sites are logged or not.

Log visited sites
-
> No access log -> Use access log
+
> No access log +> Use access log

Disk Cache Parameters

@@ -70,8 +70,8 @@ but it requires a local hard disk.

Enable disk caching
-
>No ->Yes
+
>No +>Yes

Allowed Ports

@@ -81,16 +81,16 @@ servers run on other ports as well. These fields list all ports and port ranges

It is safe to leave these values at their default values.

-
Safe_ports
-
SSL_ports
+
Safe_ports
+
SSL_ports

Save changes

Save above changes
- 0 then ?> -
Config status
- +<% if #service.error > 0 then %> +
Config status
<% io.write(service.error ) %>
+<% end %>
Process information
This process runs as a service. When you make and save changes, the configuration files for the service are changed. However, the changes will not be applied until you restart the service.
@@ -101,10 +101,10 @@ until you restart the service.

MANAGEMENT

-
Daemon control
> -> -> - 0) then ?>
+
Daemon control
> +> +> +<% if (service.message) and (service.message.descr) and (#service.message.descr > 0) then %>
<% io.write( service.message.descr ) %>
<% end %>
diff --git a/squid-dep-html.lsp b/squid-dep-html.lsp index 3cacc54..30d727e 100644 --- a/squid-dep-html.lsp +++ b/squid-dep-html.lsp @@ -1,5 +1,5 @@ - +<% +%>

Web Proxy Configuration

Dependancy Check - Failed!

diff --git a/squid-digest-html.lsp b/squid-digest-html.lsp index b41ecde..b441698 100644 --- a/squid-digest-html.lsp +++ b/squid-digest-html.lsp @@ -1,4 +1,4 @@ - +%>

Web Proxy Configuration

General Information

@@ -20,7 +20,7 @@

User List

- +

Save Changes

diff --git a/squid-saccess-html.lsp b/squid-saccess-html.lsp index b864d1f..be3ea5e 100644 --- a/squid-saccess-html.lsp +++ b/squid-saccess-html.lsp @@ -1,4 +1,4 @@ - +%>

Web Proxy - Special Access

General Information

@@ -27,7 +27,7 @@ If you wish to specify hosts that may access the Internet by IP address, enter the address(es) in the box below, one per line.

- +

Browser Identification

@@ -36,7 +36,7 @@ specify it here. Note that any client identifying itself as this type of browser will be allowed anonymous access. Enter the browser identification(s) in the box below, one per line. Regular expressions are allowed.

- +

Special Domains

@@ -44,7 +44,7 @@ If you have a specail domain that needs to be accessed in a special way, you may specify if here. This will allow anonymous access to the domains listed. Enter the domain url below. Regular expressions are allowed.

- +

Save Changes

diff --git a/squid-status-html.lsp b/squid-status-html.lsp index 806318f..59cb502 100644 --- a/squid-status-html.lsp +++ b/squid-status-html.lsp @@ -1,22 +1,22 @@ - +%> -DEBUGGING

DEBUG INFO: CFE

") io.write(html.cfe_unpack(form)) io.write("
") --]] -?> +%>

SYSTEM INFO

- +%>

General information

-- cgit v1.2.3
@@ -77,7 +77,7 @@ Choose the desired authentication mechanisms and their order. Selectable