function _semantic_panels_get_options_styles in Semantic Panels 7
File
- plugins/
styles/ semantic_panels.inc, line 406
Code
function _semantic_panels_get_options_styles() {
$options = array(
'' => t('Select a predefined style'),
);
foreach (semantic_panels_style_load_all() as $style) {
if (!empty($style->category)) {
$options[$style->category][$style->name] = $style->admin_title;
}
else {
$options[$style->name] = $style->admin_title;
}
}
return $options;
}