mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Uniformisation du look des pages de config des modules.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* 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
|
||||
@@ -169,7 +170,17 @@ foreach ($orders as $key => $value)
|
||||
|
||||
if ($objMod->config_page_url)
|
||||
{
|
||||
print '<td><a href="'.$objMod->config_page_url.'">Configurer</a></td>';
|
||||
if (is_array($objMod->config_page_url)) {
|
||||
print '<td>';
|
||||
$i=0;
|
||||
foreach ($objMod->config_page_url as $page) {
|
||||
if ($i++) { print '<a href="'.$page.'">'.ucfirst($page).'</a> '; }
|
||||
else { print '<a href="'.$page.'">Configurer</a> '; }
|
||||
}
|
||||
print '</td>';
|
||||
} else {
|
||||
print '<td><a href="'.$objMod->config_page_url.'">Configurer</a></td>';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user