summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/htdocs/modules/h2/006/006.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 13:43:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 13:43:02 +0000
commitfdf532b1ed005481d9fc9a49ed2bf3f9d29db64d (patch)
tree380619f479f5eb58405b52500266132dbda8f95c /debian/perl-framework/t/htdocs/modules/h2/006/006.js
parentMerging upstream version 2.4.59. (diff)
downloadapache2-fdf532b1ed005481d9fc9a49ed2bf3f9d29db64d.tar.xz
apache2-fdf532b1ed005481d9fc9a49ed2bf3f9d29db64d.zip
Merging debian version 2.4.59-1~deb12u1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/perl-framework/t/htdocs/modules/h2/006/006.js')
-rwxr-xr-xdebian/perl-framework/t/htdocs/modules/h2/006/006.js31
1 files changed, 0 insertions, 31 deletions
diff --git a/debian/perl-framework/t/htdocs/modules/h2/006/006.js b/debian/perl-framework/t/htdocs/modules/h2/006/006.js
deleted file mode 100755
index b450067..0000000
--- a/debian/perl-framework/t/htdocs/modules/h2/006/006.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * JavaScript Functions File
- */
-function returnDate()
-{
- var currentDate;
- currentDate=new Date();
- var dateString=(currentDate.getMonth()+1)+'/'+currentDate.getDate()+'/'+currentDate.getFullYear();
- return dateString;
-}
-
-function returnHour()
-{
- var currentDate;
- currentDate=new Date();
- var hourString=currentDate.getHours()+':'+currentDate.getMinutes()+':'+currentDate.getSeconds();
- return hourString;
-}
-
-function javaScriptMessage(){
- return 'This section is generated under JavaScript:<br>';
-}
-
-function mainJavascript(){
- document.write(javaScriptMessage())
- document.write('<ul class="listElements">');
- document.write('<li>Current date (dd/mm/yyyy): ' + returnDate());
- document.write('<br>');
- document.write('<li>Current time (hh:mm:ss): '+returnHour());
- document.write('</ul>');
-} \ No newline at end of file