| 1 |
<?php
|
| 2 |
/**
|
| 3 |
* Implementation of hook_ulink_comment().
|
| 4 |
*/
|
| 5 |
function ulink_ulink_comment($link, $comment=NULL){
|
| 6 |
return _ulink_ulink_xxx('comment', $link, $comment);
|
| 7 |
}
|
| 8 |
/**
|
| 9 |
* Implementation of hook_ulink_comment_settings().
|
| 10 |
*/
|
| 11 |
function ulink_ulink_comment_settings() {
|
| 12 |
return _ulink_ulink_settings_builder('comment');
|
| 13 |
}
|
| 14 |
/**
|
| 15 |
* Implementation of hook_ulink_comment_info().
|
| 16 |
*/
|
| 17 |
function ulink_ulink_comment_info() {
|
| 18 |
return t(' Three modes of rendering are possible. Hardcoded rendering for novice users and PHPcode for advanced users. In the macro mode TOKENS can be used. Use configurations to individually configure them to match the requirement.');
|
| 19 |
}
|
| 20 |
/*
|
| 21 |
* support functions to provide extra settings pages.
|
| 22 |
*/
|
| 23 |
function _ulink_comment_settings_1() {
|
| 24 |
return system_settings_form(_ulink_xxx_settings_1('comment'));
|
| 25 |
}
|
| 26 |
function _ulink_comment_settings_2() {
|
| 27 |
return system_settings_form(_ulink_xxx_settings_2('comment'));
|
| 28 |
}
|
| 29 |
function _ulink_comment_settings_3() {
|
| 30 |
return system_settings_form(_ulink_xxx_settings_3('comment'));
|
| 31 |
}
|