This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 7457b6b342 HTML clean ups for ASP files (#348)
7457b6b342 is described below
commit 7457b6b3422ba4d22ffa81d42e199c64140411ca
Author: John Bampton <[email protected]>
AuthorDate: Mon Mar 31 06:42:44 2025 +1000
HTML clean ups for ASP files (#348)
---
main/sd/res/webview/editpic.asp | 71 ++++++++++++++++++++---------------------
main/sd/res/webview/poll.asp | 18 +++++------
main/sd/res/webview/show.asp | 32 +++++++++----------
3 files changed, 59 insertions(+), 62 deletions(-)
diff --git a/main/sd/res/webview/editpic.asp b/main/sd/res/webview/editpic.asp
index 0323809a2e..07f261d971 100755
--- a/main/sd/res/webview/editpic.asp
+++ b/main/sd/res/webview/editpic.asp
@@ -36,43 +36,42 @@
%>
<html>
-<head>
-</head>
-<body>
- <form action="savepic.asp" method="get">
- <%
- if isNumeric(nPic) then
- if (CInt( nPic ) >= CInt(
(UBound(aPictureArray ) - 1 ) / 2 )) then
- nPic = nUpper
- end if
- else
- nPic = nUpper
- end if
+ <head></head>
+ <body>
+ <form action="savepic.asp" method="get">
+ <%
+ if isNumeric(nPic) then
+ if (CInt( nPic ) >= CInt( (UBound(aPictureArray ) - 1 ) /
2 )) then
+ nPic = nUpper
+ end if
+ else
+ nPic = nUpper
+ end if
- if CInt( nPic ) > 1 then
- %>
- <input type="submit" name="Auswahl" value="-"></input>
- <%
- else
- %>
- <input type="button" value=" "></input>
- <%
- end if
+ if CInt( nPic ) > 1 then
+ %>
+ <input type="submit" name="Auswahl" value="-"></input>
+ <%
+ else
+ %>
+ <input type="button" value=" "></input>
+ <%
+ end if
+ %>
+ <input type="text" name="CurrPic" value="<% = nPic %>"
size="3"></input>
+ <%
+ if CInt( nPic ) < CInt( nUpper ) then
+ %>
+ <input type="submit" name="Auswahl" value="+"></input>
+ <%
+ else
+ %>
+ <input type="button" value=" "></input>
+ <%
+ end if
%>
- <input type="text" name="CurrPic" value="<% = nPic %>"
size="3"></input>
- <%
- if CInt( nPic ) < CInt( nUpper ) then
- %>
- <input type="submit" name="Auswahl" value="+"></input>
- <%
- else
- %>
- <input type="button" value=" "></input>
- <%
- end if
- %>
- <input type="submit" name="Auswahl" value="$$2"></input>
- </form>
-</body>
+ <input type="submit" name="Auswahl" value="$$2"></input>
+ </form>
+ </body>
</html>
diff --git a/main/sd/res/webview/poll.asp b/main/sd/res/webview/poll.asp
index 220d55c132..7b405867e9 100755
--- a/main/sd/res/webview/poll.asp
+++ b/main/sd/res/webview/poll.asp
@@ -25,11 +25,10 @@
<!-- #include file = "common.inc" -->
-<HTML>
-
-<HEAD>
- <META http-equiv="refresh" CONTENT="<% = cnRefreshTime %>">
-</HEAD>
+<html>
+ <head>
+ <meta http-equiv="refresh" CONTENT="<% = cnRefreshTime %>">
+ </head>
<%
' get current picture id
@@ -42,15 +41,14 @@
' then store the id of the new picture and show it
Session( "GIFID" ) = nGIFID
%>
- <BODY bgcolor="red"
onLoad="parent.frame1.location.href='./show.asp?<%= nGIFID %>'">
+ <body bgcolor="red"
onLoad="parent.frame1.location.href='./show.asp?<%= nGIFID %>'">
<%
else
%>
- <BODY bgcolor="green">
+ <body bgcolor="green">
<%
end if
%>
-</BODY>
-
-</HTML>
+ </body>
+</html>
diff --git a/main/sd/res/webview/show.asp b/main/sd/res/webview/show.asp
index ec72f28deb..43bab54bca 100755
--- a/main/sd/res/webview/show.asp
+++ b/main/sd/res/webview/show.asp
@@ -44,19 +44,19 @@
End If
%>
-<HTML>
-
-<HEAD>
- <TITLE>$$1</TITLE>
-</HEAD>
-
-<BODY bgcolor="white">
- <table width=100% height=99%>
- <tr valign=center><td align=center>
- <IMG src="<% = sGifName1 %>" width=$$4 height=$$5 border=0>
- <br><IMG src="<% = sGifName2 %>" width=1 height=1 border=0>
- </td></tr>
- </table>
-</BODY>
-
-</HTML>
+<html>
+ <head>
+ <title>$$1</title>
+ </head>
+ <body bgcolor="white">
+ <table width="100%" height="99%">
+ <tr valign="center">
+ <td align="center">
+ <img src="<% = sGifName1 %>" width=$$4 height=$$5
border="0">
+ <br>
+ <img src="<% = sGifName2 %>" width="1" height="1"
border="0">
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>