Skip to content
Extraits de code Groupes Projets
Valider 0ed59016 rédigé par kent1@arscenic.info's avatar kent1@arscenic.info
Parcourir les fichiers

simples quotes

parent 42745f61
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -39,18 +39,18 @@ function medias_raccourcis_doc( ...@@ -39,18 +39,18 @@ function medias_raccourcis_doc(
. affiche_raccourci_doc($doc, $id_document, 'center') . affiche_raccourci_doc($doc, $id_document, 'center')
. affiche_raccourci_doc($doc, $id_document, 'right'); . affiche_raccourci_doc($doc, $id_document, 'right');
if ($mode == 'document' if ($mode == 'document'
and ($inclus == "embed" or $inclus == "image") and ($inclus == 'embed' or $inclus == 'image')
and (($largeur > 0 and $hauteur > 0) and (($largeur > 0 and $hauteur > 0)
or in_array($media, array('video', 'audio'))) or in_array($media, array('video', 'audio')))
) { ) {
$raccourci = $raccourci =
"<span>" . _T('medias:info_inclusion_vignette') . "</span>" '<span>' . _T('medias:info_inclusion_vignette') . '</span>'
. $raccourci . $raccourci
. "<span>" . _T('medias:info_inclusion_directe') . "</span>" . '<span>' . _T('medias:info_inclusion_directe') . '</span>'
. affiche_raccourci_doc('emb', $id_document, 'left') . affiche_raccourci_doc('emb', $id_document, 'left')
. affiche_raccourci_doc('emb', $id_document, 'center') . affiche_raccourci_doc('emb', $id_document, 'center')
. affiche_raccourci_doc('emb', $id_document, 'right'); . affiche_raccourci_doc('emb', $id_document, 'right');
} }
return "<div class='raccourcis'>" . $raccourci . "</div>"; return "<div class='raccourcis'>" . $raccourci . '</div>';
} }
...@@ -18,7 +18,7 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -18,7 +18,7 @@ if (!defined('_ECRIRE_INC_VERSION')) {
* @return mixed * @return mixed
*/ */
function trouver_modele_emb($extension, $mime_type) { function trouver_modele_emb($extension, $mime_type) {
if ($extension and trouve_modele($fond = "emb_" . $extension)) { if ($extension and trouve_modele($fond = 'emb_' . $extension)) {
return $fond; return $fond;
} }
$fond = preg_replace(',\W,', '_', $mime_type); $fond = preg_replace(',\W,', '_', $mime_type);
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter