{
}
+
+ var $masterTemplate = 'xmpp_master.html';
+
+ function sendXMPP()
+ {
+ $ff = HTML_FlexyFramework::get();
+
+ if(
+ empty($ff->Pman['ip_management']) ||
+ empty($ff->Pman['XMPP']) ||
+ empty($ff->Pman['XMPP']['username']) ||
+ empty($ff->Pman['XMPP']['password']) ||
+ empty($ff->Pman['XMPP']['to'])
+ ) {
+ return;
+ }
+
+ $template_engine = new HTML_Template_Flexy();
+ $template_engine->compile($this->masterTemplate);
+
+ $fn = $this->tempName('html');
+
+ file_put_contents($fn, $template_engine->bufferedOutputObject($this, $this->elements));
+ }
+
+
}