diff --git a/htdocs/admin/agenda_extsites.php b/htdocs/admin/agenda_extsites.php
index 6cb1f766ef6..d689b2df8af 100644
--- a/htdocs/admin/agenda_extsites.php
+++ b/htdocs/admin/agenda_extsites.php
@@ -255,26 +255,26 @@ print "";
$i = 1;
while ($i <= $MAXAGENDA) {
$key = $i;
- $name = 'AGENDA_EXT_NAME'.$key;
- $src = 'AGENDA_EXT_SRC'.$key;
- $offsettz = 'AGENDA_EXT_OFFSETTZ'.$key;
- $color = 'AGENDA_EXT_COLOR'.$key;
- $enabled = 'AGENDA_EXT_ENABLED'.$key;
- $default = 'AGENDA_EXT_ACTIVEBYDEFAULT'.$key;
+ $name = 'AGENDA_EXT_NAME' . $key;
+ $src = 'AGENDA_EXT_SRC' . $key;
+ $offsettz = 'AGENDA_EXT_OFFSETTZ' . $key;
+ $color = 'AGENDA_EXT_COLOR' . $key;
+ $enabled = 'AGENDA_EXT_ENABLED' . $key;
+ $default = 'AGENDA_EXT_ACTIVEBYDEFAULT' . $key;
print '
';
// Nb
- print '| '.$langs->trans("AgendaExtNb", $key)." | ";
+ print '' . $langs->trans("AgendaExtNb", $key) . " | ";
// Name
- print ' | ';
+ print ' | ';
// URL
- print ' | ';
+ print ' | ';
// Offset TZ
- print ' | ';
+ print ' | ';
// Color (Possible colors are limited by Google)
print '';
//print $formadmin->selectColor($conf->global->$color, "google_agenda_color".$key, $colorlist);
- print $formother->selectColor((GETPOST("AGENDA_EXT_COLOR".$key) ?GETPOST("AGENDA_EXT_COLOR".$key) : getDolGlobalString($color)), "AGENDA_EXT_COLOR".$key, 'extsitesconfig', 1, '', 'hideifnotset');
+ print $formother->selectColor((GETPOST("AGENDA_EXT_COLOR" . $key) ? GETPOST("AGENDA_EXT_COLOR" . $key) : getDolGlobalString($color)), "AGENDA_EXT_COLOR" . $key, 'extsitesconfig', 1, '', 'hideifnotset');
print ' | ';
// Calendar active by default
print '';
|