News: This forum is now permanently frozen.
Pages: [1]
Topic: AUP Splash Page  (Read 2584 times)
« on: August 31, 2009, 07:39:47 »
fat turbos *
Posts: 1

I've searched around on google as well as the forums, I couldn't find anything that really answered my question. But, I will admit, I'm poor when it comes to html, and coding.

I am building a captive portal, and I have a splash page that has an AUP and an I consent button that activates a continue button that goes to a login page. Well I put the two pages together, and uploaded the login.html to the monowall via the file manager and set the aup.html as the main page, and just as I thought. It didn't work, I figured it wouldn't be that easy.

I''ve included the code to the aup.html below

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Warning!</title>
</head>
<body><center>
  <p>Please Read Carefully!  </p>
  <p>WARNING: IF YOU ARE NOT AUTHORIZED TO ACCESS THIS SYSTEM,
    DISCONNECT IMMEDIATELY.</p>
  <p>This  system  is  for authorized individuals only.  Individuals
    using this system are  subject to having all of their activities monitored and logged.
    Anyone  using  this  system  expressly consents to such
    monitoring  and is advised that if such monitoring reveals possible
    evidence   of  criminal  activity,    logs will be provided
    as  evidence to law enforcement officials.  Crimes may be prosecuted to the fullest extent possible under state and federal law. </p>
  <p>&nbsp;</p>
    </center>
<center>
<form action="login.html">
  <p>
  I Consent
    <input type="checkbox" onclick="if (this.checked){this.form.tr.disabled=0}else{this.form.tr.disabled=1}">
  </p>
  <p>
    <input name="tr" type="submit" disabled="1" value="Continue" />
  </p>
</form>
</center>
</body>
</html>

It won't redirect to the login.html page.

Any ideas?
« Reply #1 on: September 13, 2009, 18:36:15 »
Lee Sharp *****
Posts: 517

It don't work that way.  Grin  You need to login from the page referenced in the login page field, not one stored in the file manager.  I have an AUP, where the "login button" is labeled "I accept" and my terms are "By loging in, I accept the terms and conditions above" or "By clicking below..."
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines