Website Customization

This page lists PHP functions that can be defined in html/project/project.inc to change the behavior of the project website.

Note: incomplete.

donations_intro()

Used in
html/user/donations.php
Functionality
Displays customized donation information. Useful to describe what the project uses donations for, and project specific guides for donations. If function is not defined, standard donation information is displayed.
Parameters
None.
Return
Nothing.

project_rules_policies()

Used in
html/user/info.php
Functionality
Displays customized project rules and policies. If return value is true, standard rules and policies are appended in the end. If function is not defined, default rules and policies are displayed.
Should use PHP echo() to output text.
Parameters
None.
Return
true: append default rules and policies.
false: do not append default rules and policies.

If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.