Changeset 13133


Ignore:
Timestamp:
2006-10-19T11:39:02+13:00 (18 years ago)
Author:
mdewsnip
Message:

Languages that should be displayed right-to-left are now specified in style.dm, rather than in the C++ code (!).

Location:
trunk/gsdl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/style.dm

    r12944 r13133  
    8585# separate macro so it can be easily overridden for customised collections
    8686_cssfilelink_ {_httpimg_/style.css}
     87
     88# Languages that should be displayed right-to-left
     89_htmlextra_ [l=ar] { dir=rtl }
     90_htmlextra_ [l=fa] { dir=rtl }
     91_htmlextra_ [l=he] { dir=rtl }
     92_htmlextra_ [l=ur] { dir=rtl }
    8793
    8894# htmlhead uses:
  • trunk/gsdl/src/recpt/receptionist.cpp

    r12509 r13133  
    14441444  }
    14451445
    1446   // display text right to left if language is Arabic/Farsi/Urdu (and if browser can support it)
    1447   if (args["l"] == "ar" || args["l"] == "fa" || args["l"] == "ur")
    1448     disp.setmacro ("htmlextra", displayclass::defaultpackage, " dir=rtl");
    1449 
    14501446  // set collection specific macros
    14511447  if (!collection.empty()) {
Note: See TracChangeset for help on using the changeset viewer.