]> git.mxchange.org Git - friendica-addons.git/blobdiff - impressum/impressum.php
Facebook: The settings of "fbsync" are shown inside of "fbpost" if activated.
[friendica-addons.git] / impressum / impressum.php
index 3c1106c9a9761cf056ae63258c871ccafbdb9cc7..dcd6acffab2ac6e793cc311fc3fc09a19da952e2 100755 (executable)
@@ -2,8 +2,8 @@
 /**
  * Name: Impressum
  * Description: Plugin to add contact information to the about page (/friendica)
- * Version: 1.2
- * Author: Tobias Diekershoff <http://diekershoff.homeunix.net/friendika/profile/tobias>
+ * Version: 1.3
+ * Author: Tobias Diekershoff <https://f.diekershoff.de/profile/tobias>
  * License: 3-clause BSD license
  */
 
@@ -20,6 +20,14 @@ function impressum_uninstall() {
     unregister_hook('page_end', 'addon/impressum/impressum.php', 'impressum_footer');
     logger("uninstalled impressum plugin");
 }
+
+function impressum_module() {
+}
+function impressum_content() {
+    $a = get_app();
+    goaway($a->get_baseurl().'/friendica/');
+}
+
 function obfuscate_email ($s) {
     $s = str_replace('@','(at)',$s);
     $s = str_replace('.','(dot)',$s);
@@ -80,7 +88,7 @@ function impressum_plugin_admin_post (&$a) {
 function impressum_plugin_admin (&$a, &$o) {
     $t = get_markup_template( "admin.tpl", "addon/impressum/" );
     $o = replace_macros($t, array(
-        '$submit' => t('Submit'),
+        '$submit' => t('Save Settings'),
         '$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.')),
         '$postal' => array('postal', t('Postal Address'), get_config('impressum','postal'), t('How to contact the operator via snail mail. You can use BBCode here.')),