Loading module/Application/src/Application/Service/Fichier/FichierService.php +7 −9 Changes for module/Application/src/Application/Service/Fichier/FichierService.php: 7 added lines, 9 removed lines. Original line number Diff line number Diff line Loading @@ -552,15 +552,13 @@ class FichierService extends BaseService $membres = array_diff($acteurs, $rapporteurs, $directeurs); $informations["cotut-libelle"] = ($these->getLibelleEtabCotutelle())?($these->getLibelleEtabCotutelle()):"non"; $informations["cotut-pays"] = ($these->getLibellePaysCotutelle())?($these->getLibellePaysCotutelle()):"non"; $informations["logo-cotutelle"] = ($these->getLibelleEtabCotutelle())?"":"non"; //fetch logo cotut /** @var Etablissement $etabCotut */ $etabCotut = $this->getEtablissementService()->getRepository()->findOneByLibelle($informations["cotut-libelle"]); if ($etabCotut) { $logo = $etabCotut->getCheminLogo(); if ($logo) $informations["logo-cotutelle"] = $logo; } // $informations["logo-cotutelle"] = ($these->getLibelleEtabCotutelle())?"":"non"; // /** @var Etablissement $etabCotut */ // $etabCotut = $this->getEtablissementService()->getRepository()->findOneByLibelle($informations["cotut-libelle"]); // if ($etabCotut) { // $logo = $etabCotut->getCheminLogo(); // if ($logo) $informations["logo-cotutelle"] = $logo; // } $informations["logo-associe"] = "non"; if (TheseController::estENSI($directeurs)) $informations["logo-associe"] = "public/logo_ensi.jpg"; Loading module/Application/src/Application/Service/These/PageDeGarde/pagedecouverture.phtml +9 −9 Changes for module/Application/src/Application/Service/These/PageDeGarde/pagedecouverture.phtml: 9 added lines, 9 removed lines. Original line number Diff line number Diff line Loading @@ -159,15 +159,15 @@ $PATH = Structure::PATH; <?php endif; ?> </td> <?php endif; ?> <?php if ($informations["cotut-libelle"] != "non"): ?> <td> <?php if ($informations["logo-cotutelle"]): ?> <img class="logo_small" src="<?php echo $PATH . $informations["logo-cotutelle"]; ?>"/> <?php else: ?> <span style='background-color:red;'> Établissement de cotutelle ou logo d'établissement non renseigné. </span> <?php endif; ?> </td> <?php endif; ?> <!-- --><?php //if ($informations["cotut-libelle"] != "non"): ?> <!-- <td>--> <!-- --><?php //if ($informations["logo-cotutelle"]): ?> <!-- <img class="logo_small" src="--><?php //echo $PATH . $informations["logo-cotutelle"]; ?><!--"/>--> <!-- --><?php //else: ?> <!-- <span style='background-color:red;'> Établissement de cotutelle ou logo d'établissement non renseigné. </span>--> <!-- --><?php //endif; ?> <!-- </td>--> <!-- --><?php //endif; ?> <td> <?php if ($informations["logo-ecoleDoctorale"]): ?> <img class="logo_small" src="<?php echo $PATH . ($informations["logo-ecoleDoctorale"]); ?>"/> Loading Loading
module/Application/src/Application/Service/Fichier/FichierService.php +7 −9 Changes for module/Application/src/Application/Service/Fichier/FichierService.php: 7 added lines, 9 removed lines. Original line number Diff line number Diff line Loading @@ -552,15 +552,13 @@ class FichierService extends BaseService $membres = array_diff($acteurs, $rapporteurs, $directeurs); $informations["cotut-libelle"] = ($these->getLibelleEtabCotutelle())?($these->getLibelleEtabCotutelle()):"non"; $informations["cotut-pays"] = ($these->getLibellePaysCotutelle())?($these->getLibellePaysCotutelle()):"non"; $informations["logo-cotutelle"] = ($these->getLibelleEtabCotutelle())?"":"non"; //fetch logo cotut /** @var Etablissement $etabCotut */ $etabCotut = $this->getEtablissementService()->getRepository()->findOneByLibelle($informations["cotut-libelle"]); if ($etabCotut) { $logo = $etabCotut->getCheminLogo(); if ($logo) $informations["logo-cotutelle"] = $logo; } // $informations["logo-cotutelle"] = ($these->getLibelleEtabCotutelle())?"":"non"; // /** @var Etablissement $etabCotut */ // $etabCotut = $this->getEtablissementService()->getRepository()->findOneByLibelle($informations["cotut-libelle"]); // if ($etabCotut) { // $logo = $etabCotut->getCheminLogo(); // if ($logo) $informations["logo-cotutelle"] = $logo; // } $informations["logo-associe"] = "non"; if (TheseController::estENSI($directeurs)) $informations["logo-associe"] = "public/logo_ensi.jpg"; Loading
module/Application/src/Application/Service/These/PageDeGarde/pagedecouverture.phtml +9 −9 Changes for module/Application/src/Application/Service/These/PageDeGarde/pagedecouverture.phtml: 9 added lines, 9 removed lines. Original line number Diff line number Diff line Loading @@ -159,15 +159,15 @@ $PATH = Structure::PATH; <?php endif; ?> </td> <?php endif; ?> <?php if ($informations["cotut-libelle"] != "non"): ?> <td> <?php if ($informations["logo-cotutelle"]): ?> <img class="logo_small" src="<?php echo $PATH . $informations["logo-cotutelle"]; ?>"/> <?php else: ?> <span style='background-color:red;'> Établissement de cotutelle ou logo d'établissement non renseigné. </span> <?php endif; ?> </td> <?php endif; ?> <!-- --><?php //if ($informations["cotut-libelle"] != "non"): ?> <!-- <td>--> <!-- --><?php //if ($informations["logo-cotutelle"]): ?> <!-- <img class="logo_small" src="--><?php //echo $PATH . $informations["logo-cotutelle"]; ?><!--"/>--> <!-- --><?php //else: ?> <!-- <span style='background-color:red;'> Établissement de cotutelle ou logo d'établissement non renseigné. </span>--> <!-- --><?php //endif; ?> <!-- </td>--> <!-- --><?php //endif; ?> <td> <?php if ($informations["logo-ecoleDoctorale"]): ?> <img class="logo_small" src="<?php echo $PATH . ($informations["logo-ecoleDoctorale"]); ?>"/> Loading