gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r15322 - gauger/web


From: gnunet
Subject: [GNUnet-SVN] r15322 - gauger/web
Date: Fri, 27 May 2011 04:48:13 +0200

Author: bartpolot
Date: 2011-05-27 04:48:13 +0200 (Fri, 27 May 2011)
New Revision: 15322

Modified:
   gauger/web/template.php
   gauger/web/template_menu.php
Log:
Removed test and debug code


Modified: gauger/web/template.php
===================================================================
--- gauger/web/template.php     2011-05-27 02:41:30 UTC (rev 15321)
+++ gauger/web/template.php     2011-05-27 02:48:13 UTC (rev 15322)
@@ -488,12 +488,6 @@
             }
         }
 
-        function reset_session() {
-            $.cookie('instant_search_hosts', null);
-            $.cookie('instant_search_metrics', null);
-            document.location = '?logout=1';
-        }
-
         function get_category(s) {
             return s.replace(/:::.*/g, '');
         }
@@ -507,20 +501,10 @@
             return s.replace(/.*___/g, '');
         }
 
-        function debug(param) {
-            $( "#debug" ).html($( "#debug" ).html() + param + ' ');
-        }
-
-        function test() {
-            $.get('ajax.php');
-            alert(unescape(document.cookie));
-        }
-
         </script>
 
     </head>
     <body>
-        <div id="debug"></div>
         <div class="header">
             <?php include "template_menu.php" ?>
             <a href="<?php echo url() ?>" class="name"><img src="<?php echo 
url("images/l.png") ?>" /></a>
@@ -581,8 +565,6 @@
         </div>
         <div class="footer-shadow"></div>
         <div id="footer">
-            <p><a href="<?php echo url("registration") ?>">Browser 
registration</a></p>
-            <br>
             <p>Copyright 2011 Bartlomiej Polot (address@hidden)</p>
             <p>This software is distributed under the <a target="_blank" 
href="http://www.gnu.org/licenses/agpl.html";>GNU AGPL</a></p>
             <p>

Modified: gauger/web/template_menu.php
===================================================================
--- gauger/web/template_menu.php        2011-05-27 02:41:30 UTC (rev 15321)
+++ gauger/web/template_menu.php        2011-05-27 02:48:13 UTC (rev 15322)
@@ -51,7 +51,6 @@
                     <div id="right-range-y">Y</div>
                     <input id="right-range-y-input" value="<?php echo 
get_session('png_y_size', '480') ?>"></input>
                     <div class="slider" id="change_size_y_slider"></div>
-                </div> | 
-                <a href="#" onclick="reset_session(); return false;">Reset 
Session</a>
-                | <a href="#" onclick="test(); return false;">Test</a>
+                </div> |
+                <a href="<?php echo url("registration") ?>">Browser 
registration</a>
             </div>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]