dolibarr 23.0.3
new.php File Reference

Example of form to add a new donation. More...

Go to the source code of this file.

Functions

if(getDolGlobalString( 'MAIN_SECURITY_ENABLECAPTCHA_DONATION')) llxHeaderVierge ($title, $head="", $disablejs=0, $disablehead=0, $arrayofjs=[], $arrayofcss=[])
 Show header for new donation.
 
 llxFooterVierge ()
 Show footer for new donation.
 

Detailed Description

Example of form to add a new donation.

Note that you can add following constant to change behaviour of page DONATION_MIN_AMOUNT Minimum amount DONATION_NEWFORM_PAYONLINE Suggest payment with paypal, paybox or stripe

Definition in file new.php.

Function Documentation

◆ llxFooterVierge()

llxFooterVierge ( )

Show footer for new donation.

Note: also called by functions.lib:recordNotFound

Returns
void

Definition at line 176 of file new.php.

References printCommonFooter().

◆ llxHeaderVierge()

if(getDolGlobalString('MAIN_SECURITY_ENABLECAPTCHA_DONATION')) llxHeaderVierge ( $title,
$head = "",
$disablejs = 0,
$disablehead = 0,
$arrayofjs = [],
$arrayofcss = [] )

Show header for new donation.

Note: also called by functions.lib:recordNotFound

Parameters
string$titleTitle
string$headHead array
int$disablejsMore content into html header
int$disableheadMore content into html header
string[] | string$arrayofjsArray of complementary js files
string[] | string$arrayofcssArray of complementary css files
Returns
void

Definition at line 155 of file new.php.

References $mysoc, getDolGlobalString(), htmlPrintOnlineHeader(), and top_htmlhead().