X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=uhremotestorage%2Fuhremotestorage.php;h=76320f5cfa428808b57a95719197d1a32ce73e94;hb=3a7fdd6f6aeae2bbc91cef73a23f53b3bb1bcdc9;hp=a2a8cc3dd107cf4ccdc0ca2e6c5416b82e14eb0d;hpb=858758e92c5d8c1c41e188284fea53ae50fb0855;p=friendica-addons.git diff --git a/uhremotestorage/uhremotestorage.php b/uhremotestorage/uhremotestorage.php index a2a8cc3d..76320f5c 100755 --- a/uhremotestorage/uhremotestorage.php +++ b/uhremotestorage/uhremotestorage.php @@ -4,6 +4,7 @@ * Description: Expose in user XRD the link to external user's unhosted-enabled storage * Version: 1.0 * Author: Fabio Comuni + * Status: Unsupported */ function uhremotestorage_install() { @@ -78,7 +79,7 @@ function uhremotestorage_settings($a, &$s){ 'Dropbox' => 'Dropbox', ); */ - $tpl = file_get_contents(dirname(__file__)."/settings.tpl"); + $tpl = get_markup_template("settings.tpl", "addon/uhremotestorage/"); $s .= replace_macros($tpl, array( '$title' => 'Unhosted remote storage', '$desc' => sprintf( t('Allow to use your friendica id (%s) to connecto to external unhosted-enabled storage (like ownCloud). See RemoteStorage WebFinger'), $uid ), @@ -86,7 +87,7 @@ function uhremotestorage_settings($a, &$s){ '$auth' => array( 'unhoestedauth', t('OAuth end-point'), $auth, 'If your are using ownCloud, your OAuth endpoint will be like http://HOST/apps/remoteStorage/auth.php/USER'), '$api' => array( 'unhoestedapi', t('Api'), $api, 'If your are using ownCloud, your api will be WebDAV', $arr_api), - '$submit' => t('Submit'), + '$submit' => t('Save Settings'), )); }