Skip to content

Commit f9908ab

Browse files
Merge pull request #141 from openaustralia/fix/830-use-https-not-http-www-theyworkforyou-co-nz
Remove NZ check and http://www.theyworkforyou.co.nz link
2 parents a41eb4f + 5c7fb2d commit f9908ab

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

www/includes/easyparliament/page.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,6 @@ public function page_body() {
497497
twfy_debug("PAGE", "This page: $this_page");
498498

499499
print "\t<a name=\"top\"></a>\n\n";
500-
if (defined('OPTION_GAZE_URL') && OPTION_GAZE_URL && (gaze_get_country_from_ip(ip_address()) == 'NZ' || get_http_var('nz'))) {
501-
print '<p align="center"><strong>New!</strong> You\'re in New Zealand, so check out <a href="http://www.theyworkforyou.co.nz">OpenAustralia.co.nz</a></p>';
502-
}
503500

504501
$this->title_bar();
505502

@@ -522,9 +519,6 @@ public function page_body_mobile() {
522519
twfy_debug("PAGE", "This page: $this_page");
523520

524521
print "\t<a name=\"top\"></a>\n\n";
525-
if (defined('OPTION_GAZE_URL') && OPTION_GAZE_URL && (gaze_get_country_from_ip(ip_address()) == 'NZ' || get_http_var('nz'))) {
526-
print '<p align="center"><strong>New!</strong> You\'re in New Zealand, so check out <a href="http://www.theyworkforyou.co.nz">OpenAustralia.co.nz</a></p>';
527-
}
528522

529523
$this->title_bar_mobile();
530524

0 commit comments

Comments
 (0)