Skip to content

Commit

Permalink
Added css_id and css_classes properties to polls dynamic block and ca…
Browse files Browse the repository at this point in the history
…lendar dynamic block
  • Loading branch information
mystralkk committed Nov 20, 2017
1 parent cb0f3ae commit 18d1368
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions plugins/calendar/functions.inc
Expand Up @@ -2102,6 +2102,8 @@ function plugin_getBlocks_calendar($side, $topic = '')
'content' => $display,
'allow_autotags' => false,
'help' => '',
'css_id' => 'event_block', // since GL 2.2.0
'css_classes' => '', // since GL 2.2.0
);
}
}
Expand Down
4 changes: 3 additions & 1 deletion plugins/polls/functions.inc
Expand Up @@ -10,7 +10,7 @@
// | API method and 2) implements all the common code needed by the Polls |
// | plugin' PHP files. |
// +---------------------------------------------------------------------------+
// | Copyright (C) 2000-2011 by the following authors: |
// | Copyright (C) 2000-2017 by the following authors: |
// | |
// | Authors: Tony Bibbs - tony AT tonybibbs DOT com |
// | Tom Willett - twillett AT users DOT sourceforge DOT net |
Expand Down Expand Up @@ -1827,6 +1827,8 @@ function plugin_getBlocks_polls($side, $topic = '')
'content' => $display,
'allow_autotags' => false,
'help' => '',
'css_id' => 'polls_block', // since GL 2.2.0
'css_classes' => '', // since GL 2.2.0
);
}
}
Expand Down

0 comments on commit 18d1368

Please sign in to comment.