From 23dc376364b7d8f8e27e3493fe3edbf5cf768a35 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Mon, 2 Apr 2012 01:29:20 +0200 Subject: [PATCH] diabook-themes: add link to global dir in "find friends" at right_aside --- view/theme/diabook-aerith/communityhome.tpl | 1 + view/theme/diabook-aerith/fpostit/fpostit.php | 4 ++-- view/theme/diabook-aerith/theme.php | 3 ++- view/theme/diabook-blue/communityhome.tpl | 1 + view/theme/diabook-blue/fpostit/fpostit.php | 4 ++-- view/theme/diabook-blue/theme.php | 3 ++- view/theme/diabook-red/communityhome.tpl | 1 + view/theme/diabook-red/fpostit/fpostit.php | 4 ++-- view/theme/diabook-red/theme.php | 3 ++- view/theme/diabook/communityhome.tpl | 1 + view/theme/diabook/fpostit/fpostit.php | 4 ++-- view/theme/diabook/theme.php | 3 ++- 12 files changed, 20 insertions(+), 12 deletions(-) diff --git a/view/theme/diabook-aerith/communityhome.tpl b/view/theme/diabook-aerith/communityhome.tpl index 917af49f..c26d02dc 100755 --- a/view/theme/diabook-aerith/communityhome.tpl +++ b/view/theme/diabook-aerith/communityhome.tpl @@ -34,6 +34,7 @@ {{ if $nv }}

Find Friends

