Test Failed
Branch develop (86e751)
by Laurent
34:11
created
htdocs/core/ajax/constantonoff.php 1 patch
Braces   +23 added lines, -9 removed lines patch added patch discarded remove patch
@@ -20,13 +20,28 @@  discard block
 block discarded – undo
20 20
  *       \brief      File to set or del an on/off constant
21 21
  */
22 22
 
23
-if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL','1'); // Disables token renewal
24
-if (! defined('NOREQUIREMENU'))  define('NOREQUIREMENU','1');
25
-if (! defined('NOREQUIREHTML'))  define('NOREQUIREHTML','1');
26
-if (! defined('NOREQUIREAJAX'))  define('NOREQUIREAJAX','1');
27
-if (! defined('NOREQUIRESOC'))   define('NOREQUIRESOC','1');
28
-if (! defined('NOREQUIRETRAN'))  define('NOREQUIRETRAN','1');
29
-if (! defined('NOREQUIREHOOK'))  define('NOREQUIREHOOK','1');
23
+if (! defined('NOTOKENRENEWAL')) {
24
+	define('NOTOKENRENEWAL','1');
25
+}
26
+// Disables token renewal
27
+if (! defined('NOREQUIREMENU')) {
28
+	define('NOREQUIREMENU','1');
29
+}
30
+if (! defined('NOREQUIREHTML')) {
31
+	define('NOREQUIREHTML','1');
32
+}
33
+if (! defined('NOREQUIREAJAX')) {
34
+	define('NOREQUIREAJAX','1');
35
+}
36
+if (! defined('NOREQUIRESOC')) {
37
+	define('NOREQUIRESOC','1');
38
+}
39
+if (! defined('NOREQUIRETRAN')) {
40
+	define('NOREQUIRETRAN','1');
41
+}
42
+if (! defined('NOREQUIREHOOK')) {
43
+	define('NOREQUIREHOOK','1');
44
+}
30 45
 
31 46
 require '../../main.inc.php';
32 47
 require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
@@ -58,8 +73,7 @@  discard block
 block discarded – undo
58 73
 		if ($action == 'set')
59 74
 		{
60 75
 			dolibarr_set_const($db, $name, $value, 'chaine', 0, '', $entity);
61
-		}
62
-		else if ($action == 'del')
76
+		} else if ($action == 'del')
63 77
 		{
64 78
 			dolibarr_del_const($db, $name, $entity);
65 79
 		}
Please login to merge, or discard this patch.
htdocs/core/ajax/row.php 1 patch
Braces   +26 added lines, -8 removed lines patch added patch discarded remove patch
@@ -22,13 +22,29 @@  discard block
 block discarded – undo
22 22
  *                   This ajax page is called when doing an up or down drag and drop.
23 23
  */
24 24
 
25
-if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL','1'); // Disable token renewal
26
-if (! defined('NOREQUIREMENU'))  define('NOREQUIREMENU','1');
27
-if (! defined('NOREQUIREHTML'))  define('NOREQUIREHTML','1');
28
-if (! defined('NOREQUIREAJAX'))  define('NOREQUIREAJAX','1');
29
-if (! defined('NOREQUIRESOC'))   define('NOREQUIRESOC','1');
30
-if (! defined('NOREQUIRETRAN'))  define('NOREQUIRETRAN','1');
31
-if (! defined('NOREQUIREHOOK'))  define('NOREQUIREHOOK','1');  // Disable "main.inc.php" hooks
25
+if (! defined('NOTOKENRENEWAL')) {
26
+	define('NOTOKENRENEWAL','1');
27
+}
28
+// Disable token renewal
29
+if (! defined('NOREQUIREMENU')) {
30
+	define('NOREQUIREMENU','1');
31
+}
32
+if (! defined('NOREQUIREHTML')) {
33
+	define('NOREQUIREHTML','1');
34
+}
35
+if (! defined('NOREQUIREAJAX')) {
36
+	define('NOREQUIREAJAX','1');
37
+}
38
+if (! defined('NOREQUIRESOC')) {
39
+	define('NOREQUIRESOC','1');
40
+}
41
+if (! defined('NOREQUIRETRAN')) {
42
+	define('NOREQUIRETRAN','1');
43
+}
44
+if (! defined('NOREQUIREHOOK')) {
45
+	define('NOREQUIREHOOK','1');
46
+}
47
+// Disable "main.inc.php" hooks
32 48
 
