From cfec3b3099d0228984a9f75b43f5fa60c1135f9f Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 13 Dec 2012 14:39:43 -0800 Subject: [PATCH] remote_permissions: doesn't work if allow_url_fopen turned off --- group_text.tgz | Bin 1226 -> 1257 bytes remote_permissions.tgz | Bin 3144 -> 3144 bytes remote_permissions/remote_permissions.php | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/group_text.tgz b/group_text.tgz index 932ee79d9089b0c6034ca3187449d6c4984d522d..5dca3140f896fd3f43daabf3470faba05cb1b81f 100644 GIT binary patch literal 1257 zcmV-dhT-MTWy;Gx~Mc zV3^Qwy%blsjN!V@f1P}Td(MBJUFWvblQ@}3=PUfBE;Hr^R&Q5wNO-R^sL+ia7h#i?%!Me zX33WIo1NX0hm0?Bq4bY?D7T}VPCFHGOr_^ksnKXFU#DAk(7UKW&UVNs_>`*AUCPY{uoWm_oP#K&@v&lY zA&Hf(3JF$1qEm*U;o&J`DvSLtfp@6!_Q-*a-iY01EAJ;rMM%?CulB1qzeUX<@dfS!`Ty>2qXKrP~ocV=q1dEgzI|qzwWTEo( zam$nYxoaz$@s;pEdv4ugYEgCPw&6sP zrCMC_+Pv`%TG*XA23=G9eUiNwNbrk2Ri33={BBd%Y5TQvrLR+}5{j~Kc{P=ANg*V> zEF-&e6Jm1yVGmU4@-Yu;i&)XR7!b@YFig^X8f^_Cd$+L^m2^|EAS z`PnIOTh8vOZ{|*REiw%7_TBqZk{r9huI2JVe)k4D=a{H>W;Zu)XA{$(iejHKb0Bzn z4IUS~XG!f=uW?0F8ft7sc&rQ~PW^Uw?CX7#jCHvaAme$VzYXvvgsL>_XO1_G?WKCoph1HM4H`6P T(4awse}{hnB4fL204M+eOlNcq literal 1226 zcmV;*1U35~iwFR;V|P#h1MOE^Z`(E$&TITD&a|MCgV?f@*a4i_#jqCLL$?-4wm!6l zK})nnm?8y|O5&~g?>nUANNz3$iloCfeMn%7mvi~Pb4YoiWS&h8y*A;_bD@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issions/remote_permissions.php index 1e71cbc8..95e74ee1 100644 --- a/remote_permissions/remote_permissions.php +++ b/remote_permissions/remote_permissions.php @@ -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), -- 2.39.5