From d11bec6f584574ae6045e0fe09b544d920e53f2a Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 12 Mar 2015 22:22:52 +0100 Subject: add generic_addon_settings template and minor fixes --- mod/settings.php | 2 +- view/tpl/generic_addon_settings.tpl | 17 +++++++++++++++++ view/tpl/settings_addons.tpl | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 view/tpl/generic_addon_settings.tpl diff --git a/mod/settings.php b/mod/settings.php index c47d21d02..56949f9d4 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -681,7 +681,7 @@ function settings_content(&$a) { '$pubcomments' => array('dspr_pubcomment', t('Allow any Diaspora member to comment on your public posts'), $pubcomments, '', $yes_no), '$dsprtitle' => t('Diaspora Policy Settings'), '$hijacking' => array('dspr_hijack', t('Prevent your hashtags from being redirected to other sites'), $hijacking, '', $yes_no), - '$dsprsubmit' => t('Submit Diaspora Policy Settings'), + '$dsprsubmit' => t('Submit'), '$settings_addons' => $settings_addons )); return $o; diff --git a/view/tpl/generic_addon_settings.tpl b/view/tpl/generic_addon_settings.tpl new file mode 100644 index 000000000..a7d3b6c0a --- /dev/null +++ b/view/tpl/generic_addon_settings.tpl @@ -0,0 +1,17 @@ +
+ +
+
+ {{$content}} +
+ +
+
+
+
diff --git a/view/tpl/settings_addons.tpl b/view/tpl/settings_addons.tpl index a1b18e441..9297a282a 100755 --- a/view/tpl/settings_addons.tpl +++ b/view/tpl/settings_addons.tpl @@ -27,7 +27,7 @@ {{/if}} + {{$settings_addons}} - {{$settings_addons}} -- cgit v1.2.3