2012-01-11 18:43:38 +01:00
|
|
|
<?php
|
|
|
|
|
/* Copyright (C) 2006-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
2024-10-14 01:59:44 +02:00
|
|
|
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
2012-01-11 18:43:38 +01:00
|
|
|
*
|
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
2013-01-16 15:36:08 +01:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2012-01-11 18:43:38 +01:00
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2019-09-23 21:55:30 +02:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
* or see https://www.gnu.org/
|
2012-01-11 18:43:38 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* \file htdocs/core/lib/member.lib.php
|
2024-01-13 19:48:20 +01:00
|
|
|
* \brief Ensemble de functions de base pour les adherents
|
2012-01-11 18:43:38 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
2024-01-13 19:48:20 +01:00
|
|
|
* Return array head with list of tabs to view object information
|
2012-01-11 18:43:38 +01:00
|
|
|
*
|
2024-10-14 01:59:44 +02:00
|
|
|
* @return array<array{0:string,1:string,2:string}> Array of tabs to show
|
2012-01-11 18:43:38 +01:00
|
|
|
*/
|
2012-10-14 23:56:28 +02:00
|
|
|
function mailmanspip_admin_prepare_head()
|
2012-01-11 18:43:38 +01:00
|
|
|
{
|
2020-03-23 15:54:02 +01:00
|
|
|
global $langs;
|
2012-01-11 18:43:38 +01:00
|
|
|
|
2020-03-23 15:54:02 +01:00
|
|
|
return array(
|
|
|
|
|
array(
|
|
|
|
|
DOL_URL_ROOT.'/admin/mailman.php',
|
2024-04-03 12:25:06 +02:00
|
|
|
'Mailman',
|
2020-03-23 15:54:02 +01:00
|
|
|
'mailman'
|
|
|
|
|
),
|
|
|
|
|
array(
|
|
|
|
|
DOL_URL_ROOT.'/admin/spip.php',
|
2024-04-03 12:25:06 +02:00
|
|
|
'SPIP',
|
2020-03-23 15:54:02 +01:00
|
|
|
'spip'
|
|
|
|
|
)
|
|
|
|
|
);
|
2012-01-11 18:43:38 +01:00
|
|
|
}
|