diff options
author | zotlabs <mike@macgirvin.com> | 2018-03-03 15:52:57 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-03-03 15:54:13 -0800 |
commit | 471c3c4d068d1c6d4e149098d400d792fb3550a6 (patch) | |
tree | ef3b02f4527d50f65e407ac81cfd75aed728e2ea | |
parent | ca1022675c84c862e9ae3180a47360040b24e9e2 (diff) | |
download | volse-hubzilla-471c3c4d068d1c6d4e149098d400d792fb3550a6.tar.gz volse-hubzilla-471c3c4d068d1c6d4e149098d400d792fb3550a6.tar.bz2 volse-hubzilla-471c3c4d068d1c6d4e149098d400d792fb3550a6.zip |
add dummy f= arg to suggestion urls, use directory version of suggest for newmember link instead of the suggest module as the UI is prettier.
-rw-r--r-- | Zotlabs/Module/Directory.php | 2 | ||||
-rw-r--r-- | Zotlabs/Widget/Newmember.php | 6 | ||||
-rwxr-xr-x | view/tpl/peoplefind.tpl | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/Zotlabs/Module/Directory.php b/Zotlabs/Module/Directory.php index b1552a694..85c0be6b6 100644 --- a/Zotlabs/Module/Directory.php +++ b/Zotlabs/Module/Directory.php @@ -17,7 +17,7 @@ class Directory extends \Zotlabs\Web\Controller { intval(local_channel()), dbesc($_GET['ignore']) ); - goaway(z_root() . '/directory?suggest=1'); + goaway(z_root() . '/directory?f=&suggest=1'); } $observer = get_observer_hash(); diff --git a/Zotlabs/Widget/Newmember.php b/Zotlabs/Widget/Newmember.php index 0279f339f..cdb70e23d 100644 --- a/Zotlabs/Widget/Newmember.php +++ b/Zotlabs/Widget/Newmember.php @@ -39,9 +39,9 @@ class Newmember { t('Find and Connect with others'), [ - 'directory' => t('View the directory'), - 'suggest' => t('View friend suggestions'), - 'connections' => t('Manage your connections'), + 'directory' => t('View the directory'), + 'directory?f=&suggest=1' => t('View friend suggestions'), + 'connections' => t('Manage your connections'), ], t('Communicate'), diff --git a/view/tpl/peoplefind.tpl b/view/tpl/peoplefind.tpl index 5f420f6d0..b4d9ef19f 100755 --- a/view/tpl/peoplefind.tpl +++ b/view/tpl/peoplefind.tpl @@ -10,7 +10,7 @@ </form> <ul class="nav nav-pills flex-column"> {{if $similar}}<li class="nav-item"><a class="nav-link" href="match" >{{$similar}}</a></li>{{/if}} - {{if $loggedin}}<li class="nav-item"><a class="nav-link" href="directory?suggest=1" >{{$suggest}}</a></li>{{/if}} + {{if $loggedin}}<li class="nav-item"><a class="nav-link" href="directory?f=&suggest=1" >{{$suggest}}</a></li>{{/if}} <li class="nav-item"><a class="nav-link" href="randprof" >{{$random}}</a></li> {{if $loggedin}}{{if $inv}}<li class="nav-item"><a class="nav-link" href="invite" >{{$inv}}</a></li>{{/if}}{{/if}} </ul> |