diff --git a/.gitignore b/.gitignore index cd299f2d8..374fbc532 100644 --- a/.gitignore +++ b/.gitignore @@ -54,3 +54,6 @@ venv/ #ignore git projects in vendor vendor/**/.git + +#ignore config files from JetBrains +/.idea \ No newline at end of file diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 3cd18c779..b40e5cc4e 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -37,7 +37,8 @@ function findpeople_widget() { '$suggest' => t('Friend Suggestions'), '$similar' => t('Similar Interests'), '$random' => t('Random Profile'), - '$inv' => t('Invite Friends') + '$inv' => t('Invite Friends'), + 'directory' => t('View Global Directory') )); } diff --git a/view/templates/peoplefind.tpl b/view/templates/peoplefind.tpl index 45c4c0b62..0d1c6c79b 100644 --- a/view/templates/peoplefind.tpl +++ b/view/templates/peoplefind.tpl @@ -7,6 +7,7 @@
+ {{if $inv}} diff --git a/view/theme/smoothly/style.css b/view/theme/smoothly/style.css index ec52277bd..07fc3ed89 100644 --- a/view/theme/smoothly/style.css +++ b/view/theme/smoothly/style.css @@ -3057,7 +3057,8 @@ margin-left: 0px; #side-invite-link, #side-random-profile-link, #side-suggest-link, -#side-match-link { +#side-match-link, +#side-directory-link { width: 80%; padding: 10px; margin: auto; @@ -3079,7 +3080,8 @@ margin-left: 0px; #side-invite-link:hover, #side-random-profile-link:hover, #side-suggest-link:hover, -#side-match-link:hover { +#side-match-link:hover, +#side-directory-link:hover { color: #efefef; background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #1873a2), color-stop(1, #6da6c4) ); background: -moz-linear-gradient( center top, #1873a2 5%, #6da6c4 100% ); @@ -3098,7 +3100,8 @@ margin-left: 0px; #side-invite-link:active, #side-random-profile-link:active, #side-suggest-link:active, -#side-match-link:active { +#side-match-link:active, +#side-directory-link:active { background-color: #1873a2; position: relative; top: 1px; @@ -3107,7 +3110,8 @@ margin-left: 0px; #side-invite-link a, #side-random-profile-link a, #side-suggest-link a, -#side-match-link a { +#side-match-link a, +#side-directory-link a { color: #efefef; }