Tag blog contact link
From b2evolution manual
This template tag displays a link leading to the contact form for the owner of the current Blog.
[edit] Example
<source lang="php"> <?php
$Blog->contact_link( array(
'before' => ' ',
'after' => ' ',
'text' => 'Contact',
'title' => 'Send a message to the owner of this blog...',
) );
?> </source>
[edit] Parameters
| Name | Default | Usage |
|---|---|---|
| before | (1 space) | Displayed before the link (if the link is displayed) |
| after | (1 space) | Displayed after the link (if the link is displayed) |
| text | 'Contact' | Text of the link |
| title | 'Send a message to the owner of this blog...' | Title of the link (appears in the tooltip box when you leave the mouse on the link) |
[edit] Return value
This function return false, if blog owner doesn't allow message form.
If blog owner allows message form then this function return true and displays content.
