summaryrefslogtreecommitdiff
path: root/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-16 18:56:47 +0300
committerAndrew Dolgov <[email protected]>2021-02-16 18:56:47 +0300
commit78325333a724c5bc50199c054bb530af65190c34 (patch)
treefe5fcb4b7557fb93d8f2d28bd411f1de4adf5d1c /init.php
parent7ce4fb487fff83741ac4cf3e9c45667a0ebc5fa0 (diff)
replace a few more controls to new style
Diffstat (limited to 'init.php')
-rwxr-xr-xinit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.php b/init.php
index 638ea06..39daab2 100755
--- a/init.php
+++ b/init.php
@@ -123,7 +123,7 @@ class Af_Img_Phash extends Plugin {
<fieldset class='narrow'>
<label class='checkbox'>
- <?= format_checkbox("phash_enable_globally", $enable_globally) ?>
+ <?= \Controls\checkbox_tag("phash_enable_globally", $enable_globally) ?>
<?= $this->__( "Enable for all feeds") ?>
</label>
</fieldset>
@@ -161,7 +161,7 @@ class Af_Img_Phash extends Plugin {
<section>
<fieldset>
<label class='checkbox'>
- <?= format_checkbox("phash_similarity_enabled", in_array($feed_id, $enabled_feeds)) ?>
+ <?= \Controls\checkbox_tag("phash_similarity_enabled", in_array($feed_id, $enabled_feeds)) ?>
<?= $this->__( 'Filter similar images') ?></label>
</fieldset>
</section>