!Brushed Template In German 

I translated the [BrushedTemplate] into german language with several minor changes (layout).
i used [BrushedTemplate/BrushedTemplate.zip] instead of [BrushedTemplate/BrushedTemplate-v2.1.86.zip]. The second one does not work in I.E.

Topics:
* an automated generated TOC on each page if headlines are available (tested in IE 5.5, IE 6.0 Netscape 6.2)
* a print preview (source from the mrg template)

!Please document here any incompatibilities!

!Call for support

I would like to include a tag (somethin like {{%%no-toc %%}} ? evaluated by javascript for sites that shall not have a TOC. Can someone help me?

--[DF|DirkFrederickx], 26 jun 2004\\
What you need is some javascript to look for a {{<div class='no-toc'>}}
and escape from your current onload routine which generates the toc.
Here is some modified code snippet from [BrushedTemplateTOC] which should do the trick.
{{{
  if (!document.createElement) return;

  var divArr = document.getElementsByTagName("div");
  if (!divArr) return;
  
  for (i=0; i<divArr.length; i++) 
  {
    if ( divArr[i].className == "no-toc" ) return; //do not generate the toc
  } 

  ... continue your normal toc code
}}}

__[Download BrushedTemplateInGerman.zip|BrushedTemplateGerman.zip]__

__Screenshots__

* [Edit Brushed Template In German View]
* [Edit Brushed Template In German Edit]
* [Edit Brushed Template In German Printpreview]

[Heinz-Josef Lücking]
 



----

I translated the current version of BrushedTemplate myself, without sticking to the previous translation by Heinz-Josef Lücking. I used the current version (13th upload on 23 Aug 06). See my attachment [brushed-v2.4.x-de.zip].

--[Candid Dauth], 28-Aug-2006


----

I updated my translation to the newest version of Brushed template, which is “16th upload on x Oct 06”.

--[Candid Dauth], 18-Feb-2007