} // single edit styles and column mode if ($edit_mode === 'single-edit') { $values['styles'] = isset($editor->rom['styles']) ? $editor->rom['styles'] : ''; $values['style_class'] = 'is-cc-style'; $values['in_column'] = false; $values['options_class'] = 'is-cc-option'; $values['options'] = isset($editor->rom['options']) ? $editor->rom['options'] : ''; $values['cm_class'] = 'is-cc-custom-module'; } #---------------------------------- # load edit #---------------------------------- if ($content_type === 'multi-column') { // load multi column $editor->mc_edit($values); } elseif ($content_type === 'add-column') { // add column $editor->add_column(str_replace('#', '', $editor->id), str_replace('#', '', $editor->parent_id), 'span6'); } else { // load standard edit $editor->load_module(stripslashes($editor->rom['content']), $values, $editor->content_type); } } elseif ($edit_mode === 'custom-fontset') { // get custom fontset $editor->custom_fontset(); } elseif ($edit_mode === 'load-template') { // load semplice preset $editor->load_template(); } elseif ($edit_mode === 'init') { function strposOffset($search, $string, $offset)