From: Stricted Date: Wed, 3 Jun 2015 12:58:22 +0000 (+0200) Subject: fix encoding X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=580f0b08f607139f9c7002c8355d6f39e14d4b02;p=GitHub%2FStricted%2FDomain-Control-Panel.git fix encoding --- diff --git a/lib/page/RecordAddPage.class.php b/lib/page/RecordAddPage.class.php index 6c31ea6..ce7c6b8 100644 --- a/lib/page/RecordAddPage.class.php +++ b/lib/page/RecordAddPage.class.php @@ -19,7 +19,7 @@ class RecordAddPage extends AbstractPage { $soaIDs = User::getAccessibleDomains(); if (!in_array($_GET['id'], $soaIDs)) { - throw new \Exception('Access denied. You’re not authorized to view this page.', 403); + throw new \Exception('Access denied. You\'re not authorized to view this page.', 403); } $idna = new idna_convert(); diff --git a/lib/page/RecordEditPage.class.php b/lib/page/RecordEditPage.class.php index 2d62717..c9a0ae8 100644 --- a/lib/page/RecordEditPage.class.php +++ b/lib/page/RecordEditPage.class.php @@ -24,7 +24,7 @@ class RecordEditPage extends AbstractPage { $soaIDs = User::getAccessibleDomains(); if (!in_array($rr['zone'], $soaIDs)) { - throw new \Exception('Access denied. You’re not authorized to view this page.', 403); + throw new \Exception('Access denied. You\'re not authorized to view this page.', 403); } $sql = "SELECT * FROM dns_soa WHERE id = ?"; diff --git a/lib/page/RecordListPage.class.php b/lib/page/RecordListPage.class.php index 2e7959d..36a97f1 100644 --- a/lib/page/RecordListPage.class.php +++ b/lib/page/RecordListPage.class.php @@ -19,7 +19,7 @@ class RecordListPage extends AbstractPage { $soaIDs = User::getAccessibleDomains(); if (!in_array($_GET['id'], $soaIDs)) { - throw new \Exception('Access denied. You’re not authorized to view this page.', 403); + throw new \Exception('Access denied. You\'re not authorized to view this page.', 403); } $idna = new idna_convert(); diff --git a/lib/page/SecAddPage.class.php b/lib/page/SecAddPage.class.php index 2a6e0c9..40c243e 100644 --- a/lib/page/SecAddPage.class.php +++ b/lib/page/SecAddPage.class.php @@ -17,7 +17,7 @@ class SecAddPage extends AbstractPage { print_r($_REQUEST); $soaIDs = User::getAccessibleDomains(); if (!in_array($_GET['id'], $soaIDs)) { - throw new \Exception('Access denied. You’re not authorized to view this page.', 403); + throw new \Exception('Access denied. You\'re not authorized to view this page.', 403); } $sql = "SELECT * FROM dns_soa WHERE id = ?"; diff --git a/lib/page/SecListPage.class.php b/lib/page/SecListPage.class.php index 6a205be..d1fde52 100644 --- a/lib/page/SecListPage.class.php +++ b/lib/page/SecListPage.class.php @@ -19,7 +19,7 @@ class SecListPage extends AbstractPage { $soaIDs = User::getAccessibleDomains(); if (!in_array($_GET['id'], $soaIDs)) { - throw new \Exception('Access denied. You’re not authorized to view this page.', 403); + throw new \Exception('Access denied. You\'re not authorized to view this page.', 403); } $sql = "SELECT * FROM dns_soa WHERE id = ?";