]> git.mxchange.org Git - friendica-addons.git/blobdiff - uhremotestorage/uhremotestorage.php
revert addon Smarty3 templates to non-variable-based includes
[friendica-addons.git] / uhremotestorage / uhremotestorage.php
index a2a8cc3dd107cf4ccdc0ca2e6c5416b82e14eb0d..85d6b13e8c34186c60a8775686d65eb4a6715af1 100755 (executable)
@@ -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 <a href="http://www.w3.org/community/unhosted/wiki/RemoteStorage#WebFinger">RemoteStorage WebFinger</a>'), $uid ),