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