iliaa           Wed Feb  9 17:37:51 2005 EDT

  Modified files:              
    /livedocs   livedoc_funcs.php style_mapping.php 
  Log:
  Cleanup notes presentation.
  
  
http://cvs.php.net/diff.php/livedocs/livedoc_funcs.php?r1=1.23&r2=1.24&ty=u
Index: livedocs/livedoc_funcs.php
diff -u livedocs/livedoc_funcs.php:1.23 livedocs/livedoc_funcs.php:1.24
--- livedocs/livedoc_funcs.php:1.23     Wed Feb  9 17:06:43 2005
+++ livedocs/livedoc_funcs.php  Wed Feb  9 17:37:51 2005
@@ -310,7 +310,7 @@
                 );
 
                $inner .= '<div class="usernote"><div class="noteheader"><span 
class="user">'.$note['who'].
-                       '(#'.$note['id'].')</span><br /><span 
class="when">'.$date.'</span></div>'.$the_note.'</div>';
+                       ' (#'.$note['id'].')</span><br /><span 
class="when">'.$date.'</span></div>'.$the_note.'</div>';
        }
                
        return $inner . "</div>";
http://cvs.php.net/diff.php/livedocs/style_mapping.php?r1=1.24&r2=1.25&ty=u
Index: livedocs/style_mapping.php
diff -u livedocs/style_mapping.php:1.24 livedocs/style_mapping.php:1.25
--- livedocs/style_mapping.php:1.24     Wed Feb  9 15:31:57 2005
+++ livedocs/style_mapping.php  Wed Feb  9 17:37:51 2005
@@ -18,7 +18,7 @@
 // | Helper functions for formatting elements                             |
 // +----------------------------------------------------------------------+
 //
-// $Id: style_mapping.php,v 1.24 2005/02/09 20:31:57 iliaa Exp $
+// $Id: style_mapping.php,v 1.25 2005/02/09 22:37:51 iliaa Exp $
 
 // almost XPATH.. ;-)
 $map = array(
@@ -347,6 +347,7 @@
                        break;
                case 'note':
                        $content = 
preg_replace_callback('!(\<(\?|\?php).+\?\>)!msU', 'highlight_php_code', 
$content);
+                       $node->attributes['role'] = 'php';
                        break;
 
                case 'asp':

Reply via email to