[svn r17573] allowing teachers to see the emails when the tutors are on the page but how groups hide email is enabled

skala
Juan Carlos Raña 17 years ago
parent c726c73eb9
commit 410f31797b
  1. 13
      main/group/group.php

@ -1,4 +1,4 @@
<?php // $Id: group.php 17429 2008-12-23 01:15:36Z cvargas1 $
<?php // $Id: group.php 17573 2009-01-07 18:14:56Z herodoto $
/*
==============================================================================
@ -331,8 +331,15 @@ foreach ($group_cats as $index => $category)
$tutor_info .= Display::encrypted_mailto_link($tutor['mail'],$tutor['firstName'].' '.$tutor['lastName']).', ';
}
else
{
$tutor_info .= $tutor['firstName'].' '.$tutor['lastName'].', ';
{
if (api_is_allowed_to_edit()=='true')
{
$tutor_info .= Display::encrypted_mailto_link($tutor['mail'],$tutor['firstName'].' '.$tutor['lastName']).', ';
}
else
{
$tutor_info .= $tutor['firstName'].' '.$tutor['lastName'].', ';
}
}
}
}

Loading…
Cancel
Save