aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-06-17 12:10:54 +0000
committerMario <mario@mariovavti.com>2021-06-17 12:10:54 +0000
commit5ca352a6c362ac1b452460ebbb07fbf56bb76417 (patch)
treeec9cdd1bb5c8de9f35048347ff7ea0dd3428e07a /Zotlabs
parenta34bd3b013887786f5f958450b4823cfd00cd562 (diff)
downloadvolse-hubzilla-5ca352a6c362ac1b452460ebbb07fbf56bb76417.tar.gz
volse-hubzilla-5ca352a6c362ac1b452460ebbb07fbf56bb76417.tar.bz2
volse-hubzilla-5ca352a6c362ac1b452460ebbb07fbf56bb76417.zip
allow to add a wrapper class to the hq_controls widget
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Widget/Hq_controls.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Widget/Hq_controls.php b/Zotlabs/Widget/Hq_controls.php
index 8c36b8d3a..8b532defe 100644
--- a/Zotlabs/Widget/Hq_controls.php
+++ b/Zotlabs/Widget/Hq_controls.php
@@ -7,7 +7,7 @@ use Zotlabs\Lib\Apps;
class Hq_controls {
- function widget($arr) {
+ function widget($options) {
if (! local_channel())
return;
@@ -38,7 +38,8 @@ class Hq_controls {
return replace_macros(get_markup_template('hq_controls.tpl'),
[
- '$entries' => $entries
+ '$entries' => $entries,
+ '$wrapper_class' => $options['class']
]
);
}