The "display" page now shows the current author profile with a "connect" link (if there is no current connection)

This commit is contained in:
Michael Vogel 2014-08-25 14:09:56 +02:00
parent c5cc99c716
commit dd511ac70a
10 changed files with 177 additions and 44 deletions

View file

@ -1,11 +1,12 @@
<?php
function follow_widget() {
function follow_widget($value = "") {
return replace_macros(get_markup_template('follow.tpl'),array(
'$connect' => t('Add New Contact'),
'$desc' => t('Enter address or web location'),
'$hint' => t('Example: bob@example.com, http://example.com/barbara'),
'$value' => $value,
'$follow' => t('Connect')
));