$nv.directory.1
+$nv.global_directory.1
$nv.match.1
$nv.suggest.1
$nv.invite.1 diff --git a/view/theme/diabook-aerith/fpostit/fpostit.php b/view/theme/diabook-aerith/fpostit/fpostit.php index 65c43a2b..4505c994 100644 --- a/view/theme/diabook-aerith/fpostit/fpostit.php +++ b/view/theme/diabook-aerith/fpostit/fpostit.php @@ -113,12 +113,12 @@ function showForm($error, $content) { echo <<

- Friendika Bookmarklet

+ Friendica Bookmarklet
- Enter the email address of the Friendika Account that you want to cross-post to:(example: user@friendika.org)

+ Enter the email address of the Friendica Account that you want to cross-post to:(example: user@friendica.org)

Account ID:
Password:

diff --git a/view/theme/diabook-aerith/theme.php b/view/theme/diabook-aerith/theme.php index e9fe8e0f..49001075 100755 --- a/view/theme/diabook-aerith/theme.php +++ b/view/theme/diabook-aerith/theme.php @@ -139,7 +139,8 @@ function diabook_aerith_community_info(){ //nav FIND FRIENDS if(local_user()) { $nv = array(); - $nv['directory'] = Array('directory', t('Directory'), "", ""); + $nv['directory'] = Array('directory', t('Local').' '.t('Directory'), "", ""); + $nv['global_directory'] = Array('http://dir.friendica.com/', t('Global Directory'), "", ""); $nv['match'] = Array('match', t('Similar Interests'), "", ""); $nv['suggest'] = Array('suggest', t('Friend Suggestions'), "", ""); $nv['invite'] = Array('invite', t('Invite Friends'), "", ""); diff --git a/view/theme/diabook-blue/communityhome.tpl b/view/theme/diabook-blue/communityhome.tpl index cff75cd4..3b95b376 100755 --- a/view/theme/diabook-blue/communityhome.tpl +++ b/view/theme/diabook-blue/communityhome.tpl @@ -34,6 +34,7 @@ {{ if $nv }}

Find Friends

$nv.directory.1
+$nv.global_directory.1
$nv.match.1
$nv.suggest.1
$nv.invite.1 diff --git a/view/theme/diabook-blue/fpostit/fpostit.php b/view/theme/diabook-blue/fpostit/fpostit.php index 65c43a2b..4505c994 100644 --- a/view/theme/diabook-blue/fpostit/fpostit.php +++ b/view/theme/diabook-blue/fpostit/fpostit.php @@ -113,12 +113,12 @@ function showForm($error, $content) { echo <<

- Friendika Bookmarklet

+ Friendica Bookmarklet
- Enter the email address of the Friendika Account that you want to cross-post to:(example: user@friendika.org)

+ Enter the email address of the Friendica Account that you want to cross-post to:(example: user@friendica.org)

Account ID:
Password:

diff --git a/view/theme/diabook-blue/theme.php b/view/theme/diabook-blue/theme.php index 3d54ba9e..891c13cb 100755 --- a/view/theme/diabook-blue/theme.php +++ b/view/theme/diabook-blue/theme.php @@ -139,7 +139,8 @@ function diabook_blue_community_info(){ //nav FIND FRIENDS if(local_user()) { $nv = array(); - $nv['directory'] = Array('directory', t('Directory'), "", ""); + $nv['directory'] = Array('directory', t('Local').' '.t('Directory'), "", ""); + $nv['global_directory'] = Array('http://dir.friendica.com/', t('Global Directory'), "", ""); $nv['match'] = Array('match', t('Similar Interests'), "", ""); $nv['suggest'] = Array('suggest', t('Friend Suggestions'), "", ""); $nv['invite'] = Array('invite', t('Invite Friends'), "", ""); diff --git a/view/theme/diabook-red/communityhome.tpl b/view/theme/diabook-red/communityhome.tpl index 326c766b..91935a9d 100755 --- a/view/theme/diabook-red/communityhome.tpl +++ b/view/theme/diabook-red/communityhome.tpl @@ -34,6 +34,7 @@ {{ if $nv }}

Find Friends

$nv.directory.1
+$nv.global_directory.1
$nv.match.1
$nv.suggest.1
$nv.invite.1 diff --git a/view/theme/diabook-red/fpostit/fpostit.php b/view/theme/diabook-red/fpostit/fpostit.php index 65c43a2b..4505c994 100644 --- a/view/theme/diabook-red/fpostit/fpostit.php +++ b/view/theme/diabook-red/fpostit/fpostit.php @@ -113,12 +113,12 @@ function showForm($error, $content) { echo <<

- Friendika Bookmarklet

+ Friendica Bookmarklet
- Enter the email address of the Friendika Account that you want to cross-post to:(example: user@friendika.org)

+ Enter the email address of the Friendica Account that you want to cross-post to:(example: user@friendica.org)

Account ID:
Password:

diff --git a/view/theme/diabook-red/theme.php b/view/theme/diabook-red/theme.php index b091295b..44a76a5e 100755 --- a/view/theme/diabook-red/theme.php +++ b/view/theme/diabook-red/theme.php @@ -139,7 +139,8 @@ function diabook_red_community_info(){ //nav FIND FRIENDS if(local_user()) { $nv = array(); - $nv['directory'] = Array('directory', t('Directory'), "", ""); + $nv['directory'] = Array('directory', t('Local').' '.t('Directory'), "", ""); + $nv['global_directory'] = Array('http://dir.friendica.com/', t('Global Directory'), "", ""); $nv['match'] = Array('match', t('Similar Interests'), "", ""); $nv['suggest'] = Array('suggest', t('Friend Suggestions'), "", ""); $nv['invite'] = Array('invite', t('Invite Friends'), "", ""); diff --git a/view/theme/diabook/communityhome.tpl b/view/theme/diabook/communityhome.tpl index 91871a7b..d344cad3 100755 --- a/view/theme/diabook/communityhome.tpl +++ b/view/theme/diabook/communityhome.tpl @@ -34,6 +34,7 @@ {{ if $nv }}

Find Friends

$nv.directory.1
+$nv.global_directory.1
$nv.match.1
$nv.suggest.1
$nv.invite.1 diff --git a/view/theme/diabook/fpostit/fpostit.php b/view/theme/diabook/fpostit/fpostit.php index 65c43a2b..4505c994 100644 --- a/view/theme/diabook/fpostit/fpostit.php +++ b/view/theme/diabook/fpostit/fpostit.php @@ -113,12 +113,12 @@ function showForm($error, $content) { echo <<

- Friendika Bookmarklet

+ Friendica Bookmarklet
- Enter the email address of the Friendika Account that you want to cross-post to:(example: user@friendika.org)

+ Enter the email address of the Friendica Account that you want to cross-post to:(example: user@friendica.org)

Account ID:
Password:

diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 6ac64bed..d6ee5731 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -143,7 +143,8 @@ function diabook_community_info(){ //right_aside FIND FRIENDS if(local_user()) { $nv = array(); - $nv['directory'] = Array('directory', t('Directory'), "", ""); + $nv['directory'] = Array('directory', t('Local').' '.t('Directory'), "", ""); + $nv['global_directory'] = Array('http://dir.friendica.com/', t('Global Directory'), "", ""); $nv['match'] = Array('match', t('Similar Interests'), "", ""); $nv['suggest'] = Array('suggest', t('Friend Suggestions'), "", ""); $nv['invite'] = Array('invite', t('Invite Friends'), "", "");