Browse Source

Add files via upload

Capitan Cloud 1 year ago
parent
commit
4d3f01d8cf
2 changed files with 15 additions and 0 deletions
  1. 4 0
      index.php
  2. 11 0
      jscheck.html

+ 4 - 0
index.php

@@ -588,6 +588,10 @@
 </head>
 <body style="<?php echo(DISPLAY_BODY_CSS);?>">
 
+<?php if (file_exists(APP_PATH . DIRECTORY_SEPARATOR . "jscheck.html")): ?>
+<?php include(APP_PATH . DIRECTORY_SEPARATOR . "jscheck.html"); ?> 
+<?php endif; ?>
+
 <form id="frmHC" method="POST" action="/" target="_self" enctype="multipart/form-data">
 
 <?php if(APP_USE === "PRIVATE"): ?>

+ 11 - 0
jscheck.html

@@ -0,0 +1,11 @@
+<div id="mynoscriptmsg" style="height:5000px;margin:30px;font-weight:900;">
+Actitude was developed using javascript technology too. Please enable javascript to get the website running properly.  
+</div>
+<script>
+  document.getElementById("mynoscriptmsg").style.display = "none";
+</script>  
+<noscript>
+  <div style="color:black;">
+    Javascript not detected.
+  </div>
+</noscript>