Files
oddmuse/modules
Alex Schroeder c0a6bfebf2 Add language to body element and various divs
The benefit is that this allows us to use the CSS rule that allows the
browser to hyphenate words:

body { hyphens: auto }

This required a number of changes.

wiki.pl

- new option, $CurrentLanguage
- GetHtmlHeader adds lang attribute to body
- PrintAllPages adds lang attribute to div
- PrintPageContent adds lang attribute to div
- PageHtml adds div with lang attribute
- GetLanguages sorts languages by occurences
- GetLanguage is new and returns the first language of GetLanguages

Modules that had to be changed because they refer to the divs that
have now been changed:

- crossbar.pl

Tests that had to be changed:

- atom.t
- crossbar.t
- hr.t
- languages.t
- portrait-support.t
- rss.t
2019-09-27 21:34:32 +02:00
..
2015-09-12 19:06:59 +02:00
2018-10-21 10:01:48 +02:00
2017-11-01 16:51:23 +01:00
2017-09-07 22:27:47 +02:00
2015-10-21 12:15:25 +03:00
2014-11-06 21:48:08 +01:00
2016-06-23 00:34:56 +02:00
2015-10-15 14:41:55 +02:00
2015-10-18 02:48:06 +03:00
2015-07-28 10:47:21 +02:00
2016-06-23 00:34:56 +02:00
2017-09-07 22:27:47 +02:00
2016-06-19 11:55:58 +02:00
2019-01-24 22:22:45 +01:00
2015-10-31 02:58:00 +02:00
2018-09-11 13:11:44 +02:00
2019-01-24 22:22:45 +01:00
2019-01-27 20:07:31 +01:00
2015-08-18 11:11:13 +02:00
2015-08-18 11:11:13 +02:00
2017-04-21 02:03:15 +03:00
2016-08-02 11:49:41 +02:00
2019-04-13 19:33:36 +02:00
2016-08-08 11:30:27 +02:00
2014-08-13 12:06:55 +02:00
2015-10-15 14:24:08 +02:00
2019-05-24 21:43:25 +02:00