2
0
forked from Wavyzz/dolibarr

Fix: convert line delimiters !!

This commit is contained in:
Regis Houssin
2012-09-30 21:26:58 +02:00
parent d23188c64a
commit bcf46d00f0
16 changed files with 148 additions and 148 deletions

View File

@@ -146,28 +146,28 @@ function group_prepare_head($object)
return $head;
}
/**
* Prepare array with list of tabs
*
/**
* Prepare array with list of tabs
*
* @param Object $object Object related to tabs
* @param array $aEntities Entities array
* @return array Array of tabs
*/
function entity_prepare_head($object, $aEntities)
{
global $mc;
* @param array $aEntities Entities array
* @return array Array of tabs
*/
function entity_prepare_head($object, $aEntities)
{
global $mc;
$head = array();
foreach($aEntities as $entity)
{
$mc->getInfo($entity);
$head[$entity][0] = $_SERVER['PHP_SELF'].'?id='.$object->id.'&entity='.$entity;
$head[$entity][1] = $mc->label;
$head[$entity][0] = $_SERVER['PHP_SELF'].'?id='.$object->id.'&entity='.$entity;
$head[$entity][1] = $mc->label;
$head[$entity][2] = $entity;
}
return $head;
}
return $head;
}
/**