From 2e5fb9c37e76c20ea0c25e1215a549b561dc68a8 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Tue, 27 Jul 2010 19:27:14 -0700 Subject: [PATCH] lots of formatting, bug fixes on profile updates, i18n --- boot.php | 4 +-- include/group.php | 8 +++-- include/items.php | 2 +- include/notifier.php | 2 +- mod/contacts.php | 3 ++ mod/dfrn_confirm.php | 70 ++++++++++++++++++++++-------------------- mod/dfrn_request.php | 49 ++++++++++++++--------------- mod/item.php | 9 +++--- mod/network.php | 1 + mod/profile.php | 1 + view/head.tpl | 4 +++ view/style.css | 18 ++++++++++- view/wall_item.tpl | 30 ++++++++++-------- view/wallwall_item.tpl | 40 +++++++++++++----------- 14 files changed, 141 insertions(+), 100 deletions(-) diff --git a/boot.php b/boot.php index fc793132b..3ec827eee 100644 --- a/boot.php +++ b/boot.php @@ -359,8 +359,8 @@ function local_user() { if(! function_exists('remote_user')) { function remote_user() { - if((x($_SESSION,'authenticated')) && (x($_SESSION,'cid'))) - return $_SESSION['cid']; + if((x($_SESSION,'authenticated')) && (x($_SESSION,'visitor_id'))) + return $_SESSION['visitor_id']; return false; }} diff --git a/include/group.php b/include/group.php index bca369cd1..848db43bd 100644 --- a/include/group.php +++ b/include/group.php @@ -125,18 +125,22 @@ function group_side($every="contacts",$each="group") { if(! local_user()) return; + +$createtext = t('Create a new group'); +$linktext= t('Everybody'); + $o .= <<< EOT

Groups