Overview
Comment:Correction image de fond avec couleurs personnalisées
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 685bb7583a21fa6706e31dfa4ddf10acf68f9044
User & Date: bohwaz on 2017-08-02 04:30:24
Other Links: branch diff | manifest | tags
Context
2017-08-02
04:35
Modernisation code: ne plus appeler querySingle et query check-in: 2258074fe9 user: bohwaz tags: dev
04:30
Correction image de fond avec couleurs personnalisées check-in: 685bb7583a user: bohwaz tags: dev
04:07
Squelettes: Ajout filtre "date" pour les dates en anglais check-in: 42f3dfa075 user: bohwaz tags: dev
Changes

Modified src/include/lib/Garradin/Template.php from [aad5f09e9f] to [1501151da1].

74
75
76
77
78
79
80
81
82
83
84
85
86
87
88

        $out = '
        <style type="text/css">
        :root {
            --gMainColor: %s;
            --gSecondColor: %s;
        }
        .header .menu, html {
            background-image: url("%s");
        }
        </style>';

        return sprintf($out, $couleur1, $couleur2, $image_fond);
    }
}







|







74
75
76
77
78
79
80
81
82
83
84
85
86
87
88

        $out = '
        <style type="text/css">
        :root {
            --gMainColor: %s;
            --gSecondColor: %s;
        }
        .header .menu, body {
            background-image: url("%s");
        }
        </style>';

        return sprintf($out, $couleur1, $couleur2, $image_fond);
    }
}