Changes between Version 37 and Version 38 of WebConfig


Ignore:
Timestamp:
Jan 24, 2018, 3:31:04 PM (6 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebConfig

    v37 v38  
    131131=== Functions ===
    132132
     133Required functions:
     134
    133135 '''project_banner()'''::
    134136    Prints page header
    135137 '''project_footer()'''::
    136138    Prints page footer
     139
     140Optional functions:
     141
    137142 '''donations_intro()'''::
    138     Displays customized donation information.
    139     Useful to describe what the project uses donations for, and project specific guides for donations.
    140     If function is not defined, standard donation information is displayed.html/user/donations.php.
     143    Show donation information.
     144    Describe what the project uses donations for, and show guidelines for donations.
     145    If function is not defined, standard donation information is displayed.
     146    Called from html/user/donations.php.
    141147 '''project_form_post_info($forum)''':: return a string describing instructions for a particular forum
    142148    (e.g.  how to post in Questions and problems).
    143149 '''project_forum_post_rules()''':: return a string describing message board policies.
    144150 '''project_rules_policies()'''::
    145     Displays customized project rules and policies.
     151    Show general rules and policies
     152    (e.g. don't run BOINC on someone else's computer without permission).
    146153    If return value is ''true'', standard rules and policies are appended.
    147154    If function is not defined, default rules and policies are displayed.
     155 '''project_user_credit($user)'''::
     156    Print table row for project-defined credit info.
    148157 '''project_user_links($user)'''::
    149     Return project-specific text to be shown after user name.
    150  '''project_user_page_private()'''::
    151     Prints project-specific text on private user page
    152  '''project_user_summary()'''::
    153     Prints project-specific text on user page
     158    Return HTML to be shown after user name (e.g. donation icons).
     159 '''project_user_page_private($user)'''::
     160    Print project-specific content on private user page
     161 '''project_user_summary_public($user)'''::
     162    Print project-specific table row on user page
    154163 '''project_workunit($wu)'''::
    155164    Prints project-specific text on workunit page
     
    160169 '''show_profile_question1(), show_profile_question2()'''::
    161170    Text on user profile page
     171 '''show_user_donations_private($user)'''::
     172    Print table row describing donations, shown only to user.
     173 '''show_user_page_private($user)'''::
     174    Print project-specific info at bottom of private user page.
    162175
    163176To use [https://github.com/PHPMailer/PHPMailer PHPMailer]
     
    173186If you do not define '''make_php_mailer()''' then e-mail to participants can still be sent,
    174187but it will use PHP's simpler '''mail()''' function.
    175