Changeset 383 for beta/pages/webconfig.php
- Timestamp:
- Sep 28, 2008, 11:22:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
beta/pages/webconfig.php
r377 r383 5 5 if (isset($_POST["save"])) 6 6 { 7 setcookie("hof-random",$_POST["random"]); 8 setcookie("hof-widget",$_POST["widget"]); 9 setcookie("hof-quick",$_POST["quick"]); 7 $year = 7 * 24 * 60 * 60; 8 setcookie("hof-random",$_POST["random"],time()+$year); 9 setcookie("hof-widget",$_POST["widget"],time()+$year); 10 setcookie("hof-quick",$_POST["quick"],time()+$year); 11 setcookie("hof-web",$_POST["web"],time()+$year); 10 12 $msg = "<br /><center><b>Ukládám změny.</b></center><br /> 11 13 <meta http-equiv=\"refresh\" content=\"1;url=?page=webconfig\">"; … … 34 36 $default = "yes"; 35 37 break; 38 case "web": 39 $default = "2"; 40 break; 36 41 } 37 setcookie("hof-".$value,$default); 42 $year = 7 * 24 * 60 * 60; 43 setcookie("hof-".$value,$default,time()+$year); 38 44 $msg = "<br /><center><b>Nahrávám základní nastavení</b></center><br /> 39 45 <meta http-equiv=\"refresh\" content=\"1;url=?page=webconfig\">"; … … 59 65 Ne <input type=\"radio\" name=\"quick\" value=\"no\"".Check("quick","no")."> 60 66 <br /> 67 <b>Zobrazovat web</b><br /> 68 Web 1.0 (původní menu vlevo) <input type=\"radio\" name=\"web\" value=\"1\"".Check("web","1")."><br /> 69 Web 2.0 (nový menu vpravo) <input type=\"radio\" name=\"web\" value=\"2\"".Check("web","2")."> 70 <br /> 61 71 62 72
Note:
See TracChangeset
for help on using the changeset viewer.