Messages écrits par Joseph Rézeau

Avatar Core developers Avatar Plugin developers Avatar Testers Avatar Translators
Hello there!
Answering my own message...
I'm a little surprised that my previous message has not triggered any response and I've been wondering:
  1. maybe most moodle users do not mind the glossary definition window popping up full-size when triggered by an autolinked word from an uploaded HTML file;
  2. maybe not many moodle users actually have courses with uploaded HTML files and autolinks to a glossary;
  3. maybe not many moodle users actually use uploaded HTML files at all...
Just curious to find out whether my two proposed workarounds have been useful to anyone out there (and if they actually work on other people's Moodle sites)thoughtful.

All the best,

Joseph

Moodle in English -> Thèmes -> Kubrick -> Re: Kubrick

par Joseph Rézeau,
Avatar Core developers Avatar Plugin developers Avatar Testers Avatar Translators

Hi David,

Congratulations on your efforts to develop the Kubrick theme for Moodle & for making it available. I especially like: the 2 column design, the 800x600 resolution taken into account, the overall sleek design.

I am currently designing my own theme, partly based on Kubrick, i.e. using 2 columns and a fixed width design with a body 760 pixels wide.

I have met with problems with some content overflowing out of the fixed 760px width. Some are unavoidable, others are due to current limits (or bugs) of Moodle 1.5 itself. Here is an example (with a workaround).

Glossary -> Add a new entry (Edit)

The two help links (+icons) to the left of the text editing htmlarea block are unfortunately located within a table cell with a "nowrap" attribute. This means that that table cell will always be as wide as necessary to accomodate the longest of the two help links' text. The problem is hardly noticeable in English: Write carefully and About the HTML editor almost fit in, especially at the fairly small font selected for links in the Kubrick theme.

However, in other languages, the translated strings can be significantly longer, e.g. À propos de l'éditeur WYSIWYG in French, which means that the htmlarea block is pushed to the right, overflowing the 760px-wide body... This is not dramatic, but it's not very aesthetic either.

Workaround

First of all, that "nowrap" attribute should not be there in the Moodle code, it's useless and deprecated.

In the meantime, it's possible to over-ride it in the CSS with this simple class coding:

.entrybox td {
white-space: normal;
}

See the result on attached screen dump 2

All the best,

Joseph

Annexe moodle02.jpg
Avatar Core developers Avatar Plugin developers Avatar Testers Avatar Translators

Hi Chris

I'm using Moodle 1.5 and I don't see any problem with moving the Quiz results block to the left and to the right column (see attached screen dumps where the move right & move left icons are clearly visible).

Which means that this Quiz block should not be a problem for using the Kubrick theme.

Joseph


Annexe moodle.jpg
Avatar Développeurs Avatar Développeurs de plugins Avatar Testeurs Avatar Traducteurs

Merci Nicolas ("excellente prose de Joseph" blush) mais, tant qu'à couper les cheveux en quatre, pourquoi pas en huit? Tu as raison de le souligner, en typographie traditionnelle c'est bien une espace fine qu'on utilise après les guillemets ouvrants, avant les guillemets fermants et avant tous les signes de ponctuation doubles (;:?!).

J'ajouterai que les espaces fines (valant ¼ de quadratin*), les demi-cadratins et les cadratins existent bel et bien en tant qu'entités HTML, et fonctionnent dans les navigateurs de type Mozilla. Voir les exemples ci-dessous.

*cadratin: espace ayant la largeur de la lettre « M », elle-même fonction du corps utilisé.

ici nous n'avons aucune «espace»
ici nous avons des « espaces » insécables code  
ici nous avons des « espaces » fines quart de cadratin code   ou  
ici nous avons des « espaces » demi-cadratin code  
ici nous avons des « espaces » cadratin code  
note: toutes ces espaces sont insécables

NOTE: les espaces fines, demi-cadratin et cadratin fonctionnent dans Firefox - et autres Mozillasmile - mais pas dans MSIE 6 (encore une bonne raison pour abandonner IEwink).

Joseph

Avatar Développeurs Avatar Développeurs de plugins Avatar Testeurs Avatar Traducteurs

Bonjour Valéry et Nicolas,

Petite remarque de puriste : les guillemets '' et "" ne sont pas des guillemets anglo-saxons mais dactylographiques. Ils sont une survivance de l'époque lointaine des machines à écrirewink, et doivent autant que possible être remplacés par des guillemets typographiques.

guillemets typographiques français : bla bla et « bla bla » (ces derniers appelés chevrons)

guillemets typographiques anglais : bla bla et bla bla

Comme le fait justement remarquer Nicolas, en français, les guillemets doubles ouvrants sont suivis d'une espace* insécable et les guillemets doubles fermants sont précédés d'une espace insécable.

* en typographie, le mot espace est du féminin

Caractère Entité
HTML
Numéro
unicode
Description
«
« « guillemet français ouvrant
»
» » guillemet français fermant
“ “ guillemet anglais ouvrant
” ” guillemet anglais fermant
‘ ‘ apostrophe ouvrante
’ ’ apostrophe fermante

Cordialement,

Joseph