Kaynağa Gözat

Small html fix

Thijs Kinkhorst 22 yıl önce
ebeveyn
işleme
0047c09649

+ 1 - 1
functions/mailbox_display.php

@@ -719,7 +719,7 @@ function mail_message_listing_beginning ($imapConnection,
 
 
     echo getButton('SUBMIT', 'markRead',_("Read"));
     echo getButton('SUBMIT', 'markRead',_("Read"));
     echo getButton('SUBMIT', 'markUnread',_("Unread"));
     echo getButton('SUBMIT', 'markUnread',_("Unread"));
-    echo getButton('SUBMIT', 'delete',_("Delete")) ."&nbsp\n";
+    echo getButton('SUBMIT', 'delete',_("Delete")) ." \n";
     if (!strpos($php_self,'mailbox')) {
     if (!strpos($php_self,'mailbox')) {
         $location = $php_self.'?mailbox=INBOX&startMessage=1';
         $location = $php_self.'?mailbox=INBOX&startMessage=1';
     } else {
     } else {

+ 1 - 1
plugins/filters/options.php

@@ -239,7 +239,7 @@ require_once(SM_PATH . 'plugins/filters/filters.php');
     echo '</table>'.
     echo '</table>'.
         html_tag( 'table',
         html_tag( 'table',
             html_tag( 'tr',
             html_tag( 'tr',
-                html_tag( 'td', '&nbsp', 'left' )
+                html_tag( 'td', '&nbsp;', 'left' )
             ) ,
             ) ,
         'center', '', 'width="80%" border="0" cellpadding="2" cellspacing="0"' );
         'center', '', 'width="80%" border="0" cellpadding="2" cellspacing="0"' );
 ?>
 ?>

+ 2 - 2
plugins/message_details/message_details_bottom.php

@@ -308,11 +308,11 @@ if (count($content) > 0) {
 	echo '</td><td>';
 	echo '</td><td>';
 	if (isset($content[$i]['name'])) {
 	if (isset($content[$i]['name'])) {
 	    echo $content[$i]['name'];
 	    echo $content[$i]['name'];
-	} else echo '&nbsp';
+	} else echo '&nbsp;';
 	echo '</td><td>';
 	echo '</td><td>';
 	if (isset($content[$i]['encoding'])) {
 	if (isset($content[$i]['encoding'])) {
 	    echo $content[$i]['encoding'];
 	    echo $content[$i]['encoding'];
-	} else echo '&nbsp';
+	} else echo '&nbsp;';
 	echo '</td></tr>'."\n";
 	echo '</td></tr>'."\n";
     }
     }
     echo '</tbody></table><br>'."\n";
     echo '</tbody></table><br>'."\n";

+ 5 - 5
plugins/newmail/newmail_opt.php

@@ -63,7 +63,7 @@ require_once(SM_PATH . 'include/load_prefs.php');
     echo '<form action="../../src/options.php" method=post>'.
     echo '<form action="../../src/options.php" method=post>'.
          html_tag( 'table', '', '', '', 'width="100%" cellpadding="0" cellspacing="2" border="0"' ) . "\n" .
          html_tag( 'table', '', '', '', 'width="100%" cellpadding="0" cellspacing="2" border="0"' ) . "\n" .
              html_tag( 'tr' ) . "\n" .
              html_tag( 'tr' ) . "\n" .
-                 html_tag( 'td', '&nbsp', 'right', '', 'nowrap' ) . "\n";
+                 html_tag( 'td', '&nbsp;', 'right', '', 'nowrap' ) . "\n";
     if ($allowsound == "true") {
     if ($allowsound == "true") {
                 echo html_tag( 'td', '', 'left' ) .
                 echo html_tag( 'td', '', 'left' ) .
                             '<input type="checkbox" ';
                             '<input type="checkbox" ';
@@ -74,7 +74,7 @@ require_once(SM_PATH . 'include/load_prefs.php');
                 '</tr>' . "\n";
                 '</tr>' . "\n";
     }  
     }  
             echo html_tag( 'tr' ) . "\n" .
             echo html_tag( 'tr' ) . "\n" .
-                html_tag( 'td', '&nbsp', 'right', '', 'nowrap' ) . "\n" .
+                html_tag( 'td', '&nbsp;', 'right', '', 'nowrap' ) . "\n" .
                 html_tag( 'td', '', 'left' ) .
                 html_tag( 'td', '', 'left' ) .
                     '<input type="checkbox" ';
                     '<input type="checkbox" ';
     if ($media_allbox == 'on') {
     if ($media_allbox == 'on') {
@@ -83,7 +83,7 @@ require_once(SM_PATH . 'include/load_prefs.php');
     echo 'name="media_allbox"><b> ' . _("Check all boxes, not just INBOX") . '</b></td>'.
     echo 'name="media_allbox"><b> ' . _("Check all boxes, not just INBOX") . '</b></td>'.
             '</tr>'.  "\n" .
             '</tr>'.  "\n" .
             html_tag( 'tr' ) . "\n" .
             html_tag( 'tr' ) . "\n" .
-                html_tag( 'td', '&nbsp', 'right', '', 'nowrap' ) . "\n" .
+                html_tag( 'td', '&nbsp;', 'right', '', 'nowrap' ) . "\n" .
                 html_tag( 'td', '', 'left' ) .
                 html_tag( 'td', '', 'left' ) .
                     '<input type="checkbox" ';
                     '<input type="checkbox" ';
     if ($media_recent == 'on') {
     if ($media_recent == 'on') {
@@ -92,7 +92,7 @@ require_once(SM_PATH . 'include/load_prefs.php');
     echo 'name="media_recent"><b> ' . _("Count only messages that are RECENT") . '</b></td>'.
     echo 'name="media_recent"><b> ' . _("Count only messages that are RECENT") . '</b></td>'.
             '</tr>'. "\n" .
             '</tr>'. "\n" .
             html_tag( 'tr' ) . "\n" .
             html_tag( 'tr' ) . "\n" .
-                html_tag( 'td', '&nbsp', 'right', '', 'nowrap' ) . "\n" .
+                html_tag( 'td', '&nbsp;', 'right', '', 'nowrap' ) . "\n" .
                 html_tag( 'td', '', 'left' ) .
                 html_tag( 'td', '', 'left' ) .
                     '<input type="checkbox" ';
                     '<input type="checkbox" ';
     if ($media_changetitle == 'on') {
     if ($media_changetitle == 'on') {
@@ -101,7 +101,7 @@ require_once(SM_PATH . 'include/load_prefs.php');
     echo 'name="media_changetitle"><b> ' . _("Change title on supported browsers.") . '</b> &nbsp; (' . _("requires JavaScript to work") . ')</td>'.
     echo 'name="media_changetitle"><b> ' . _("Change title on supported browsers.") . '</b> &nbsp; (' . _("requires JavaScript to work") . ')</td>'.
             '</tr>'. "\n" .
             '</tr>'. "\n" .
             html_tag( 'tr' ) . "\n" .
             html_tag( 'tr' ) . "\n" .
-                html_tag( 'td', '&nbsp', 'right', '', 'nowrap' ) . "\n" .
+                html_tag( 'td', '&nbsp;', 'right', '', 'nowrap' ) . "\n" .
                 html_tag( 'td', '', 'left' ) .
                 html_tag( 'td', '', 'left' ) .
                     '<input type="checkbox" ';
                     '<input type="checkbox" ';
     if($media_popup == 'on') {
     if($media_popup == 'on') {

+ 4 - 4
src/left_main.php

@@ -287,7 +287,7 @@ function listBoxes ($boxes, $j=0 ) {
 	$mailbox = $boxes->mailboxname_full;
 	$mailbox = $boxes->mailboxname_full;
 	$leader = '';
 	$leader = '';
 	for ($k = 0; $k < $j; $k++) {
 	for ($k = 0; $k < $j; $k++) {
-	    $leader.= '&nbsp&nbsp&nbsp';
+	    $leader.= '&nbsp;&nbsp;&nbsp;';
 	}
 	}
 	$mailboxURL = urlencode($mailbox);
 	$mailboxURL = urlencode($mailbox);
 
 
@@ -310,14 +310,14 @@ function listBoxes ($boxes, $j=0 ) {
 
 
 	    $link = '<a target="left" style="text-decoration:none" ' .'href="left_main.php?';
 	    $link = '<a target="left" style="text-decoration:none" ' .'href="left_main.php?';
 	    if ($collapse) {
 	    if ($collapse) {
-    		$link .= "unfold=$mailboxURL\">$leader +&nbsp";
+    		$link .= "unfold=$mailboxURL\">$leader +&nbsp;";
 	    } else {
 	    } else {
-    		$link .= "fold=$mailboxURL\">$leader -&nbsp";
+    		$link .= "fold=$mailboxURL\">$leader -&nbsp;";
 	    }
 	    }
 	    $link .= '</a>';
 	    $link .= '</a>';
 	    $pre .= $link;
 	    $pre .= $link;
 	} else {
 	} else {
-	    $pre.= $leader . '&nbsp&nbsp&nbsp';
+	    $pre.= $leader . '&nbsp;&nbsp;&nbsp;';
 	}
 	}