[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/international/germany/inc
From:       Frerich Raabe <raabe () kde ! org>
Date:       2004-06-08 20:44:52
Message-ID: 20040608204452.64049126EB () office ! kde ! org
[Download RAW message or body]

CVS commit by raabe: 

- Support for anchors, so that this becomes more of a <Hn> replacement
  (you PHP coryphaes over there, I hope you won't die from laughing your
   little cheesy asses off :-)


  M +10 -2     ueberschrift.inc   1.2


--- www/international/germany/inc/ueberschrift.inc  #1.1:1.2
@@ -1,5 +1,13 @@
 <table bgcolor="#3175c2" cellspacing="0" cellpadding="1" border="0" width="100%">
 <tr>
-        <td bgcolor="#3175c2" class="ueberschrift"><?php echo $ueberschrift;?></td>
+        <td bgcolor="#3175c2" class="ueberschrift">
+        <?php
+        if (isset($anchor)) {
+                echo "<a name=\"$anchor\">$ueberschrift</a>";
+        } else {
+                echo $ueberschrift;
+        }
+        ?>
+        </td>
 </tr>
-</table>
\ No newline at end of file
+</table>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic