From dbc430e3d56097dcf63e68a55ca44ee3769329d1 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 26 Jul 2018 00:26:46 +0100 Subject: [PATCH] link to main and backup image --- ext/rule34/main.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/rule34/main.php b/ext/rule34/main.php index ae1679a4..7a6fc24e 100644 --- a/ext/rule34/main.php +++ b/ext/rule34/main.php @@ -24,8 +24,9 @@ class Rule34 extends Extension { public function onImageInfoBoxBuilding(ImageInfoBoxBuildingEvent $event) { global $config; $image_link = $config->get_string('image_ilink'); - $url = $event->image->parse_link_template($image_link, "url_escape", 1); - $html = "LinksBackup Image Server"; + $url0 = $event->image->parse_link_template($image_link, "url_escape", 0); + $url1 = $event->image->parse_link_template($image_link, "url_escape", 1); + $html = "LinksImage Only (Backup Server)"; $event->add_part($html, 90); }