From 344759ed7871b0e703f4aa74a2d0a4c62a349ef8 Mon Sep 17 00:00:00 2001 From: Arthur Portugal Date: Fri, 8 Jan 2010 18:13:18 -0500 Subject: [PATCH] Added two new icons and change three get lang CT#462 --- main/img/accept_invitation.png | Bin 0 -> 1112 bytes main/img/denied_invitation.png | Bin 0 -> 1105 bytes main/inc/lib/social.lib.php | 4 ++-- main/social/group_waiting_list.php | 6 +++--- main/social/invitations.php | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 main/img/accept_invitation.png create mode 100644 main/img/denied_invitation.png diff --git a/main/img/accept_invitation.png b/main/img/accept_invitation.png new file mode 100644 index 0000000000000000000000000000000000000000..1cceb7847818c5e12ea6110d02dd33803177b904 GIT binary patch literal 1112 zcmV-e1gHCnP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2igG$ z7B)Ml88amS00Y=bL_t(I%k7m-Xk1kk$N%TOd*94^Gm{C7=`<;!iKK+$!YZ1DUleM^ zso3s>3R)N9qKkkCMP0dY>skbZSqQdWi4_b{Dq;&ki~Ybr6is4MNIGq&(>Q$}_uYGr zi}Z~sxT!8ZaN)w?{yFFOKlfhX|M)LLME)^H|3;LEu&Xv6zIg2D*g(A&tuC+LocZK~ z)q55$L|;96eE5-P9ymTURzK*MyeN;k{mXY(XWx4J&5!T7;z##B79M-!h1bU)9C^1o z98kGh!p6#VvFVOJ6U2KDwGOR@N`IrMq^A z9)5lj10xZBJ=uFli3pX;>$-p|$Q;S?omwm9T=wS`*8+FH7yd zkakSe5r?<%`_H{}W#!r><#`^6NYXS#r_(_ghVXqK0N|{Jbq=GWqtIGocJ?E9o(B;? zgt5N1iCZ_A+-M9-J=8Xbz&};LZEyT|R*48i1k8*ms-WGzhMAcUQ7V-%Jw1(bxs0L{ z=NQb}vumxz6Hh*lm+yZGS1w;cuh+wl9Zg(swwDg>e>PUW@87LL;QJmroeq|lmr<|R zkt8XCpwvfEsYHFw%#5wA+W>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>lu{5vFf;RC X7?x$vihUEF00000NkvXXu0mjfH7xp6 literal 0 HcmV?d00001 diff --git a/main/inc/lib/social.lib.php b/main/inc/lib/social.lib.php index 53eafd4921..0474db271b 100755 --- a/main/inc/lib/social.lib.php +++ b/main/inc/lib/social.lib.php @@ -779,14 +779,14 @@ class SocialManager extends UserManager { if ($user_id != api_get_user_id()) { echo '
  • '; - echo Display::return_icon('message_new.png').'  '.get_lang('SendMessage').'
  • '; + echo Display::return_icon('message_new.png',get_lang('SendMessage')).'  '.get_lang('SendMessage').''; } //check if I already sent an invitation message $invitation_sent_list = SocialManager::get_list_invitation_sent_by_user_id(api_get_user_id()); if (is_array($invitation_sent_list) && is_array($invitation_sent_list[$user_id]) && count($invitation_sent_list[$user_id]) >0 ) { - echo '
  • '.get_lang('YouAlreadySentAnInvitation').'
  • '; + echo '
  • '.Display::return_icon('mail_send.png',get_lang('YouAlreadySentAnInvitation')).'  '.get_lang('YouAlreadySentAnInvitation').'
  • '; } else { if (!$show_full_profile) { echo '
  • '.Display :: return_icon('add_multiple_users.gif', get_lang('SocialInvitationToFriends')).' '.get_lang('SendInvitation').'
  • '; diff --git a/main/social/group_waiting_list.php b/main/social/group_waiting_list.php index 16549d0e50..2c6ec5f455 100755 --- a/main/social/group_waiting_list.php +++ b/main/social/group_waiting_list.php @@ -106,9 +106,9 @@ echo '
    '; foreach($users as $user) { switch ($user['relation_type']) { case GROUP_USER_PERMISSION_PENDING_INVITATION_SENT_BY_USER: - $user['link'] = ''.Display::return_icon('add_normal_user.png', get_lang('Accept')).''; - $user['link'] .= ''.Display::return_icon('add_moderator.png', get_lang('Moderator')).''; - $user['link'] .= ''.Display::return_icon('delete.gif', get_lang('Deny')).''; + $user['link'] = ''.Display::return_icon('add_normal_user.png', get_lang('AddNormalUser')).''; + $user['link'] .= ''.Display::return_icon('add_moderator.png', get_lang('AddModerator')).''; + $user['link'] .= ''.Display::return_icon('delete.gif', get_lang('DenyEntry')).''; break; } $new_member_list[] = $user; diff --git a/main/social/invitations.php b/main/social/invitations.php index 33a811b11f..c4559c8973 100755 --- a/main/social/invitations.php +++ b/main/social/invitations.php @@ -228,8 +228,8 @@ echo '