Revision 339

Date:
2013/05/08 15:47:40
Author:
ahitrov
Revision Log:
Show emails and phones in profile
Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/plugins/users/lib/users/UserProfile.pm

     
    333 333 }
    334 334
    335 335
    336 sub table_links
    337 {
    338 my $self = shift;
    339 my @links;
    340 if ( $state->{users}->use_credentials ) {
    341 @links = (
    342 { name => 'E-mail', class => 'users::Email', filter => 'uid', field => 'uid' },
    343 { name => 'Phone', class => 'users::Phone', filter => 'uid', field => 'uid' },
    344 );
    345 }
    346 return \@links;
    347 }
    348
    336 349 sub pre_store
    337 350 {
    338 351 my $self = shift;