echo "Aujourd'hui"; } else { echo jour_fr(date("D", $today), 'majf2') . " " . date("d/m", $today); } echo "</td>\n"; echo "<td style='text-align:center; width: 16px;'>\n"; echo "<a title=\"Aller au jour suivant\" href=\"#\" onclick='javascript:updateCalendarWithUnixDate({$demain});dateChanged(calendarInstanciation);'><img src='../images/icons/arrow-right.png' width='16' height='16' title='Aller au jour suivant' alt='Aller au jour suivant' /></a>\n"; echo "</td>\n"; echo "<td style='text-align:center; width: 16px;'>\n"; echo " <a title=\"Aller à la semaine suivante\" href=\"#\" onclick='javascript:updateCalendarWithUnixDate({$semaine_suivante});dateChanged(calendarInstanciation);'><img src='../images/icons/arrow-right-double.png' width='16' height='16' title='Aller à la semaine suivante' alt='Aller à la semaine suivante' /></a>\n"; echo "</td>\n"; echo "</tr>\n"; echo "\n"; } echo "<tr>\n\t\t\t\t<td colspan='6'>"; echo "<textarea name=\"contenu\" style=\"background-color: white;\" id=\"contenu\">" . $ctCompteRendu->getContenu() . "</textarea>"; // gestion des fichiers attaché echo '<div style="border-style:solid; border-width:1px; border-color: ' . $couleur_bord_tableau_notice . '; background-color: ' . $couleur_cellule[$type_couleur] . '; padding: 2px; margin: 2px;">'; echo "<b>Fichier(s) attaché(s) : </b><br />"; echo '<div id="div_fichier">'; $architecture = "/documents/cl_dev" . $groupe->getId(); // Affichage des documents joints //$document = new CtDocument(); //for ide completion $documents = $ctCompteRendu->getCahierTexteCompteRenduFichierJoints(); echo "<table style=\"border-style:solid; border-width:0px; border-color: " . $couleur_bord_tableau_notice . "; background-color: #000000; width: 100%\" cellspacing=\"1\" summary=\"Tableau des documents joints\">\n"; "<tr style=\"border-style:solid; border-width:1px; border-color: " . $couleur_bord_tableau_notice . "; background-color: {$couleur_entete_fond[$type_couleur]};\"><td style=\"text-align: center;\"><b>Titre</b></td><td style=\"text-align: center; width: 100px\"><b>Taille en Ko</b></td><td style=\"text-align: center; width: 100px\"></td></tr>\n"; if (!empty($documents)) { $nb_documents_joints = 0; foreach ($documents as $document) { //if ($ic=='1') { $ic='2'; $couleur_cellule_=$couleur_cellule[$type_couleur]; } else { $couleur_cellule_=$couleur_cellule_alt[$type_couleur]; $ic='1'; } echo "<tr style=\"border-style:solid; border-width:1px; border-color: " . $couleur_bord_tableau_notice . "; background-color: #FFFFFF;\">\n\t\t\t\t\t\t<td>\n";