[svn r15105] admin can see non visible extra fields

skala
Eric Marguin 17 years ago
parent 8ca78a7bad
commit f650c21318
  1. 6
      main/admin/user_add.php
  2. 6
      main/admin/user_edit.php

@ -1,4 +1,4 @@
<?php // $Id: user_add.php 14923 2008-04-16 14:06:02Z elixir_inter $
<?php // $Id: user_add.php 15105 2008-04-25 08:38:20Z elixir_inter $
/*
==============================================================================
Dokeos - elearning and course management software
@ -189,10 +189,6 @@ $form->addElement('radio','active','',get_lang('Inactive'),0);
$extra = UserManager::get_extra_fields(0,50,5,'ASC');
foreach($extra as $id => $field_details)
{
if($field_details[6] == 0)
{
continue;
}
switch($field_details[2])
{
case USER_FIELD_TYPE_TEXT:

@ -1,4 +1,4 @@
<?php // $Id: user_edit.php 14955 2008-04-20 03:20:36Z yannoo $
<?php // $Id: user_edit.php 15105 2008-04-25 08:38:20Z elixir_inter $
/*
==============================================================================
Dokeos - elearning and course management software
@ -211,10 +211,6 @@ if(! $user_data['platform_admin'] )
$extra = UserManager::get_extra_fields(0,50,5,'ASC');
foreach($extra as $id => $field_details)
{
if($field_details[6] == 0)
{
continue;
}
switch($field_details[2])
{
case USER_FIELD_TYPE_TEXT:

Loading…
Cancel
Save