Aggregates to the supplied chain (the HTML body), the RECAPTCHA tag responsible for the appearence of the google 'human being' test icon. This will contain the public key which must be supplied as an argument to the <project> tag. Returns: None
| Return Type | Function name | Arguments |
|---|---|---|
| void | hdsRecap::Generate | (hzChain&,hzHttpEvent*,uint32_t&,) |
Declared in file: hzDissemino.h
Defined in file : hdsGenerate.cpp
Function Logic:
Function body:
void hdsRecap::Generate (hzChain& C)hzHttpEvent* pE, uint32_t& nLine,
{
// Aggregates to the supplied chain (the HTML body), the RECAPTCHA tag responsible for the appearence of the google 'human being' test icon. This
// will contain the public key which must be supplied as an argument to the <project> tag.
//
// Arguments: 1) C The HTML output chain
// 2) pE The HTTP event being responded to
// 3) nLine Line number tracker (controls NL printing)
//
// Returns: None
_hzfunc("hdsRecap::Generate") ;
if (m_pApp->m_KeyPublic)
C.Printf("<div class=\"g-recaptcha\" data-sitekey=\"%s\"></div>", *m_pApp->m_KeyPublic) ;
else
C << "<div class=\"g-recaptcha\" invalid data-sitekey=\"not supplied\"></div>" ;
}