streams/Zotlabs/Widget/Sblock.php

25 lines
511 B
PHP
Raw Normal View History

<?php
namespace Zotlabs\Widget;
use App;
class Sblock {
function widget($args) {
if (! local_channel()) {
return EMPTY_STR;
}
return replace_macros(get_markup_template('superblock_widget.tpl'), [
2020-09-07 02:49:22 +00:00
'$connect' => t('Block channel or site'),
'$desc' => t('Enter channel address or URL'),
'$hint' => t('Examples: bob@example.com, https://example.com/barbara'),
'$follow' => t('Block'),
'$abook_usage_message' => '',
]);
}
}