Ticket #4: interna_friends.patch
File interna_friends.patch, 1.4 KB (added by , 17 years ago) |
---|
-
bp-friends-cssjs.php
5 5 Inserts the Javascript needed for managing friends. 6 6 **************************************************************************/ 7 7 8 function friends_add_js() { 9 global $bp_friends_image_base; 10 ?> 11 12 <?php 13 } 8 function friends_add_js() {} 14 9 15 10 16 11 /************************************************************************** -
bp-friends-templatetags.php
11 11 12 12 function bp_list_friends() { 13 13 $bp_friends = new BP_Friends(); 14 $ friends = $bp_friends->get_friends();14 $bp_friends->get_friends(); 15 15 } 16 16 17 17 function bp_validate_friend_search_terms() { … … 32 32 33 33 function bp_output_find_friends_message($message) { 34 34 if ( isset($message) ) { 35 if($type == 'error') { $type = "error"; } else { $type = "updated"; } ?> 35 if($type == 'error') { 36 $type = "error"; 37 } else { 38 $type = "updated"; 39 } 40 ?> 36 41 <div id="message" class="<?php echo $type; ?>"> 37 42 <p><?php echo $message; ?></p> 38 </div> <?php 43 </div> 44 <?php 39 45 return true; 40 } else { 41 return false; 42 } 46 } 47 return false; 43 48 } 44 49 ?>