aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-03-09 19:15:48 +0100
committerGitHub <noreply@github.com>2017-03-09 19:15:47 +0100
commit9c5daad19c850d852f2e78ca571ad199362c0ffe (patch)
tree856bdcfe728cba86331a9d7c35d41d558d0fe00a /index.php
parent1e38df6606a1faf86f5f6b2e94b61dec250db622 (diff)
parente6cd773f5a8bd757c9362524cfeb3f7cb7fa81c9 (diff)
downloadShaarli-9c5daad19c850d852f2e78ca571ad199362c0ffe.tar.gz
Shaarli-9c5daad19c850d852f2e78ca571ad199362c0ffe.tar.zst
Shaarli-9c5daad19c850d852f2e78ca571ad199362c0ffe.zip
Merge pull request #792 from ArthurHoaro/feature/private-filter-visual
Display private only filter as search criteria
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index 77857d27..3c2bb1d2 100644
--- a/index.php
+++ b/index.php
@@ -62,6 +62,7 @@ require_once __DIR__ . '/vendor/autoload.php';
62require_once 'application/ApplicationUtils.php'; 62require_once 'application/ApplicationUtils.php';
63require_once 'application/Cache.php'; 63require_once 'application/Cache.php';
64require_once 'application/CachedPage.php'; 64require_once 'application/CachedPage.php';
65require_once 'application/config/ConfigPlugin.php';
65require_once 'application/FeedBuilder.php'; 66require_once 'application/FeedBuilder.php';
66require_once 'application/FileUtils.php'; 67require_once 'application/FileUtils.php';
67require_once 'application/HttpUtils.php'; 68require_once 'application/HttpUtils.php';
@@ -1681,6 +1682,7 @@ function buildLinkList($PAGE,$LINKSDB, $conf, $pluginManager)
1681 'result_count' => count($linksToDisplay), 1682 'result_count' => count($linksToDisplay),
1682 'search_term' => $searchterm, 1683 'search_term' => $searchterm,
1683 'search_tags' => $searchtags, 1684 'search_tags' => $searchtags,
1685 'visibility' => ! empty($_SESSION['privateonly']) ? 'private' : '',
1684 'redirector' => $conf->get('redirector.url'), // Optional redirector URL. 1686 'redirector' => $conf->get('redirector.url'), // Optional redirector URL.
1685 'links' => $linkDisp, 1687 'links' => $linkDisp,
1686 'tags' => $LINKSDB->allTags(), 1688 'tags' => $LINKSDB->allTags(),