function xbbcode_list_init in Extensible BBCode 5
Same name and namespace in other branches
- 8 xbbcode_list/xbbcode_list.module \xbbcode_list_init()
- 6 xbbcode_list/xbbcode_list.module \xbbcode_list_init()
- 7 xbbcode_list/xbbcode_list.module \xbbcode_list_init()
File
- xbbcode_list/
xbbcode_list.module, line 76
Code
function xbbcode_list_init() {
global $xbbcode_list_styles;
$xbbcode_list_styles['ol']['hierarchy'] = preg_split('/ *, */', variable_get('xbbcode_list_ol_hierarchy', 'numeric, lower-alpha, lower-roman'));
$xbbcode_list_styles['ol']['sectioned'] = 'sectioned';
$xbbcode_list_styles['ol']['default'] = $xbbcode_list_styles['ol'][variable_get('xbbcode_list_ol_default', 'hierarchy')];
}