mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 04:43:40 +00:00
remote_permissions: doesn't work if allow_url_fopen turned off
This commit is contained in:
parent
0749913124
commit
cfec3b3099
3 changed files with 2 additions and 2 deletions
BIN
group_text.tgz
BIN
group_text.tgz
Binary file not shown.
Binary file not shown.
|
@ -39,7 +39,7 @@ function remote_permissions_settings(&$a,&$o) {
|
|||
|
||||
/* Add some HTML to the existing form */
|
||||
|
||||
$t = file_get_contents( $a->get_baseurl() . "/addon/remote_permissions/settings.tpl" );
|
||||
$t = file_get_contents("addon/remote_permissions/settings.tpl" );
|
||||
$o .= replace_macros($t, array(
|
||||
'$remote_perms_title' => t('Remote Permissions Settings'),
|
||||
'$remote_perms_label' => t('Allow recipients of your private posts to see the other recipients of the posts'),
|
||||
|
@ -190,7 +190,7 @@ function remote_permissions_content($a, $item_copy) {
|
|||
}
|
||||
|
||||
function remote_permissions_plugin_admin(&$a, &$o){
|
||||
$t = file_get_contents( $a->get_baseurl() . "/addon/remote_permissions/admin.tpl" );
|
||||
$t = file_get_contents( "addon/remote_permissions/admin.tpl" );
|
||||
$o = replace_macros($t, array(
|
||||
'$submit' => t('Submit'),
|
||||
'$global' => array('remotepermschoice', t('Global'), 1, t('The posts of every user on this server show the post recipients'), get_config('remote_perms', 'global') == 1),
|
||||
|
|
Loading…
Reference in a new issue