2012-11-30 - Re: [GRASE-Hotspot] #78: control of general terms and conditions

Header Data

From: GRASE Trac <tr***c@grasehotspot.org>
Message Hash: 248b5cfabefdc43c502b0a26f921bbb22949424d061c1c0742213ede426baac8
Message ID: <065.e84e3f9f8857436a062e3e43c31c53f8@grasehotspot.org>
Reply To: <050.bbfa613c0b83a1d1d9f9fe4ba00245cf@grasehotspot.org>
UTC Datetime: 2012-11-30 01:34:02 UTC
Raw Date: Fri, 30 Nov 2012 08:34:02 -0000

Raw message

#78: control of general terms and conditions
-------------------------+-------------------------------------------------
  Reporter:  sean        |      Owner:  tim
  schneeweiß             |     Status:  closed
      Type:              |  Milestone:  3.8
  enhancement            |    Version:  3.7
  Priority:  minor       |   Keywords:  agb general terms and conditions
 Component:  Splash      |  landing page
  Screens                |
Resolution:  fixed       |
-------------------------+-------------------------------------------------
Changes (by sean schneeweiß):

 * priority:  critical => minor
 * status:  new => closed
 * resolution:   => fixed


Comment:

 Made it :)

 Javascript:
 Changes to chilliLib.js after line 1006

 {{{
 1004 function connect() {
 1005    var username =  document.getElementById('username').value ;
 1006    var password =  document.getElementById('password').value ;
 1007    var agb =  document.getElementById('agb').checked ;

      if (agb == false)
      {
          showErrorMessage('Sie haben die AGB / Nutzungsbedingungen nicht
 akzeptiert');
          return $('#logonMessage').text('Sie haben die AGB /
 Nutzungsbedingungen nicht akzeptiert');
          }
     if (usernam....
 }
 }}}
 Changes to json_html.tmpl after line 38
 {{{
 38 </form>
   <input type="checkbox"  name="agb" id="agb"/> Ich nehme die <a
 href="javascript:void(0)" onclick="window.open('/grase/agb.htm', '_blank',
 'resizable=yes, scrollbars=yes, width=10000, height=10000,
 fullscreen=1')">Allgemeinen Geschäftsbedinungen (AGB) /
 Nutzungsbedingungen</a> an
 }}}
 No javascript:
 Changes to portal.tpl after line 62
 {{{
 62  <button type="submit" name="submit" id="submitbuttonnojs" class="fg-
 button ui-state-default ui-corner-all">Login</button>
 63              <div>
 64              <p><input type="checkbox" name="agb" id="agb"/>Ich nehme
 die <a href=\grase/agb.htm target=\"_blank\")">Allgemeinen
 Geschäftsbedinungen (AGB) / Nutzungsbedingungen</a> an</p>
 65              </div>
 66      </form>
 }}}
 Changes to nojslogin.php after line 15
 {{{
 if (!isset($_POST['agb']))
         {
         header('Location: http://10.1.0.1/grase/uam/help');
                 exit();
         }
 if (! ( $username && $password && $challenge) )
 {
     header("Location: http://$lanip:3990/prelogin");
 }
 }}}

-- 
Ticket URL: <http://trac.grasehotspot.org/ticket/78#comment:11>
GRASE Hotspot <http://grasehotspot.org/>
GRASE Hotspot bug tracker




Thread