Projekt

Allgemein

Profil

GX-Bug #52209 » InputEmailRequiredFix1.patch

Till Tepelmann, 03.06.2017 12:37

Unterschiede anzeigen:

src/admin/includes/functions/general.php (revision )
1 1
<?php
2 2
/* --------------------------------------------------------------
3
  general.php 2016-12-16
3
  general.php 2017-06-03
4 4
  Gambio GmbH
5 5
  http://www.gambio.de
6
  Copyright (c) 2016 Gambio GmbH
6
  Copyright (c) 2017 Gambio GmbH
7 7
  Released under the GNU General Public License (Version 2)
8 8
  [http://www.gnu.org/licenses/gpl-2.0.html]
9 9

  
......
33 33
  Copyright (c) Strider | Strider@oscworks.com
34 34
  Copyright (c  Nick Stanko of UkiDev.com, nick@ukidev.com
35 35
  Copyright (c) Andre ambidex@gmx.net
36
  Copyright (c) 2001,2002 Ian C Wilson http://www.phesis.org
36
  Copyright (c) 2017,2002 Ian C Wilson http://www.phesis.org
37 37

  
38 38
  Released under the GNU General Public License
39 39
  -------------------------------------------------------------- */
......
2584 2584
	return '<input type="number" name="configuration_value" value="' . $name . '" />';
2585 2585
}
2586 2586

  
2587
/**
2588
 * Creates an input field of type email for configuration values.
2589
 * IMPORTANT NOTE: name attribute gets replaced on admin/configuration.php:839
2590
 *
2591
 * @param string $name Value of name attribute.
2592
 *
2593
 * @return string Input element of type number.
2594
 */
2595
function cfg_email_required_input($name)
2596
{
2597
	return '<input type="email" name="configuration_value" value="' . $name . '" required />';
2598
}
2599

  
2587 2600
// function for configuration values
2588 2601
function gm_cfg_get_orders_status($orders_id)
2589 2602
{
......
2807 2820
	$t_pull_down_html .= '</select>';
2808 2821

  
2809 2822
	return $t_pull_down_html;
2810
}
2823
}
src/admin/styles/compatibility/imports/_configuration.scss (revision )
43 43
  // Task #21 fix configuration input widths
44 44
  input[type="text"],
45 45
  input[type="number"],
46
  input[type="email"],
46 47
  input[type="password"],
47 48
  select,
48 49
  textarea {
......
54 55

  
55 56
  input[type="text"],
56 57
  input[type="number"],
58
  input[type="email"],
57 59
  input[type="password"],
58 60
  select {
59 61
    height:       30px;
src/admin/styles/compatibility/_compatibility.scss (revision )
608 608
		// Compatibility style for input fields.
609 609
		input[type="text"],
610 610
		input[type="number"],
611
		input[type="email"],
611 612
		select,
612 613
		textarea {
613 614
			//min-width: 170px;
    (1-1/1)