add a simple checkbox template for use in widgets

This commit is contained in:
Mario Vavti
2016-11-18 13:55:48 +01:00
parent 3b6248cb64
commit 0ceb75ea09
3 changed files with 10 additions and 7 deletions

View File

@@ -967,7 +967,7 @@ function widget_wiki_list($arr) {
'$view' => t('View'),
'$addnew' => t('Create new wiki'),
'$create' => t('Create'),
'$wikiName' => array('wikiName', t('Wiki name'), '', ''),
'$wikiName' => array('wikiName', t('Wiki name')),
'$lockstate' => $x['lockstate'],
'$acl' => $x['acl'],
'$allow_cid' => $x['allow_cid'],
@@ -975,7 +975,7 @@ function widget_wiki_list($arr) {
'$deny_cid' => $x['deny_cid'],
'$deny_gid' => $x['deny_gid'],
'$bang' => $x['bang'],
'$notify' => t('Send notification')
'$notify' => array('postVisible', t('Send notification'))
));
}
return '';