\n";
$form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES));
$form .= "
";
$form .= _MB_XP2_COUNT .":
\n";
$form .= yes_no_radio_option('options[3]', _MB_XP2_P_EXCERPT , $excerpt) . "
\n";
$form .= _MB_XP2_P_EXCERPT_SIZE .":
\n";
$form .= _MB_XP2_DATE_FORMAT .":
\n";
$form .= _MB_XP2_TIME_FORMAT .":
\n";
include $mydirpath .'/wp-includes/version.php' ;
if (wp_version_compare($wp_version, '>=','2.3')){
$form .= "
\n";
$form .= _MB_XP2_TAGS_SELECT .":
\n";
} else {
$form .= "
\n";
}
$form .= categorie_select('options[8]' , $cat_select);
$form .= "
";
$form .= _MB_XP2_DAY_SELECT . ':' . _MB_XP2_DAY_BETWEEN . '';
$form .= ' ' . _MB_XP2_DAYS_AND . " " . _MB_XP2_DAYS_AGO . "
\n";
return $form;
}
function _b_content_show($options)
{
$mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ;
$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
$block_function_name = basename( __FILE__ );
require_once $mydirpath.'/include/xpress_block_render.php';
return xpress_block_render($mydirname,$block_function_name,$options);
}
}
?>