From 50154ba6bffeb52506cc4835ecc403616a8600f6 Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 15 Jun 2006 10:45:42 +0000 Subject: [PATCH] - externe Links werden gekennzeichnet --- cd-template/doku/cryptocd.css | 10 ++++++++++ cd-template/doku/externallink.png | Bin 0 -> 771 bytes documents/mod_html_files.py | 3 +++ 3 files changed, 13 insertions(+) create mode 100644 cd-template/doku/externallink.png 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 0000000000000000000000000000000000000000..f79efe1ef02f241f54d344b619f40ebeaf1b3a52 GIT binary patch literal 771 zcmV+e1N{7nP)+6I4U7av(bN$kOUN5I0Pk= zl`ax6DCokKgSwI+;!dK>kSG{QoWXS8+xM%gj*IS|iHn@#P*BDDaO&kPQB?pg{ruEw zH{)$p~$6jTur0o40gZI#t$j!C6f-&*LWvxB@(2$rZyhz)J5#vMxPP!M7T zK#V%O^-o+eQ$Rg3*PGhYu{|>P2$|bM$IXq~&XCwHiRmKZP(XpGq&t9jp1XbO&W3(t z%q`85l+4c2u@kZBk(e%t>EKLfDnUSZ003uB{_*0S&Gwc_eDrs@1¨zK)MLZ~N{Hp?z+N?3Z{IxY8#7Kw}M^u#y>-{(SOZHQeOfviQ zII8OLq2{-{zf;^F`mC|b@m~9-F7o{-)srHSloT@kFc-gj?A85!_j&6&lE?vkXxY4X zn{qhvSz}*+|CQnO>Dcdnm91A!U+AfPu>$}&yFP#F@dMeFZSUpJtr4*bq1(EZ4_?l% z@{sx;0N~uW^DA?6_VRYoRC(UM`Qc0D*AEi|{0E{+Q$x*mR0jY6002ovPDHLkV1h_b BV-5fS literal 0 HcmV?d00001 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])