33 49
 require '../../main.inc.php';
34 50
 require_once DOL_DOCUMENT_ROOT.'/core/class/genericobject.class.php';
@@ -56,7 +72,9 @@  discard block
 block discarded – undo
56 72
 	$rowordertab = explode(',',$roworder);
57 73
 	foreach($rowordertab as $value)
58 74
 	{
59
-		if (! empty($value)) $newrowordertab[] = $value;
75
+		if (! empty($value)) {
76
+			$newrowordertab[] = $value;
77
+		}
60 78
 	}
61 79
 
62 80
 	$row=new GenericObject($db);
Please login to merge, or discard this patch.
htdocs/core/ajax/bankconciliate.php 1 patch
Braces   +16 added lines, -5 removed lines patch added patch discarded remove patch
@@ -20,11 +20,22 @@
 block discarded – undo
20 20
  *       \brief      File to set data for bank concilation
21 21
  */
22 22
 
23
-if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL','1'); // Disables token renewal
24
-if (! defined('NOREQUIREMENU'))  define('NOREQUIREMENU','1');
25
-if (! defined('NOREQUIREHTML'))  define('NOREQUIREHTML','1');
26
-if (! defined('NOREQUIREAJAX'))  define('NOREQUIREAJAX','1');
27
-if (! defined('NOREQUIRESOC'))   define('NOREQUIRESOC','1');
23
+if (! defined('NOTOKENRENEWAL')) {
24
+	define('NOTOKENRENEWAL','1');
25
+}
26
+// Disables token renewal
27
+if (! defined('NOREQUIREMENU')) {
28
+	define('NOREQUIREMENU','1');
29
+}
30
+if (! defined('NOREQUIREHTML')) {
31
+	define('NOREQUIREHTML','1');
32
+}
33
+if (! defined('NOREQUIREAJAX')) {
34
+	define('NOREQUIREAJAX','1');
35
+}
36
+if (! defined('NOREQUIRESOC')) {
37
+	define('NOREQUIRESOC','1');
38
+}
28 39
 //if (! defined('NOREQUIRETRAN'))  define('NOREQUIRETRAN','1');    // Required to know date format for dol_print_date
29 40
 
30 41
 require '../../main.inc.php';
Please login to merge, or discard this patch.
htdocs/core/ajax/objectonoff.php 1 patch
Braces   +21 added lines, -7 removed lines patch added patch discarded remove patch
@@ -19,12 +19,25 @@  discard block
 block discarded – undo
19 19
  *       \brief      File to set tosell and tobuy for product
20 20
  */
21 21
 
22
-if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL','1'); // Disables token renewal
23
-if (! defined('NOREQUIREMENU'))  define('NOREQUIREMENU','1');
24
-if (! defined('NOREQUIREHTML'))  define('NOREQUIREHTML','1');
25
-if (! defined('NOREQUIREAJAX'))  define('NOREQUIREAJAX','1');
26
-if (! defined('NOREQUIRESOC'))   define('NOREQUIRESOC','1');
27
-if (! defined('NOREQUIRETRAN'))  define('NOREQUIRETRAN','1');
22
+if (! defined('NOTOKENRENEWAL')) {
23
+	define('NOTOKENRENEWAL','1');
24
+}
25
+// Disables token renewal
26
+if (! defined('NOREQUIREMENU')) {
27
+	define('NOREQUIREMENU','1');
28
+}
29
+if (! defined('NOREQUIREHTML')) {
30
+	define('NOREQUIREHTML','1');
31
+}
32
+if (! defined('NOREQUIREAJAX')) {
33
+	define('NOREQUIREAJAX','1');
34
+}
35
+if (! defined('NOREQUIRESOC')) {
36
+	define('NOREQUIRESOC','1');
37
+}
38
+if (! defined('NOREQUIRETRAN')) {
39
+	define('NOREQUIRETRAN','1');
40
+}
28 41
 
29 42
 require '../../main.inc.php';
30 43
 require_once DOL_DOCUMENT_ROOT.'/core/class/genericobject.class.php';
