aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-27 19:34:51 -0800
committerzotlabs <mike@macgirvin.com>2018-02-27 19:34:51 -0800
commitbe5187718c0f1791a692b7743aca51ea5f37649e (patch)
tree6aaf42224e082f371028666af0c9c70ff1dcce28
parent14183b8fb548b6525d6ce98b52ce5ec7f2580f2e (diff)
downloadvolse-hubzilla-be5187718c0f1791a692b7743aca51ea5f37649e.tar.gz
volse-hubzilla-be5187718c0f1791a692b7743aca51ea5f37649e.tar.bz2
volse-hubzilla-be5187718c0f1791a692b7743aca51ea5f37649e.zip
provide usage hint on addon settings page to save each panel before opening another. [String change, not for 3.2]
-rw-r--r--Zotlabs/Module/Settings/Featured.php1
-rwxr-xr-xview/tpl/settings_addons.tpl1
2 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Settings/Featured.php b/Zotlabs/Module/Settings/Featured.php
index 9c5a7b16c..3740eddfa 100644
--- a/Zotlabs/Module/Settings/Featured.php
+++ b/Zotlabs/Module/Settings/Featured.php
@@ -62,6 +62,7 @@ class Featured {
$o .= replace_macros($tpl, array(
'$form_security_token' => get_form_security_token("settings_featured"),
'$title' => t('Feature/Addon Settings'),
+ '$descrip' => t('Please save/submit changes to any panel before opening another.'),
'$settings_addons' => $settings_addons
));
return $o;
diff --git a/view/tpl/settings_addons.tpl b/view/tpl/settings_addons.tpl
index 52f8d9d3f..2a925f1f7 100755
--- a/view/tpl/settings_addons.tpl
+++ b/view/tpl/settings_addons.tpl
@@ -1,5 +1,6 @@
<div class="generic-content-wrapper">
<div class="section-title-wrapper">
+ <div class="descriptive-text pull-right">{{$descrip}}</div>
<h2>{{$title}}</h2>
</div>
<form action="settings/featured" method="post" autocomplete="off">