diff --git a/cd-template/doku/cryptocd.css b/cd-template/doku/cryptocd.css index 2392e46..386507f 100644 --- a/cd-template/doku/cryptocd.css +++ b/cd-template/doku/cryptocd.css @@ -33,6 +33,11 @@ hr { border-left: none; } +.external { +background: url(externallink.png) right center no-repeat; +padding-right: 12px; +} + #container { background: none; width: 100%; @@ -102,6 +107,11 @@ hr { margin-bottom: 1.5em; } +#main .externerLink { +background: url(externallink.png) right center no-repeat; +padding-right: 18px; +} + /* Zitate */ blockquote { font-style:italic; diff --git a/cd-template/doku/externallink.png b/cd-template/doku/externallink.png new file mode 100644 index 0000000..f79efe1 Binary files /dev/null and b/cd-template/doku/externallink.png differ diff --git a/documents/mod_html_files.py b/documents/mod_html_files.py index 05a9f63..f1ce8c0 100644 --- a/documents/mod_html_files.py +++ b/documents/mod_html_files.py @@ -62,6 +62,9 @@ try: content = string.replace(content,'ü','ü') content = string.replace(content,'Ü','Ü') content = string.replace(content,'ß','ß') + + # Links innerhalb von div="main" die zu externen Seiten verweisen, bekommen ein tag + content = string.replace(content,'HREF="http:','class="externerLink" href="http:') #all done, writing tuned files writeFile(content,sys.argv[1])