Notes for web designers

previous  Top  next

If you output HTML with the info timetable module, HTML files will be used that store the layout of the individual pages. The files are available as so-called templates in the Untis directory (e.g. C:\program(x84)\Untis\2020) and can be tailored to match your school’s ‘corporate design’.

 

In addition to the definition of the HTML page layout the files with the .thtm extension contain wildcards that Untis replaces with various values during export. These wildcards are defined in the format <LIN=@ [wildcard]> , with the following variables being used for [wildcard] :

 

prg        = program

ver        = version

dat                = date

tim                = time

abt                = department

he1        = heading1 from menu item "Reports | Settings"

he2        = heading2 from menu item "Reports | Settings"

sm1        = line1 of the school description defined in the licence data

sm2        = line2 of the school description defined in the licence data

naw        = width of the navigation bar defined in the field of the same name

         on the "Navigation" tab in static HTML

chs        = the following header is output in all template files:

 

<meta http-equiv=“Content-Type“ content=“text/html; charset=@chs “>

 

The character set is important for the correct display of different sets of characters and can therefore be changed using the “chs” variable. This variable is pre-allocated by Untis depending on the language version. However, you can also specify this in the untis.ini file (by default in the Windows user directory) in the [Info] section with the following entry:

 

PageEncoding=<chs>