diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-03-09 19:15:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-09 19:15:47 +0100 |
commit | 9c5daad19c850d852f2e78ca571ad199362c0ffe (patch) | |
tree | 856bdcfe728cba86331a9d7c35d41d558d0fe00a /index.php | |
parent | 1e38df6606a1faf86f5f6b2e94b61dec250db622 (diff) | |
parent | e6cd773f5a8bd757c9362524cfeb3f7cb7fa81c9 (diff) | |
download | Shaarli-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.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -62,6 +62,7 @@ require_once __DIR__ . '/vendor/autoload.php'; | |||
62 | require_once 'application/ApplicationUtils.php'; | 62 | require_once 'application/ApplicationUtils.php'; |
63 | require_once 'application/Cache.php'; | 63 | require_once 'application/Cache.php'; |
64 | require_once 'application/CachedPage.php'; | 64 | require_once 'application/CachedPage.php'; |
65 | require_once 'application/config/ConfigPlugin.php'; | ||
65 | require_once 'application/FeedBuilder.php'; | 66 | require_once 'application/FeedBuilder.php'; |
66 | require_once 'application/FileUtils.php'; | 67 | require_once 'application/FileUtils.php'; |
67 | require_once 'application/HttpUtils.php'; | 68 | require_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(), |