@@ -45,5 +58,6 @@  discard block
 block discarded – undo
45 58
 print '<!-- Ajax page called with url '.dol_escape_htmltag($_SERVER["PHP_SELF"]).'?'.dol_escape_htmltag($_SERVER["QUERY_STRING"]).' -->'."\n";
46 59
 
47 60
 // Registering new values
48
-if (($action == 'set') && ! empty($id))
61
+if (($action == 'set') && ! empty($id)) {
49 62
     $object->setValueFrom($field, $value, $element, $id);
63
+}
Please login to merge, or discard this patch.
htdocs/core/ajax/price.php 1 patch
Braces   +14 added lines, -6 removed lines patch added patch discarded remove patch
@@ -20,11 +20,20 @@  discard block
 block discarded – undo
20 20
  *       \brief      File to get ht and ttc
21 21
  */
22 22
 
23
-if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL','1'); // Disables token renewal
24
-if (! defined('NOREQUIREMENU'))  define('NOREQUIREMENU','1');
23
+if (! defined('NOTOKENRENEWAL')) {
24
+	define('NOTOKENRENEWAL','1');
25
+}
26
+// Disables token renewal
27
+if (! defined('NOREQUIREMENU')) {
28
+	define('NOREQUIREMENU','1');
29
+}
25 30
 //if (! defined('NOREQUIREHTML'))  define('NOREQUIREHTML','1');
26
-if (! defined('NOREQUIREAJAX'))  define('NOREQUIREAJAX','1');
27
-if (! defined('NOREQUIRESOC'))   define('NOREQUIRESOC','1');
31
+if (! defined('NOREQUIREAJAX')) {
32
+	define('NOREQUIREAJAX','1');
33
+}
34
+if (! defined('NOREQUIRESOC')) {
35
+	define('NOREQUIRESOC','1');
36
+}
28 37
 //if (! defined('NOREQUIRETRAN'))  define('NOREQUIRETRAN','1');
29 38
 
30 39
 require('../../main.inc.php');
@@ -55,8 +64,7 @@  discard block
 block discarded – undo
55 64
 			$return['price_ht'] = $amount;
56 65
 			$return['price_ttc'] = (isset($price) && $price != '' ? price($price) : '');
57 66
 
58
-		}
59
-		else if ($output == 'price_ht') {
67
+		} else if ($output == 'price_ht') {
60 68
 
61 69
 			$price = price2num($amount / (1 + ($tva_tx/100)), 'MU');
62 70
 			$return['price_ht'] = (isset($price) && $price != '' ? price($price) : '');
Please login to merge, or discard this patch.
htdocs/core/ajax/box.php 1 patch
Braces   +27 added lines, -8 removed lines patch added patch discarded remove patch
@@ -21,13 +21,26 @@  discard block
 block discarded – undo
21 21
  *       \brief      File to return Ajax response on Box move or close
22 22
  */
23 23
 
24
-if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL','1'); // Disables token renewal
25
-if (! defined('NOREQUIREMENU'))  define('NOREQUIREMENU','1');
26
-if (! defined('NOREQUIREHTML'))  define('NOREQUIREHTML','1');
27
-if (! defined('NOREQUIREAJAX'))  define('NOREQUIREAJAX','1');
28
-if (! defined('NOREQUIRESOC'))   define('NOREQUIRESOC','1');
24
+if (! defined('NOTOKENRENEWAL')) {
25
+	define('NOTOKENRENEWAL','1');
26
+}
27
+// Disables token renewal
28
+if (! defined('NOREQUIREMENU')) {
29
+	define('NOREQUIREMENU','1');
30
+}
31
+if (! defined('NOREQUIREHTML')) {
32
+	define('NOREQUIREHTML','1');
33
+}
34
+if (! defined('NOREQUIREAJAX')) {
35
+	define('NOREQUIREAJAX','1');
36
+}
37
+if (! defined('NOREQUIRESOC')) {
38
+	define('NOREQUIRESOC','1');
39
+}
29 40
 //if (! defined('NOREQUIRETRAN'))  define('NOREQUIRETRAN','1');
30
-if (! defined('NOREQUIREHOOK'))  define('NOREQUIREHOOK','1');
41
+if (! defined('NOREQUIREHOOK')) {
42
+	define('NOREQUIREHOOK','1');
43
+}
31 44
 
32 45
 require '../../main.inc.php';
33 46
 require_once DOL_DOCUMENT_ROOT.'/core/class/infobox.class.php';
@@ -59,8 +72,14 @@  discard block
 block discarded – undo
59 72
 	$nbboxonleft=substr_count($tmp[0],',');
60 73
 	$nbboxonright=substr_count($tmp[1],',');
61 74
 	print $nbboxonleft.'-'.$nbboxonright;
62
-	if ($nbboxonleft > $nbboxonright) $boxorder=preg_replace('/B:/','B:'.$boxid.',',$boxorder);    // Insert id of new box into list
63
-    else $boxorder=preg_replace('/^A:/','A:'.$boxid.',',$boxorder);    // Insert id of new box into list
75
+	if ($nbboxonleft > $nbboxonright) {
76
+		$boxorder=preg_replace('/B:/','B:'.$boxid.',',$boxorder);
77
+	}
78
+	// Insert id of new box into list
79
+    else {
80
+    	$boxorder=preg_replace('/^A:/','A:'.$boxid.',',$boxorder);
81
+    }
82
+    // Insert id of new box into list
64 83
 }
