Skip to content

Commit 2851ba1

Browse files
committed
Revert SOPA changes.
1 parent c1c138e commit 2851ba1

File tree

3 files changed

+1
-83
lines changed

3 files changed

+1
-83
lines changed

include/layout.inc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,6 @@ function site_header($title = '', $config = array())
199199
}
200200

201201

202-
$ts = time();
203-
// Hardcode 11am Jan.18 UTC to 5am Jan.19 UTC time window
204-
if($ts>=1326884400 && $ts<1326949200) {
205-
$sopa_bar = <<<EOBAR
206-
<div style="width:100%;height:50px;vertical-align:middle;text-align:center;background-color:#000;color:#ffffff; position:absolute;z-index:5555;top:8px;left:0px;background:#000000;"><p style="margin-top:15px;">Stop SOPA/PIPA <a href="http://americancensorship.org" style="color:#dede00;">[americancensorship.org]</a></p></div>
207-
EOBAR;
208-
} else $sopa_bar = '';
209-
210202
print <<<END_HEADER
211203
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
212204
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
@@ -231,7 +223,6 @@ EOBAR;
231223
<body{$onload}>
232224
233225
<div id="headnav">
234-
$sopa_bar
235226
<a href="/" rel="home"><img src="{$_SERVER['STATIC_ROOT']}/images/php.gif"
236227
alt="PHP" width="120" height="67" id="phplogo" /></a>
237228
<div id="headmenu">

index-sopa.php

Lines changed: 0 additions & 67 deletions
This file was deleted.

index.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,5 @@
55
if (myphpnet_beta()) {
66
include $_SERVER['DOCUMENT_ROOT'] . '/index-beta.php';
77
} else {
8-
$ts = time();
9-
// Hardcode 11am Jan.18 UTC to 5am Jan.19 UTC time window
10-
if($ts>=1326884400 && $ts<1326949200) {
11-
include $_SERVER['DOCUMENT_ROOT'] . '/index-sopa.php';
12-
} else {
13-
include $_SERVER['DOCUMENT_ROOT'] . '/index-stable.php';
14-
}
8+
include $_SERVER['DOCUMENT_ROOT'] . '/index-stable.php';
159
}

0 commit comments

Comments
 (0)