aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-04 22:21:20 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-04 22:21:20 +0200
commit1eaf6df842184743ee20ec69931be1ff7136f34e (patch)
tree9ecea2ceeeeb361ba7c445b76ff9322623af7185
parent9fe9137c9689347e2be1d6bf6633956e147e368c (diff)
downloadvolse-hubzilla-1eaf6df842184743ee20ec69931be1ff7136f34e.tar.gz
volse-hubzilla-1eaf6df842184743ee20ec69931be1ff7136f34e.tar.bz2
volse-hubzilla-1eaf6df842184743ee20ec69931be1ff7136f34e.zip
fix issues with bs accordions
-rw-r--r--Zotlabs/Module/Permcats.php4
-rw-r--r--view/tpl/generic_addon_settings.tpl2
-rw-r--r--view/tpl/permcats.tpl4
-rw-r--r--view/tpl/tokens.tpl4
4 files changed, 7 insertions, 7 deletions
diff --git a/Zotlabs/Module/Permcats.php b/Zotlabs/Module/Permcats.php
index 262a14fe4..75ac2ac87 100644
--- a/Zotlabs/Module/Permcats.php
+++ b/Zotlabs/Module/Permcats.php
@@ -25,7 +25,7 @@ class Permcats extends Controller {
$name = escape_tags(trim($_POST['name']));
if(! $name) {
- notice( t('Permission Name is required.') . EOL);
+ notice( t('Permission category name is required.') . EOL);
return;
}
@@ -117,7 +117,7 @@ class Permcats extends Controller {
'$atoken' => $atoken,
'$url1' => z_root() . '/channel/' . $channel['channel_address'],
'$url2' => z_root() . '/photos/' . $channel['channel_address'],
- '$name' => array('name', t('Permission Name') . ' <span class="required">*</span>', (($name) ? $name : ''), ''),
+ '$name' => array('name', t('Permission category name') . ' <span class="required">*</span>', (($name) ? $name : ''), ''),
'$me' => t('My Settings'),
'$perms' => $perms,
'$inherited' => t('inherited'),
diff --git a/view/tpl/generic_addon_settings.tpl b/view/tpl/generic_addon_settings.tpl
index 875c97feb..ae603056b 100644
--- a/view/tpl/generic_addon_settings.tpl
+++ b/view/tpl/generic_addon_settings.tpl
@@ -1,4 +1,4 @@
-<div class="panel">
+<div class="panel" id="settings">
<div class="section-subtitle-wrapper" role="tab" id="{{$addon.0}}-settings">
<h3>
<a title="{{$addon.2}}" data-toggle="collapse" data-target="#{{$addon.0}}-settings-content" href="#" aria-controls="{{$addon.0}}-settings-content">
diff --git a/view/tpl/permcats.tpl b/view/tpl/permcats.tpl
index 2cad2db5b..442b3e11a 100644
--- a/view/tpl/permcats.tpl
+++ b/view/tpl/permcats.tpl
@@ -17,10 +17,10 @@
</div>
</div>
- <div class="panel">
+ <div class="panel" id="permission-settings">
<div class="section-subtitle-wrapper" role="tab" id="perms-tool">
<h3>
- <a data-toggle="collapse" data-parent="#contact-edit-tools" href="#perms-tool-collapse" aria-expanded="true" aria-controls="perms-tool-collapse">
+ <a data-toggle="collapse" data-parent="#permission-settings" href="#perms-tool-collapse" aria-expanded="true" aria-controls="perms-tool-collapse">
{{$permlbl}}
</a>
</h3>
diff --git a/view/tpl/tokens.tpl b/view/tpl/tokens.tpl
index ccb1f8c61..587965832 100644
--- a/view/tpl/tokens.tpl
+++ b/view/tpl/tokens.tpl
@@ -19,10 +19,10 @@
</div>
</div>
- <div class="panel">
+ <div class="panel" id="permission-settings">
<div class="section-subtitle-wrapper" role="tab" id="perms-tool">
<h3>
- <a data-toggle="collapse" data-parent="#contact-edit-tools" href="#perms-tool-collapse" aria-expanded="true" aria-controls="perms-tool-collapse">
+ <a data-toggle="collapse" data-parent="#permission-settings" href="#perms-tool-collapse" aria-expanded="true" aria-controls="perms-tool-collapse">
{{$permlbl}}
</a>
</h3>