module code

This commit is contained in:
fredtempez 2019-01-26 22:36:54 +01:00
parent f63d331b96
commit 6b672d5414
3 changed files with 24 additions and 6 deletions

View File

@ -79,7 +79,6 @@ footer #footersiteRight, #footerbodyRight {
} }
/** /**
* Éléments de contenu * Éléments de contenu
*/ */
@ -145,3 +144,13 @@ input[type='password']:hover,
select:hover, select:hover,
textarea:hover { textarea:hover {
} }
/* iframe du module core */
iframe {
height: 100%;
border: none;
margin-top: 10px;
margin-bottom: 10px;
}

View File

@ -63,11 +63,11 @@ class code extends common {
$this->setData(['module', $this->getUrl(0), 'count', helper::filter($this->getData(['module', $this->getUrl(0), 'count']) + 1, helper::FILTER_INT)]); $this->setData(['module', $this->getUrl(0), 'count', helper::filter($this->getData(['module', $this->getUrl(0), 'count']) + 1, helper::FILTER_INT)]);
// Valeurs en sortie // Valeurs en sortie
$this->addOutput([ $this->addOutput([
'content' => '<iframe src="' . 'content' => '<iframe name="modulecodefile" src="' .
helper::baseUrl(false) . helper::baseUrl(false) .
'site/file/source/' . 'site/file/source/' .
$this->getData(['module', $this->getUrl(0), 'file']) . $this->getData(['module', $this->getUrl(0), 'file']) .
'" frameborder="0"></iframe>' , '"></iframe>' ,
'state' => true 'state' => true
]); ]);
} }

View File

@ -79,7 +79,6 @@ footer #footersiteRight, #footerbodyRight {
} }
/** /**
* Éléments de contenu * Éléments de contenu
*/ */
@ -145,3 +144,13 @@ input[type='password']:hover,
select:hover, select:hover,
textarea:hover { textarea:hover {
} }
/* iframe du module core */
iframe {
height: 100%;
border: none;
margin-top: 10px;
margin-bottom: 10px;
}