Parent Directory
|
Revision Log
|
Revision Graph
Added the main peerreview module that enable specific setups for the platform. By now it adds a css file to the node view to show correctly the varius comments and nodes.
| 1 | <?php |
| 2 | // $Id $ |
| 3 | |
| 4 | /** |
| 5 | * Add a stylesheet to question node type. |
| 6 | */ |
| 7 | |
| 8 | function peerreview_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) { |
| 9 | switch ($op) { |
| 10 | case 'view': |
| 11 | if ($node->type == 'question') { |
| 12 | drupal_add_css(drupal_get_path('module', 'peerreview') .'/peerreview.css'); |
| 13 | } |
| 14 | break; |
| 15 | } |
| 16 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |