// Loads the snippet for the uberwach action
function loadUberwachSnippet () {
+ // Detect IP address
+ $content['REMOTE_ADDR'] = detectRemoteAddr();
+
// Simply load the template here
- loadTemplate('uberwach_snippet');
+ loadTemplate('uberwach_snippet', false, $content);
}
// Filter for displaying uberwach snippet