From 4f5204dd451afbaf316e2567a792f2878147b4cb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 20 Jul 2015 12:44:59 +0300 Subject: [PATCH] af_redditimgur: add crude dupe checking based on content links --- plugins/af_redditimgur/init.php | 47 ++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 4 deletions(-) diff --git a/plugins/af_redditimgur/init.php b/plugins/af_redditimgur/init.php index 023d7c181..59b97d6e5 100644 --- a/plugins/af_redditimgur/init.php +++ b/plugins/af_redditimgur/init.php @@ -23,6 +23,9 @@ class Af_RedditImgur extends Plugin { $enable_readability = $this->host->get($this, "enable_readability"); $enable_readability_checked = $enable_readability ? "checked" : ""; + $enable_dupecheck = $this->host->get($this, "enable_dupecheck"); + $enable_dupecheck_checked = $enable_dupecheck ? "checked" : ""; + print "
"; print "