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

List:       kde-commits
Subject:    www/sites/www-devel/media/includes
From:       Olaf Schmidt <ojschmidt () kde ! org>
Date:       2006-08-24 13:27:55
Message-ID: 1156426075.333438.9777.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 576633 by ojschmidt:

Test2

 M  +1 -2      edit.inc  


--- trunk/www/sites/www-devel/media/includes/edit.inc #576632:576633
@@ -166,11 +166,11 @@
 }
 
 function print_preview (const $blocks, &$count) {
+    echo '<!--'.count ($blocks).'//-->';
     $wasphp = false;
     $wascontent = false;
     $numbers = array ();
     foreach ($blocks as $block) {
-        echo "\n";
         if ($block ["type"] == "text") {
             if ($wasphp && $wascontent)
                 echo "<hr/>";
@@ -187,7 +187,6 @@
             $wascontent = true;
 
             $tag = get_tag ($block ["starttag"][0]["content"]);
-            echo "\n";
 
             if (is_headline_tag ($tag)) {
                 print_editform ($count, 2,
[prev in list] [next in list] [prev in thread] [next in thread] 

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