]> git.mxchange.org Git - friendica-addons.git/blobdiff - impressum/impressum.php
Merge pull request #121 from annando/master
[friendica-addons.git] / impressum / impressum.php
index 305dd9a9452b2ce7df11acef10f1d6644cb31c0a..3c1106c9a9761cf056ae63258c871ccafbdb9cc7 100755 (executable)
@@ -79,14 +79,7 @@ function impressum_plugin_admin_post (&$a) {
 }
 function impressum_plugin_admin (&$a, &$o) {
     $t = get_markup_template( "admin.tpl", "addon/impressum/" );
-
-       $includes = array(
-               '$field_input' => 'field_input.tpl',
-               '$field_textarea' => 'field_textarea.tpl',
-       );
-       $includes = set_template_includes($a->theme['template_engine'], $includes);
-
-    $o = replace_macros($t, $includes + array(
+    $o = replace_macros($t, array(
         '$submit' => t('Submit'),
         '$owner' => array('owner', t('Site Owner'), get_config('impressum','owner'), t('The page operators name.')),
         '$ownerprofile' => array('ownerprofile', t('Site Owners Profile'), get_config('impressum','ownerprofile'), t('Profile address of the operator.')),