2007-04-11 00:45:42 +00:00
|
|
|
<?php
|
|
|
|
|
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
2012-02-10 15:37:41 +00:00
|
|
|
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
2012-12-30 14:13:49 +00:00
|
|
|
* Copyright (C) 2005-2010 Regis Houssin <regis.houssin@capnetworks.com>
|
2007-04-11 00:45:42 +00: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 14:36:08 +00:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2007-04-11 00:45:42 +00: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
|
2011-07-31 22:21:57 +00:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2007-04-11 00:45:42 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
2008-12-04 19:13:40 +00:00
|
|
|
* \file htdocs/admin/menus.php
|
|
|
|
|
* \ingroup core
|
2010-02-20 15:07:46 +00:00
|
|
|
* \brief Page to setup menu manager to use
|
2008-12-04 19:13:40 +00:00
|
|
|
*/
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2012-08-22 21:24:21 +00:00
|
|
|
require '../main.inc.php';
|
2012-08-22 21:11:24 +00:00
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
|
|
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php';
|
|
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
|
2008-01-11 10:25:26 +00:00
|
|
|
|
2012-02-12 14:17:54 +00:00
|
|
|
$action=GETPOST('action');
|
2007-04-11 00:45:42 +00:00
|
|
|
|
|
|
|
|
$langs->load("companies");
|
|
|
|
|
$langs->load("products");
|
|
|
|
|
$langs->load("admin");
|
2010-06-27 14:29:45 +00:00
|
|
|
$langs->load("users");
|
2010-10-28 10:22:06 +00:00
|
|
|
$langs->load("other");
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2010-02-20 15:07:46 +00:00
|
|
|
// Security check
|
2012-07-09 16:09:44 +00:00
|
|
|
if (! $user->admin) accessforbidden();
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2012-06-12 16:35:29 +00:00
|
|
|
$dirstandard = array();
|
|
|
|
|
$dirsmartphone = array();
|
|
|
|
|
$dirmenus=array_merge(array("/core/menus/"),(array) $conf->modules_parts['menus']);
|
|
|
|
|
foreach($dirmenus as $dirmenu)
|
2012-02-12 14:17:54 +00:00
|
|
|
{
|
2012-06-12 16:35:29 +00:00
|
|
|
$dirstandard[]=$dirmenu.'standard';
|
|
|
|
|
$dirsmartphone[]=$dirmenu.'smartphone';
|
2012-02-12 14:17:54 +00:00
|
|
|
}
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2012-07-09 16:09:44 +00:00
|
|
|
$error=0;
|
|
|
|
|
$errmsgs=array();
|
|
|
|
|
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2010-09-29 08:40:13 +00:00
|
|
|
// Cette page peut etre longue. On augmente le delai autorise.
|
|
|
|
|
// Ne fonctionne que si on est pas en safe_mode.
|
|
|
|
|
$err=error_reporting();
|
|
|
|
|
error_reporting(0); // Disable all errors
|
|
|
|
|
//error_reporting(E_ALL);
|
|
|
|
|
@set_time_limit(300); // Need more than 240 on Windows 7/64
|
|
|
|
|
error_reporting($err);
|
|
|
|
|
|
|
|
|
|
|
2007-04-11 00:45:42 +00:00
|
|
|
/*
|
2010-02-20 15:07:46 +00:00
|
|
|
* Actions
|
|
|
|
|
*/
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2012-02-12 14:17:54 +00:00
|
|
|
if ($action == 'update' && empty($_POST["cancel"]))
|
2007-04-11 00:45:42 +00:00
|
|
|
{
|
2008-01-12 16:55:15 +00:00
|
|
|
$_SESSION["mainmenu"]="home"; // Le gestionnaire de menu a pu changer
|
2013-02-19 14:23:25 +00:00
|
|
|
|
2011-02-13 13:22:54 +00:00
|
|
|
dolibarr_set_const($db, "MAIN_MENU_STANDARD", $_POST["MAIN_MENU_STANDARD"],'chaine',0,'',$conf->entity);
|
2011-02-18 08:38:02 +00:00
|
|
|
dolibarr_set_const($db, "MAIN_MENU_SMARTPHONE", $_POST["MAIN_MENU_SMARTPHONE"],'chaine',0,'',$conf->entity);
|
2009-08-22 16:35:38 +00:00
|
|
|
|
2011-02-13 13:22:54 +00:00
|
|
|
dolibarr_set_const($db, "MAIN_MENUFRONT_STANDARD", $_POST["MAIN_MENUFRONT_STANDARD"],'chaine',0,'',$conf->entity);
|
2011-02-18 08:38:02 +00:00
|
|
|
dolibarr_set_const($db, "MAIN_MENUFRONT_SMARTPHONE",$_POST["MAIN_MENUFRONT_SMARTPHONE"],'chaine',0,'',$conf->entity);
|
2009-08-22 16:35:38 +00:00
|
|
|
|
2008-01-09 00:33:08 +00:00
|
|
|
// Define list of menu handlers to initialize
|
2010-02-20 15:07:46 +00:00
|
|
|
$listofmenuhandler=array();
|
2013-03-30 13:27:13 +00:00
|
|
|
$listofmenuhandler[preg_replace('/(_backoffice|_frontoffice|_menu)?\.php/i','',$_POST["MAIN_MENU_STANDARD"])]=1;
|
|
|
|
|
$listofmenuhandler[preg_replace('/(_backoffice|_frontoffice|_menu)?\.php/i','',$_POST["MAIN_MENUFRONT_STANDARD"])]=1;
|
|
|
|
|
if (isset($_POST["MAIN_MENU_SMARTPHONE"])) $listofmenuhandler[preg_replace('/(_backoffice|_frontoffice|_menu)?\.php/i','',$_POST["MAIN_MENU_SMARTPHONE"])]=1;
|
|
|
|
|
if (isset($_POST["MAIN_MENUFRONT_SMARTPHONE"])) $listofmenuhandler[preg_replace('/(_backoffice|_frontoffice|_menu)?\.php/i','',$_POST["MAIN_MENUFRONT_SMARTPHONE"])]=1;
|
2010-09-29 08:45:45 +00:00
|
|
|
|
|
|
|
|
// Initialize menu handlers
|
2008-01-09 00:33:08 +00:00
|
|
|
foreach ($listofmenuhandler as $key => $val)
|
|
|
|
|
{
|
2010-09-29 08:45:45 +00:00
|
|
|
// Load sql init_menu_handler.sql file
|
2013-03-30 13:27:13 +00:00
|
|
|
$dirmenus=array_merge(array("/core/menus/"),(array) $conf->modules_parts['menus']);
|
|
|
|
|
foreach($dirmenus as $dirmenu)
|
|
|
|
|
{
|
2013-02-19 14:23:25 +00:00
|
|
|
$file='init_menu_'.$key.'.sql';
|
|
|
|
|
$fullpath=dol_buildpath($dirmenu.$file);
|
2013-03-30 13:27:13 +00:00
|
|
|
//print 'action='.$action.' Search menu into fullpath='.$fullpath.'<br>';exit;
|
2013-02-19 14:23:25 +00:00
|
|
|
|
|
|
|
|
if (file_exists($fullpath))
|
2012-02-10 15:37:41 +00:00
|
|
|
{
|
2013-02-19 14:23:25 +00:00
|
|
|
$db->begin();
|
|
|
|
|
|
|
|
|
|
$result=run_sql($fullpath,1,'',1,$key,'none');
|
|
|
|
|
if ($result > 0)
|
|
|
|
|
{
|
|
|
|
|
$db->commit();
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
$error++;
|
|
|
|
|
$errmsgs[]='Failed to initialize menu '.$key.'.';
|
|
|
|
|
$db->rollback();
|
|
|
|
|
}
|
2012-02-10 15:37:41 +00:00
|
|
|
}
|
2010-09-23 12:35:09 +00:00
|
|
|
}
|
2008-01-09 00:33:08 +00:00
|
|
|
}
|
|
|
|
|
|
2012-02-10 16:09:13 +00:00
|
|
|
if (! $error)
|
|
|
|
|
{
|
|
|
|
|
$db->close();
|
2012-02-12 14:17:54 +00:00
|
|
|
|
2012-02-10 16:09:13 +00:00
|
|
|
// We make a header redirect because we need to change menu NOW.
|
|
|
|
|
header("Location: ".$_SERVER["PHP_SELF"]);
|
|
|
|
|
exit;
|
|
|
|
|
}
|
2007-04-11 00:45:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
2010-02-20 15:07:46 +00:00
|
|
|
* View
|
|
|
|
|
*/
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2011-11-08 09:18:45 +00:00
|
|
|
$form=new Form($db);
|
2012-02-12 14:17:54 +00:00
|
|
|
$formadmin=new FormAdmin($db);
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2009-08-22 16:35:38 +00:00
|
|
|
$wikihelp='EN:First_setup|FR:Premiers_paramétrages|ES:Primeras_configuraciones';
|
2010-05-26 11:42:29 +00:00
|
|
|
llxHeader('',$langs->trans("Setup"),$wikihelp);
|
2007-04-11 00:45:42 +00:00
|
|
|
|
|
|
|
|
print_fiche_titre($langs->trans("Menus"),'','setup');
|
|
|
|
|
|
|
|
|
|
|
2007-05-07 16:44:27 +00:00
|
|
|
$h = 0;
|
|
|
|
|
|
|
|
|
|
$head[$h][0] = DOL_URL_ROOT."/admin/menus.php";
|
|
|
|
|
$head[$h][1] = $langs->trans("MenuHandlers");
|
|
|
|
|
$head[$h][2] = 'handler';
|
|
|
|
|
$h++;
|
|
|
|
|
|
2008-01-08 18:48:12 +00:00
|
|
|
$head[$h][0] = DOL_URL_ROOT."/admin/menus/index.php";
|
|
|
|
|
$head[$h][1] = $langs->trans("MenuAdmin");
|
|
|
|
|
$head[$h][2] = 'editor';
|
|
|
|
|
$h++;
|
2007-05-07 16:44:27 +00:00
|
|
|
|
2010-10-28 10:22:06 +00:00
|
|
|
$head[$h][0] = DOL_URL_ROOT."/admin/menus/other.php";
|
2013-03-24 06:11:44 +00:00
|
|
|
$head[$h][1] = $langs->trans("Miscellaneous");
|
2010-10-28 10:22:06 +00:00
|
|
|
$head[$h][2] = 'misc';
|
|
|
|
|
$h++;
|
|
|
|
|
|
2007-05-07 16:44:27 +00:00
|
|
|
|
2009-02-20 22:53:15 +00:00
|
|
|
dol_fiche_head($head, 'handler', $langs->trans("Menus"));
|
2007-05-07 16:44:27 +00:00
|
|
|
|
2012-02-12 14:17:54 +00:00
|
|
|
print $langs->trans("MenusDesc")."<br>\n";
|
|
|
|
|
print "<br>\n";
|
|
|
|
|
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2012-07-09 16:09:44 +00:00
|
|
|
if ($action == 'edit')
|
2007-04-11 00:45:42 +00:00
|
|
|
{
|
2010-02-20 15:07:46 +00:00
|
|
|
print '<form method="post" action="'.$_SERVER["PHP_SELF"].'">';
|
|
|
|
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
|
|
|
|
print '<input type="hidden" name="action" value="update">';
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2010-02-20 15:07:46 +00:00
|
|
|
clearstatcache();
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2010-02-20 15:07:46 +00:00
|
|
|
// Gestionnaires de menu
|
|
|
|
|
$var=true;
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2010-02-20 15:07:46 +00:00
|
|
|
print '<table class="noborder" width="100%">';
|
|
|
|
|
print '<tr class="liste_titre"><td width="35%">'.$langs->trans("Menu").'</td>';
|
|
|
|
|
print '<td>';
|
2011-11-08 09:18:45 +00:00
|
|
|
print $form->textwithpicto($langs->trans("InternalUsers"),$langs->trans("InternalExternalDesc"));
|
2010-02-20 15:07:46 +00:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td>';
|
2011-11-08 09:18:45 +00:00
|
|
|
print $form->textwithpicto($langs->trans("ExternalUsers"),$langs->trans("InternalExternalDesc"));
|
2010-02-20 15:07:46 +00:00
|
|
|
print '</td>';
|
|
|
|
|
print '</tr>';
|
|
|
|
|
|
|
|
|
|
// Menu top
|
|
|
|
|
$var=!$var;
|
2010-09-29 10:10:33 +00:00
|
|
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("DefaultMenuManager").'</td>';
|
2010-02-20 15:07:46 +00:00
|
|
|
print '<td>';
|
2012-02-12 14:17:54 +00:00
|
|
|
print $formadmin->select_menu(empty($conf->global->MAIN_MENU_STANDARD_FORCED)?$conf->global->MAIN_MENU_STANDARD:$conf->global->MAIN_MENU_STANDARD_FORCED, 'MAIN_MENU_STANDARD', $dirstandard, empty($conf->global->MAIN_MENU_STANDARD_FORCED)?'':' disabled="disabled"');
|
2010-02-20 15:07:46 +00:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td>';
|
2012-02-12 14:17:54 +00:00
|
|
|
print $formadmin->select_menu(empty($conf->global->MAIN_MENUFRONT_STANDARD_FORCED)?$conf->global->MAIN_MENUFRONT_STANDARD:$conf->global->MAIN_MENUFRONT_STANDARD_FORCED, 'MAIN_MENUFRONT_STANDARD', $dirstandard, empty($conf->global->MAIN_MENUFRONT_STANDARD_FORCED)?'':' disabled="disabled"');
|
2010-02-20 15:07:46 +00:00
|
|
|
print '</td>';
|
|
|
|
|
print '</tr>';
|
|
|
|
|
|
2010-09-23 10:02:27 +00:00
|
|
|
// Menu smartphone
|
2011-02-16 19:59:16 +00:00
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("DefaultMenuSmartphoneManager").'</td>';
|
|
|
|
|
print '<td>';
|
2012-02-12 14:17:54 +00:00
|
|
|
print $formadmin->select_menu(empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED)?$conf->global->MAIN_MENU_SMARTPHONE:$conf->global->MAIN_MENU_SMARTPHONE_FORCED, 'MAIN_MENU_SMARTPHONE', array_merge($dirstandard,$dirsmartphone), empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED)?'':' disabled="disabled"');
|
2011-02-16 19:59:16 +00:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td>';
|
2012-02-12 14:17:54 +00:00
|
|
|
print $formadmin->select_menu(empty($conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED)?$conf->global->MAIN_MENUFRONT_SMARTPHONE:$conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED, 'MAIN_MENUFRONT_SMARTPHONE', array_merge($dirstandard,$dirsmartphone), empty($conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED)?'':' disabled="disabled"');
|
2011-02-16 19:59:16 +00:00
|
|
|
print '</td>';
|
|
|
|
|
print '</tr>';
|
2010-02-20 15:07:46 +00:00
|
|
|
|
|
|
|
|
print '</table>';
|
2009-08-22 16:35:38 +00:00
|
|
|
|
2007-04-11 00:45:42 +00:00
|
|
|
print '<br><center>';
|
2010-02-20 15:07:46 +00:00
|
|
|
print '<input class="button" type="submit" name="save" value="'.$langs->trans("Save").'">';
|
|
|
|
|
print ' ';
|
2009-10-25 15:36:45 +00:00
|
|
|
print '<input class="button" type="submit" name="cancel" value="'.$langs->trans("Cancel").'">';
|
2010-02-20 15:07:46 +00:00
|
|
|
print '</center>';
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2010-02-20 15:07:46 +00:00
|
|
|
print '</form>';
|
2007-04-11 00:45:42 +00:00
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2010-02-20 15:07:46 +00:00
|
|
|
// Gestionnaires de menu
|
|
|
|
|
$var=true;
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2010-02-20 15:07:46 +00:00
|
|
|
print '<table class="noborder" width="100%">';
|
|
|
|
|
print '<tr class="liste_titre"><td width="35%">'.$langs->trans("Menu").'</td>';
|
|
|
|
|
print '<td>';
|
2011-11-08 09:18:45 +00:00
|
|
|
print $form->textwithpicto($langs->trans("InternalUsers"),$langs->trans("InternalExternalDesc"));
|
2010-02-20 15:07:46 +00:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td>';
|
2011-11-08 09:18:45 +00:00
|
|
|
print $form->textwithpicto($langs->trans("ExternalUsers"),$langs->trans("InternalExternalDesc"));
|
2010-02-20 15:07:46 +00:00
|
|
|
print '</td>';
|
|
|
|
|
print '</tr>';
|
|
|
|
|
|
|
|
|
|
$var=!$var;
|
2010-09-29 10:10:33 +00:00
|
|
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("DefaultMenuManager").'</td>';
|
2010-02-20 15:07:46 +00:00
|
|
|
print '<td>';
|
2011-02-13 15:50:42 +00:00
|
|
|
$filelib=preg_replace('/.php$/i','',(empty($conf->global->MAIN_MENU_STANDARD_FORCED)?$conf->global->MAIN_MENU_STANDARD:$conf->global->MAIN_MENU_STANDARD_FORCED));
|
2010-02-20 15:07:46 +00:00
|
|
|
print $filelib;
|
|
|
|
|
print '</td>';
|
|
|
|
|
print '<td>';
|
2011-02-13 15:50:42 +00:00
|
|
|
$filelib=preg_replace('/.php$/i','',(empty($conf->global->MAIN_MENUFRONT_STANDARD_FORCED)?$conf->global->MAIN_MENUFRONT_STANDARD:$conf->global->MAIN_MENUFRONT_STANDARD_FORCED));
|
2010-02-20 15:07:46 +00:00
|
|
|
print $filelib;
|
|
|
|
|
print '</td>';
|
|
|
|
|
print '</tr>';
|
|
|
|
|
|
2011-02-16 23:00:45 +00:00
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'>';
|
|
|
|
|
print '<td>'.$langs->trans("DefaultMenuSmartphoneManager").'</td>';
|
|
|
|
|
print '<td>';
|
|
|
|
|
$filelib=preg_replace('/.php$/i','',(empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED)?$conf->global->MAIN_MENU_SMARTPHONE:$conf->global->MAIN_MENU_SMARTPHONE_FORCED));
|
|
|
|
|
print $filelib;
|
2012-07-09 16:09:44 +00:00
|
|
|
if (! empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED) && preg_match('/smartphone/', $conf->global->MAIN_MENU_SMARTPHONE_FORCED)
|
|
|
|
|
|| (empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED) && ! empty($conf->global->MAIN_MENU_SMARTPHONE) && preg_match('/smartphone/',$conf->global->MAIN_MENU_SMARTPHONE)))
|
2011-02-18 08:19:25 +00:00
|
|
|
{
|
2011-11-02 17:02:31 +00:00
|
|
|
print ' '.img_warning($langs->transnoentitiesnoconv("ThisForceAlsoTheme"));
|
2011-02-18 08:19:25 +00:00
|
|
|
}
|
2011-02-16 23:00:45 +00:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td>';
|
|
|
|
|
$filelib=preg_replace('/.php$/i','',(empty($conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED)?$conf->global->MAIN_MENUFRONT_SMARTPHONE:$conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED));
|
|
|
|
|
print $filelib;
|
2012-07-09 16:09:44 +00:00
|
|
|
if (! empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED) && preg_match('/smartphone/',$conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED)
|
|
|
|
|
|| (empty($conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED) && ! empty($conf->global->MAIN_MENU_SMARTPHONE) && preg_match('/smartphone/',$conf->global->MAIN_MENUFRONT_SMARTPHONE)))
|
2011-02-18 08:19:25 +00:00
|
|
|
{
|
2011-11-02 17:02:31 +00:00
|
|
|
print ' '.img_warning($langs->transnoentitiesnoconv("ThisForceAlsoTheme"));
|
2011-02-18 08:19:25 +00:00
|
|
|
}
|
2011-02-16 23:00:45 +00:00
|
|
|
print '</td>';
|
|
|
|
|
print '</tr>';
|
2010-02-20 15:07:46 +00:00
|
|
|
|
|
|
|
|
print '</table>';
|
2007-05-07 16:44:27 +00:00
|
|
|
}
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2007-05-07 16:44:27 +00:00
|
|
|
print '</div>';
|
|
|
|
|
|
|
|
|
|
|
2012-02-10 16:09:13 +00:00
|
|
|
dol_htmloutput_errors('',$errmsgs);
|
2012-02-10 15:37:41 +00:00
|
|
|
|
|
|
|
|
|
2012-07-09 16:09:44 +00:00
|
|
|
if ($action != 'edit')
|
2007-05-07 16:44:27 +00:00
|
|
|
{
|
2010-02-20 15:07:46 +00:00
|
|
|
print '<div class="tabsAction">';
|
|
|
|
|
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=edit">'.$langs->trans("Modify").'</a>';
|
|
|
|
|
print '</div>';
|
2007-04-11 00:45:42 +00:00
|
|
|
}
|
2009-08-22 16:35:38 +00:00
|
|
|
|
2007-04-11 00:45:42 +00:00
|
|
|
|
2011-08-27 14:24:16 +00:00
|
|
|
llxFooter();
|
2012-02-10 15:37:41 +00:00
|
|
|
|
|
|
|
|
$db->close();
|
2007-04-11 00:45:42 +00:00
|
|
|
?>
|