| 1 |
<?php |
<?php |
| 2 |
// $Id: procon.module,v 1.1.2.3 2007/08/07 09:24:08 fajerstarter Exp $ |
// $Id: procon.module,v 1.1.2.4 2007/08/08 09:04:37 fajerstarter Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 95 |
} |
} |
| 96 |
|
|
| 97 |
/** |
/** |
| 98 |
|
* Implementation of hook_link_alter(). |
| 99 |
|
*/ |
| 100 |
|
function procon_link_alter(&$node, &$links) { |
| 101 |
|
// Rename the "Add comment" link for arguments. |
| 102 |
|
if ($node->type == 'procon_argument' && array_key_exists('comment_add', $links)) { |
| 103 |
|
$links['comment_add']['title'] = t('Reply'); |
| 104 |
|
} |
| 105 |
|
} |
| 106 |
|
|
| 107 |
|
/** |
| 108 |
* Implementation of hook_form_alter(). |
* Implementation of hook_form_alter(). |
| 109 |
*/ |
*/ |
| 110 |
function procon_form_alter($form_id, &$form) { |
function procon_form_alter($form_id, &$form) { |