From 6c219330ef0c841b7759bca44ac644426881811d Mon Sep 17 00:00:00 2001 From: Alexander Yakovlev Date: Sat, 17 Mar 2018 13:36:40 +0700 Subject: [PATCH] =?UTF-8?q?instead=20=D1=82=D0=B5=D0=BF=D0=B5=D1=80=D1=8C?= =?UTF-8?q?=20=D0=BE=D1=84=D0=B8=D1=86=D0=B8=D0=B0=D0=BB=D1=8C=D0=BD=D1=8B?= =?UTF-8?q?=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/Instead.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/Instead.php b/Source/Instead.php index dea34b1..877b2e8 100644 --- a/Source/Instead.php +++ b/Source/Instead.php @@ -4,7 +4,7 @@ namespace Source; use \Game; class Instead extends Source { - public $title = "Неофициальный INSTEAD репозиторий"; + public $title = "INSTEAD репозиторий"; protected function insteadfeed($url) { $text = $this->get_text($url); $this->dom->loadStr($text, []); @@ -24,7 +24,11 @@ class Instead extends Source { } protected function parse() { $this->insteadfeed("http://instead-games.ru/"); - $this->output .= "##### Песочница\n"; + if (FORMAT === 'HTML') { + $this->output .= "
Песочница
\n"; + } elseif (FORMAT === 'MARKDOWN') { + $this->output .= "##### Песочница\n"; + } $this->insteadfeed("http://instead-games.ru/index.php?approved=0"); } }