Commit: 704e97a9906fca48822e087535d4bb1b2d6a79da Author: Kalle Sommer Nielsen <[email protected]> Wed, 20 Nov 2013 04:50:25 +0100 Parents: 20b40524b07ea88c8411372a8e02fc9623160004 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=704e97a9906fca48822e087535d4bb1b2d6a79da Log: Remove references to the php.net beta design in my.php and always make myphp[dot]net_beta() return true Changed paths: M include/prepend.inc M my.php Diff: diff --git a/include/prepend.inc b/include/prepend.inc index 7bb4ec3..b0625c1 100644 --- a/include/prepend.inc +++ b/include/prepend.inc @@ -183,12 +183,14 @@ function myphpnet_setbeta($bool = false) { $MYPHPNET[4] = (bool) $bool; } function myphpnet_beta() { +/* global $MYPHPNET; global $MYSITE; if (isset($_GET["beta"])) { return (bool)$_GET["beta"]; } +*/ return true; } diff --git a/my.php b/my.php index 8193e68..6940e1e 100644 --- a/my.php +++ b/my.php @@ -67,10 +67,6 @@ if (isset($_POST['hidesuggest'])) { myphpnet_hidesuggest($_POST['hidesuggest']); } -if (isset($_POST['beta'])) { - myphpnet_setbeta($_POST['beta']); -} - myphpnet_save(); site_header("My PHP.net", array("current" => "community")); @@ -273,24 +269,6 @@ foreach ($mirror_sites as $murl => $mdata) { </select> </div> - -<h2>PHP.net beta</h2> - -<p> - php.net is undergoing plastic surgery these days. If you want to see - how the site <strong>may</strong> look in the future, you can join our beta program. - <br /> - Comments, feedback and patches should be directed to - <a href="mailto:[email protected]">[email protected]</a>. -</p> - -<div class="indent"> - <select name="beta"> - <option value="0" <?php echo myphpnet_beta() ? "" : "selected" ?>>Disable</option> - <option value="1" <?php echo myphpnet_beta() ? "selected" : "" ?>>Enable</option> - </select> -</div> - <p class="center"> <input type="submit" value="Set All Preferences" /> </p> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
