fix config display. use form::num for update limit, icon for outgoing link

This commit is contained in:
Jean-Christian Denis 2021-09-16 21:49:22 +02:00
parent 68e2a4d1f1
commit 6ca59f2efc
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -127,7 +127,7 @@ __('Enable plugin') . '</label></p>
if ($core->blog->settings->zoneclearFeedServer->zoneclearFeedServer_pub_active) { if ($core->blog->settings->zoneclearFeedServer->zoneclearFeedServer_pub_active) {
echo sprintf( echo sprintf(
'<p><a class="onblog_link" href="%s" title="%s">%s</a></p>', '<p><a class="onblog_link outgoing" href="%s" title="%s">%s <img alt="" src="images/outgoing-link.svg"></a></p>',
$pub_page_url, $pub_page_url,
$pub_page_url, $pub_page_url,
__('View the public list of feeds') __('View the public list of feeds')
@ -154,8 +154,8 @@ form::combo('tag_case', $combo_tagcase, $tag_case) . '</p>
<p><label for="bhv_pub_upd">' . __('Update feeds on public side:') . '</label>' . <p><label for="bhv_pub_upd">' . __('Update feeds on public side:') . '</label>' .
form::combo('bhv_pub_upd', $combo_pubupd, $bhv_pub_upd) . '</p> form::combo('bhv_pub_upd', $combo_pubupd, $bhv_pub_upd) . '</p>
<p><label for="update_limit">' . __('Number of feeds to update at one time:') . '</label>' . <p class="classic"><label for="update_limit" class="ib">' . sprintf(__('Update %s feed(s) at a time.'),
form::field('update_limit', 6, 4, $update_limit) . '</p> form::number('update_limit', ['min' => 0, 'max' => 20, 'default' => $update_limit])) . '</label></p>
<p><label for="keep_empty_feed">' . <p><label for="keep_empty_feed">' .
form::checkbox('keep_empty_feed', 1, $keep_empty_feed) . __('Keep active empty feeds') . '</label></p> form::checkbox('keep_empty_feed', 1, $keep_empty_feed) . __('Keep active empty feeds') . '</label></p>