| 1 |
$Id$
|
| 2 |
|
| 3 |
Drupal text size module
|
| 4 |
----------------------
|
| 5 |
Author - Christian Zwahlen info@zwahlendesign.ch
|
| 6 |
Requires - Drupal 5
|
| 7 |
License - GPLv3 (see LICENSE)
|
| 8 |
|
| 9 |
Description
|
| 10 |
-----------
|
| 11 |
This module display a text resizer in a block for better Web Accessibility.
|
| 12 |
|
| 13 |
Uniform menu name, based on the open source browser Firefox http://www.mozilla.com/en-US/firefox/
|
| 14 |
|
| 15 |
Firefox 2:
|
| 16 |
Text Size
|
| 17 |
* Increase Ctrl++
|
| 18 |
* Decrease Ctrl+-
|
| 19 |
* Normal Ctrl+0
|
| 20 |
|
| 21 |
Features
|
| 22 |
--------
|
| 23 |
* No Javascript required.
|
| 24 |
* No CSS required.
|
| 25 |
* Works in all themes (tested in: Bluemarine, Garland, Zen, Chameleon, Pushbutton).
|
| 26 |
* No images in the quellcode, only one link text (not the ALT text from the image and the text from link).
|
| 27 |
|
| 28 |
History (new drupal.org version)
|
| 29 |
--------
|
| 30 |
1.2.0 - For Drupal 6.x
|
| 31 |
1.1.1 - For Drupal 5.x
|
| 32 |
0.1.5 - 15.11.2007 New: Show the current text size, normal text size is first active, works on IE 6/7.
|
| 33 |
0.1.4 - 15.09.2007 New: More settings, language indipendend icon design, german translation,.
|
| 34 |
0.1.3.1 - 22.08.2007 New: Help page, fixed hover bug.
|
| 35 |
0.1.3 - 18.08.2007 New: New code, more settings, icons as background.
|
| 36 |
0.1.2 - 01.08.2007 New: Gnome 2.18 icons.
|
| 37 |
0.1.1 - 28.07.2007 New: Display the current page, Settings in Drupal: "Text Size Normal".
|
| 38 |
0.1.0 - 25.07.2007
|
| 39 |
|
| 40 |
Installation
|
| 41 |
------------
|
| 42 |
1. Copy the textsize directory to the Drupal modules/ directory.
|
| 43 |
2. Go to "administer" -> "modules" and enable the module.
|
| 44 |
3. Check the "administer" -> "access control" page to enable use of
|
| 45 |
this module to different roles.
|
| 46 |
4. Make sure the menu item is enabled in "administer" -> "menus".
|
| 47 |
|
| 48 |
Setup
|
| 49 |
-----
|
| 50 |
1. Go to "admin/settings/textsize"
|
| 51 |
2. Change the default normal text size (100%).
|
| 52 |
3. Go to "admin/settings/locale/language/import" and import your language file (for german "/modules/pagestyle/po/de.po").
|
| 53 |
4. Create your own icons, the source file is in the file "textsize_source.tar.gz" directory "/images/source",
|
| 54 |
name it:
|
| 55 |
"decrease.png",
|
| 56 |
"increase.png",
|
| 57 |
"normal.png",
|
| 58 |
and copy in the directory "modules/textsize/images".
|
| 59 |
The GIF images are for the Internet Explorer 6 or older.
|
| 60 |
|
| 61 |
Translations
|
| 62 |
------------
|
| 63 |
German
|
| 64 |
Improtieren sie die Datei "/modules/textsize/po/de.po". unter "admin/settings/locale/language/import" in die Deutsche Sprache
|
| 65 |
|
| 66 |
Other languages
|
| 67 |
Open the file "/modules/textsize/po/textsize.pot". in poEdit (http://www.poedit.net) or KBabel (http://kbabel.kde.org), translait the modul in your language and save the file in ""/modules/textsize/po/" as example "fr.po" for french language.
|