first commit
This commit is contained in:
11
functions/xajax-contact.php
Normal file
11
functions/xajax-contact.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
global $xajax;
|
||||
$xajax -> register( XAJAX_FUNCTION, 'showContactForm' );
|
||||
|
||||
function showContactForm()
|
||||
{
|
||||
$ajax = new xajaxResponse;
|
||||
$ajax -> assign( 'ac-container', 'innerHTML', \site\VSite::drawAjaxContactForm() );
|
||||
$ajax -> script( '$( "#ac-container" ).show();' );
|
||||
return $ajax;
|
||||
}
|
||||
Reference in New Issue
Block a user