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
*/
@ -144,4 +143,14 @@ input[type='password']:hover,
.inputFile:hover,
select: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)]);
// Valeurs en sortie
$this->addOutput([
'content' => '<iframe src="' .
'content' => '<iframe name="modulecodefile" src="' .
helper::baseUrl(false) .
'site/file/source/' .
$this->getData(['module', $this->getUrl(0), 'file']) .
'" frameborder="0"></iframe>' ,
'"></iframe>' ,
'state' => true
]);
}

View File

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