65 84
 
66 85
 // Registering the location of boxes after a move
Please login to merge, or discard this patch.
htdocs/core/ajax/ziptown.php 1 patch
Braces   +36 added lines, -15 removed lines patch added patch discarded remove patch
@@ -22,12 +22,25 @@  discard block
 block discarded – undo
22 22
  *       \brief     File to return Ajax response on zipcode or town request
23 23
  */
24 24
 
25
-if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL',1); // Disables token renewal
26
-if (! defined('NOREQUIREMENU'))  define('NOREQUIREMENU','1');
27
-if (! defined('NOREQUIREHTML'))  define('NOREQUIREHTML','1');
28
-if (! defined('NOREQUIREAJAX'))  define('NOREQUIREAJAX','1');
29
-if (! defined('NOREQUIRESOC'))   define('NOREQUIRESOC','1');
30
-if (! defined('NOCSRFCHECK'))    define('NOCSRFCHECK','1');
25
+if (! defined('NOTOKENRENEWAL')) {
26
+	define('NOTOKENRENEWAL',1);
27
+}
28
+// Disables token renewal
29
+if (! defined('NOREQUIREMENU')) {
30
+	define('NOREQUIREMENU','1');
31
+}
32
+if (! defined('NOREQUIREHTML')) {
33
+	define('NOREQUIREHTML','1');
34
+}
35
+if (! defined('NOREQUIREAJAX')) {
36
+	define('NOREQUIREAJAX','1');
37
+}
38
+if (! defined('NOREQUIRESOC')) {
39
+	define('NOREQUIRESOC','1');
40
+}
41
+if (! defined('NOCSRFCHECK')) {
42
+	define('NOCSRFCHECK','1');
43
+}
31 44
 
32 45
 require '../../main.inc.php';
33 46
 require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php';
@@ -60,9 +73,11 @@  discard block
 block discarded – undo
60 73
 	$zipcode = $_GET['zipcode']?$_GET['zipcode']:'';
61 74
 	$town = $_GET['town']?$_GET['town']:'';
62 75
 
