some layout updates and HTML fixes
This commit is contained in:
		
							parent
							
								
									c63bfaec6a
								
							
						
					
					
						commit
						69bd6672b8
					
				|  | @ -812,12 +812,12 @@ switch ($select_local) { | ||||||
| 		echo "<table border=0 width=\"100%\">\n<tr>\n<td>"; | 		echo "<table border=0 width=\"100%\">\n<tr>\n<td>"; | ||||||
| 		echo "<fieldset class=\"groupedit-middle\"><legend class=\"groupedit-bright\"><b>"; | 		echo "<fieldset class=\"groupedit-middle\"><legend class=\"groupedit-bright\"><b>"; | ||||||
| 		echo _("Save profile"); | 		echo _("Save profile"); | ||||||
| 		echo "</b></legend>\n<table border=0 width=\"100%\">\n<tr>\n<td>"; | 		echo "</b></legend>\n"; | ||||||
| 		echo '<input name="f_finish_safeProfile" type="text" size="30" maxlength="50">'; | 		echo '<input name="f_finish_safeProfile" type="text" size="30" maxlength="50">'; | ||||||
| 		echo "</td><td><input name=\"save\" type=\"submit\" $disabled value=\""; | 		echo " <input name=\"save\" type=\"submit\" $disabled value=\""; | ||||||
| 		echo _('Save profile'); | 		echo _('Save profile'); | ||||||
| 		echo '"></td><td><a href="../help.php?HelpNumber=457" target="lamhelp">'._('Help'); | 		echo '"> <a href="../help.php?HelpNumber=457" target="lamhelp">'._('Help'); | ||||||
| 		echo "</a></td>\n</tr>\n</table>\n</fieldset>\n</td></tr>\n<tr><td>\n"; | 		echo "</a>\n</fieldset>\n</td></tr>\n<tr><td>\n"; | ||||||
| 		echo "<fieldset class=\"groupedit-bright\"><legend class=\"groupedit-bright\"><b>"; | 		echo "<fieldset class=\"groupedit-bright\"><legend class=\"groupedit-bright\"><b>"; | ||||||
| 		if ($account_old) echo _('Modify'); | 		if ($account_old) echo _('Modify'); | ||||||
| 		 else echo _('Create'); | 		 else echo _('Create'); | ||||||
|  | @ -843,20 +843,17 @@ switch ($select_local) { | ||||||
| 		// Final Settings
 | 		// Final Settings
 | ||||||
| 		echo '<input name="select" type="hidden" value="finish">'; | 		echo '<input name="select" type="hidden" value="finish">'; | ||||||
| 		echo "<fieldset class=\"groupedit-bright\"><legend class=\"groupedit-bright\"><b>"._('Note')."</b></legend>\n"; | 		echo "<fieldset class=\"groupedit-bright\"><legend class=\"groupedit-bright\"><b>"._('Note')."</b></legend>\n"; | ||||||
| 		echo "<table border=0 width=\"100%\">"; |  | ||||||
| 		echo '<tr><td>'; |  | ||||||
| 		echo _('Group').' '; | 		echo _('Group').' '; | ||||||
| 		echo $account_new->general_username; | 		echo $account_new->general_username; | ||||||
| 		if ($account_old) echo ' '._('has been modified').'.'; | 		if ($account_old) echo ' '._('has been modified').'.'; | ||||||
| 		else echo ' '._('has been created').'.'; | 		else echo ' '._('has been created').'.'; | ||||||
| 		echo '</td></tr>'."\n".'<tr><td>'; | 		echo "<br><br>"; | ||||||
| 		if (!$account_old) | 		if (!$account_old) { | ||||||
| 			{ echo' <input name="createagain" type="submit" value="'; echo _('Create another group'); echo '">'; } | 			echo '<input name="createagain" type="submit" value="'; echo _('Create another group'); echo '">'; | ||||||
| 		echo '</td>'."\n".'<td>'. | 		} | ||||||
| 			'<input name="outputpdf" type="submit" value="'; echo _('Create PDF file'); echo '">'. | 		echo '<input name="outputpdf" type="submit" value="'; echo _('Create PDF file'); echo '">'. | ||||||
| 			'</td>'."\n".'<td>'. | 			' <input name="backmain" type="submit" value="'; echo _('Back to group list'); echo '">'. | ||||||
| 			'<input name="backmain" type="submit" value="'; echo _('Back to group list'); echo '">'. | 			'</fieldset'."\n"; | ||||||
| 			'</td></tr></table></fieldset'."\n"; |  | ||||||
| 		break; | 		break; | ||||||
| 
 | 
 | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|  | @ -429,53 +429,47 @@ switch ($select_local) { | ||||||
| 			"</td>\n</tr>\n</table>"; | 			"</td>\n</tr>\n</table>"; | ||||||
| 		echo _('Values with * are required'); | 		echo _('Values with * are required'); | ||||||
| 		echo "</fieldset>\n"; | 		echo "</fieldset>\n"; | ||||||
| 		// Show fieldset where to save a new profile
 |  | ||||||
| 		echo "<fieldset class=\"hostedit-dark\"><legend class=\"hostedit-bright\"><b>"; |  | ||||||
| 		echo _("Save profile"); |  | ||||||
| 		echo "</b></legend>\n<table border=0 width=\"100%\">\n<tr>\n<td width=\"50%\">"; |  | ||||||
| 		echo '<input name="f_finish_safeProfile" type="text" size="30" maxlength="50">'; |  | ||||||
| 		echo '<input name="save" type="submit" value="'; |  | ||||||
| 		echo _('Save profile'); |  | ||||||
| 		echo '"></td><td width="30%"></td><td width="20%"><a href="../help.php?HelpNumber=457" target="lamhelp">'._('Help'); |  | ||||||
| 		echo "</a></td>\n</tr>\n</table>\n</fieldset>"; |  | ||||||
| 		// Show fieldset with modify, undo and back-button
 | 		// Show fieldset with modify, undo and back-button
 | ||||||
| 		echo "<fieldset class=\"hostedit-bright\"><legend class=\"hostedit-bright\"><b>"; | 		echo "<fieldset class=\"hostedit-bright\"><legend class=\"hostedit-bright\"><b>"; | ||||||
| 		if ($account_old) echo _('Modify'); | 		if ($account_old) echo _('Modify'); | ||||||
| 		 else echo _('Create'); | 		 else echo _('Create'); | ||||||
| 		echo "</b></legend>\n"; | 		echo "</b></legend>\n"; | ||||||
| 		echo "<table border=0 width=\"100%\"><tr><td width=\"50%\">"; | 		// display undo-button when editing a host
 | ||||||
| 		// display undo-button when editiing a host
 |  | ||||||
| 		if (isset($account_old)) { | 		if (isset($account_old)) { | ||||||
| 			echo "<input name=\"next_reset\" type=\"submit\" value=\""; echo _('Undo changes'); | 			echo "<input name=\"next_reset\" type=\"submit\" value=\""; echo _('Undo changes'); | ||||||
| 			echo "\">\n"; | 			echo "\">\n"; | ||||||
| 			} | 			} | ||||||
| 		echo "</td>\n<td width=\"30%\">"; | 		echo ' <input name="create" type="submit" value="'; | ||||||
| 		echo '<input name="create" type="submit" value="'; |  | ||||||
| 		if ($account_old) echo _('Modify Account'); | 		if ($account_old) echo _('Modify Account'); | ||||||
| 		else echo _('Create Account'); | 		else echo _('Create Account'); | ||||||
| 		echo "\">\n</td><td width=\"20%\">"; | 		echo "\">"; | ||||||
| 		echo "</td></tr></table></fieldset>\n"; | 		echo "</fieldset>\n"; | ||||||
|  | 		// Show fieldset where to save a new profile
 | ||||||
|  | 		echo "<fieldset class=\"hostedit-dark\"><legend class=\"hostedit-bright\"><b>"; | ||||||
|  | 		echo _("Save profile"); | ||||||
|  | 		echo "</b></legend>\n<table border=0 width=\"100%\">\n<tr>\n<td width=\"50%\">"; | ||||||
|  | 		echo '<input name="f_finish_safeProfile" type="text" size="30" maxlength="50">'; | ||||||
|  | 		echo ' <input name="save" type="submit" value="'; | ||||||
|  | 		echo _('Save profile'); | ||||||
|  | 		echo '"></td><td width="30%"></td><td width="20%"><a href="../help.php?HelpNumber=457" target="lamhelp">'._('Help'); | ||||||
|  | 		echo "</a></td>\n</tr>\n</table>\n</fieldset>"; | ||||||
| 		break; | 		break; | ||||||
| 
 | 
 | ||||||
| 	case 'finish': | 	case 'finish': | ||||||
| 		// Final Settings
 | 		// Final Settings
 | ||||||
| 		echo '<input name="select" type="hidden" value="finish">'; | 		echo '<input name="select" type="hidden" value="finish">'; | ||||||
| 		echo "<fieldset class=\"hostedit-bright\"><legend class=\"hostedit-bright\"><b>"._('Note')."</b></legend>\n"; | 		echo "<fieldset class=\"hostedit-bright\"><legend class=\"hostedit-bright\"><b>"._('Note')."</b></legend>\n"; | ||||||
| 		echo "<table border=0 width=\"100%\"><tr><td>"; |  | ||||||
| 		echo '<tr><td>'; |  | ||||||
| 		echo _('Host'); | 		echo _('Host'); | ||||||
| 		echo ' '.$account_new->general_username.' '; | 		echo ' '.$account_new->general_username.' '; | ||||||
| 		if ($account_old) echo ' '._('has been modified').'.'; | 		if ($account_old) echo ' '._('has been modified').'.'; | ||||||
| 		 else echo ' '._('has been created').'.'; | 		 else echo ' '._('has been created').'.'; | ||||||
| 		echo '</td></tr>'."\n".'<tr><td>'; | 		echo '<br><br>'; | ||||||
| 		if (!$account_old) | 		if (!$account_old) { | ||||||
| 			{ echo '<input name="createagain" type="submit" value="'; echo _('Create another host'); echo '">'; } | 			echo '<input name="createagain" type="submit" value="'; echo _('Create another host'); echo '">'; | ||||||
| 		echo '</td>'."\n".'<td>'. | 		} | ||||||
| 			'<input name="outputpdf" type="submit" value="'; echo _('Create PDF file'); echo '">'. | 		echo '<input name="outputpdf" type="submit" value="'; echo _('Create PDF file'); echo '">'. | ||||||
| 			'</td>'."\n".'<td>'. | 			' <input name="backmain" type="submit" value="'; echo _('Back to host list'); echo '">'. | ||||||
| 			'<input name="backmain" type="submit" value="'; echo _('Back to host list'); echo '">'. | 			'</fieldset'."\n"; | ||||||
| 			'</td></tr></table></fieldset'."\n"; |  | ||||||
| 
 |  | ||||||
| 		break; | 		break; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1531,7 +1531,7 @@ switch ($select_local) { | ||||||
| 		echo "<input name=\"next_quota\" type=\"submit\""; if (!isset($config_intern->scriptPath)) echo " disabled "; | 		echo "<input name=\"next_quota\" type=\"submit\""; if (!isset($config_intern->scriptPath)) echo " disabled "; | ||||||
| 		echo "value=\""; echo _('Quota'); echo "\">\n<br>"; | 		echo "value=\""; echo _('Quota'); echo "\">\n<br>"; | ||||||
| 		echo "<input name=\"next_personal\" type=\"submit\" value=\""; echo _('Personal'); echo "\">\n<br>"; | 		echo "<input name=\"next_personal\" type=\"submit\" value=\""; echo _('Personal'); echo "\">\n<br>"; | ||||||
| 		echo "<input name=\"next_final\" type=\"submit\" disabed value=\""; echo _('Final'); | 		echo "<input name=\"next_final\" type=\"submit\" disabled value=\""; echo _('Final'); | ||||||
| 		echo "\">"; | 		echo "\">"; | ||||||
| 		if (isset($account_old)) { | 		if (isset($account_old)) { | ||||||
| 			echo "<br><br>"; | 			echo "<br><br>"; | ||||||
|  | @ -1544,41 +1544,37 @@ switch ($select_local) { | ||||||
| 		echo "<table border=0 width=\"100%\">\n<tr>\n<td>"; | 		echo "<table border=0 width=\"100%\">\n<tr>\n<td>"; | ||||||
| 		echo "<table border=0 width=\"100%\"><tr><td><fieldset class=\"useredit-dark\"><legend class=\"useredit-bright\"><b>"; | 		echo "<table border=0 width=\"100%\"><tr><td><fieldset class=\"useredit-dark\"><legend class=\"useredit-bright\"><b>"; | ||||||
| 		echo _("Save profile"); | 		echo _("Save profile"); | ||||||
| 		echo "</b></legend>\n<table border=0 width=\"100%\">\n<tr>\n<td>"; | 		echo "</b></legend>\n"; | ||||||
| 		echo '<input name="f_finish_safeProfile" type="text" size="30" maxlength="50">'; | 		echo '<input name="f_finish_safeProfile" type="text" size="30" maxlength="50">'; | ||||||
| 		echo "</td><td><input name=\"save\" type=\"submit\" $disabled value=\""; | 		echo " <input name=\"save\" type=\"submit\" $disabled value=\""; | ||||||
| 		echo _('Save profile'); | 		echo _('Save profile'); | ||||||
| 		echo '"></td><td><a href="../help.php?HelpNumber=457" target="lamhelp">'._('Help'); | 		echo '"> <a href="../help.php?HelpNumber=457" target="lamhelp">'._('Help'); | ||||||
| 		echo "</a></td>\n</tr>\n</table>\n</fieldset>\n</td></tr>\n<tr><td>\n"; | 		echo "</a>\n</fieldset>\n</td></tr>\n<tr><td>\n"; | ||||||
| 		echo "<fieldset class=\"useredit-bright\"><legend class=\"useredit-bright\"><b>"; | 		echo "<fieldset class=\"useredit-bright\"><legend class=\"useredit-bright\"><b>"; | ||||||
| 		if ($account_old) echo _('Modify'); | 		if ($account_old) echo _('Modify'); | ||||||
| 		 else echo _('Create'); | 		 else echo _('Create'); | ||||||
| 		echo "</b></legend>\n"; | 		echo "</b></legend>\n"; | ||||||
| 		echo "<table border=0 width=\"100%\">"; | 		echo "<input name=\"create\" type=\"submit\" value=\""; | ||||||
| 		echo "<tr><td><input name=\"create\" type=\"submit\" value=\""; |  | ||||||
| 		if ($account_old) echo _('Modify Account'); | 		if ($account_old) echo _('Modify Account'); | ||||||
| 		 else echo _('Create Account'); | 		 else echo _('Create Account'); | ||||||
| 		echo '">'."\n"; | 		echo '">'."\n"; | ||||||
| 		echo "</td></tr></table></fieldset>\n</td></tr></table></td></tr></table>\n</tr></table>"; | 		echo "</fieldset>\n</td></tr></table></td></tr></table>\n</tr></table>"; | ||||||
| 		break; | 		break; | ||||||
| 	case 'finish': | 	case 'finish': | ||||||
| 		// Final Settings
 | 		// Final Settings
 | ||||||
| 		echo '<input name="select" type="hidden" value="finish">'; | 		echo '<input name="select" type="hidden" value="finish">'; | ||||||
| 		echo "<fieldset class=\"groupedit-bright\"><legend class=\"useredit-bright\"><b>"._('Note')."</b></legend>\n"; | 		echo "<fieldset class=\"groupedit-bright\"><legend class=\"useredit-bright\"><b>"._('Note')."</b></legend>\n"; | ||||||
| 		echo "<table border=0 width=\"100%\"><tr><td>"; |  | ||||||
| 		echo '<tr><td>'; |  | ||||||
| 		echo _('User '); | 		echo _('User '); | ||||||
| 		echo $account_new->general_username; | 		echo $account_new->general_username; | ||||||
| 		if ($account_old) echo ' '._('has been modified').'.'; | 		if ($account_old) echo ' '._('has been modified').'.'; | ||||||
| 		 else echo ' '._('has been created').'.'; | 		 else echo ' '._('has been created').'.'; | ||||||
| 		echo '</td></tr>'."\n".'<tr><td>'; | 		echo '<br><br>'; | ||||||
| 		if (!$account_old) | 		if (!$account_old) { | ||||||
| 			{ echo '<input name="createagain" type="submit" value="'; echo _('Create another user'); echo '">'; } | 			echo '<input name="createagain" type="submit" value="'; echo _('Create another user'); echo '"> '; | ||||||
| 		echo '</td>'."\n".'<td>'. | 		} | ||||||
| 			'<input name="outputpdf" type="submit" value="'; echo _('Create PDF file'); echo '">'. | 		echo '<input name="outputpdf" type="submit" value="'; echo _('Create PDF file'); echo '">'. | ||||||
| 			'</td>'."\n".'<td>'. | 			' <input name="backmain" type="submit" value="'; echo _('Back to user list'); echo '">'. | ||||||
| 			'<input name="backmain" type="submit" value="'; echo _('Back to user list'); echo '">'. | 			'</fieldset'."\n"; | ||||||
| 			'</td></tr></table></fieldset'."\n"; |  | ||||||
| 		break; | 		break; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue