This commit is contained in:
Laurent Destailleur 2011-12-12 20:14:38 +01:00
parent 52585b01ff
commit cdb6d15db5

View File

@ -23,7 +23,7 @@
/** /**
* Return array head with list of tabs to view object informations * Return array head with list of tabs to view object informations
* *
* @param object Member * @param object Member
* @return array head * @return array head
*/ */
@ -113,7 +113,7 @@ function member_admin_prepare_head($object)
// $this->tabs = array('entity:+tabname:Title:@mymodule:/mymodule/mypage.php?id=__ID__'); to add new tab // $this->tabs = array('entity:+tabname:Title:@mymodule:/mymodule/mypage.php?id=__ID__'); to add new tab
// $this->tabs = array('entity:-tabname:Title:@mymodule:/mymodule/mypage.php?id=__ID__'); to remove a tab // $this->tabs = array('entity:-tabname:Title:@mymodule:/mymodule/mypage.php?id=__ID__'); to remove a tab
complete_head_from_modules($conf,$langs,$object,$head,$h,'member_admin'); complete_head_from_modules($conf,$langs,$object,$head,$h,'member_admin');
$head[$h][0] = DOL_URL_ROOT.'/adherents/admin/adherent_extrafields.php'; $head[$h][0] = DOL_URL_ROOT.'/adherents/admin/adherent_extrafields.php';
$head[$h][1] = $langs->trans("ExtraFields"); $head[$h][1] = $langs->trans("ExtraFields");
$head[$h][2] = 'attributes'; $head[$h][2] = 'attributes';
@ -123,7 +123,7 @@ function member_admin_prepare_head($object)
$head[$h][1] = $langs->trans("BlankSubscriptionForm"); $head[$h][1] = $langs->trans("BlankSubscriptionForm");
$head[$h][2] = 'public'; $head[$h][2] = 'public';
$h++; $h++;
complete_head_from_modules($conf,$langs,$object,$head,$h,'member_admin','remove'); complete_head_from_modules($conf,$langs,$object,$head,$h,'member_admin','remove');
return $head; return $head;
@ -132,8 +132,9 @@ function member_admin_prepare_head($object)
/** /**
* Return array head with list of tabs to view object stats informations * Return array head with list of tabs to view object stats informations
* @param object Member *
* @return array head * @param Object $object Member or null
* @return array head
*/ */
function member_stats_prepare_head($object) function member_stats_prepare_head($object)
{ {