X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=uhremotestorage%2Fuhremotestorage.php;h=8dfecc74e1f6c2072b261bb319b8b29142fa201e;hb=5c5c23acb062960dff33bf5fe86f32ff20515389;hp=a2a8cc3dd107cf4ccdc0ca2e6c5416b82e14eb0d;hpb=a0b5fab887ce40690120977a0ed02c3477d3b1b0;p=friendica-addons.git
diff --git a/uhremotestorage/uhremotestorage.php b/uhremotestorage/uhremotestorage.php
index a2a8cc3d..8dfecc74 100755
--- a/uhremotestorage/uhremotestorage.php
+++ b/uhremotestorage/uhremotestorage.php
@@ -78,7 +78,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 +86,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'),
));
}