classes/local/settings.php
/**
     * Additional settings
     *
     * This is intended to be overriden in the subtheme to add new pages for example.
     *
     * @param admin_settingpage $settings
     */
Additional settings
This is intended to be overriden in the subtheme to add new pages for example.


Additional settings This is intended to be overriden in the subtheme to add new pages for example .
protected static function additional_settings(admin_settingpage &$settings) {
        $page = new admin_settingpage('additionalinfo', static::get_string('additionalinfo', 'theme_envf'));
        $defaultvalue = "Ecole Nationale Vétérinaire d'Alfort;[[pix:theme_envf|logos/enva]];https://www.vet-alfort.fr/;"
            . "7, avenue du Général de Gaulle, 94700 Maisons-Alfort\n"
            . "Oniris;[[pix:theme_envf|logos/oniris]];https://www.oniris-nantes.fr/;Rue de la Géraudière 44322 NANTES Cedex 3\n"
            . "Ecole Nationale Vétérinaire de Toulouse;[[pix:theme_envf|logos/envt]];http://www.envt.fr/;23 Chemin des Capelles "
            . "– BP 87614 – 31 076 – Toulouse Cedex 3 – France\n"
            . "VetAgro Sup;[[pix:theme_envf|logos/vetagro]];http://www.vetagro-sup.fr/;1 avenue Bourgelat, 69280 Marcy-l'Etoile\n";
        $setting = new \admin_setting_configtextarea('theme_envf/addresses',
            static::get_string('addresses', 'theme_envf'),
            static::get_string('addresses_desc', 'theme_envf'),
            $defaultvalue,
            PARAM_RAW);
        $page->add($setting);
        $defaultvalue = "mentionlegales|local/mcms/index.php?p=mentions-legales\n"
        ."cookiesrgpd|local/mcms/index.php?p=cookies\n"
        ."copyright";
        $setting = new \admin_setting_configtextarea('theme_envf/legallinks',
            static::get_string('legallinks', 'theme_envf'),
            static::get_string('legallinks_desc', 'theme_envf'),
            $defaultvalue,
            PARAM_RAW);
        $page->add($setting);
        $settings->add($page);
    }
protected static function additional_settings ( admin_settingpage & $ settings ) { $ page = new admin_settingpage ( 'additionalinfo' , static :: get_string ( 'additionalinfo' , 'theme_envf' ) ) ; $ defaultvalue = " Ecole Nationale Vétérinaire d'Alfort;[[pix:theme_envf|logos/enva]];https://www.vet-alfort.fr/;" . " 7, avenue du Général de Gaulle, 94700 Maisons-Alfort\n " . " Oniris;[[pix:theme_envf|logos/oniris]];https://www.oniris-nantes.fr/;Rue de la Géraudière 44322 NANTES Cedex 3\n " . " Ecole Nationale Vétérinaire de Toulouse;[[pix:theme_envf|logos/envt]];http://www.envt.fr/;23 Chemin des Capelles " . " – BP 87614 – 31 076 – Toulouse Cedex 3 – France\n" . " VetAgro Sup;[[pix:theme_envf|logos/vetagro]];http://www.vetagro-sup.fr/;1 avenue Bourgelat, 69280 Marcy-l'Etoile \n " ; $ setting = new \ admin_setting_configtextarea ( 'theme_envf/addresses' , static :: get_string ( 'addresses' , 'theme_envf' ) , static :: get_string ( 'addresses_desc' , 'theme_envf' ) , $ defaultvalue , PARAM_RAW ) ; $ page -> add ( $ setting ) ; $ defaultvalue = " mentionlegales|local/mcms/index.php?p=mentions-legales \n " . " cookiesrgpd|local/mcms/index.php?p=cookies \n " . " copyright " ; $ setting = new \ admin_setting_configtextarea ( 'theme_envf/legallinks' , static :: get_string ( 'legallinks' , 'theme_envf' ) , static :: get_string ( 'legallinks_desc' , 'theme_envf' ) , $ defaultvalue , PARAM_RAW ) ; $ page -> add ( $ setting ) ; $ settings -> add ( $ page ) ; }
Additional settings
 This is intended to be overriden in the subtheme to add new pages for example.
Additional settings This is intended to be overriden in the subtheme to add new pages for example .
// Advanced settings.