HTML Tidy... no such tag as nobr according to W3C.
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 31 Mar 2005 23:46:43 +0000 (23:46 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 31 Mar 2005 23:46:43 +0000 (23:46 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9175 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/left_main.php

index d2211729261ae7c644659305412dcaad0b4ec0b7..9c105bbe22aa6b81ad694870b7064c0551bfd4fd 100644 (file)
@@ -294,7 +294,7 @@ function ListBoxes ($boxes, $j=0 ) {
     if (!isset($boxes) || empty($boxes))
         return;
 
     if (!isset($boxes) || empty($boxes))
         return;
 
-    $pre = '<nobr>';
+    $pre = '<span style="white-space: nowrap;">';
     $end = '';
     $collapse = false;
     $unseen_found = false;
     $end = '';
     $collapse = false;
     $unseen_found = false;
@@ -422,7 +422,7 @@ function ListBoxes ($boxes, $j=0 ) {
         array(isset($numMessages) ? $numMessages : '',
               $boxes->mailboxname_full, $imapConnection));
 
         array(isset($numMessages) ? $numMessages : '',
               $boxes->mailboxname_full, $imapConnection));
 
-    $end .= '</nobr>';
+    $end .= '</span>';
 
     if (!$boxes->is_root) {
         echo "" . $pre .$font. str_replace(array(' ','<','>'),array('&nbsp;','&lt;','&gt;'),$boxes->mailboxname_sub) .$fontend . $end. '<br />' . "\n";
 
     if (!$boxes->is_root) {
         echo "" . $pre .$font. str_replace(array(' ','<','>'),array('&nbsp;','&lt;','&gt;'),$boxes->mailboxname_sub) .$fontend . $end. '<br />' . "\n";
@@ -1023,7 +1023,7 @@ for ($i = 0; $i < count($boxes); $i++) {
         } else {
             $prefix = str_replace(' ','&nbsp;',$prefix);
         }
         } else {
             $prefix = str_replace(' ','&nbsp;',$prefix);
         }
-        $line = "<nobr><tt>$prefix</tt>";
+        $line = "<span style=\"white-space: nowrap;\"><tt>$prefix</tt>";
 
         /* Add the folder name and link. */
         if (! isset($color[15])) {
 
         /* Add the folder name and link. */
         if (! isset($color[15])) {
@@ -1046,7 +1046,7 @@ for ($i = 0; $i < count($boxes); $i++) {
         }
 
         /* Put the final touches on our folder line. */
         }
 
         /* Put the final touches on our folder line. */
-        $line .= "</nobr><br />\n";
+        $line .= "</span><br />\n";
 
         /* Output the line for this folder. */
         echo $line;
 
         /* Output the line for this folder. */
         echo $line;