63
-	if (! empty($conf->global->MAIN_USE_ZIPTOWN_DICTIONNARY))   // Use zip-town table
76
+	if (! empty($conf->global->MAIN_USE_ZIPTOWN_DICTIONNARY)) {
77
+		// Use zip-town table
64 78
 	{
65 79
     	$sql = "SELECT z.rowid, z.zip, z.town, z.fk_county, z.fk_pays as fk_country";
80
+	}
66 81
     	$sql.= ", c.rowid as fk_country, c.code as country_code, c.label as country";
67 82
     	$sql.= ", d.rowid as fk_county, d.code_departement as county_code, d.nom as county";
68 83
     	$sql.= " FROM ".MAIN_DB_PREFIX."c_ziptown as z";
@@ -71,12 +86,15 @@  discard block
 block discarded – undo
71 86
     	$sql.= " ".MAIN_DB_PREFIX."c_country as c";
72 87
     	$sql.= " WHERE z.fk_pays = c.rowid";
73 88
     	$sql.= " AND z.active = 1 AND c.active = 1";
74
-    	if ($zipcode) $sql.=" AND z.zip LIKE '" . $db->escape($zipcode) . "%'";
75
-    	if ($town)    $sql.=" AND z.town LIKE '%" . $db->escape($town) . "%'";
89
+    	if ($zipcode) {
90
+    		$sql.=" AND z.zip LIKE '" . $db->escape($zipcode) . "%'";
91
+    	}
92
+    	if ($town) {
93
+    		$sql.=" AND z.town LIKE '%" . $db->escape($town) . "%'";
94
+    	}
76 95
     	$sql.= " ORDER BY z.zip, z.town";
77 96
         $sql.= $db->plimit(100); // Avoid pb with bad criteria
78
-	}
79
-	else                                               // Use table of third parties
97
+	} else                                               // Use table of third parties
80 98
 	{
81 99
         $sql = "SELECT DISTINCT s.zip, s.town, s.fk_departement as fk_county, s.fk_pays as fk_country";
82 100
         $sql.= ", c.code as country_code, c.label as country";
@@ -85,8 +103,12 @@  discard block
 block discarded – undo
85 103
         $sql.= " LEFT JOIN ".MAIN_DB_PREFIX ."c_departements as d ON s.fk_departement = d.rowid";
86 104
         $sql.= " LEFT JOIN ".MAIN_DB_PREFIX.'c_country as c ON s.fk_pays = c.rowid';
87 105
         $sql.= " WHERE";
88
-        if ($zipcode) $sql.= " s.zip LIKE '".$db->escape($zipcode)."%'";
89
-        if ($town)    $sql.= " s.town LIKE '%" . $db->escape($town) . "%'";
106
+        if ($zipcode) {
107
+        	$sql.= " s.zip LIKE '".$db->escape($zipcode)."%'";
108
+        }
109
+        if ($town) {
110
+        	$sql.= " s.town LIKE '%" . $db->escape($town) . "%'";
111
+        }
90 112
         $sql.= " ORDER BY s.fk_pays, s.zip, s.town";
91 113
         $sql.= $db->plimit(100); // Avoid pb with bad criteria
92 114
 	}
@@ -127,8 +149,7 @@  discard block
 block discarded – undo
127 149
 	}
128 150
 
129 151
 	echo json_encode($return_arr);
130
-}
131
-else
152
+} else
132 153
 {
133 154
 
134 155
 }
Please login to merge, or discard this patch.
htdocs/core/ajax/loadinplace.php 1 patch
Braces   +32 added lines, -19 removed lines patch added patch discarded remove patch
@@ -20,11 +20,20 @@  discard block
 block discarded – undo
20 20
  *       \brief      File to load field value
21 21
  */
22 22
 
23
-if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL','1'); // Disables token renewal
24
-if (! defined('NOREQUIREMENU'))  define('NOREQUIREMENU','1');
23
+if (! defined('NOTOKENRENEWAL')) {
24
+	define('NOTOKENRENEWAL','1');
25
+}
26
+// Disables token renewal
27
+if (! defined('NOREQUIREMENU')) {
28
+	define('NOREQUIREMENU','1');
29
+}
25 30
 //if (! defined('NOREQUIREHTML'))  define('NOREQUIREHTML','1');
26
-if (! defined('NOREQUIREAJAX'))  define('NOREQUIREAJAX','1');
27
-if (! defined('NOREQUIRESOC'))   define('NOREQUIRESOC','1');
31
+if (! defined('NOREQUIREAJAX')) {
32
+	define('NOREQUIREAJAX','1');
33
+}
34
+if (! defined('NOREQUIRESOC')) {
35
+	define('NOREQUIRESOC','1');
36
+}
28 37
 //if (! defined('NOREQUIRETRAN'))  define('NOREQUIRETRAN','1');
29 38
 
30 39
 require '../../main.inc.php';
@@ -57,15 +66,18 @@  discard block
 block discarded – undo
57 66
 		$subelement = $regs[2];
58 67
 	}
59 68
 
