Doxygen
This commit is contained in:
parent
4c95c486f6
commit
e764f2137d
@ -2662,6 +2662,7 @@ function dol_print_error_email()
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Show title line of an array
|
* Show title line of an array
|
||||||
|
*
|
||||||
* @param name Label of field
|
* @param name Label of field
|
||||||
* @param file Url used when we click on sort picto
|
* @param file Url used when we click on sort picto
|
||||||
* @param field Field to use for new sorting
|
* @param field Field to use for new sorting
|
||||||
@ -4275,12 +4276,12 @@ function picto_from_langcode($codelang)
|
|||||||
/**
|
/**
|
||||||
* Complete or removed entries into a head array (used to build tabs) with value added by external modules
|
* Complete or removed entries into a head array (used to build tabs) with value added by external modules
|
||||||
*
|
*
|
||||||
* @param conf Object conf
|
* @param Conf $conf Object conf
|
||||||
* @param langs Object langs
|
* @param Translate $langs Object langs
|
||||||
* @param object Object object
|
* @param Object $object Object object
|
||||||
* @param head Object head
|
* @param array $head Object head
|
||||||
* @param h New position to fill
|
* @param int $h New position to fill
|
||||||
* @param type Value for object where objectvalue can be
|
* @param string $type Value for object where objectvalue can be
|
||||||
* 'thirdparty' to add a tab in third party view
|
* 'thirdparty' to add a tab in third party view
|
||||||
* 'intervention' to add a tab in intervention view
|
* 'intervention' to add a tab in intervention view
|
||||||
* 'supplier_order' to add a tab in supplier order view
|
* 'supplier_order' to add a tab in supplier order view
|
||||||
@ -4289,9 +4290,11 @@ function picto_from_langcode($codelang)
|
|||||||
* 'order' to add a tab in customer order view
|
* 'order' to add a tab in customer order view
|
||||||
* 'product' to add a tab in product view
|
* 'product' to add a tab in product view
|
||||||
* 'propal' to add a tab in propal view
|
* 'propal' to add a tab in propal view
|
||||||
|
* 'user' to add a tab in user view
|
||||||
|
* 'group' to add a tab in group view
|
||||||
* 'member' to add a tab in fundation member view
|
* 'member' to add a tab in fundation member view
|
||||||
* 'categories_x' to add a tab in category view ('x': type of category (0=product, 1=supplier, 2=customer, 3=member)
|
* 'categories_x' to add a tab in category view ('x': type of category (0=product, 1=supplier, 2=customer, 3=member)
|
||||||
* @param mode 'add' to complete head, 'remove' to remove entries
|
* @param string $mode 'add' to complete head, 'remove' to remove entries
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function complete_head_from_modules($conf,$langs,$object,&$head,&$h,$type,$mode='add')
|
function complete_head_from_modules($conf,$langs,$object,&$head,&$h,$type,$mode='add')
|
||||||
@ -4301,11 +4304,13 @@ function complete_head_from_modules($conf,$langs,$object,&$head,&$h,$type,$mode=
|
|||||||
foreach ($conf->tabs_modules[$type] as $value)
|
foreach ($conf->tabs_modules[$type] as $value)
|
||||||
{
|
{
|
||||||
$values=explode(':',$value);
|
$values=explode(':',$value);
|
||||||
|
|
||||||
if ($mode == 'add')
|
if ($mode == 'add')
|
||||||
{
|
{
|
||||||
if (count($values) == 6) // new declaration with permissions
|
if (count($values) == 6) // new declaration with permissions
|
||||||
{
|
{
|
||||||
if ($values[0] != $type) continue;
|
if ($values[0] != $type) continue;
|
||||||
|
//print 'ee'.$values[4];
|
||||||
if (verifCond($values[4]))
|
if (verifCond($values[4]))
|
||||||
{
|
{
|
||||||
if ($values[3]) $langs->load($values[3]);
|
if ($values[3]) $langs->load($values[3]);
|
||||||
|
|||||||
@ -509,7 +509,7 @@ if ($action == 'adduserldap')
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Affichage page
|
* View
|
||||||
*/
|
*/
|
||||||
|
|
||||||
llxHeader('',$langs->trans("UserCard"));
|
llxHeader('',$langs->trans("UserCard"));
|
||||||
@ -923,9 +923,7 @@ else
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
// Show tabs
|
||||||
* Affichage onglets
|
|
||||||
*/
|
|
||||||
$head = user_prepare_head($fuser);
|
$head = user_prepare_head($fuser);
|
||||||
|
|
||||||
$title = $langs->trans("User");
|
$title = $langs->trans("User");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user