That's better
This commit is contained in:
		| @@ -451,7 +451,7 @@ function format_js_if_exists($source) { | |||||||
| 	else | 	else | ||||||
| 		$path = theme_include($source); | 		$path = theme_include($source); | ||||||
| 	if($path) | 	if($path) | ||||||
| 		return '<script src="' . z_root() . '/' . $source . '" ></script>' . "\r\n" ; | 		return '<script src="' . z_root() . '/' . $path . '" ></script>' . "\r\n" ; | ||||||
|  |  | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,5 +1,6 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
|  | require_once('include/account.php'); | ||||||
|  |  | ||||||
| function zregister_init(&$a) { | function zregister_init(&$a) { | ||||||
| 	$a->page['template'] = 'full'; | 	$a->page['template'] = 'full'; | ||||||
| @@ -57,8 +58,6 @@ function zregister_post(&$a) { | |||||||
| 			break; | 			break; | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	require_once('include/account.php'); |  | ||||||
|  |  | ||||||
| 	$arr = $_POST; | 	$arr = $_POST; | ||||||
| 	$arr['account_flags'] = $flags; | 	$arr['account_flags'] = $flags; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -27,5 +27,3 @@ | |||||||
| 			} | 			} | ||||||
| 		}); | 		}); | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| </script> |  | ||||||
|   | |||||||
| @@ -8,7 +8,7 @@ | |||||||
| 		'showmore'  : '$showmore', | 		'showmore'  : '$showmore', | ||||||
| 		'showfewer' : '$showfewer', | 		'showfewer' : '$showfewer', | ||||||
| 		'pwshort'   : '$pwshort', | 		'pwshort'   : '$pwshort', | ||||||
| 		'pwnomatch' : 'pwnomatch', | 		'pwnomatch' : '$pwnomatch', | ||||||
|  |  | ||||||
| 		't01' :  $t01, | 		't01' :  $t01, | ||||||
| 		't02' :  $t02, | 		't02' :  $t02, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user