forked from ZwiiCMS-Team/ZwiiCMS
Merge branch 'master' into dev10
This commit is contained in:
commit
2f94b27fc8
@ -1197,7 +1197,8 @@ class core extends common {
|
||||
$css .= 'a{color:' . $colors['normal'] . '}';
|
||||
$css .= 'a:hover{color:' . $colors['darken'] . '}';
|
||||
$css .= 'body,.row > div{font-size:' . $this->getData(['theme', 'text', 'fontSize']) . '}';
|
||||
$css .= 'body,.block h4,input[type=\'email\'],input[type=\'text\'],input[type=\'password\'],.inputFile,select,textarea,.inputFile{color:' . $this->getData(['theme', 'text', 'textColor']) . '}';
|
||||
$css .= 'body,.block h4{color:' . $this->getData(['theme', 'text', 'textColor']) . '}';
|
||||
$css .= 'select,input[type=\'email\'],input[type=\'text\'],textarea{color:' . $this->getData(['theme', 'text', 'backgroundColor']) . '}';
|
||||
// Couleur fixée dans admin.css
|
||||
//$css .= '.button.buttonGrey,.button.buttonGrey:hover{color:' . $this->getData(['theme', 'text', 'textColor']) . '}';
|
||||
$css .= '.container{max-width:' . $this->getData(['theme', 'site', 'width']) . '}';
|
||||
|
@ -44,8 +44,6 @@ class gallery extends common {
|
||||
public function config() {
|
||||
// Liste des galeries
|
||||
$galleries = $this->getData(['module', $this->getUrl(0)]);
|
||||
$countGalleries = count($this->getData(['module',$this->getUrl(0)]));
|
||||
|
||||
if($galleries) {
|
||||
foreach($galleries as $galleryId => $gallery) {
|
||||
// Erreur dossier vide
|
||||
@ -58,9 +56,6 @@ class gallery extends common {
|
||||
else {
|
||||
$gallery['config']['directory'] = '<span class="galleryConfigError">' . $gallery['config']['directory'] . ' (dossier introuvable)</span>';
|
||||
}
|
||||
// Ordre des galeries
|
||||
// Element 0 chaine vide
|
||||
$galeryOrder = range(1,count($this->getData(['module',$this->getUrl(0)])));
|
||||
// Met en forme le tableau
|
||||
self::$galleries[] = [
|
||||
$gallery['config']['name'],
|
||||
|
Loading…
Reference in New Issue
Block a user