diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index 90168e4790d..760651a7f2b 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -51,6 +51,7 @@ class ActionComm extends CommonObject var $datep; // Date action start (datep) var $datef; // Date action end (datep2) + var $dateend; // ?? var $durationp = -1; // -1=Unkown duration var $fulldayevent = 0; // 1=Event on full day var $punctual = 1; // Milestone diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index 48b48191c91..53b0dae69ab 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -381,54 +381,45 @@ if ($action == 'create') if (! empty($conf->use_javascript_ajax)) { - print "\n".''."\n"; } - print '
'; + print ''; print ''; print ''; if ($backtopage) print ''; @@ -647,43 +638,34 @@ if ($id) if ($action == 'edit') { - if ($conf->use_javascript_ajax) + if (! empty($conf->use_javascript_ajax)) { - print "\n".''."\n"; } // Fiche action en mode edition - print ''; + print ''; print ''; print ''; print '';