Changeset 339 for trunk/xpressme_integration_kit/blocks/widget_block.php
- Timestamp:
- Jul 15, 2009, 12:58:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/blocks/widget_block.php
r324 r339 19 19 $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; 20 20 $this_template = empty( $options[1] ) ? 'db:'.$mydirname.'_widget_block.html' : trim( $options[1] ); 21 $selected = array_slice($options,2); // get allowed cats 21 $title_show = empty( $options[2] ) ? false : true ; 22 $selected = array_slice($options,3); // get allowed cats 22 23 23 24 if ($mydirname == 'wordpress'){ … … 44 45 $form = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />"; 45 46 $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 47 $form .= "<br />" . yes_no_radio_option('options[2]', _MB_XP2_WIDGET_TITLE_SHOW , $title_show); 46 48 $form .= "<br />"; 47 49 $form .= _MB_XP2_SELECT_WIDGET .":<br />\n";
Note: See TracChangeset
for help on using the changeset viewer.