| 101 | |
| 102 | == Badge display == |
| 103 | |
| 104 | You can control the display of badges on your project's web site |
| 105 | by defining the following constants in your '''html/project/project.inc''': |
| 106 | {{{ |
| 107 | define('BADGE_HEIGHT_SMALL', 20); |
| 108 | define('BADGE_HEIGHT_MEDIUM', 24); |
| 109 | define('BADGE_HEIGHT_LARGE', 56); |
| 110 | }}} |
| 111 | |
| 112 | These define the height of badge images in different contexts: |
| 113 | BADGE_HEIGHT_SMALL:: Forums. |
| 114 | BADGE_HEIGHT_MEDIUM:: Tabular lists (e.g. top user list). |
| 115 | BADGE_HEIGHT_LARGE:: User and team pages. |
| 116 | |
| 117 | If you set any of these to zero, badges will not be shown in that context. |
| 118 | The default values are those given above. |