"url"), leave url empty if no url //$breadcrumbs["New Crumb"] => "http://url.com" $breadcrumbs["Misc"] = ""; include("inc/ribbon.php"); ?>
start_track(); // smartui code $tabs = array( 'tab1' => 'My Tab', 'tab2' => 'My Tab 2', 'tab3' => 'My Tab 3' ); $tab = $_ui->create_tab($tabs); $tab->content('tab1', function() { return 'test content'; }) ->content('tab2', 'Ths is Tab2 content') ->content('tab3', 'this is Tab3 content'); $dropdown_items = array( 'Some action', 'Some other action', '-', array( 'content' => 'Hover me for more options', 'submenu' => array( 'Second level', array( 'content' => 'Even More..', 'submenu' => array( '3rd level', '3rd level' ) ), 'Second level', 'Second level' ) ) ); $tab->dropdown('tab2', $dropdown_items); $tab->options('bordered', true); $tab->active('tab3', true); $tab->title('tab3', 'New Tab 3 Title 99'); $tab_html = $tab->print_html(true); // tab in widget $tab_widget = $_ui->create_tab(array('My New Tab', 'This is a tab')); $tab_widget->content(0, 'This is a tab content #0'); $tab_widget->content(1, 'THis is a tab content #1'); $tab_widget->options('widget', true)->options('pull', 'right'); $tab_widget_html = $tab_widget->print_html(true); $body = $tab_html.'
'; $_ui->create_widget()->body('content', $body) ->options('editbutton', false) ->header('title', '

SmartUI::Tab

')->print_html(); echo $tab_widget_html; // print html output $run_time = $_ui->run_time(false); $hb = new HTMLIndent(); $html_snippet = SmartUtil::clean_html_string($hb->indent($body), false); $contents = array( "body" => '
'.$html_snippet.'
', "header" => array( "icon" => 'fa fa-code', "title" => '

HTML Output (Run Time: '.$run_time.')

' ) ); $options = array( "editbutton" => false, "colorbutton" => false, "collapsed" => true ); $_ui->create_widget($options, $contents)->color('pink')->print_html(); ?>
parse($md); echo str_replace('