Эх сурвалжийг харах

Import Contacts: Fix layout issue.

reliberate 9 жил өмнө
parent
commit
1ea4fd4a97
1 өөрчлөгдсөн 8 нэмэгдсэн , 8 устгасан
  1. 8 8
      contact_import.php

+ 8 - 8
contact_import.php

@@ -329,7 +329,7 @@ else {
 			echo "</td>\n";
 			echo "</tr>\n";
 			echo "<tr>\n";
-			echo "<td align=\"left\" colspan='2'>\n";
+			echo "<td align='left' colspan='2'>\n";
 			echo "	".$text['message-results']."<br /><br />\n";
 			echo "</td>\n";
 			echo "</tr>\n";
@@ -380,14 +380,14 @@ else {
 	echo "	</td>\n";
 	echo "	<td valign='top' width='70%' align='right'>\n";
 	echo "		<input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='contacts.php?".$_GET["query_string"]."'\" value='".$text['button-back']."'>\n";
-	echo "		<input name=\"submit\" type=\"submit\" class=\"btn\" id=\"upload\" value=\"".$text['button-upload']."\">\n";
+	echo "		<input name='submit' type='submit' class='btn' id='upload' value=\"".$text['button-upload']."\">\n";
 	echo "	</td>\n";
 	echo "	</tr>\n";
 	echo "</table>";
 
 	echo "<br />\n";
 
-	echo "<form action=\"\" method=\"POST\" enctype=\"multipart/form-data\" name=\"frmUpload\" onSubmit=\"\">\n";
+	echo "<form action='' method='POST' enctype='multipart/form-data' name='frmUpload' onSubmit=''>\n";
 	echo "	<table border='0' cellpadding='0' cellspacing='0' width='100%'>\n";
 
 	echo "<tr>\n";
@@ -423,21 +423,21 @@ else {
 	echo "			".$text['label-import_file_upload']."\n";
 	echo "</td>\n";
 	echo "<td class='vtable' align='left'>\n";
-	echo "			<input name=\"ulfile\" type=\"file\" class=\"formfld fileinput\" id=\"ulfile\">\n";
+	echo "			<input name='ulfile' type='file' class='formfld fileinput' id='ulfile'>\n";
 	echo "<br />\n";
 	echo "</td>\n";
 	echo "</tr>\n";
 
 	echo "	<tr>\n";
-	echo "		<td valign=\"bottom\" class=\"label\">\n";
+	echo "		<td valign='bottom'>\n";
 	if (function_exists('curl_version') && $_SESSION['contact']['google_oauth_client_id']['text'] != '' && $_SESSION['contact']['google_oauth_client_secret']['text'] != '') {
 		echo "		<a href='contact_import_google.php'><img src='resources/images/icon_gcontacts.png' style='width: 21px; height: 21px; border: none; text-decoration: none; margin-right: 5px;' align='absmiddle'>".$text['header-contacts_import_google']."</a>\n";
 	}
 	echo "		</td>\n";
-	echo "		<td valign=\"bottom\" align='right' class=\"label\" nowrap>\n";
-	echo "			<input name=\"type\" type=\"hidden\" value=\"csv\">\n";
+	echo "		<td valign='bottom' align='right' nowrap>\n";
+	echo "			<input name='type' type='hidden' value='csv'>\n";
 	echo "			<br />\n";
-	echo "			<input name=\"submit\" type=\"submit\"  class=\"btn\" id=\"upload\" value=\"".$text['button-upload']."\">\n";
+	echo "			<input name='submit' type='submit' class='btn' id='upload' value=\"".$text['button-upload']."\">\n";
 	echo "		</td>\n";
 	echo "	</tr>\n";
 	echo "	</table>\n";