Posts made by Martin Dougiamas

Moodle in English -> Themes -> New Default Avatars -> Re: New Default Avatars

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
I originally had something like this and found that for some women it has unpleasant associations they would rather not remember. So I went for the smiley cake.  You can always change your own site default if you want to.

The smiley is good in another way ... it makes people want to upload a replacement. big grin
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Is there any reason we can't include the main style sheets in there all the time?

    $stylesheetshtml = '';
    foreach ($CFG->stylesheets as $stylesheet) {
        $stylesheetshtml .= '<link rel="stylesheet" type="text/css" href="'.$stylesheet.'" />'."\n";
    }


Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Phew, that's a huge job ... too big for 1.5.   It seems classes are required and that generic selectors are not possible down to that level.

I am still planning to move to a form class that we would use for all forms - this would be best done then.