bjori           Sat Aug 25 13:24:10 2007 UTC

  Modified files:              
    /phd/themes/php     phpdotnet.php 
  Log:
  Fix html markup
  
  
http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.10&r2=1.11&diff_format=u
Index: phd/themes/php/phpdotnet.php
diff -u phd/themes/php/phpdotnet.php:1.10 phd/themes/php/phpdotnet.php:1.11
--- phd/themes/php/phpdotnet.php:1.10   Sat Aug 25 13:13:49 2007
+++ phd/themes/php/phpdotnet.php        Sat Aug 25 13:24:10 2007
@@ -1,5 +1,5 @@
 <?php
-/*  $Id: phpdotnet.php,v 1.10 2007/08/25 13:13:49 bjori Exp $ */
+/*  $Id: phpdotnet.php,v 1.11 2007/08/25 13:24:10 bjori Exp $ */
 
 class phpdotnet extends PhDHelper {
     protected $elementmap = array(
@@ -214,9 +214,9 @@
                     $long = PhDHelper::getDescription($childid, true);
                     $short = PhDHelper::getDescription($childid, false);
                     if ($long && $short && $long != $short) {
-                        $content .= sprintf('<li><a href="%s">%s</a> — %s', 
$href, $short, $long);
+                        $content .= sprintf('<li><a href="%s">%s</a> — 
%s</li>', $href, $short, $long);
                     } else {
-                        $content .= sprintf('<li><a href="%s">%s</a>', $href, 
$long ? $long : $short);
+                        $content .= sprintf('<li><a href="%s">%s</a></li>', 
$href, $long ? $long : $short);
                     }
                 }
                 $content .="</ul>";

Reply via email to