60
-	if ($element == 'propal') $element = 'propale';
61
-	else if ($element == 'fichinter') $element = 'ficheinter';
62
-	else if ($element == 'product') $element = 'produit';
63
-	else if ($element == 'member') $element = 'adherent';
64
-	else if ($element == 'order_supplier') {
69
+	if ($element == 'propal') {
70
+		$element = 'propale';
71
+	} else if ($element == 'fichinter') {
72
+		$element = 'ficheinter';
73
+	} else if ($element == 'product') {
74
+		$element = 'produit';
75
+	} else if ($element == 'member') {
76
+		$element = 'adherent';
77
+	} else if ($element == 'order_supplier') {
65 78
 		$element = 'fournisseur';
66 79
 		$subelement = 'commande';
67
-	}
68
-	else if ($element == 'invoice_supplier') {
80
+	} else if ($element == 'invoice_supplier') {
69 81
 		$element = 'fournisseur';
70 82
 		$subelement = 'facture';
71 83
 	}
@@ -84,9 +96,10 @@  discard block
 block discarded – undo
84 96
 			if (method_exists($form, $methodname))
85 97
 			{
86 98
 				$ret = $form->$methodname();
87
-				if ($ret > 0) echo json_encode($form->$cachename);
88
-			}
89
-			else if (! empty($ext_element))
99
+				if ($ret > 0) {
100
+					echo json_encode($form->$cachename);
101
+				}
102
+			} else if (! empty($ext_element))
90 103
 			{
91 104
 				$module = $subelement = $ext_element;
92 105
 				if (preg_match('/^([^_]+)_([^_]+)/i',$ext_element,$regs))
@@ -99,17 +112,17 @@  discard block
 block discarded – undo
99 112
 				$classname = 'Actions'.ucfirst($subelement);
100 113
 				$object = new $classname($db);
101 114
 				$ret = $object->$methodname($fk_element);
102
-				if ($ret > 0) echo json_encode($object->$cachename);
115
+				if ($ret > 0) {
116
+					echo json_encode($object->$cachename);
117
+				}
103 118
 			}
104
-		}
105
-		else
119
+		} else
106 120
 		{
107 121
 			$object = new GenericObject($db);
108 122
 			$value=$object->$loadmethod($table_element, $fk_element, $field);
109 123
 			echo $value;
110 124
 		}
111
-	}
112
-	else
125
+	} else
113 126
 	{
114 127
 		echo $langs->transnoentities('NotEnoughPermissions');
115 128
 	}
Please login to merge, or discard this patch.
htdocs/core/ajax/fileupload.php 1 patch
Braces   +14 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,10 +25,20 @@
 block discarded – undo
25 25
 //if (! defined('NOREQUIREDB'))    define('NOREQUIREDB','1');
26 26
 //if (! defined('NOREQUIRESOC'))   define('NOREQUIRESOC','1');
27 27
 //if (! defined('NOREQUIRETRAN'))  define('NOREQUIRETRAN','1');
28
-if (! defined('NOCSRFCHECK'))    define('NOCSRFCHECK','1');
29
-if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL','1');
30
-if (! defined('NOREQUIREMENU'))  define('NOREQUIREMENU','1'); // If there is no menu to show
31
-if (! defined('NOREQUIREHTML'))  define('NOREQUIREHTML','1'); // If we don't need to load the html.form.class.php
28
+if (! defined('NOCSRFCHECK')) {
29
+	define('NOCSRFCHECK','1');
30
+}
31
+if (! defined('NOTOKENRENEWAL')) {
32
+	define('NOTOKENRENEWAL','1');
33
+}
34
+if (! defined('NOREQUIREMENU')) {
35
+	define('NOREQUIREMENU','1');
36
+}
37
+// If there is no menu to show
38
+if (! defined('NOREQUIREHTML')) {
39
+	define('NOREQUIREHTML','1');
40
+}
41
+// If we don't need to load the html.form.class.php
32 42
 //if (! defined('NOREQUIREAJAX'))  define('NOREQUIREAJAX','1');
33 43
 //if (! defined("NOLOGIN"))        define("NOLOGIN",'1');       // If this page is public (can be called outside logged session)
34 44
 
Please login to merge, or discard this patch.